Extensions for Using Data Elements from FHIR R4B in FHIR STU3
0.1.0 - STU International flag

Extensions for Using Data Elements from FHIR R4B in FHIR STU3 - Downloaded Version null See the Directory of published versions

Resource Profile: Profile_R4B_StructureMap_R3 - Detailed Descriptions

Page standards status: Trial-use Maturity Level: 0

Definitions for the profile-StructureMap resource profile.

Guidance on how to interpret the contents of this table can be foundhere

0. StructureMap
Definition

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

ShortA Map of relationships between 2 structures that can be used to transform data
Control1..1
Alternate NamesTemplate, Profile
Invariantsdom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources (contained.contained.empty())
dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative (contained.text.empty())
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated (contained.meta.versionId.empty() and contained.meta.lastUpdated.empty())
dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource (contained.where(('#'+id in %resource.descendants().reference).not()).empty())
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources (contained.contained.empty())
dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative (contained.text.empty())
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated (contained.meta.versionId.empty() and contained.meta.lastUpdated.empty())
dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource (contained.where(('#'+id in %resource.descendants().reference).not()).empty())
2. StructureMap.implicitRules
Definition

A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.

ShortA set of rules under which this content was created
Comments

Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element.

This element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.

Control0..1
Typeuri
Is Modifiertrue because No Modifier Reason provideed in previous versions of FHIR
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Summarytrue
4. StructureMap.modifierExtension
Definition

May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

ShortExtensions that cannot be ignored
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Control0..*
TypeExtension
Is Modifiertrue because No Modifier Reason provideed in previous versions of FHIR
Alternate Namesextensions, user content
6. StructureMap.url
Definition

An absolute URI that is used to identify this structure map when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this structure map is (or will be) published. The URL SHOULD include the major version of the structure map. For more information see Technical and Business Versions.

ShortLogical URI to reference this structure map (globally unique)
Comments

Can be a urn:uuid: or a urn:oid:, but real http: addresses are preferred. Multiple instances may share the same url if they have a distinct version.

Control1..1
Typeuri
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Summarytrue
Requirements

Allows the structure map to be referenced by a single globally unique identifier.

Alternate Namesurl, authoritative-url, destination, identity
8. StructureMap.name
Definition

A natural language name identifying the structure map. This name should be usable as an identifier for the module by machine processing applications such as code generation.

ShortName for this structure map (computer friendly)
Comments

The name is not expected to be globally unique. The name should be a simple alpha-numeric type name to ensure that it is computable friendly.

Control1..1
Typestring
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Summarytrue
Requirements

Support human navigation and code generation.

10. StructureMap.status
Definition

The status of this structure map. Enables tracking the life-cycle of the content.

Shortdraft | active | retired | unknown
Comments

Allows filtering of structure maps that are appropriate for use vs. not.
This is labeled as "Is Modifier" because applications should not use a retired structure map without due consideration.

Control1..1
BindingThe codes SHALL be taken from PublicationStatushttp://hl7.org/fhir/ValueSet/publication-status|3.0.2
(required to http://hl7.org/fhir/ValueSet/publication-status|3.0.2)

The lifecycle status of a Value Set or Concept Map.

Typecode
Is Modifiertrue because No Modifier Reason provideed in previous versions of FHIR
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Summarytrue
12. StructureMap.experimental
Definition

A boolean value to indicate that this structure map is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.

ShortFor testing purposes, not real usage
Comments

Allows filtering of structure map that are appropriate for use vs. not. This is labeled as "Is Modifier" because applications should not use an experimental structure map in production.

Control0..1
Typeboolean
Is Modifiertrue because No Modifier Reason provideed in previous versions of FHIR
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Summarytrue
Requirements

Enables experimental content to be developed following the same lifecycle that would be used for a production-level structure map.

14. StructureMap.group
Definition

Organizes the mapping into managable chunks for human review/ease of maintenance.

ShortNamed sections for reader convenience
Control1..*
TypeBackboneElement
Summarytrue
Invariantsele-1: All FHIR elements must have a @value or children (hasValue() | (children().count() > id.count()))
ele-1: All FHIR elements must have a @value or children (hasValue() | (children().count() > id.count()))
16. StructureMap.group.modifierExtension
Definition

May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

ShortExtensions that cannot be ignored
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Control0..*
TypeExtension
Is Modifiertrue because No Modifier Reason provideed in previous versions of FHIR
Summarytrue
Alternate Namesextensions, user content, modifiers
18. StructureMap.group.name
Definition

A unique name for the group for the convenience of human readers.

ShortHuman-readable label
Control1..1
Typeid
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Summarytrue
20. StructureMap.group.typeMode
Definition

If this is the default rule set to apply for thie source type, or this combination of types.

Shortnone | types | type-and-types
Comments

Not applicable if the underlying model is untyped. There can only be one default mapping for any particular type combination.

Control1..1
BindingThe codes SHALL be taken from StructureMapGroupTypeModehttp://hl7.org/fhir/ValueSet/map-group-type-mode|3.0.2
(required to http://hl7.org/fhir/ValueSet/map-group-type-mode|3.0.2)

If this is the default rule set to apply for the source type, or this combination of types

Typecode
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Summarytrue
22. StructureMap.group.input
Definition

A name assigned to an instance of data. The instance must be provided when the mapping is invoked.

ShortNamed instance provided when invoking the map
Comments

If no inputs are named, then the entry mappings are type based.

Control1..*
TypeBackboneElement
Summarytrue
Invariantsele-1: All FHIR elements must have a @value or children (hasValue() | (children().count() > id.count()))
ele-1: All FHIR elements must have a @value or children (hasValue() | (children().count() > id.count()))
24. StructureMap.group.input.modifierExtension
Definition

May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

ShortExtensions that cannot be ignored
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Control0..*
TypeExtension
Is Modifiertrue because No Modifier Reason provideed in previous versions of FHIR
Summarytrue
Alternate Namesextensions, user content, modifiers
26. StructureMap.group.input.name
Definition

Name for this instance of data.

ShortName for this instance of data
Control1..1
Typeid
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Summarytrue
28. StructureMap.group.input.mode
Definition

Mode for this instance of data.

Shortsource | target
Control1..1
BindingThe codes SHALL be taken from StructureMapInputModehttp://hl7.org/fhir/ValueSet/map-input-mode|3.0.2
(required to http://hl7.org/fhir/ValueSet/map-input-mode|3.0.2)

Mode for this instance of data

Typecode
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Summarytrue
30. StructureMap.group.rule
Definition

Transform Rule from source to target.

ShortTransform Rule from source to target
Control1..*
TypeBackboneElement
Summarytrue
Invariantsele-1: All FHIR elements must have a @value or children (hasValue() | (children().count() > id.count()))
ele-1: All FHIR elements must have a @value or children (hasValue() | (children().count() > id.count()))
32. StructureMap.group.rule.modifierExtension
Definition

May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

ShortExtensions that cannot be ignored
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Control0..*
TypeExtension
Is Modifiertrue because No Modifier Reason provideed in previous versions of FHIR
Summarytrue
Alternate Namesextensions, user content, modifiers
34. StructureMap.group.rule.name
Definition

Name of the rule for internal references.

ShortName of the rule for internal references
Control1..1
Typeid
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Summarytrue
36. StructureMap.group.rule.source
Definition

Source inputs to the mapping.

ShortSource inputs to the mapping
Control1..*
TypeBackboneElement
Summarytrue
Invariantsele-1: All FHIR elements must have a @value or children (hasValue() | (children().count() > id.count()))
ele-1: All FHIR elements must have a @value or children (hasValue() | (children().count() > id.count()))
38. StructureMap.group.rule.source.extension
Definition

An Extension


May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

ShortExtensionAdditional Content defined by implementations
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Control0..*
TypeExtension
Alternate Namesextensions, user content
SlicingThis element introduces a set of slices on StructureMap.group.rule.source.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
  • value @ url
  • 40. StructureMap.group.rule.source.extension:defaultValue
    Slice NamedefaultValue
    Definition

    R4B: StructureMap.group.rule.source.defaultValue[x] additional types (uuid, Address, Annotation, Attachment, ContactPoint, HumanName, Identifier, Period, Range, Ratio, SampledData, Signature, Timing, ContactDetail, Contributor, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Dosage, Meta)

    ShortR4B: defaultValue additional types
    Comments

    Element StructureMap.group.rule.source.defaultValue[x] is mapped to FHIR STU3 element StructureMap.group.rule.source.defaultValue[x] as RelatedTo. The mappings for StructureMap.group.rule.source.defaultValue[x] do not cover the following types: Address, Annotation, Attachment, ContactDetail, ContactPoint, Contributor, DataRequirement, Dosage, Expression, HumanName, Identifier, Meta, ParameterDefinition, Period, Range, Ratio, RelatedArtifact, SampledData, Signature, Timing, TriggerDefinition, UsageContext, uuid. The target context StructureMap.group.rule.source.defaultValue[x] is a choice-type element and cannot directly hold extensions. The context is moved up to parent element StructureMap.group.rule.source. If there's a default value on an item that can repeat, it will only be used once.

    Control0..1
    This element is affected by the following invariants: ele-1
    TypeExtension(R4B: defaultValue additional types) (Extension Type: Choice of: uri, Address, Annotation, Attachment, ContactPoint, HumanName, Identifier, Period, Range, Ratio, SampledData, Signature, Timing, Meta)
    Is Modifierfalse
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() | (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    42. StructureMap.group.rule.source.extension:logMessage
    Slice NamelogMessage
    Definition

    R4B: StructureMap.group.rule.source.logMessage (new:string)

    ShortR4B: Message to put in log if source exists (FHIRPath) (new)
    Comments

    Element StructureMap.group.rule.source.logMessage has a context of StructureMap.group.rule.source based on following the parent source element upwards and mapping to StructureMap. Element StructureMap.group.rule.source.logMessage has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). This is typically used for recording that something Is not transformed to the target for some reason.

    Control0..1
    This element is affected by the following invariants: ele-1
    TypeExtension(R4B: Message to put in log if source exists (FHIRPath) (new)) (Extension Type: string)
    Is Modifierfalse
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() | (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    44. StructureMap.group.rule.source.modifierExtension
    Definition

    May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

    ShortExtensions that cannot be ignored
    Comments

    There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

    Control0..*
    TypeExtension
    Is Modifiertrue because No Modifier Reason provideed in previous versions of FHIR
    Summarytrue
    Alternate Namesextensions, user content, modifiers
    46. StructureMap.group.rule.source.context
    Definition

    Type or variable this rule applies to.

    ShortType or variable this rule applies to
    Control1..1
    Typeid
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    Summarytrue

    Guidance on how to interpret the contents of this table can be foundhere

    0. StructureMap
    2. StructureMap.meta
    4. StructureMap.meta.extension
    Control0..*
    SlicingThis element introduces a set of slices on StructureMap.meta.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
    • value @ url
    • 6. StructureMap.meta.extension:meta
      Slice Namemeta
      Definition

      R4B: StructureMap.meta additional types (Meta) additional types from child elements (lastUpdated, profile, security, source, tag, versionId)

      ShortR4B: meta additional types
      Comments

      Element StructureMap.meta is mapped to FHIR STU3 element StructureMap.meta as SourceIsBroaderThanTarget. The mappings for StructureMap.meta do not cover the following types: Meta. The mappings for StructureMap.meta do not cover the following types based on type expansion: lastUpdated, profile, security, source, tag, versionId.

      Control0..1
      TypeExtension(R4B: meta additional types) (Extension Type: Meta)
      8. StructureMap.text
      10. StructureMap.text.extension
      Control0..*
      SlicingThis element introduces a set of slices on StructureMap.text.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
      • value @ url
      • 12. StructureMap.text.extension:text
        Slice Nametext
        Definition

        R4B: StructureMap.text additional types (Narrative) additional types from child elements (div, status)

        ShortR4B: text additional types
        Comments

        Element StructureMap.text is mapped to FHIR STU3 element StructureMap.text as SourceIsBroaderThanTarget. The mappings for StructureMap.text do not cover the following types: Narrative. The mappings for StructureMap.text do not cover the following types based on type expansion: div, status. Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded information is added later.

        Control0..1
        TypeExtension(R4B: text additional types) (Complex Extension)
        14. StructureMap.identifier
        NoteThis is a business identifier, not a resource identifier (see discussion)
        16. StructureMap.identifier.extension
        Control0..*
        SlicingThis element introduces a set of slices on StructureMap.identifier.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
        • value @ url
        • 18. StructureMap.identifier.extension:identifier
          Slice Nameidentifier
          Definition

          R4B: StructureMap.identifier additional types (Identifier) additional types from child elements (assigner, period, system, type, use, value)

          ShortR4B: identifier additional types
          Comments

          Element StructureMap.identifier is mapped to FHIR STU3 element StructureMap.identifier as SourceIsBroaderThanTarget. The mappings for StructureMap.identifier do not cover the following types: Identifier. The mappings for StructureMap.identifier do not cover the following types based on type expansion: assigner, period, system, type, use, value. Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this structure map outside of FHIR, where it is not possible to use the logical URI.

          Control0..*
          TypeExtension(R4B: identifier additional types) (Extension Type: Identifier)
          20. StructureMap.contact
          22. StructureMap.contact.extension
          Control0..*
          SlicingThis element introduces a set of slices on StructureMap.contact.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
          • value @ url
          • 24. StructureMap.contact.extension:contact
            Slice Namecontact
            Definition

            R4B: StructureMap.contact additional types (ContactDetail) additional types from child elements (name, telecom)

            ShortR4B: contact additional types
            Comments

            Element StructureMap.contact is mapped to FHIR STU3 element StructureMap.contact as SourceIsBroaderThanTarget. The mappings for StructureMap.contact do not cover the following types: ContactDetail. The mappings for StructureMap.contact do not cover the following types based on type expansion: name, telecom. May be a web site, an email address, a telephone number, etc.

            Control0..*
            TypeExtension(R4B: contact additional types) (Complex Extension)
            26. StructureMap.useContext
            28. StructureMap.useContext.extension
            Control0..*
            SlicingThis element introduces a set of slices on StructureMap.useContext.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
            • value @ url
            • 30. StructureMap.useContext.extension:useContext
              Slice NameuseContext
              Definition

              R4B: StructureMap.useContext additional types (UsageContext) additional types from child elements (code, value[x])

              ShortR4B: The context that the content is intended to support additional types
              Comments

              Element StructureMap.useContext is mapped to FHIR STU3 element StructureMap.useContext as SourceIsBroaderThanTarget. The mappings for StructureMap.useContext do not cover the following types: UsageContext. The mappings for StructureMap.useContext do not cover the following types based on type expansion: code, value[x]. When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.

              Control0..*
              TypeExtension(R4B: The context that the content is intended to support additional types) (Complex Extension)
              32. StructureMap.group
              34. StructureMap.group.rule
              36. StructureMap.group.rule.source
              38. StructureMap.group.rule.source.extension
              Control0..*
              SlicingThis element introduces a set of slices on StructureMap.group.rule.source.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
              • value @ url
              • 40. StructureMap.group.rule.source.extension:defaultValue
                Slice NamedefaultValue
                Definition

                R4B: StructureMap.group.rule.source.defaultValue[x] additional types (uuid, Address, Annotation, Attachment, ContactPoint, HumanName, Identifier, Period, Range, Ratio, SampledData, Signature, Timing, ContactDetail, Contributor, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Dosage, Meta)

                ShortR4B: defaultValue additional types
                Comments

                Element StructureMap.group.rule.source.defaultValue[x] is mapped to FHIR STU3 element StructureMap.group.rule.source.defaultValue[x] as RelatedTo. The mappings for StructureMap.group.rule.source.defaultValue[x] do not cover the following types: Address, Annotation, Attachment, ContactDetail, ContactPoint, Contributor, DataRequirement, Dosage, Expression, HumanName, Identifier, Meta, ParameterDefinition, Period, Range, Ratio, RelatedArtifact, SampledData, Signature, Timing, TriggerDefinition, UsageContext, uuid. The target context StructureMap.group.rule.source.defaultValue[x] is a choice-type element and cannot directly hold extensions. The context is moved up to parent element StructureMap.group.rule.source. If there's a default value on an item that can repeat, it will only be used once.

                Control0..1
                TypeExtension(R4B: defaultValue additional types) (Extension Type: Choice of: uri, Address, Annotation, Attachment, ContactPoint, HumanName, Identifier, Period, Range, Ratio, SampledData, Signature, Timing, Meta)
                42. StructureMap.group.rule.source.extension:logMessage
                Slice NamelogMessage
                Definition

                R4B: StructureMap.group.rule.source.logMessage (new:string)

                ShortR4B: Message to put in log if source exists (FHIRPath) (new)
                Comments

                Element StructureMap.group.rule.source.logMessage has a context of StructureMap.group.rule.source based on following the parent source element upwards and mapping to StructureMap. Element StructureMap.group.rule.source.logMessage has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). This is typically used for recording that something Is not transformed to the target for some reason.

                Control0..1
                TypeExtension(R4B: Message to put in log if source exists (FHIRPath) (new)) (Extension Type: string)

                Guidance on how to interpret the contents of this table can be foundhere

                0. StructureMap
                Definition

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

                ShortA Map of relationships between 2 structures that can be used to transform data
                Control1..1
                Alternate NamesTemplate, Profile
                Invariantsdom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources (contained.contained.empty())
                dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative (contained.text.empty())
                dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated (contained.meta.versionId.empty() and contained.meta.lastUpdated.empty())
                dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource (contained.where(('#'+id in %resource.descendants().reference).not()).empty())
                2. StructureMap.id
                Definition

                The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.

                ShortLogical id of this artifact
                Comments

                The only time that a resource does not have an id is when it is being submitted to the server using a create operation.

                Control0..1
                Typeid
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                Summarytrue
                4. StructureMap.meta
                Definition

                The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.

                ShortMetadata about the resource
                Control0..1
                TypeMeta
                Summarytrue
                6. StructureMap.meta.id
                Definition

                unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                Shortxml:id (or equivalent in JSON)
                Control0..1
                Typestring
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                8. StructureMap.meta.extension
                Definition

                An Extension

                ShortExtension
                Control0..*
                TypeExtension
                SlicingThis element introduces a set of slices on StructureMap.meta.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                • value @ url
                • 10. StructureMap.meta.extension:meta
                  Slice Namemeta
                  Definition

                  R4B: StructureMap.meta additional types (Meta) additional types from child elements (lastUpdated, profile, security, source, tag, versionId)

                  ShortR4B: meta additional types
                  Comments

                  Element StructureMap.meta is mapped to FHIR STU3 element StructureMap.meta as SourceIsBroaderThanTarget. The mappings for StructureMap.meta do not cover the following types: Meta. The mappings for StructureMap.meta do not cover the following types based on type expansion: lastUpdated, profile, security, source, tag, versionId.

                  Control0..1
                  TypeExtension(R4B: meta additional types) (Extension Type: Meta)
                  12. StructureMap.meta.versionId
                  Definition

                  The version specific identifier, as it appears in the version portion of the URL. This values changes when the resource is created, updated, or deleted.

                  ShortVersion specific identifier
                  Comments

                  The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes.

                  Control0..1
                  Typeid
                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                  Summarytrue
                  14. StructureMap.meta.lastUpdated
                  Definition

                  When the resource last changed - e.g. when the version changed.

                  ShortWhen the resource version last changed
                  Comments

                  This value is always populated except when the resource is first being created. The server / resource manager sets this value; what a client provides is irrelevant.

                  Control0..1
                  Typeinstant
                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                  Summarytrue
                  16. StructureMap.meta.profile
                  Definition

                  A list of profiles (references to StructureDefinition resources) that this resource claims to conform to. The URL is a reference to StructureDefinition.url.

                  ShortProfiles this resource claims to conform to
                  Comments

                  It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time. The list of profile URLs is a set.

                  Control0..*
                  Typeuri
                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                  Summarytrue
                  18. StructureMap.meta.security
                  Definition

                  Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure.

                  ShortSecurity Labels applied to this resource
                  Comments

                  The security labels can be updated without changing the stated version of the resource The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored.

                  Control0..*
                  BindingUnless not suitable, these codes SHALL be taken from All Security Labels
                  (extensible to http://hl7.org/fhir/ValueSet/security-labels|3.0.2)

                  Security Labels from the Healthcare Privacy and Security Classification System.

                  TypeCoding
                  Summarytrue
                  20. StructureMap.meta.tag
                  Definition

                  Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource.

                  ShortTags applied to this resource
                  Comments

                  The tags can be updated without changing the stated version of the resource. The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored.

                  Control0..*
                  BindingFor example codes, see Common Tags
                  (example to http://hl7.org/fhir/ValueSet/common-tags|3.0.2)

                  Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones"

                  TypeCoding
                  Summarytrue
                  22. StructureMap.implicitRules
                  Definition

                  A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.

                  ShortA set of rules under which this content was created
                  Comments

                  Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element.

                  This element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.

                  Control0..1
                  Typeuri
                  Is Modifiertrue because No Modifier Reason provideed in previous versions of FHIR
                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                  Summarytrue
                  24. StructureMap.language
                  Definition

                  The base language in which the resource is written.

                  ShortLanguage of the resource content
                  Comments

                  Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).

                  Control0..1
                  BindingUnless not suitable, these codes SHALL be taken from Common Languages
                  (extensible to http://hl7.org/fhir/ValueSet/languages|3.0.2)

                  A human language.

                  Additional BindingsPurpose
                  All LanguagesMax Binding
                  Typecode
                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                  26. StructureMap.text
                  Definition

                  A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.

                  ShortText summary of the resource, for human interpretation
                  Comments

                  Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded in formation is added later.

                  Control0..1
                  This element is affected by the following invariants: dom-1
                  TypeNarrative
                  Alternate Namesnarrative, html, xhtml, display
                  28. StructureMap.text.id
                  Definition

                  unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                  Shortxml:id (or equivalent in JSON)
                  Control0..1
                  Typestring
                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                  XML FormatIn the XML format, this property is represented as an attribute.
                  30. StructureMap.text.extension
                  Definition

                  An Extension

                  ShortExtension
                  Control0..*
                  TypeExtension
                  SlicingThis element introduces a set of slices on StructureMap.text.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                  • value @ url
                  • 32. StructureMap.text.extension:text
                    Slice Nametext
                    Definition

                    R4B: StructureMap.text additional types (Narrative) additional types from child elements (div, status)

                    ShortR4B: text additional types
                    Comments

                    Element StructureMap.text is mapped to FHIR STU3 element StructureMap.text as SourceIsBroaderThanTarget. The mappings for StructureMap.text do not cover the following types: Narrative. The mappings for StructureMap.text do not cover the following types based on type expansion: div, status. Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded information is added later.

                    Control0..1
                    TypeExtension(R4B: text additional types) (Complex Extension)
                    34. StructureMap.text.status
                    Definition

                    The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data.

                    Shortgenerated | extensions | additional | empty
                    Control1..1
                    BindingThe codes SHALL be taken from NarrativeStatus
                    (required to http://hl7.org/fhir/ValueSet/narrative-status|3.0.2)

                    The status of a resource narrative

                    Typecode
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    36. StructureMap.text.div
                    Definition

                    The actual narrative content, a stripped down version of XHTML.

                    ShortLimited xhtml content
                    Comments

                    The contents of the html element are an XHTML fragment containing only the basic html formatting elements described in chapters 7-11 and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained stylesheets. The XHTML content may not contain a head, a body, external stylesheet references, scripts, forms, base/link/xlink, frames, iframes and objects.

                    Control1..1
                    Typexhtml
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    Invariantstxt-1: The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes (htmlchecks())
                    txt-2: The narrative SHALL have some non-whitespace content (htmlchecks())
                    38. StructureMap.contained
                    Definition

                    These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.

                    ShortContained, inline Resources
                    Comments

                    This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again.

                    Control0..*
                    TypeResource
                    Alternate Namesinline resources, anonymous resources, contained resources
                    40. StructureMap.extension
                    Definition

                    May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

                    ShortAdditional Content defined by implementations
                    Comments

                    There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                    Control0..*
                    TypeExtension
                    Alternate Namesextensions, user content
                    42. StructureMap.modifierExtension
                    Definition

                    May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

                    ShortExtensions that cannot be ignored
                    Comments

                    There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                    Control0..*
                    TypeExtension
                    Is Modifiertrue because No Modifier Reason provideed in previous versions of FHIR
                    Alternate Namesextensions, user content
                    44. StructureMap.url
                    Definition

                    An absolute URI that is used to identify this structure map when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this structure map is (or will be) published. The URL SHOULD include the major version of the structure map. For more information see Technical and Business Versions.

                    ShortLogical URI to reference this structure map (globally unique)
                    Comments

                    Can be a urn:uuid: or a urn:oid:, but real http: addresses are preferred. Multiple instances may share the same url if they have a distinct version.

                    Control1..1
                    Typeuri
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    Summarytrue
                    Requirements

                    Allows the structure map to be referenced by a single globally unique identifier.

                    Alternate Namesurl, authoritative-url, destination, identity
                    46. StructureMap.identifier
                    Definition

                    A formal identifier that is used to identify this structure map when it is represented in other formats, or referenced in a specification, model, design or an instance.

                    ShortAdditional identifier for the structure map
                    Comments

                    Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, e.g., to identify this structure map outside of FHIR, where it is not possible to use the logical URI.

                    NoteThis is a business identifier, not a resource identifier (see discussion)
                    Control0..*
                    TypeIdentifier
                    Summarytrue
                    Requirements

                    Allows externally provided and/or usable business identifiers to be easily associated with the module.

                    48. StructureMap.identifier.id
                    Definition

                    unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                    Shortxml:id (or equivalent in JSON)
                    Control0..1
                    Typestring
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    XML FormatIn the XML format, this property is represented as an attribute.
                    50. StructureMap.identifier.extension
                    Definition

                    An Extension

                    ShortExtension
                    Control0..*
                    TypeExtension
                    SlicingThis element introduces a set of slices on StructureMap.identifier.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                    • value @ url
                    • 52. StructureMap.identifier.extension:identifier
                      Slice Nameidentifier
                      Definition

                      R4B: StructureMap.identifier additional types (Identifier) additional types from child elements (assigner, period, system, type, use, value)

                      ShortR4B: identifier additional types
                      Comments

                      Element StructureMap.identifier is mapped to FHIR STU3 element StructureMap.identifier as SourceIsBroaderThanTarget. The mappings for StructureMap.identifier do not cover the following types: Identifier. The mappings for StructureMap.identifier do not cover the following types based on type expansion: assigner, period, system, type, use, value. Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this structure map outside of FHIR, where it is not possible to use the logical URI.

                      Control0..*
                      TypeExtension(R4B: identifier additional types) (Extension Type: Identifier)
                      54. StructureMap.identifier.use
                      Definition

                      The purpose of this identifier.

                      Shortusual | official | temp | secondary (If known)
                      Comments

                      This is labeled as "Is Modifier" because applications should not mistake a temporary id for a permanent one. Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.

                      Control0..1
                      BindingThe codes SHALL be taken from IdentifierUse
                      (required to http://hl7.org/fhir/ValueSet/identifier-use|3.0.2)

                      Identifies the purpose for this identifier, if known .

                      Typecode
                      Is Modifiertrue because No Modifier Reason provideed in previous versions of FHIR
                      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                      Summarytrue
                      Requirements

                      Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.

                      56. StructureMap.identifier.type
                      Definition

                      A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.

                      ShortDescription of identifier
                      Comments

                      This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage.

                      Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.

                      Control0..1
                      BindingUnless not suitable, these codes SHALL be taken from Identifier Type Codes
                      (extensible to http://hl7.org/fhir/ValueSet/identifier-type|3.0.2)

                      A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

                      TypeCodeableConcept
                      Summarytrue
                      Requirements

                      Allows users to make use of identifiers when the identifier system is not known.

                      58. StructureMap.identifier.system
                      Definition

                      Establishes the namespace for the value - that is, a URL that describes a set values that are unique.

                      ShortThe namespace for the identifier value
                      Control0..1
                      Typeuri
                      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                      Summarytrue
                      Requirements

                      There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.

                      ExampleGeneral: http://www.acme.com/identifiers/patient
                      60. StructureMap.identifier.value
                      Definition

                      The portion of the identifier typically relevant to the user and which is unique within the context of the system.

                      ShortThe value that is unique
                      Comments

                      If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the Rendered Value extension.

                      Control0..1
                      Typestring
                      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                      Summarytrue
                      ExampleGeneral: 123456
                      62. StructureMap.identifier.period
                      Definition

                      Time period during which identifier is/was valid for use.

                      ShortTime period when id is/was valid for use
                      Control0..1
                      TypePeriod
                      Summarytrue
                      64. StructureMap.identifier.assigner
                      Definition

                      Organization that issued/manages the identifier.

                      ShortOrganization that issued id (may be just text)
                      Comments

                      The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.

                      Control0..1
                      TypeReference(Organization)
                      Summarytrue
                      66. StructureMap.version
                      Definition

                      The identifier that is used to identify this version of the structure map when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the structure map author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.

                      ShortBusiness version of the structure map
                      Comments

                      There may be different structure map instances that have the same identifier but different versions. The version can be appended to the url in a reference to allow a refrence to a particular business version of the structure map with the format [url]|[version].

                      NoteThis is a business version Id, not a resource version Id (see discussion)
                      Control0..1
                      Typestring
                      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                      Summarytrue
                      68. StructureMap.name
                      Definition

                      A natural language name identifying the structure map. This name should be usable as an identifier for the module by machine processing applications such as code generation.

                      ShortName for this structure map (computer friendly)
                      Comments

                      The name is not expected to be globally unique. The name should be a simple alpha-numeric type name to ensure that it is computable friendly.

                      Control1..1
                      Typestring
                      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                      Summarytrue
                      Requirements

                      Support human navigation and code generation.

                      70. StructureMap.title
                      Definition

                      A short, descriptive, user-friendly title for the structure map.

                      ShortName for this structure map (human friendly)
                      Comments

                      This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc.

                      Control0..1
                      Typestring
                      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                      Summarytrue
                      72. StructureMap.status
                      Definition

                      The status of this structure map. Enables tracking the life-cycle of the content.

                      Shortdraft | active | retired | unknown
                      Comments

                      Allows filtering of structure maps that are appropriate for use vs. not.
                      This is labeled as "Is Modifier" because applications should not use a retired structure map without due consideration.

                      Control1..1
                      BindingThe codes SHALL be taken from PublicationStatus
                      (required to http://hl7.org/fhir/ValueSet/publication-status|3.0.2)

                      The lifecycle status of a Value Set or Concept Map.

                      Typecode
                      Is Modifiertrue because No Modifier Reason provideed in previous versions of FHIR
                      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                      Summarytrue
                      74. StructureMap.experimental
                      Definition

                      A boolean value to indicate that this structure map is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.

                      ShortFor testing purposes, not real usage
                      Comments

                      Allows filtering of structure map that are appropriate for use vs. not. This is labeled as "Is Modifier" because applications should not use an experimental structure map in production.

                      Control0..1
                      Typeboolean
                      Is Modifiertrue because No Modifier Reason provideed in previous versions of FHIR
                      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                      Summarytrue
                      Requirements

                      Enables experimental content to be developed following the same lifecycle that would be used for a production-level structure map.

                      76. StructureMap.date
                      Definition

                      The date (and optionally time) when the structure map was published. The date must change if and when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the structure map changes.

                      ShortDate this was last changed
                      Comments

                      Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the structure map. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.

                      Control0..1
                      TypedateTime
                      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                      Summarytrue
                      Alternate NamesRevision Date
                      78. StructureMap.publisher
                      Definition

                      The name of the individual or organization that published the structure map.

                      ShortName of the publisher (organization or individual)
                      Comments

                      Usually an organization, but may be an individual. The publisher (or steward) of the structure map is the organization or individual primarily responsible for the maintenance and upkeep of the structure map. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the structure map. This item SHOULD be populated unless the information is available from context.

                      Control0..1
                      Typestring
                      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                      Summarytrue
                      Requirements

                      Helps establish the "authority/credibility" of the structure map. May also allow for contact.

                      80. StructureMap.contact
                      Definition

                      Contact details to assist a user in finding and communicating with the publisher.

                      ShortContact details for the publisher
                      Comments

                      May be a web site, an email address, a telephone number, etc.

                      Control0..*
                      TypeContactDetail
                      Summarytrue
                      82. StructureMap.contact.id
                      Definition

                      unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                      Shortxml:id (or equivalent in JSON)
                      Control0..1
                      Typestring
                      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                      XML FormatIn the XML format, this property is represented as an attribute.
                      84. StructureMap.contact.extension
                      Definition

                      An Extension

                      ShortExtension
                      Control0..*
                      TypeExtension
                      SlicingThis element introduces a set of slices on StructureMap.contact.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                      • value @ url
                      • 86. StructureMap.contact.extension:contact
                        Slice Namecontact
                        Definition

                        R4B: StructureMap.contact additional types (ContactDetail) additional types from child elements (name, telecom)

                        ShortR4B: contact additional types
                        Comments

                        Element StructureMap.contact is mapped to FHIR STU3 element StructureMap.contact as SourceIsBroaderThanTarget. The mappings for StructureMap.contact do not cover the following types: ContactDetail. The mappings for StructureMap.contact do not cover the following types based on type expansion: name, telecom. May be a web site, an email address, a telephone number, etc.

                        Control0..*
                        TypeExtension(R4B: contact additional types) (Complex Extension)
                        88. StructureMap.contact.name
                        Definition

                        The name of an individual to contact.

                        ShortName of an individual to contact
                        Comments

                        If there is no named individual, the telecom information is for the organization as a whole.

                        Control0..1
                        Typestring
                        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                        Summarytrue
                        90. StructureMap.contact.telecom
                        Definition

                        The contact details for the individual (if a name was provided) or the organization.

                        ShortContact details for individual or organization
                        Control0..*
                        TypeContactPoint
                        Summarytrue
                        92. StructureMap.description
                        Definition

                        A free text natural language description of the structure map from a consumer's perspective.

                        ShortNatural language description of the structure map
                        Comments

                        This description can be used to capture details such as why the structure map was built, comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the structure map as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the profile is presumed to be the predominant language in the place the profile was created).

                        Control0..1
                        Typemarkdown
                        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                        94. StructureMap.useContext
                        Definition

                        The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching for appropriate structure map instances.

                        ShortContext the content is intended to support
                        Comments

                        When multiple useContexts are specified, there is no expectation whether all or any of the contexts apply.

                        Control0..*
                        TypeUsageContext
                        Summarytrue
                        Requirements

                        Assist in searching for appropriate content.

                        96. StructureMap.useContext.id
                        Definition

                        unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                        Shortxml:id (or equivalent in JSON)
                        Control0..1
                        Typestring
                        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                        XML FormatIn the XML format, this property is represented as an attribute.
                        98. StructureMap.useContext.extension
                        Definition

                        An Extension

                        ShortExtension
                        Control0..*
                        TypeExtension
                        SlicingThis element introduces a set of slices on StructureMap.useContext.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                        • value @ url
                        • 100. StructureMap.useContext.extension:useContext
                          Slice NameuseContext
                          Definition

                          R4B: StructureMap.useContext additional types (UsageContext) additional types from child elements (code, value[x])

                          ShortR4B: The context that the content is intended to support additional types
                          Comments

                          Element StructureMap.useContext is mapped to FHIR STU3 element StructureMap.useContext as SourceIsBroaderThanTarget. The mappings for StructureMap.useContext do not cover the following types: UsageContext. The mappings for StructureMap.useContext do not cover the following types based on type expansion: code, value[x]. When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.

                          Control0..*
                          TypeExtension(R4B: The context that the content is intended to support additional types) (Complex Extension)
                          102. StructureMap.useContext.code
                          Definition

                          A code that identifies the type of context being specified by this usage context.

                          ShortType of context being specified
                          Control1..1
                          BindingUnless not suitable, these codes SHALL be taken from UsageContextType
                          (extensible to http://hl7.org/fhir/ValueSet/usage-context-type|3.0.2)

                          A code that specifies a type of context being specified by a usage context

                          TypeCoding
                          Summarytrue
                          104. StructureMap.useContext.value[x]
                          Definition

                          A value that defines the context specified in this context of use. The interpretation of the value is defined by the code.

                          ShortValue that defines the context
                          Control1..1
                          BindingFor example codes, see Context of Use ValueSet
                          (example to http://hl7.org/fhir/ValueSet/use-context|3.0.2)

                          A code that defines the specific value for the context being specified

                          TypeChoice of: CodeableConcept, Quantity, Range
                          [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
                          Summarytrue
                          106. StructureMap.jurisdiction
                          Definition

                          A legal or geographic region in which the structure map is intended to be used.

                          ShortIntended jurisdiction for structure map (if applicable)
                          Comments

                          It may be possible for the structure map to be used in jurisdictions other than those for which it was originally designed or intended.

                          Control0..*
                          BindingUnless not suitable, these codes SHALL be taken from Jurisdiction ValueSet
                          (extensible to http://hl7.org/fhir/ValueSet/jurisdiction|3.0.2)

                          Countries and regions within which this artifact is targeted for use

                          TypeCodeableConcept
                          Summarytrue
                          108. StructureMap.purpose
                          Definition

                          Explaination of why this structure map is needed and why it has been designed as it has.

                          ShortWhy this structure map is defined
                          Comments

                          This element does not describe the usage of the structure map Instead it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is. This may be used to point to source materials or specifications that drove the structure of this structure map.

                          Control0..1
                          Typemarkdown
                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                          110. StructureMap.copyright
                          Definition

                          A copyright statement relating to the structure map and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the structure map.

                          ShortUse and/or publishing restrictions
                          Control0..1
                          Typemarkdown
                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                          Requirements

                          Consumers must be able to determine any legal restrictions on the use of the structure map and/or its content.

                          Alternate NamesLicense, Restrictions
                          112. StructureMap.structure
                          Definition

                          A structure definition used by this map. The structure definition may describe instances that are converted, or the instances that are produced.

                          ShortStructure Definition used by this map
                          Comments

                          It is not necessary for a structure map to identify any dependent structures, though not losting them may restrict its usefulness.

                          Control0..*
                          TypeBackboneElement
                          Summarytrue
                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() | (children().count() > id.count()))
                          114. StructureMap.structure.id
                          Definition

                          unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                          Shortxml:id (or equivalent in JSON)
                          Control0..1
                          Typestring
                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                          XML FormatIn the XML format, this property is represented as an attribute.
                          116. StructureMap.structure.extension
                          Definition

                          May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

                          ShortAdditional Content defined by implementations
                          Comments

                          There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                          Control0..*
                          TypeExtension
                          Alternate Namesextensions, user content
                          118. StructureMap.structure.modifierExtension
                          Definition

                          May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

                          ShortExtensions that cannot be ignored
                          Comments

                          There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                          Control0..*
                          TypeExtension
                          Is Modifiertrue because No Modifier Reason provideed in previous versions of FHIR
                          Summarytrue
                          Alternate Namesextensions, user content, modifiers
                          120. StructureMap.structure.url
                          Definition

                          The canonical URL that identifies the structure.

                          ShortCanonical URL for structure definition
                          Control1..1
                          Typeuri
                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                          Summarytrue
                          122. StructureMap.structure.mode
                          Definition

                          How the referenced structure is used in this mapping.

                          Shortsource | queried | target | produced
                          Control1..1
                          BindingThe codes SHALL be taken from StructureMapModelMode
                          (required to http://hl7.org/fhir/ValueSet/map-model-mode|3.0.2)

                          How the referenced structure is used in this mapping

                          Typecode
                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                          Summarytrue
                          124. StructureMap.structure.alias
                          Definition

                          The name used for this type in the map.

                          ShortName for type in this map
                          Comments

                          This is needed if both types have the same name (e.g. version conversion).

                          Control0..1
                          Typestring
                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                          Summarytrue
                          126. StructureMap.structure.documentation
                          Definition

                          Documentation that describes how the structure is used in the mapping.

                          ShortDocumentation on use of structure
                          Control0..1
                          Typestring
                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                          128. StructureMap.import
                          Definition

                          Other maps used by this map (canonical URLs).

                          ShortOther maps used by this map (canonical URLs)
                          Control0..*
                          Typeuri
                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                          Summarytrue
                          130. StructureMap.group
                          Definition

                          Organizes the mapping into managable chunks for human review/ease of maintenance.

                          ShortNamed sections for reader convenience
                          Control1..*
                          TypeBackboneElement
                          Summarytrue
                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() | (children().count() > id.count()))
                          132. StructureMap.group.id
                          Definition

                          unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                          Shortxml:id (or equivalent in JSON)
                          Control0..1
                          Typestring
                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                          XML FormatIn the XML format, this property is represented as an attribute.
                          134. StructureMap.group.extension
                          Definition

                          May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

                          ShortAdditional Content defined by implementations
                          Comments

                          There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                          Control0..*
                          TypeExtension
                          Alternate Namesextensions, user content
                          136. StructureMap.group.modifierExtension
                          Definition

                          May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

                          ShortExtensions that cannot be ignored
                          Comments

                          There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                          Control0..*
                          TypeExtension
                          Is Modifiertrue because No Modifier Reason provideed in previous versions of FHIR
                          Summarytrue
                          Alternate Namesextensions, user content, modifiers
                          138. StructureMap.group.name
                          Definition

                          A unique name for the group for the convenience of human readers.

                          ShortHuman-readable label
                          Control1..1
                          Typeid
                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                          Summarytrue
                          140. StructureMap.group.extends
                          Definition

                          Another group that this group adds rules to.

                          ShortAnother group that this group adds rules to
                          Control0..1
                          Typeid
                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                          Summarytrue
                          142. StructureMap.group.typeMode
                          Definition

                          If this is the default rule set to apply for thie source type, or this combination of types.

                          Shortnone | types | type-and-types
                          Comments

                          Not applicable if the underlying model is untyped. There can only be one default mapping for any particular type combination.

                          Control1..1
                          BindingThe codes SHALL be taken from StructureMapGroupTypeMode
                          (required to http://hl7.org/fhir/ValueSet/map-group-type-mode|3.0.2)

                          If this is the default rule set to apply for the source type, or this combination of types

                          Typecode
                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                          Summarytrue
                          144. StructureMap.group.documentation
                          Definition

                          Additional supporting documentation that explains the purpose of the group and the types of mappings within it.

                          ShortAdditional description/explaination for group
                          Control0..1
                          Typestring
                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                          Summarytrue
                          146. StructureMap.group.input
                          Definition

                          A name assigned to an instance of data. The instance must be provided when the mapping is invoked.

                          ShortNamed instance provided when invoking the map
                          Comments

                          If no inputs are named, then the entry mappings are type based.

                          Control1..*
                          TypeBackboneElement
                          Summarytrue
                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() | (children().count() > id.count()))
                          148. StructureMap.group.input.id
                          Definition

                          unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                          Shortxml:id (or equivalent in JSON)
                          Control0..1
                          Typestring
                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                          XML FormatIn the XML format, this property is represented as an attribute.
                          150. StructureMap.group.input.extension
                          Definition

                          May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

                          ShortAdditional Content defined by implementations
                          Comments

                          There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                          Control0..*
                          TypeExtension
                          Alternate Namesextensions, user content
                          152. StructureMap.group.input.modifierExtension
                          Definition

                          May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

                          ShortExtensions that cannot be ignored
                          Comments

                          There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                          Control0..*
                          TypeExtension
                          Is Modifiertrue because No Modifier Reason provideed in previous versions of FHIR
                          Summarytrue
                          Alternate Namesextensions, user content, modifiers
                          154. StructureMap.group.input.name
                          Definition

                          Name for this instance of data.

                          ShortName for this instance of data
                          Control1..1
                          Typeid
                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                          Summarytrue
                          156. StructureMap.group.input.type
                          Definition

                          Type for this instance of data.

                          ShortType for this instance of data
                          Control0..1
                          Typestring
                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                          Summarytrue
                          158. StructureMap.group.input.mode
                          Definition

                          Mode for this instance of data.

                          Shortsource | target
                          Control1..1
                          BindingThe codes SHALL be taken from StructureMapInputMode
                          (required to http://hl7.org/fhir/ValueSet/map-input-mode|3.0.2)

                          Mode for this instance of data

                          Typecode
                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                          Summarytrue
                          160. StructureMap.group.input.documentation
                          Definition

                          Documentation for this instance of data.

                          ShortDocumentation for this instance of data
                          Control0..1
                          Typestring
                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                          162. StructureMap.group.rule
                          Definition

                          Transform Rule from source to target.

                          ShortTransform Rule from source to target
                          Control1..*
                          TypeBackboneElement
                          Summarytrue
                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() | (children().count() > id.count()))
                          164. StructureMap.group.rule.id
                          Definition

                          unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                          Shortxml:id (or equivalent in JSON)
                          Control0..1
                          Typestring
                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                          XML FormatIn the XML format, this property is represented as an attribute.
                          166. StructureMap.group.rule.extension
                          Definition

                          May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

                          ShortAdditional Content defined by implementations
                          Comments

                          There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                          Control0..*
                          TypeExtension
                          Alternate Namesextensions, user content
                          168. StructureMap.group.rule.modifierExtension
                          Definition

                          May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

                          ShortExtensions that cannot be ignored
                          Comments

                          There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                          Control0..*
                          TypeExtension
                          Is Modifiertrue because No Modifier Reason provideed in previous versions of FHIR
                          Summarytrue
                          Alternate Namesextensions, user content, modifiers
                          170. StructureMap.group.rule.name
                          Definition

                          Name of the rule for internal references.

                          ShortName of the rule for internal references
                          Control1..1
                          Typeid
                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                          Summarytrue
                          172. StructureMap.group.rule.source
                          Definition

                          Source inputs to the mapping.

                          ShortSource inputs to the mapping
                          Control1..*
                          TypeBackboneElement
                          Summarytrue
                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() | (children().count() > id.count()))
                          174. StructureMap.group.rule.source.id
                          Definition

                          unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                          Shortxml:id (or equivalent in JSON)
                          Control0..1
                          Typestring
                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                          XML FormatIn the XML format, this property is represented as an attribute.
                          176. StructureMap.group.rule.source.extension
                          Definition

                          An Extension

                          ShortExtension
                          Control0..*
                          TypeExtension
                          SlicingThis element introduces a set of slices on StructureMap.group.rule.source.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                          • value @ url
                          • 178. StructureMap.group.rule.source.extension:defaultValue
                            Slice NamedefaultValue
                            Definition

                            R4B: StructureMap.group.rule.source.defaultValue[x] additional types (uuid, Address, Annotation, Attachment, ContactPoint, HumanName, Identifier, Period, Range, Ratio, SampledData, Signature, Timing, ContactDetail, Contributor, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Dosage, Meta)

                            ShortR4B: defaultValue additional types
                            Comments

                            Element StructureMap.group.rule.source.defaultValue[x] is mapped to FHIR STU3 element StructureMap.group.rule.source.defaultValue[x] as RelatedTo. The mappings for StructureMap.group.rule.source.defaultValue[x] do not cover the following types: Address, Annotation, Attachment, ContactDetail, ContactPoint, Contributor, DataRequirement, Dosage, Expression, HumanName, Identifier, Meta, ParameterDefinition, Period, Range, Ratio, RelatedArtifact, SampledData, Signature, Timing, TriggerDefinition, UsageContext, uuid. The target context StructureMap.group.rule.source.defaultValue[x] is a choice-type element and cannot directly hold extensions. The context is moved up to parent element StructureMap.group.rule.source. If there's a default value on an item that can repeat, it will only be used once.

                            Control0..1
                            This element is affected by the following invariants: ele-1
                            TypeExtension(R4B: defaultValue additional types) (Extension Type: Choice of: uri, Address, Annotation, Attachment, ContactPoint, HumanName, Identifier, Period, Range, Ratio, SampledData, Signature, Timing, Meta)
                            Is Modifierfalse
                            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() | (children().count() > id.count()))
                            ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                            180. StructureMap.group.rule.source.extension:logMessage
                            Slice NamelogMessage
                            Definition

                            R4B: StructureMap.group.rule.source.logMessage (new:string)

                            ShortR4B: Message to put in log if source exists (FHIRPath) (new)
                            Comments

                            Element StructureMap.group.rule.source.logMessage has a context of StructureMap.group.rule.source based on following the parent source element upwards and mapping to StructureMap. Element StructureMap.group.rule.source.logMessage has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). This is typically used for recording that something Is not transformed to the target for some reason.

                            Control0..1
                            This element is affected by the following invariants: ele-1
                            TypeExtension(R4B: Message to put in log if source exists (FHIRPath) (new)) (Extension Type: string)
                            Is Modifierfalse
                            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() | (children().count() > id.count()))
                            ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                            182. StructureMap.group.rule.source.modifierExtension
                            Definition

                            May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

                            ShortExtensions that cannot be ignored
                            Comments

                            There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                            Control0..*
                            TypeExtension
                            Is Modifiertrue because No Modifier Reason provideed in previous versions of FHIR
                            Summarytrue
                            Alternate Namesextensions, user content, modifiers
                            184. StructureMap.group.rule.source.context
                            Definition

                            Type or variable this rule applies to.

                            ShortType or variable this rule applies to
                            Control1..1
                            Typeid
                            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                            Summarytrue
                            186. StructureMap.group.rule.source.min
                            Definition

                            Specified minimum cardinality for the element. This is optional; if present, it acts an implicit check on the input content.

                            ShortSpecified minimum cardinality
                            Control0..1
                            Typeinteger
                            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                            Summarytrue
                            188. StructureMap.group.rule.source.max
                            Definition

                            Specified maximum cardinality for the element - a number or a "". This is optional; if present, it acts an implicit check on the input content ( just serves as documentation; it's the default value).

                            ShortSpecified maximum cardinality (number or *)
                            Control0..1
                            Typestring
                            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                            Summarytrue
                            190. StructureMap.group.rule.source.type
                            Definition

                            Specified type for the element. This works as a condition on the mapping - use for polymorphic elements.

                            ShortRule only applies if source has this type
                            Control0..1
                            Typestring
                            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                            Summarytrue
                            192. StructureMap.group.rule.source.defaultValue[x]
                            Definition

                            A value to use if there is no existing value in the source object.

                            ShortDefault value if no value exists
                            Comments

                            If there's a default value on an item that can repeat, it will only be used once.

                            Control0..1
                            TypeChoice of: base64Binary, boolean, code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference, SampledData, Signature, Timing, Meta
                            [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
                            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                            Summarytrue
                            194. StructureMap.group.rule.source.element
                            Definition

                            Optional field for this source.

                            ShortOptional field for this source
                            Control0..1
                            Typestring
                            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                            Summarytrue
                            196. StructureMap.group.rule.source.listMode
                            Definition

                            How to handle the list mode for this element.

                            Shortfirst | not_first | last | not_last | only_one
                            Control0..1
                            BindingThe codes SHALL be taken from StructureMapSourceListMode
                            (required to http://hl7.org/fhir/ValueSet/map-source-list-mode|3.0.2)

                            If field is a list, how to manage the source

                            Typecode
                            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                            Summarytrue
                            198. StructureMap.group.rule.source.variable
                            Definition

                            Named context for field, if a field is specified.

                            ShortNamed context for field, if a field is specified
                            Control0..1
                            Typeid
                            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                            Summarytrue
                            200. StructureMap.group.rule.source.condition
                            Definition

                            FHIRPath expression - must be true or the rule does not apply.

                            ShortFHIRPath expression - must be true or the rule does not apply
                            Control0..1
                            Typestring
                            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                            Summarytrue
                            202. StructureMap.group.rule.source.check
                            Definition

                            FHIRPath expression - must be true or the mapping engine throws an error instead of completing.

                            ShortFHIRPath expression - must be true or the mapping engine throws an error instead of completing
                            Control0..1
                            Typestring
                            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                            Summarytrue
                            204. StructureMap.group.rule.target
                            Definition

                            Content to create because of this mapping rule.

                            ShortContent to create because of this mapping rule
                            Control0..*
                            TypeBackboneElement
                            Summarytrue
                            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() | (children().count() > id.count()))
                            smp-2: Must have a contextType if you have a context (context.exists() implies contextType.exists())
                            smp-1: Can only have a element if you have a context (element.exists() implies context.exists())
                            206. StructureMap.group.rule.target.id
                            Definition

                            unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                            Shortxml:id (or equivalent in JSON)
                            Control0..1
                            Typestring
                            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                            XML FormatIn the XML format, this property is represented as an attribute.
                            208. StructureMap.group.rule.target.extension
                            Definition

                            May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

                            ShortAdditional Content defined by implementations
                            Comments

                            There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                            Control0..*
                            TypeExtension
                            Alternate Namesextensions, user content
                            210. StructureMap.group.rule.target.modifierExtension
                            Definition

                            May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

                            ShortExtensions that cannot be ignored
                            Comments

                            There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                            Control0..*
                            TypeExtension
                            Is Modifiertrue because No Modifier Reason provideed in previous versions of FHIR
                            Summarytrue
                            Alternate Namesextensions, user content, modifiers
                            212. StructureMap.group.rule.target.context
                            Definition

                            Type or variable this rule applies to.

                            ShortType or variable this rule applies to
                            Control0..1
                            Typeid
                            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                            Summarytrue
                            214. StructureMap.group.rule.target.contextType
                            Definition

                            How to interpret the context.

                            Shorttype | variable
                            Control0..1
                            BindingThe codes SHALL be taken from StructureMapContextType
                            (required to http://hl7.org/fhir/ValueSet/map-context-type|3.0.2)

                            How to interpret the context

                            Typecode
                            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                            Summarytrue
                            216. StructureMap.group.rule.target.element
                            Definition

                            Field to create in the context.

                            ShortField to create in the context
                            Control0..1
                            Typestring
                            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                            Summarytrue
                            218. StructureMap.group.rule.target.variable
                            Definition

                            Named context for field, if desired, and a field is specified.

                            ShortNamed context for field, if desired, and a field is specified
                            Control0..1
                            Typeid
                            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                            Summarytrue
                            220. StructureMap.group.rule.target.listMode
                            Definition

                            If field is a list, how to manage the list.

                            Shortfirst | share | last | collate
                            Control0..*
                            BindingThe codes SHALL be taken from StructureMapTargetListMode
                            (required to http://hl7.org/fhir/ValueSet/map-target-list-mode|3.0.2)

                            If field is a list, how to manage the production

                            Typecode
                            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                            Summarytrue
                            222. StructureMap.group.rule.target.listRuleId
                            Definition

                            Internal rule reference for shared list items.

                            ShortInternal rule reference for shared list items
                            Control0..1
                            Typeid
                            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                            Summarytrue
                            224. StructureMap.group.rule.target.transform
                            Definition

                            How the data is copied / created.

                            Shortcreate | copy +
                            Control0..1
                            BindingThe codes SHALL be taken from StructureMapTransform
                            (required to http://hl7.org/fhir/ValueSet/map-transform|3.0.2)

                            How data is copied/created

                            Typecode
                            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                            Summarytrue
                            226. StructureMap.group.rule.target.parameter
                            Definition

                            Parameters to the transform.

                            ShortParameters to the transform
                            Control0..*
                            TypeBackboneElement
                            Summarytrue
                            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() | (children().count() > id.count()))
                            228. StructureMap.group.rule.target.parameter.id
                            Definition

                            unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                            Shortxml:id (or equivalent in JSON)
                            Control0..1
                            Typestring
                            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                            XML FormatIn the XML format, this property is represented as an attribute.
                            230. StructureMap.group.rule.target.parameter.extension
                            Definition

                            May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

                            ShortAdditional Content defined by implementations
                            Comments

                            There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                            Control0..*
                            TypeExtension
                            Alternate Namesextensions, user content
                            232. StructureMap.group.rule.target.parameter.modifierExtension
                            Definition

                            May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

                            ShortExtensions that cannot be ignored
                            Comments

                            There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                            Control0..*
                            TypeExtension
                            Is Modifiertrue because No Modifier Reason provideed in previous versions of FHIR
                            Summarytrue
                            Alternate Namesextensions, user content, modifiers
                            234. StructureMap.group.rule.target.parameter.value[x]
                            Definition

                            Parameter value - variable or literal.

                            ShortParameter value - variable or literal
                            Control1..1
                            TypeChoice of: id, string, boolean, integer, decimal
                            [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
                            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                            Summarytrue
                            236. StructureMap.group.rule.rule
                            Definition

                            Rules contained in this rule.

                            ShortRules contained in this rule
                            Control0..*
                            TypeSeettp://hl7.org/fhir/StructureDefinition/StructureMap#StructureMap.group.rule
                            Summarytrue
                            238. StructureMap.group.rule.dependent
                            Definition

                            Which other rules to apply in the context of this rule.

                            ShortWhich other rules to apply in the context of this rule
                            Control0..*
                            TypeBackboneElement
                            Summarytrue
                            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() | (children().count() > id.count()))
                            240. StructureMap.group.rule.dependent.id
                            Definition

                            unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                            Shortxml:id (or equivalent in JSON)
                            Control0..1
                            Typestring
                            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                            XML FormatIn the XML format, this property is represented as an attribute.
                            242. StructureMap.group.rule.dependent.extension
                            Definition

                            May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

                            ShortAdditional Content defined by implementations
                            Comments

                            There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                            Control0..*
                            TypeExtension
                            Alternate Namesextensions, user content
                            244. StructureMap.group.rule.dependent.modifierExtension
                            Definition

                            May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

                            ShortExtensions that cannot be ignored
                            Comments

                            There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                            Control0..*
                            TypeExtension
                            Is Modifiertrue because No Modifier Reason provideed in previous versions of FHIR
                            Summarytrue
                            Alternate Namesextensions, user content, modifiers
                            246. StructureMap.group.rule.dependent.name
                            Definition

                            Name of a rule or group to apply.

                            ShortName of a rule or group to apply
                            Control1..1
                            Typeid
                            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                            Summarytrue
                            248. StructureMap.group.rule.dependent.variable
                            Definition

                            Variable to pass to the rule or group.

                            ShortVariable to pass to the rule or group
                            Control1..*
                            Typestring
                            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                            Summarytrue
                            250. StructureMap.group.rule.documentation
                            Definition

                            Documentation for this instance of data.

                            ShortDocumentation for this instance of data
                            Control0..1
                            Typestring
                            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension