NameFlagsCard.TypeDescription & Constraintsdoco
.. StructureMap TUDomainResourceA 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
Interfaces Implemented: CanonicalResource
... url ΣC1..1uriCanonical identifier for this structure map, represented as a URI (globally unique)
+ Warning: URL should not contain | or # - these characters make processing canonical references problematic
... identifier Σ0..*IdentifierAdditional identifier for the structure map

... version Σ0..1stringBusiness version of the structure map
... versionAlgorithm[x] Σ0..1How to compare versions
Binding: Version Algorithm (Extensible)
.... versionAlgorithmStringstring
.... versionAlgorithmCodingCoding
... name ΣC1..1stringName for this structure map (computer friendly)
... title ΣT0..1stringName for this structure map (human friendly)
... status ?!Σ1..1codedraft | active | retired | unknown
Binding: PublicationStatus (Required)
... experimental Σ0..1booleanFor testing purposes, not real usage
... date Σ0..1dateTimeDate last changed
... publisher ΣT0..1stringName of the publisher/steward (organization or individual)
... contact Σ0..*ContactDetailContact details for the publisher

... description T0..1markdownNatural language description of the structure map
... useContext Σ0..*UsageContextThe context that the content is intended to support

... jurisdiction ΣXD0..*CodeableConceptIntended jurisdiction for structure map (if applicable)
Binding: Jurisdiction ValueSet (Extensible)

... purpose T0..1markdownWhy this structure map is defined
... copyright T0..1markdownUse and/or publishing restrictions
... copyrightLabel T0..1stringCopyright holder and year(s)
... structure Σ0..*BackboneElementStructure Definition used by this map

.... url Σ1..1canonical(StructureDefinition)Canonical reference to structure definition
.... mode Σ1..1codesource | queried | target | produced
Binding: Structure Map Model Mode (Required)
.... alias Σ0..1stringName for type in this map
.... documentation 0..1stringDocumentation on use of structure
... import Σ0..*canonical(StructureMap)Other maps used by this map (canonical URLs)

... const Σ0..*BackboneElementDefinition of the constant value used in the map rules

.... name Σ0..1idConstant name
.... value Σ0..1stringFHIRPath exression - value of the constant
... group Σ1..*BackboneElementNamed sections for reader convenience

.... name Σ1..1idHuman-readable label
.... extends Σ0..1idAnother group that this group adds rules to
.... typeMode Σ0..1codetypes | type-and-types
Binding: Structure Map Group Type Mode (Required)
.... documentation Σ0..1stringAdditional description/explanation for group
.... input Σ1..*BackboneElementNamed instance provided when invoking the map

..... name Σ1..1idName for this instance of data
..... type Σ0..1stringType for this instance of data
..... mode Σ1..1codesource | target
Binding: Structure Map Input Mode (Required)
..... documentation 0..1stringDocumentation for this instance of data
.... rule Σ0..*BackboneElementTransform Rule from source to target

..... name Σ0..1idName of the rule for internal references
..... source Σ1..*BackboneElementSource inputs to the mapping

...... context Σ1..1idType or variable this rule applies to
...... min Σ0..1integerSpecified minimum cardinality
...... max Σ0..1stringSpecified maximum cardinality (number or *)
...... type Σ0..1stringRule only applies if source has this type
...... defaultValue Σ0..1stringDefault value if no value exists
...... element Σ0..1stringOptional field for this source
...... listMode Σ0..1codefirst | not_first | last | not_last | only_one
Binding: Structure Map Source List Mode (Required)
...... variable Σ0..1idNamed context for field, if a field is specified
...... condition Σ0..1stringFHIRPath expression - must be true or the rule does not apply
...... check Σ0..1stringFHIRPath expression - must be true or the mapping engine throws an error instead of completing
...... logMessage Σ0..1stringMessage to put in log if source exists (FHIRPath)
..... target ΣC0..*BackboneElementContent to create because of this mapping rule
+ Rule: Can only have an element if you have a context

...... context ΣC0..1stringVariable this rule applies to
...... element ΣC0..1stringField to create in the context
...... variable Σ0..1idNamed context for field, if desired, and a field is specified
...... listMode Σ0..*codefirst | share | last | single
Binding: Structure Map Target List Mode (Required)

...... listRuleId Σ0..1idInternal rule reference for shared list items
...... transform Σ0..1codecreate | copy +
Binding: Structure Map Transform (Required)
...... parameter Σ0..*BackboneElementParameters to the transform

....... value[x] Σ1..1Parameter value - variable or literal
........ valueIdid
........ valueStringstring
........ valueBooleanboolean
........ valueIntegerinteger
........ valueDecimaldecimal
........ valueDatedate
........ valueTimetime
........ valueDateTimedateTime
..... rule Σ0..*see ruleRules contained in this rule

..... dependent Σ0..*BackboneElementWhich other rules to apply in the context of this rule

...... name Σ1..1idName of a rule or group to apply
...... parameter Σ1..*see parameterParameter to pass to the rule or group

..... documentation 0..1stringDocumentation for this instance of data

doco Documentation for this format