Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
StructureMap | 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 Interfaces Implemented: CanonicalResource |
|
url | Σ C | 1..1 | uri | Canonical 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..* | Identifier | Additional identifier for the structure map
|
version | Σ | 0..1 | string | Business version of the structure map
|
versionAlgorithm[x] | Σ | 0..1 | How to compare versions
Binding: Version Algorithm ( Extensible) |
|
versionAlgorithmString | string | |||
versionAlgorithmCoding | Coding | |||
name | Σ C | 1..1 | string | Name for this structure map (computer friendly)
|
title | Σ T | 0..1 | string | Name for this structure map (human friendly)
|
status | ?! Σ | 1..1 | code | draft | active | retired | unknown
Binding: PublicationStatus ( Required) |
experimental | Σ | 0..1 | boolean | For testing purposes, not real usage
|
date | Σ | 0..1 | dateTime | Date last changed
|
publisher | Σ T | 0..1 | string | Name of the publisher/steward (organization or individual)
|
contact | Σ | 0..* | ContactDetail | Contact details for the publisher
|
description | T | 0..1 | markdown | Natural language description of the structure map
|
useContext | Σ | 0..* | UsageContext | The context that the content is intended to support
|
jurisdiction | Σ XD | 0..* | CodeableConcept | Intended jurisdiction for structure map (if applicable)
Binding: Jurisdiction ValueSet ( Extensible) |
purpose | T | 0..1 | markdown | Why this structure map is defined
|
copyright | T | 0..1 | markdown | Use and/or publishing restrictions
|
copyrightLabel | T | 0..1 | string | Copyright holder and year(s)
|
structure | Σ | 0..* | BackboneElement | Structure Definition used by this map
|
url | Σ | 1..1 | canonical( StructureDefinition) | Canonical reference to structure definition
|
mode | Σ | 1..1 | code | source | queried | target | produced
Binding: Structure Map Model Mode ( Required) |
alias | Σ | 0..1 | string | Name for type in this map
|
documentation | 0..1 | string | Documentation on use of structure
|
|
import | Σ | 0..* | canonical( StructureMap) | Other maps used by this map (canonical URLs)
|
const | Σ | 0..* | BackboneElement | Definition of the constant value used in the map rules
|
name | Σ | 0..1 | id | Constant name
|
value | Σ | 0..1 | string | FHIRPath exression - value of the constant
|
group | Σ | 1..* | BackboneElement | Named sections for reader convenience
|
name | Σ | 1..1 | id | Human-readable label
|
extends | Σ | 0..1 | id | Another group that this group adds rules to
|
typeMode | Σ | 0..1 | code | types | type-and-types
Binding: Structure Map Group Type Mode ( Required) |
documentation | Σ | 0..1 | string | Additional description/explanation for group
|
input | Σ | 1..* | BackboneElement | Named instance provided when invoking the map
|
name | Σ | 1..1 | id | Name for this instance of data
|
type | Σ | 0..1 | string | Type for this instance of data
|
mode | Σ | 1..1 | code | source | target
Binding: Structure Map Input Mode ( Required) |
documentation | 0..1 | string | Documentation for this instance of data
|
|
rule | Σ | 0..* | BackboneElement | Transform Rule from source to target
|
name | Σ | 0..1 | id | Name of the rule for internal references
|
source | Σ | 1..* | BackboneElement | Source inputs to the mapping
|
context | Σ | 1..1 | id | Type or variable this rule applies to
|
min | Σ | 0..1 | integer | Specified minimum cardinality
|
max | Σ | 0..1 | string | Specified maximum cardinality (number or *)
|
type | Σ | 0..1 | string | Rule only applies if source has this type
|
defaultValue | Σ | 0..1 | string | Default value if no value exists
|
element | Σ | 0..1 | string | Optional field for this source
|
listMode | Σ | 0..1 | code | first | not_first | last | not_last | only_one
Binding: Structure Map Source List Mode ( Required) |
variable | Σ | 0..1 | id | Named context for field, if a field is specified
|
condition | Σ | 0..1 | string | FHIRPath expression - must be true or the rule does not apply
|
check | Σ | 0..1 | string | FHIRPath expression - must be true or the mapping engine throws an error instead of completing
|
logMessage | Σ | 0..1 | string | Message to put in log if source exists (FHIRPath)
|
target | Σ C | 0..* | BackboneElement | Content to create because of this mapping rule
+ Rule: Can only have an element if you have a context |
context | Σ C | 0..1 | string | Variable this rule applies to
|
element | Σ C | 0..1 | string | Field to create in the context
|
variable | Σ | 0..1 | id | Named context for field, if desired, and a field is specified
|
listMode | Σ | 0..* | code | first | share | last | single
Binding: Structure Map Target List Mode ( Required) |
listRuleId | Σ | 0..1 | id | Internal rule reference for shared list items
|
transform | Σ | 0..1 | code | create | copy +
Binding: Structure Map Transform ( Required) |
parameter | Σ | 0..* | BackboneElement | Parameters to the transform
|
value[x] | Σ | 1..1 | Parameter value - variable or literal
|
|
valueId | id | |||
valueString | string | |||
valueBoolean | boolean | |||
valueInteger | integer | |||
valueDecimal | decimal | |||
valueDate | date | |||
valueTime | time | |||
valueDateTime | dateTime | |||
rule | Σ | 0..* | see rule | Rules contained in this rule
|
dependent | Σ | 0..* | BackboneElement | Which other rules to apply in the context of this rule
|
name | Σ | 1..1 | id | Name of a rule or group to apply
|
parameter | Σ | 1..* | see parameter | Parameter to pass to the rule or group
|
documentation | 0..1 | string | Documentation for this instance of data
|
|
Documentation for this format |