http://hl7.org/fhir/StructureDefinition/StructureMap|5.0.0
A Map of relationships between 2 structures that can be used to transform data.
| Name | Flags | Card | Type | Description & Constraints |
|---|---|---|---|---|
StructureMap | 0..* | A Map of relationships between 2 structures that can be used to transform data | ||
Σ | 1..1 | uri | Canonical identifier for this structure map, represented as a URI (globally unique) | |
Σ | 0..* | Identifier | Additional identifier for the structure map | |
Σ | 0..1 | string | Business version of the structure map | |
Σ | 0..1 | How to compare versions http://hl7.org/fhir/ValueSet/version-algorithm (extensible) | ||
Σ | 0..1 | string | http://hl7.org/fhir/ValueSet/version-algorithm (extensible) | |
Σ | 0..1 | Coding | http://hl7.org/fhir/ValueSet/version-algorithm (extensible) | |
Σ | 1..1 | string | Name for this structure map (computer friendly) | |
Σ | 0..1 | string | Name for this structure map (human friendly) | |
?!Σ | 1..1 | code | draft | active | retired | unknown PublicationStatus (required) | |
Σ | 0..1 | boolean | For testing purposes, not real usage | |
Σ | 0..1 | dateTime | Date last changed | |
Σ | 0..1 | string | Name of the publisher/steward (organization or individual) | |
Σ | 0..* | ContactDetail | Contact details for the publisher | |
| 0..1 | markdown | Natural language description of the structure map | ||
Σ | 0..* | UsageContext | The context that the content is intended to support | |
Σ | 0..* | CodeableConcept | Intended jurisdiction for structure map (if applicable) Jurisdiction (extensible) | |
| 0..1 | markdown | Why this structure map is defined | ||
| 0..1 | markdown | Use and/or publishing restrictions | ||
| 0..1 | string | Copyright holder and year(s) | ||
Σ | 0..* | BackboneElement | Structure Definition used by this map | |
Σ | 1..1 | canonical | Canonical reference to structure definition | |
Σ | 1..1 | code | source | queried | target | produced StructureMapModelMode (required) | |
Σ | 0..1 | string | Name for type in this map | |
| 0..1 | string | Documentation on use of structure | ||
Σ | 0..* | canonical | Other maps used by this map (canonical URLs) | |
Σ | 0..* | BackboneElement | Definition of the constant value used in the map rules | |
Σ | 0..1 | id | Constant name | |
Σ | 0..1 | string | FHIRPath exression - value of the constant | |
Σ | 1..* | BackboneElement | Named sections for reader convenience | |
Σ | 1..1 | id | Human-readable label | |
Σ | 0..1 | id | Another group that this group adds rules to | |
Σ | 0..1 | code | types | type-and-types StructureMapGroupTypeMode (required) | |
Σ | 0..1 | string | Additional description/explanation for group | |
Σ | 1..* | BackboneElement | Named instance provided when invoking the map | |
Σ | 1..1 | id | Name for this instance of data | |
Σ | 0..1 | string | Type for this instance of data | |
Σ | 1..1 | code | source | target StructureMapInputMode (required) | |
| 0..1 | string | Documentation for this instance of data | ||
Σ | 0..* | BackboneElement | Transform Rule from source to target | |
Σ | 0..1 | id | Name of the rule for internal references | |
Σ | 1..* | BackboneElement | Source inputs to the mapping | |
Σ | 1..1 | id | Type or variable this rule applies to | |
Σ | 0..1 | integer | Specified minimum cardinality | |
Σ | 0..1 | string | Specified maximum cardinality (number or *) | |
Σ | 0..1 | string | Rule only applies if source has this type | |
Σ | 0..1 | string | Default value if no value exists | |
Σ | 0..1 | string | Optional field for this source | |
Σ | 0..1 | code | first | not_first | last | not_last | only_one StructureMapSourceListMode (required) | |
Σ | 0..1 | id | Named context for field, if a field is specified | |
Σ | 0..1 | string | FHIRPath expression - must be true or the rule does not apply | |
Σ | 0..1 | string | FHIRPath expression - must be true or the mapping engine throws an error instead of completing | |
Σ | 0..1 | string | Message to put in log if source exists (FHIRPath) | |
Σ | 0..* | BackboneElement | Content to create because of this mapping rule | |
Σ | 0..1 | string | Variable this rule applies to | |
Σ | 0..1 | string | Field to create in the context | |
Σ | 0..1 | id | Named context for field, if desired, and a field is specified | |
Σ | 0..* | code | first | share | last | single StructureMapTargetListMode (required) | |
Σ | 0..1 | id | Internal rule reference for shared list items | |
Σ | 0..1 | code | create | copy + StructureMapTransform (required) | |
Σ | 0..* | BackboneElement | Parameters to the transform | |
Σ | 1..1 | Parameter value - variable or literal | ||
Σ | 1..1 | id | ||
Σ | 1..1 | string | ||
Σ | 1..1 | boolean | ||
Σ | 1..1 | integer | ||
Σ | 1..1 | decimal | ||
Σ | 1..1 | date | ||
Σ | 1..1 | time | ||
Σ | 1..1 | dateTime | ||
Σ | 0..* | Rules contained in this rule | ||
Σ | 0..* | BackboneElement | Which other rules to apply in the context of this rule | |
Σ | 1..1 | id | Name of a rule or group to apply | |
Σ | 1..* | Parameter to pass to the rule or group | ||
| 0..1 | string | Documentation for this instance of data |