pub struct StructureMapGroupRuleSource {Show 25 fields
pub id: Option<String>,
pub extension: Vec<Extension>,
pub modifier_extension: Vec<Extension>,
pub context: String,
pub context_ext: Option<FieldExtension>,
pub min: Option<i32>,
pub min_ext: Option<FieldExtension>,
pub max: Option<String>,
pub max_ext: Option<FieldExtension>,
pub type: Option<String>,
pub type_ext: Option<FieldExtension>,
pub default_value: Option<String>,
pub default_value_ext: Option<FieldExtension>,
pub element: Option<String>,
pub element_ext: Option<FieldExtension>,
pub list_mode: Option<StructureMapSourceListMode>,
pub list_mode_ext: Option<FieldExtension>,
pub variable: Option<String>,
pub variable_ext: Option<FieldExtension>,
pub condition: Option<String>,
pub condition_ext: Option<FieldExtension>,
pub check: Option<String>,
pub check_ext: Option<FieldExtension>,
pub log_message: Option<String>,
pub log_message_ext: Option<FieldExtension>,
}
Expand description
Sub-fields of the source field in StructureMapGroupRule
Fields§
§id: Option<String>
Unique id for inter-element referencing
Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
extension: Vec<Extension>
Additional content defined by implementations
May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
modifier_extension: Vec<Extension>
Extensions that cannot be ignored even if unrecognized
May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element’s descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.
Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
context: String
Type or variable this rule applies to
Type or variable this rule applies to.
context_ext: Option<FieldExtension>
Extension field.
min: Option<i32>
Specified minimum cardinality
Specified minimum cardinality for the element. This is optional; if present, it acts an implicit check on the input content.
min_ext: Option<FieldExtension>
Extension field.
max: Option<String>
*Specified maximum cardinality (number or )
Specified maximum cardinality for the element - a number or a “”. This is optional; if present, it acts an implicit check on the input content ( just serves as documentation; it’s the default value).
max_ext: Option<FieldExtension>
Extension field.
type: Option<String>
Rule only applies if source has this type
Specified type for the element. This works as a condition on the mapping - use for polymorphic elements.
type_ext: Option<FieldExtension>
Extension field.
default_value: Option<String>
Default value if no value exists
A value to use if there is no existing value in the source object.
If there’s a default value on an item that can repeat, it will only be used once.
default_value_ext: Option<FieldExtension>
Extension field.
element: Option<String>
Optional field for this source
Optional field for this source.
element_ext: Option<FieldExtension>
Extension field.
list_mode: Option<StructureMapSourceListMode>
StructureMapSourceListMode; first | not_first | last | not_last | only_one
How to handle the list mode for this element.
list_mode_ext: Option<FieldExtension>
Extension field.
variable: Option<String>
Named context for field, if a field is specified
Named context for field, if a field is specified.
variable_ext: Option<FieldExtension>
Extension field.
condition: Option<String>
FHIRPath expression - must be true or the rule does not apply
FHIRPath expression - must be true or the rule does not apply.
condition_ext: Option<FieldExtension>
Extension field.
check: Option<String>
FHIRPath expression - must be true or the mapping engine throws an error instead of completing
FHIRPath expression - must be true or the mapping engine throws an error instead of completing.
check_ext: Option<FieldExtension>
Extension field.
log_message: Option<String>
Message to put in log if source exists (FHIRPath)
A FHIRPath expression which specifies a message to put in the transform log when content matching the source rule is found.
This is typically used for recording that something Is not transformed to the target for some reason.
log_message_ext: Option<FieldExtension>
Extension field.
Implementations§
Source§impl StructureMapGroupRuleSource
impl StructureMapGroupRuleSource
Sourcepub fn builder() -> StructureMapGroupRuleSourceBuilder
pub fn builder() -> StructureMapGroupRuleSourceBuilder
Start building a new instance
Trait Implementations§
Source§impl Clone for StructureMapGroupRuleSource
impl Clone for StructureMapGroupRuleSource
Source§fn clone(&self) -> StructureMapGroupRuleSource
fn clone(&self) -> StructureMapGroupRuleSource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more