| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
| TU | DomainResource | A Map of relationships between 2 structures that can be used to transform data + Warning: Name should be usable as an identifier for the module by machine processing applications such as code generation Elements defined in Ancestors: id, meta, implicitRules, language, text, contained, extension, modifierExtension | ||
| Σ | 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 | |
| Σ | 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 (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..* | BackboneElement | Structure Definition used by this map | |
| Σ | 1..1 | canonical(StructureDefinition) | 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(StructureMap) | Other maps used by this map (canonical URLs) | |
| Σ | 1..* | BackboneElement | Named sections for reader convenience | |
| Σ | 1..1 | id | Human-readable label | |
| Σ | 0..1 | id | Another group that this group adds rules to | |
| Σ | 1..1 | code | none | 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 | ||
| Σ | 1..* | BackboneElement | Transform Rule from source to target | |
| Σ | 1..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 | Default value if no value exists | ||
| base64Binary | ||||
| boolean | ||||
| canonical() | ||||
| code | ||||
| date | ||||
| dateTime | ||||
| decimal | ||||
| id | ||||
| instant | ||||
| integer | ||||
| markdown | ||||
| oid | ||||
| positiveInt | ||||
| string | ||||
| time | ||||
| unsignedInt | ||||
| uri | ||||
| url | ||||
| uuid | ||||
| Address | ||||
| Age | ||||
| Annotation | ||||
| Attachment | ||||
| CodeableConcept | ||||
| Coding | ||||
| ContactPoint | ||||
| Count | ||||
| Distance | ||||
| Duration | ||||
| HumanName | ||||
| Identifier | ||||
| Money | ||||
| Period | ||||
| Quantity | ||||
| Range | ||||
| Ratio | ||||
| Reference() | ||||
| SampledData | ||||
| Signature | ||||
| Timing | ||||
| ContactDetail | ||||
| Contributor | ||||
| DataRequirement | ||||
| Expression | ||||
| ParameterDefinition | ||||
| RelatedArtifact | ||||
| TriggerDefinition | ||||
| UsageContext | ||||
| Dosage | ||||
| Meta | ||||
| Σ | 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) | |
| ΣI | 0..* | BackboneElement | Content to create because of this mapping rule + Rule: Can only have an element if you have a context + Rule: Must have a contextType if you have a context | |
| Σ | 0..1 | id | Type or variable this rule applies to | |
| Σ | 0..1 | code | type | variable StructureMapContextType (Required) | |
| Σ | 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 | collate 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 | ||
| id | ||||
| string | ||||
| boolean | ||||
| integer | ||||
| decimal | ||||
| Σ | 0..* | see rule | 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..* | string | Variable to pass to the rule or group | |
| 0..1 | string | Documentation for this instance of data | ||
Documentation for this format | ||||