Skip to main content

StructureMap

ResourceFoundation · ConformanceTrial useMaturity 2

A Map of relationships between 2 structures that can be used to transform data.

Tested supportFull test results →
Backends
PostgreSQLElasticsearch
Interactions
CreateReadUpdatePatchDelete
Search
13 of 15 parameters tested

Structure​

ElementCard.TypeDescription
urlRequiredΣ
1..1uriCanonical identifier for this structure map, represented as a URI (globally unique)
identifierΣ
0..*IdentifierAdditional identifier for the structure map
versionΣ
0..1stringBusiness version of the structure map
nameRequiredΣ
1..1stringName for this structure map (computer friendly)
titleΣ
0..1stringName for this structure map (human friendly)
statusRequired?!Σ
1..1codedraft | active | retired | unknownBinding (required): publication-status
experimentalΣ
0..1booleanFor testing purposes, not real usage
dateΣ
0..1dateTimeDate last changed
publisherΣ
0..1stringName of the publisher (organization or individual)
contactΣ
0..*ContactDetailContact details for the publisher
description
0..1markdownNatural language description of the structure map
useContextΣ
0..*UsageContextThe context that the content is intended to support
jurisdictionΣ
0..*CodeableConceptIntended jurisdiction for structure map (if applicable)Binding (extensible): jurisdiction
purpose
0..1markdownWhy this structure map is defined
copyright
0..1markdownUse and/or publishing restrictions
structureΣ
0..*BackboneElementStructure Definition used by this map
urlRequiredΣ
1..1canonical(StructureDefinition)Canonical reference to structure definition
modeRequiredΣ
1..1codesource | queried | target | producedBinding (required): map-model-mode
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)
groupRequiredΣ
1..*BackboneElementNamed sections for reader convenience
nameRequiredΣ
1..1idHuman-readable label
extendsΣ
0..1idAnother group that this group adds rules to
typeModeRequiredΣ
1..1codenone | types | type-and-typesBinding (required): map-group-type-mode
documentationΣ
0..1stringAdditional description/explanation for group
inputRequiredΣ
1..*BackboneElementNamed instance provided when invoking the map
nameRequiredΣ
1..1idName for this instance of data
typeΣ
0..1stringType for this instance of data
modeRequiredΣ
1..1codesource | targetBinding (required): map-input-mode
documentation
0..1stringDocumentation for this instance of data
ruleRequiredΣ
1..*BackboneElementTransform Rule from source to target
nameRequiredΣ
1..1idName of the rule for internal references
sourceRequiredΣ
1..*BackboneElementSource inputs to the mapping
contextRequiredΣ
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[x]Σ
0..1base64Binary | 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 | MetaDefault value if no value exists
elementΣ
0..1stringOptional field for this source
listModeΣ
0..1codefirst | not_first | last | not_last | only_oneBinding (required): map-source-list-mode
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Σ
0..*BackboneElementContent to create because of this mapping rule
contextΣ
0..1idType or variable this rule applies to
contextTypeΣ
0..1codetype | variableBinding (required): map-context-type
elementΣ
0..1stringField to create in the context
variableΣ
0..1idNamed context for field, if desired, and a field is specified
listModeΣ
0..*codefirst | share | last | collateBinding (required): map-target-list-mode
listRuleIdΣ
0..1idInternal rule reference for shared list items
transformΣ
0..1codecreate | copy +Binding (required): map-transform
parameterΣ
0..*BackboneElementParameters to the transform
value[x]RequiredΣ
1..1id | string | boolean | integer | decimalParameter value - variable or literal
ruleΣ
0..*Same as StructureMap.group.ruleRules contained in this rule
dependentΣ
0..*BackboneElementWhich other rules to apply in the context of this rule
nameRequiredΣ
1..1idName of a rule or group to apply
variableRequiredΣ
1..*stringVariable to pass to the rule or group
documentation
0..1stringDocumentation for this instance of data

Σ in _summary results · ?! modifier element · 1.. required · inherited elements in grey

Search parameters​

Query with GET [base]/StructureMap?[parameter]=[value]. Type decides which modifiers and prefixes apply, see search features.

ParameterTypeDescriptionPGES
contexttoken

A use context assigned to the structure map

(StructureMap.useContext.value.ofType(CodeableConcept))
context-quantityquantity

A quantity- or range-valued use context assigned to the structure map

(StructureMap.useContext.value.ofType(Quantity)) | (StructureMap.useContext.value.ofType(Range))
context-typetoken

A type of use context assigned to the structure map

StructureMap.useContext.code
context-type-quantitycomposite

A use context type and quantity- or range-based value assigned to the structure map

StructureMap.useContext
context-type-valuecomposite

A use context type and value assigned to the structure map

StructureMap.useContext
datedate

The structure map publication date

StructureMap.date
descriptionstring

The description of the structure map

StructureMap.description
identifiertoken

External identifier for the structure map

StructureMap.identifier
jurisdictiontoken

Intended jurisdiction for the structure map

StructureMap.jurisdiction
namestring

Computationally friendly name of the structure map

StructureMap.name
publisherstring

Name of the publisher of the structure map

StructureMap.publisher
statustoken

The current status of the structure map

StructureMap.status
titlestring

The human-friendly name of the structure map

StructureMap.title
urluri

The uri that identifies the structure map

StructureMap.url
versiontoken

The business version of the structure map

StructureMap.version

PG: PostgreSQL, ES: Elasticsearch. passes its TestScript checks, fails, not tested yet.

Common parameters on every resource (8)
_haste-health-authorreference

The author of the resource

_idtoken

Logical id of this artifact

_lastUpdateddate

When the resource version last changed

_profileuri

Profiles this resource claims to conform to

_securitytoken

Security Labels applied to this resource

_sourceuri

Identifies where the resource comes from

_tagtoken

Tags applied to this resource

_typetoken

Derived from the R4B Definition