profile-StructureMap
type: StructureDefinition
node role: treeRoot
id:
  v: profile-StructureMap
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition profile-StructureMap Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> StructureMap 1..1 StructureMap A Map of relationships between 2 structures that can be used to transform data #xD; meta #xD; Slices for extension 0..* Extension Extension Slice: Unordered, Open by value:url #xD; extension:meta 0..1 Meta R4B: meta additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-StructureMap.meta #xD; text #xD; Slices for extension 0..* Extension Extension Slice: Unordered, Open by value:url #xD; extension:text 0..1 (Complex) R4B: text additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-StructureMap.text #xD; identifier #xD; Slices for extension 0..* Extension Extension Slice: Unordered, Open by value:url #xD; extension:identifier 0..* Identifier R4B: identifier additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-StructureMap.identifier #xD; contact #xD; Slices for extension 0..* Extension Extension Slice: Unordered, Open by value:url #xD; extension:contact 0..* (Complex) R4B: contact additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-StructureMap.contact #xD; useContext #xD; Slices for extension 0..* Extension Extension Slice: Unordered, Open by value:url #xD; extension:useContext 0..* (Complex) R4B: The context that the content is intended to support additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-StructureMap.useContext #xD; group #xD; rule #xD; source #xD; Slices for extension 0..* Extension Extension Slice: Unordered, Open by value:url #xD; extension:defaultValue 0..1 uri, Address, Annotation, Attachment, ContactPoint, HumanName, Identifier, Period, Range, Ratio, SampledData, Signature, Timing, Meta R4B: defaultValue additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-StructureMap.group.rule.source.defaultValue #xD; extensi…
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-wg
    l: structuredefinition-wg
  value: Code
    v: fhir
extension:
  extension:
    url:
      v: packageId
      l: packageId
    value: Id
      v: hl7.fhir.uv.xver-r4b.r3
  extension:
    url:
      v: version
      l: version
    value: String
      v: 0.1.0
  url:
    v: http://hl7.org/fhir/StructureDefinition/package-source
    l: package-source
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm
    l: structuredefinition-fmm
  value: Integer
    v: 0
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom
        l: structuredefinition-conformance-derivedFrom
      value: Uri
        v: http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4b.r3
        l: hl7.fhir.uv.xver-r4b.r3
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status
    l: structuredefinition-standards-status
  value: Code
    v: trial-use
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom
        l: structuredefinition-conformance-derivedFrom
      value: Uri
        v: http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4b.r3
        l: hl7.fhir.uv.xver-r4b.r3
url:
  v: http://hl7.org/fhir/4.3/StructureDefinition/profile-StructureMap
  l: profile-StructureMap
version:
  v: 0.1.0
name:
  v: Profile_R4B_StructureMap_R3
title:
  v: Cross-version Profile for R4B.StructureMap for use in FHIR STU3
status:
  v: active
experimental:
  v: false
date:
  v: 2026-03-17T16:04:25.0916926-05:00
publisher:
  v: FHIR Infrastructure
contact:
  name:
    v: FHIR Infrastructure
  telecom:
    system:
      v: url
    value:
      v: http://www.hl7.org/Special/committees/fiwg
description:
  v: This cross-version profile allows R4B StructureMap content to be represented via FHIR STU3 StructureMap resources.
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
      l: m49.htm
    code:
      v: 001
    display:
      v: World
fhir version:
  v: 3.0.2
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
    l: v3
  name:
    v: RIM Mapping
mapping:
  identity:
    v: w5
  uri:
    v: http://hl7.org/fhir/w5
    l: w5
  name:
    v: W5 Mapping
mapping:
  identity:
    v: objimpl
  uri:
    v: http://hl7.org/fhir/object-implementation
    l: object-implementation
  name:
    v: Object Implementation Information
kind:
  v: resource
abstract:
  v: false
type:
  v: StructureMap
base definition:
  v: http://hl7.org/fhir/StructureDefinition/StructureMap
  l: StructureMap
derivation:
  v: constraint
snapshot:
  element:
    id:
      v: StructureMap
    path:
      v: StructureMap
    short:
      v: A Map of relationships between 2 structures that can be used to transform data
    definition:
      v: A Map of relationships between 2 structures that can be used to transform data.
    alias:
      v: Template
    alias:
      v: Profile
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: StructureMap
      min:
        v: 1
      max:
        v: 1
    constraint:
      key:
        v: dom-2
      severity:
        v: error
      human:
        v: If the resource is contained in another resource, it SHALL NOT contain nested Resources
      expression:
        v: contained.contained.empty()
      xpath:
        v: not(parent::f:contained and f:contained)
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        l: DomainResource
    constraint:
      key:
        v: dom-1
      severity:
        v: error
      human:
        v: If the resource is contained in another resource, it SHALL NOT contain any narrative
      expression:
        v: contained.text.empty()
      xpath:
        v: not(parent::f:contained and f:text)
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        l: DomainResource
    constraint:
      key:
        v: dom-4
      severity:
        v: error
      human:
        v: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
      expression:
        v: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
      xpath:
        v: not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        l: DomainResource
    constraint:
      key:
        v: dom-3
      severity:
        v: error
      human:
        v: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource

v: contained.where(('#'+id in %resource.descendants().reference).not()).empty()

v: not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))

identity:
  v: rim
map:
  v: Entity. Role, or Act

identity:
  v: rim
map:
  v: n/a

identity:
  v: w5
map:
  v: conformance.content

id:
  v: StructureMap.id
path:
  v: StructureMap.id
short:
  v: Logical id of this artifact
definition:
  v: The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
comment:
  v: The only time that a resource does not have an id is when it is being submitted to the server using a create operation.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: id
    l: id
is summary:
  v: true

id:
  v: StructureMap.meta
path:
  v: StructureMap.meta
short:
  v: Metadata about the resource
definition:
  v: 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.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.meta
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Meta
    l: Meta
is summary:
  v: true

id:
  v: StructureMap.meta.id
path:
  v: StructureMap.meta.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: StructureMap.meta.extension
path:
  v: StructureMap.meta.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: StructureMap.meta.extension:meta
path:
  v: StructureMap.meta.extension
slice name:
  v: meta
short:
  v: R4B: meta additional types
definition:
  v: R4B: `StructureMap.meta` additional types (Meta) additional types from child elements (lastUpdated, profile, security, source, tag, versionId)
comment:
  v: 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.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/4.3/StructureDefinition/extension-StructureMap.meta|0.1.0
    l: http://hl7.org/fhir/4.3/StructureDefinition/extension-StructureMap.meta

id:
  v: StructureMap.meta.versionId
path:
  v: StructureMap.meta.versionId
short:
  v: Version specific identifier
definition:
  v: 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.
comment:
  v: 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.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Meta.versionId
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: id
    l: id
is summary:
  v: true

id:
  v: StructureMap.meta.lastUpdated
path:
  v: StructureMap.meta.lastUpdated
short:
  v: When the resource version last changed
definition:
  v: When the resource last changed - e.g. when the version changed.
comment:
  v: 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.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Meta.lastUpdated
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: instant
    l: instant
is summary:
  v: true

id:
  v: StructureMap.meta.profile
path:
  v: StructureMap.meta.profile
short:
  v: Profiles this resource claims to conform to
definition:
  v: A list of profiles (references to [StructureDefinition](http://hl7.org/fhir/STU3/structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](http://hl7.org/fhir/STU3/).
comment:
  v: 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.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Meta.profile
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: uri
    l: uri
is summary:
  v: true

id:
  v: StructureMap.meta.security
path:
  v: StructureMap.meta.security
short:
  v: Security Labels applied to this resource
definition:
  v: Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure.
comment:
  v: 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.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Meta.security
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Coding
    l: Coding
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: SecurityLabels
  strength:
    v: extensible
  description:
    v: Security Labels from the Healthcare Privacy and Security Classification System.
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/security-labels|3.0.2

id:
  v: StructureMap.meta.tag
path:
  v: StructureMap.meta.tag
short:
  v: Tags applied to this resource
definition:
  v: 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.
comment:
  v: 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.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Meta.tag
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Coding
    l: Coding
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: Tags
  strength:
    v: example
  description:
    v: Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones"
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/common-tags|3.0.2

id:
  v: StructureMap.implicitRules
path:
  v: StructureMap.implicitRules
short:
  v: A set of rules under which this content was created
definition:
  v: A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.
comment:
  v: 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.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.implicitRules
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
is modifier:
  v: true
is summary:
  v: true

id:
  v: StructureMap.language
path:
  v: StructureMap.language
short:
  v: Language of the resource content
definition:
  v: The base language in which the resource is written.
comment:
  v: 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).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.language
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet
      l: elementdefinition-maxValueSet
    value: Reference
      l: 3.0
      l: .2
      reference:
        v: http://hl7.org/fhir/ValueSet/all-languages|3.0.2
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: Language
  strength:
    v: extensible
  description:
    v: A human language.
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/languages|3.0.2

id:
  v: StructureMap.text
path:
  v: StructureMap.text
short:
  v: Text summary of the resource, for human interpretation
definition:
  v: 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.
comment:
  v: 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.
alias:
  v: narrative
alias:
  v: html
alias:
  v: xhtml
alias:
  v: display
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.text
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Narrative
    l: Narrative
condition:
  v: dom-1
mapping:
  identity:
    v: rim
  map:
    v: Act.text?

id:
  v: StructureMap.text.id
path:
  v: StructureMap.text.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: StructureMap.text.extension
path:
  v: StructureMap.text.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: StructureMap.text.extension:text
path:
  v: StructureMap.text.extension
slice name:
  v: text
short:
  v: R4B: text additional types
definition:
  v: R4B: `StructureMap.text` additional types (Narrative) additional types from child elements (div, status)
comment:
  v: 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.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/4.3/StructureDefinition/extension-StructureMap.text|0.1.0
    l: http://hl7.org/fhir/4.3/StructureDefinition/extension-StructureMap.text

id:
  v: StructureMap.text.status
path:
  v: StructureMap.text.status
short:
  v: generated | extensions | additional | empty
definition:
  v: 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.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Narrative.status
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: NarrativeStatus
  strength:
    v: required
  description:
    v: The status of a resource narrative
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/narrative-status|3.0.2
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: StructureMap.text.div
path:
  v: StructureMap.text.div
short:
  v: Limited xhtml content
definition:
  v: The actual narrative content, a stripped down version of XHTML.
comment:
  v: 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, 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.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Narrative.div
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: xhtml
    l: http://hl7.org/fhir/xhtml
constraint:
  key:
    v: txt-1
  severity:
    v: error
  human:
    v: 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, elements (either name or href), images and internally contained style attributes
  expression:
    v: htmlchecks()
  xpath:
    v: not(descendant-or-self::*[not(local-name(.)=('a', 'abbr', 'acronym', 'b', 'big', 'blockquote', 'br', 'caption', 'cite', 'code', 'col', 'colgroup', 'dd', 'dfn', 'div', 'dl', 'dt', 'em', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'i', 'img', 'li', 'ol', 'p', 'pre', 'q', 'samp', 'small', 'span', 'strong', 'sub', 'sup', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'tr', 'tt', 'ul', 'var'))]) and not(descendant-or-self::*/@*[not(name(.)=('abbr', 'accesskey', 'align', 'alt', 'axis', 'bgcolor', 'border', 'cellhalign', 'cellpadding', 'cellspacing', 'cellvalign', 'char', 'charoff', 'charset', 'cite', 'class', 'colspan', 'compact', 'coords', 'dir', 'frame', 'headers', 'height', 'href', 'hreflang', 'hspace', 'id', 'lang', 'longdesc', 'name', 'nowrap', 'rel', 'rev', 'rowspan', 'rules', 'scope', 'shape', 'span', 'src', 'start', 'style', 'summary', 'tabindex', 'title', 'type', 'valign', 'value', 'vspace', 'width'))])
  source:
    v: http://hl7.org/fhir/StructureDefinition/StructureMap
    l: StructureMap
constraint:
  key:
    v: txt-2
  severity:
    v: error
  human:
    v: The narrative SHALL have some non-whitespace content
  expression:
    v: htmlchecks()
  xpath:
    v: descendant::text()[normalize-space(.)!=''] or descendant::h:img[@src]
  source:
    v: http://hl7.org/fhir/StructureDefinition/StructureMap
    l: StructureMap
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: StructureMap.contained
path:
  v: StructureMap.contained
short:
  v: Contained, inline Resources
definition:
  v: 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.
comment:
  v: 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.
alias:
  v: inline resources
alias:
  v: anonymous resources
alias:
  v: contained resources
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.contained
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Resource
    l: Resource
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: StructureMap.extension
path:
  v: StructureMap.extension
short:
  v: Additional Content defined by implementations
definition:
  v: 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.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: StructureMap.modifierExtension
path:
  v: StructureMap.modifierExtension
short:
  v: Extensions that cannot be ignored
definition:
  v: 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.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
is modifier:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: StructureMap.url
path:
  v: StructureMap.url
short:
  v: Logical URI to reference this structure map (globally unique)
definition:
  v: 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](http://hl7.org/fhir/STU3/resource.html#versions).
comment:
  v: 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.
requirements:
  v: Allows the structure map to be referenced by a single globally unique identifier.
alias:
  v: url
alias:
  v: authoritative-url
alias:
  v: destination
alias:
  v: identity
min:
  v: 1
max:
  v: 1
base:
  path:
    v: StructureMap.url
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: id

id:
  v: StructureMap.identifier
path:
  v: StructureMap.identifier
short:
  v: Additional identifier for the structure map
definition:
  v: 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.
comment:
  v: 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.
requirements:
  v: Allows externally provided and/or usable business identifiers to be easily associated with the module.
min:
  v: 0
max:
  v: *
base:
  path:
    v: StructureMap.identifier
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Identifier
    l: Identifier
is summary:
  v: true
mapping:
  identity:
    v: objimpl
  map:
    v: no-gen-base
mapping:
  identity:
    v: w5
  map:
    v: id

id:
  v: StructureMap.identifier.id
path:
  v: StructureMap.identifier.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: StructureMap.identifier.extension
path:
  v: StructureMap.identifier.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: StructureMap.identifier.extension:identifier
path:
  v: StructureMap.identifier.extension
slice name:
  v: identifier
short:
  v: R4B: identifier additional types
definition:
  v: R4B: `StructureMap.identifier` additional types (Identifier) additional types from child elements (assigner, period, system, type, use, value)
comment:
  v: 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.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/4.3/StructureDefinition/extension-StructureMap.identifier|0.1.0
    l: http://hl7.org/fhir/4.3/StructureDefinition/extension-StructureMap.identifier

id:
  v: StructureMap.identifier.use
path:
  v: StructureMap.identifier.use
short:
  v: usual | official | temp | secondary (If known)
definition:
  v: The purpose of this identifier.
comment:
  v: 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.
requirements:
  v: Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Identifier.use
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
is modifier:
  v: true
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: IdentifierUse
  strength:
    v: required
  description:
    v: Identifies the purpose for this identifier, if known .
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/identifier-use|3.0.2
mapping:
  identity:
    v: v2
  map:
    v: N/A
mapping:
  identity:
    v: rim
  map:
    v: Role.code or implied by context

id:
  v: StructureMap.identifier.type
path:
  v: StructureMap.identifier.type
short:
  v: Description of identifier
definition:
  v: A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.
comment:
  v: 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.
requirements:
  v: Allows users to make use of identifiers when the identifier system is not known.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Identifier.type
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: IdentifierType
  strength:
    v: extensible
  description:
    v: A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/identifier-type|3.0.2
mapping:
  identity:
    v: v2
  map:
    v: CX.5
mapping:
  identity:
    v: rim
  map:
    v: Role.code or implied by context

id:
  v: StructureMap.identifier.system
path:
  v: StructureMap.identifier.system
short:
  v: The namespace for the identifier value
definition:
  v: Establishes the namespace for the value - that is, a URL that describes a set values that are unique.
requirements:
  v: 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.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Identifier.system
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
example:
  label:
    v: General
  value: Uri
    v: http://www.acme.com/identifiers/patient
    l: patient
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: CX.4 / EI-2-4
mapping:
  identity:
    v: rim
  map:
    v: II.root or Role.id.root
mapping:
  identity:
    v: servd
  map:
    v: ./IdentifierType

id:
  v: StructureMap.identifier.value
path:
  v: StructureMap.identifier.value
short:
  v: The value that is unique
definition:
  v: The portion of the identifier typically relevant to the user and which is unique within the context of the system.
comment:
  v: 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](http://hl7.org/fhir/STU3/extension-rendered-value.html).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Identifier.value
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
example:
  label:
    v: General
  value: String
    v: 123456
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: CX.1 / EI.1
mapping:
  identity:
    v: rim
  map:
    v: II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
mapping:
  identity:
    v: servd
  map:
    v: ./Value

id:
  v: StructureMap.identifier.period
path:
  v: StructureMap.identifier.period
short:
  v: Time period when id is/was valid for use
definition:
  v: Time period during which identifier is/was valid for use.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Identifier.period
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period
    l: Period
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: CX.7 + CX.8
mapping:
  identity:
    v: rim
  map:
    v: Role.effectiveTime or implied by context
mapping:
  identity:
    v: servd
  map:
    v: ./StartDate and ./EndDate

id:
  v: StructureMap.identifier.assigner
path:
  v: StructureMap.identifier.assigner
short:
  v: Organization that issued id (may be just text)
definition:
  v: Organization that issued/manages the identifier.
comment:
  v: 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.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Identifier.assigner
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Organization
    l: Organization
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: CX.4 / (CX.4,CX.9,CX.10)
mapping:
  identity:
    v: rim
  map:
    v: II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
mapping:
  identity:
    v: servd
  map:
    v: ./IdentifierIssuingAuthority

id:
  v: StructureMap.version
path:
  v: StructureMap.version
short:
  v: Business version of the structure map
definition:
  v: 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.
comment:
  v: 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].
min:
  v: 0
max:
  v: 1
base:
  path:
    v: StructureMap.version
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: id.version

id:
  v: StructureMap.name
path:
  v: StructureMap.name
short:
  v: Name for this structure map (computer friendly)
definition:
  v: 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.
comment:
  v: 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.
requirements:
  v: Support human navigation and code generation.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: StructureMap.name
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true

id:
  v: StructureMap.title
path:
  v: StructureMap.title
short:
  v: Name for this structure map (human friendly)
definition:
  v: A short, descriptive, user-friendly title for the structure map.
comment:
  v: This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: StructureMap.title
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true

id:
  v: StructureMap.status
path:
  v: StructureMap.status
short:
  v: draft | active | retired | unknown
definition:
  v: The status of this structure map. Enables tracking the life-cycle of the content.
comment:
  v: 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.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: StructureMap.status
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
is modifier:
  v: true
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: PublicationStatus
  strength:
    v: required
  description:
    v: The lifecycle status of a Value Set or Concept Map.
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/publication-status|3.0.2
mapping:
  identity:
    v: w5
  map:
    v: status

id:
  v: StructureMap.experimental
path:
  v: StructureMap.experimental
short:
  v: For testing purposes, not real usage
definition:
  v: 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.
comment:
  v: 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.
requirements:
  v: Enables experimental content to be developed following the same lifecycle that would be used for a production-level structure map.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: StructureMap.experimental
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean
is modifier:
  v: true
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: class

id:
  v: StructureMap.date
path:
  v: StructureMap.date
short:
  v: Date this was last changed
definition:
  v: 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.
comment:
  v: 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.
alias:
  v: Revision Date
min:
  v: 0
max:
  v: 1
base:
  path:
    v: StructureMap.date
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: when.recorded

id:
  v: StructureMap.publisher
path:
  v: StructureMap.publisher
short:
  v: Name of the publisher (organization or individual)
definition:
  v: The name of the individual or organization that published the structure map.
comment:
  v: 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.
requirements:
  v: Helps establish the "authority/credibility" of the structure map. May also allow for contact.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: StructureMap.publisher
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: who.witness

id:
  v: StructureMap.contact
path:
  v: StructureMap.contact
short:
  v: Contact details for the publisher
definition:
  v: Contact details to assist a user in finding and communicating with the publisher.
comment:
  v: May be a web site, an email address, a telephone number, etc.
min:
  v: 0
max:
  v: *
base:
  path:
    v: StructureMap.contact
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: ContactDetail
    l: ContactDetail
is summary:
  v: true

id:
  v: StructureMap.contact.id
path:
  v: StructureMap.contact.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: StructureMap.contact.extension
path:
  v: StructureMap.contact.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: StructureMap.contact.extension:contact
path:
  v: StructureMap.contact.extension
slice name:
  v: contact
short:
  v: R4B: contact additional types
definition:
  v: R4B: `StructureMap.contact` additional types (ContactDetail) additional types from child elements (name, telecom)
comment:
  v: 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.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/4.3/StructureDefinition/extension-StructureMap.contact|0.1.0
    l: http://hl7.org/fhir/4.3/StructureDefinition/extension-StructureMap.contact

id:
  v: StructureMap.contact.name
path:
  v: StructureMap.contact.name
short:
  v: Name of an individual to contact
definition:
  v: The name of an individual to contact.
comment:
  v: If there is no named individual, the telecom information is for the organization as a whole.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ContactDetail.name
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true

id:
  v: StructureMap.contact.telecom
path:
  v: StructureMap.contact.telecom
short:
  v: Contact details for individual or organization
definition:
  v: The contact details for the individual (if a name was provided) or the organization.
min:
  v: 0
max:
  v: *
base:
  path:
    v: ContactDetail.telecom
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: ContactPoint
    l: ContactPoint
is summary:
  v: true

id:
  v: StructureMap.description
path:
  v: StructureMap.description
short:
  v: Natural language description of the structure map
definition:
  v: A free text natural language description of the structure map from a consumer's perspective.
comment:
  v: 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).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: StructureMap.description
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: markdown
    l: markdown

id:
  v: StructureMap.useContext
path:
  v: StructureMap.useContext
short:
  v: Context the content is intended to support
definition:
  v: 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.
comment:
  v: When multiple useContexts are specified, there is no expectation whether all or any of the contexts apply.
requirements:
  v: Assist in searching for appropriate content.
min:
  v: 0
max:
  v: *
base:
  path:
    v: StructureMap.useContext
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: UsageContext
    l: UsageContext
is summary:
  v: true

id:
  v: StructureMap.useContext.id
path:
  v: StructureMap.useContext.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: StructureMap.useContext.extension
path:
  v: StructureMap.useContext.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: StructureMap.useContext.extension:useContext
path:
  v: StructureMap.useContext.extension
slice name:
  v: useContext
short:
  v: R4B: The context that the content is intended to support additional types
definition:
  v: R4B: `StructureMap.useContext` additional types (UsageContext) additional types from child elements (code, value[x])
comment:
  v: 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.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/4.3/StructureDefinition/extension-StructureMap.useContext|0.1.0
    l: http://hl7.org/fhir/4.3/StructureDefinition/extension-StructureMap.useContext

id:
  v: StructureMap.useContext.code
path:
  v: StructureMap.useContext.code
short:
  v: Type of context being specified
definition:
  v: A code that identifies the type of context being specified by this usage context.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: UsageContext.code
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Coding
    l: Coding
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: UsageContextType
  strength:
    v: extensible
  description:
    v: A code that specifies a type of context being specified by a usage context
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/usage-context-type|3.0.2

id:
  v: StructureMap.useContext.value[x]
path:
  v: StructureMap.useContext.value[x]
short:
  v: Value that defines the context
definition:
  v: A value that defines the context specified in this context of use. The interpretation of the value is defined by the code.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: UsageContext.value[x]
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
type:
  code:
    v: Quantity
    l: Quantity
type:
  code:
    v: Range
    l: Range
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: UsageContextValue
  strength:
    v: example
  description:
    v: A code that defines the specific value for the context being specified
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/use-context|3.0.2

id:
  v: StructureMap.jurisdiction
path:
  v: StructureMap.jurisdiction
short:
  v: Intended jurisdiction for structure map (if applicable)
definition:
  v: A legal or geographic region in which the structure map is intended to be used.
comment:
  v: It may be possible for the structure map to be used in jurisdictions other than those for which it was originally designed or intended.
min:
  v: 0
max:
  v: *
base:
  path:
    v: StructureMap.jurisdiction
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: Jurisdiction
  strength:
    v: extensible
  description:
    v: Countries and regions within which this artifact is targeted for use
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/jurisdiction|3.0.2

id:
  v: StructureMap.purpose
path:
  v: StructureMap.purpose
short:
  v: Why this structure map is defined
definition:
  v: Explaination of why this structure map is needed and why it has been designed as it has.
comment:
  v: 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.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: StructureMap.purpose
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: markdown
    l: markdown
mapping:
  identity:
    v: objimpl
  map:
    v: no-gen-base
mapping:
  identity:
    v: w5
  map:
    v: why

id:
  v: StructureMap.copyright
path:
  v: StructureMap.copyright
short:
  v: Use and/or publishing restrictions
definition:
  v: 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.
requirements:
  v: Consumers must be able to determine any legal restrictions on the use of the structure map and/or its content.
alias:
  v: License
alias:
  v: Restrictions
min:
  v: 0
max:
  v: 1
base:
  path:
    v: StructureMap.copyright
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: markdown
    l: markdown
mapping:
  identity:
    v: objimpl
  map:
    v: no-gen-base

id:
  v: StructureMap.structure
path:
  v: StructureMap.structure
short:
  v: Structure Definition used by this map
definition:
  v: A structure definition used by this map. The structure definition may describe instances that are converted, or the instances that are produced.
comment:
  v: It is not necessary for a structure map to identify any dependent structures, though not losting them may restrict its usefulness.
min:
  v: 0
max:
  v: *
base:
  path:
    v: StructureMap.structure
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is summary:
  v: true

id:
  v: StructureMap.structure.id
path:
  v: StructureMap.structure.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: StructureMap.structure.extension
path:
  v: StructureMap.structure.extension
short:
  v: Additional Content defined by implementations
definition:
  v: 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.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: StructureMap.structure.modifierExtension
path:
  v: StructureMap.structure.modifierExtension
short:
  v: Extensions that cannot be ignored
definition:
  v: 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.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
is modifier:
  v: true
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: StructureMap.structure.url
path:
  v: StructureMap.structure.url
short:
  v: Canonical URL for structure definition
definition:
  v: The canonical URL that identifies the structure.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: StructureMap.structure.url
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
is summary:
  v: true

id:
  v: StructureMap.structure.mode
path:
  v: StructureMap.structure.mode
short:
  v: source | queried | target | produced
definition:
  v: How the referenced structure is used in this mapping.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: StructureMap.structure.mode
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: StructureMapModelMode
  strength:
    v: required
  description:
    v: How the referenced structure is used in this mapping
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/map-model-mode|3.0.2

id:
  v: StructureMap.structure.alias
path:
  v: StructureMap.structure.alias
short:
  v: Name for type in this map
definition:
  v: The name used for this type in the map.
comment:
  v: This is needed if both types have the same name (e.g. version conversion).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: StructureMap.structure.alias
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true

id:
  v: StructureMap.structure.documentation
path:
  v: StructureMap.structure.documentation
short:
  v: Documentation on use of structure
definition:
  v: Documentation that describes how the structure is used in the mapping.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: StructureMap.structure.documentation
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: StructureMap.import
path:
  v: StructureMap.import
short:
  v: Other maps used by this map (canonical URLs)
definition:
  v: Other maps used by this map (canonical URLs).
min:
  v: 0
max:
  v: *
base:
  path:
    v: StructureMap.import
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: uri
    l: uri
is summary:
  v: true

id:
  v: StructureMap.group
path:
  v: StructureMap.group
short:
  v: Named sections for reader convenience
definition:
  v: Organizes the mapping into managable chunks for human review/ease of maintenance.
min:
  v: 1
max:
  v: *
base:
  path:
    v: StructureMap.group
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is summary:
  v: true

id:
  v: StructureMap.group.id
path:
  v: StructureMap.group.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: StructureMap.group.extension
path:
  v: StructureMap.group.extension
short:
  v: Additional Content defined by implementations
definition:
  v: 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.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: StructureMap.group.modifierExtension
path:
  v: StructureMap.group.modifierExtension
short:
  v: Extensions that cannot be ignored
definition:
  v: 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.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
is modifier:
  v: true
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: StructureMap.group.name
path:
  v: StructureMap.group.name
short:
  v: Human-readable label
definition:
  v: A unique name for the group for the convenience of human readers.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: StructureMap.group.name
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: id
    l: id
is summary:
  v: true

id:
  v: StructureMap.group.extends
path:
  v: StructureMap.group.extends
short:
  v: Another group that this group adds rules to
definition:
  v: Another group that this group adds rules to.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: StructureMap.group.extends
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: id
    l: id
is summary:
  v: true

id:
  v: StructureMap.group.typeMode
path:
  v: StructureMap.group.typeMode
short:
  v: none | types | type-and-types
definition:
  v: If this is the default rule set to apply for thie source type, or this combination of types.
comment:
  v: Not applicable if the underlying model is untyped. There can only be one default mapping for any particular type combination.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: StructureMap.group.typeMode
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: StructureMapGroupTypeMode
  strength:
    v: required
  description:
    v: If this is the default rule set to apply for the source type, or this combination of types
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/map-group-type-mode|3.0.2

id:
  v: StructureMap.group.documentation
path:
  v: StructureMap.group.documentation
short:
  v: Additional description/explaination for group
definition:
  v: Additional supporting documentation that explains the purpose of the group and the types of mappings within it.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: StructureMap.group.documentation
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true

id:
  v: StructureMap.group.input
path:
  v: StructureMap.group.input
short:
  v: Named instance provided when invoking the map
definition:
  v: A name assigned to an instance of data. The instance must be provided when the mapping is invoked.
comment:
  v: If no inputs are named, then the entry mappings are type based.
min:
  v: 1
max:
  v: *
base:
  path:
    v: StructureMap.group.input
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is summary:
  v: true

id:
  v: StructureMap.group.input.id
path:
  v: StructureMap.group.input.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: StructureMap.group.input.extension
path:
  v: StructureMap.group.input.extension
short:
  v: Additional Content defined by implementations
definition:
  v: 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.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: StructureMap.group.input.modifierExtension
path:
  v: StructureMap.group.input.modifierExtension
short:
  v: Extensions that cannot be ignored
definition:
  v: 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.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
is modifier:
  v: true
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: StructureMap.group.input.name
path:
  v: StructureMap.group.input.name
short:
  v: Name for this instance of data
definition:
  v: Name for this instance of data.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: StructureMap.group.input.name
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: id
    l: id
is summary:
  v: true

id:
  v: StructureMap.group.input.type
path:
  v: StructureMap.group.input.type
short:
  v: Type for this instance of data
definition:
  v: Type for this instance of data.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: StructureMap.group.input.type
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true

id:
  v: StructureMap.group.input.mode
path:
  v: StructureMap.group.input.mode
short:
  v: source | target
definition:
  v: Mode for this instance of data.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: StructureMap.group.input.mode
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: StructureMapInputMode
  strength:
    v: required
  description:
    v: Mode for this instance of data
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/map-input-mode|3.0.2

id:
  v: StructureMap.group.input.documentation
path:
  v: StructureMap.group.input.documentation
short:
  v: Documentation for this instance of data
definition:
  v: Documentation for this instance of data.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: StructureMap.group.input.documentation
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: StructureMap.group.rule
path:
  v: StructureMap.group.rule
short:
  v: Transform Rule from source to target
definition:
  v: Transform Rule from source to target.
min:
  v: 1
max:
  v: *
base:
  path:
    v: StructureMap.group.rule
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is summary:
  v: true

id:
  v: StructureMap.group.rule.id
path:
  v: StructureMap.group.rule.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: StructureMap.group.rule.extension
path:
  v: StructureMap.group.rule.extension
short:
  v: Additional Content defined by implementations
definition:
  v: 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.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: StructureMap.group.rule.modifierExtension
path:
  v: StructureMap.group.rule.modifierExtension
short:
  v: Extensions that cannot be ignored
definition:
  v: 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.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
is modifier:
  v: true
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: StructureMap.group.rule.name
path:
  v: StructureMap.group.rule.name
short:
  v: Name of the rule for internal references
definition:
  v: Name of the rule for internal references.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: StructureMap.group.rule.name
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: id
    l: id
is summary:
  v: true

id:
  v: StructureMap.group.rule.source
path:
  v: StructureMap.group.rule.source
short:
  v: Source inputs to the mapping
definition:
  v: Source inputs to the mapping.
min:
  v: 1
max:
  v: *
base:
  path:
    v: StructureMap.group.rule.source
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is summary:
  v: true

id:
  v: StructureMap.group.rule.source.id
path:
  v: StructureMap.group.rule.source.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: StructureMap.group.rule.source.extension
path:
  v: StructureMap.group.rule.source.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: StructureMap.group.rule.source.extension:defaultValue
path:
  v: StructureMap.group.rule.source.extension
slice name:
  v: defaultValue
short:
  v: R4B: defaultValue additional types
definition:
  v: 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)
comment:
  v: 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.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/4.3/StructureDefinition/extension-StructureMap.group.rule.source.defaultValue|0.1.0
    l: http://hl7.org/fhir/4.3/StructureDefinition/extension-StructureMap.group.rule.source.defaultValue
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false

id:
  v: StructureMap.group.rule.source.extension:logMessage
path:
  v: StructureMap.group.rule.source.extension
slice name:
  v: logMessage
short:
  v: R4B: Message to put in log if source exists (FHIRPath) (new)
definition:
  v: R4B: `StructureMap.group.rule.source.logMessage` (new:string)
comment:
  v: 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.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/4.3/StructureDefinition/extension-StructureMap.group.rule.source.logMessage|0.1.0
    l: http://hl7.org/fhir/4.3/StructureDefinition/extension-StructureMap.group.rule.source.logMessage
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false

id:
  v: StructureMap.group.rule.source.modifierExtension
path:
  v: StructureMap.group.rule.source.modifierExtension
short:
  v: Extensions that cannot be ignored
definition:
  v: 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.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
is modifier:
  v: true
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: StructureMap.group.rule.source.context
path:
  v: StructureMap.group.rule.source.context
short:
  v: Type or variable this rule applies to
definition:
  v: Type or variable this rule applies to.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: StructureMap.group.rule.source.context
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: id
    l: id
is summary:
  v: true

id:
  v: StructureMap.group.rule.source.min
path:
  v: StructureMap.group.rule.source.min
short:
  v: Specified minimum cardinality
definition:
  v: Specified minimum cardinality for the element. This is optional; if present, it acts an implicit check on the input content.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: StructureMap.group.rule.source.min
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: integer
    l: integer
is summary:
  v: true

id:
  v: StructureMap.group.rule.source.max
path:
  v: StructureMap.group.rule.source.max
short:
  v: Specified maximum cardinality (number or *)
definition:
  v: 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).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: StructureMap.group.rule.source.max
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true

id:
  v: StructureMap.group.rule.source.type
path:
  v: StructureMap.group.rule.source.type
short:
  v: Rule only applies if source has this type
definition:
  v: Specified type for the element. This works as a condition on the mapping - use for polymorphic elements.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: StructureMap.group.rule.source.type
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true

id:
  v: StructureMap.group.rule.source.defaultValue[x]
path:
  v: StructureMap.group.rule.source.defaultValue[x]
short:
  v: Default value if no value exists
definition:
  v: A value to use if there is no existing value in the source object.
comment:
  v: If there's a default value on an item that can repeat, it will only be used once.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: StructureMap.group.rule.source.defaultValue[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: base64Binary
    l: base64Binary
type:
  code:
    v: boolean
    l: boolean
type:
  code:
    v: code
    l: code
type:
  code:
    v: date
    l: date
type:
  code:
    v: dateTime
    l: dateTime
type:
  code:
    v: decimal
    l: decimal
type:
  code:
    v: id
    l: id
type:
  code:
    v: instant
    l: instant
type:
  code:
    v: integer
    l: integer
type:
  code:
    v: markdown
    l: markdown
type:
  code:
    v: oid
    l: oid
type:
  code:
    v: positiveInt
    l: positiveInt
type:
  code:
    v: string
    l: string
type:
  code:
    v: time
    l: time
type:
  code:
    v: unsignedInt
    l: unsignedInt
type:
  code:
    v: uri
    l: uri
type:
  code:
    v: Address
    l: Address
type:
  code:
    v: Age
    l: Age
type:
  code:
    v: Annotation
    l: Annotation
type:
  code:
    v: Attachment
    l: Attachment
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
type:
  code:
    v: Coding
    l: Coding
type:
  code:
    v: ContactPoint
    l: ContactPoint
type:
  code:
    v: Count
    l: Count
type:
  code:
    v: Distance
    l: Distance
type:
  code:
    v: Duration
    l: Duration
type:
  code:
    v: HumanName
    l: HumanName
type:
  code:
    v: Identifier
    l: Identifier
type:
  code:
    v: Money
    l: Money
type:
  code:
    v: Period
    l: Period
type:
  code:
    v: Quantity
    l: Quantity
type:
  code:
    v: Range
    l: Range
type:
  code:
    v: Ratio
    l: Ratio
type:
  code:
    v: Reference
    l: Reference
type:
  code:
    v: SampledData
    l: SampledData
type:
  code:
    v: Signature
    l: Signature
type:
  code:
    v: Timing
    l: Timing
type:
  code:
    v: Meta
    l: Meta
is summary:
  v: true

id:
  v: StructureMap.group.rule.source.element
path:
  v: StructureMap.group.rule.source.element
short:
  v: Optional field for this source
definition:
  v: Optional field for this source.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: StructureMap.group.rule.source.element
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true

id:
  v: StructureMap.group.rule.source.listMode
path:
  v: StructureMap.group.rule.source.listMode
short:
  v: first | not_first | last | not_last | only_one
definition:
  v: How to handle the list mode for this element.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: StructureMap.group.rule.source.listMode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: StructureMapSourceListMode
  strength:
    v: required
  description:
    v: If field is a list, how to manage the source
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/map-source-list-mode|3.0.2

id:
  v: StructureMap.group.rule.source.variable
path:
  v: StructureMap.group.rule.source.variable
short:
  v: Named context for field, if a field is specified
definition:
  v: Named context for field, if a field is specified.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: StructureMap.group.rule.source.variable
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: id
    l: id
is summary:
  v: true

id:
  v: StructureMap.group.rule.source.condition
path:
  v: StructureMap.group.rule.source.condition
short:
  v: FHIRPath expression - must be true or the rule does not apply
definition:
  v: FHIRPath expression - must be true or the rule does not apply.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: StructureMap.group.rule.source.condition
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true

id:
  v: StructureMap.group.rule.source.check
path:
  v: StructureMap.group.rule.source.check
short:
  v: FHIRPath expression - must be true or the mapping engine throws an error instead of completing
definition:
  v: FHIRPath expression - must be true or the mapping engine throws an error instead of completing.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: StructureMap.group.rule.source.check
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true

id:
  v: StructureMap.group.rule.target
path:
  v: StructureMap.group.rule.target
short:
  v: Content to create because of this mapping rule
definition:
  v: Content to create because of this mapping rule.
min:
  v: 0
max:
  v: *
base:
  path:
    v: StructureMap.group.rule.target
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: smp-2
  severity:
    v: error
  human:
    v: Must have a contextType if you have a context
  expression:
    v: context.exists() implies contextType.exists()
  xpath:
    v: not(f:context) or (f:contextType)
  source:
    v: http://hl7.org/fhir/StructureDefinition/StructureMap
    l: StructureMap
constraint:
  key:
    v: smp-1
  severity:
    v: error
  human:
    v: Can only have a element if you have a context
  expression:
    v: element.exists() implies context.exists()
  xpath:
    v: not(f:element) or (f:context)
  source:
    v: http://hl7.org/fhir/StructureDefinition/StructureMap
    l: StructureMap
is summary:
  v: true

id:
  v: StructureMap.group.rule.target.id
path:
  v: StructureMap.group.rule.target.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: StructureMap.group.rule.target.extension
path:
  v: StructureMap.group.rule.target.extension
short:
  v: Additional Content defined by implementations
definition:
  v: 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.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: StructureMap.group.rule.target.modifierExtension
path:
  v: StructureMap.group.rule.target.modifierExtension
short:
  v: Extensions that cannot be ignored
definition:
  v: 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.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
is modifier:
  v: true
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: StructureMap.group.rule.target.context
path:
  v: StructureMap.group.rule.target.context
short:
  v: Type or variable this rule applies to
definition:
  v: Type or variable this rule applies to.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: StructureMap.group.rule.target.context
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: id
    l: id
is summary:
  v: true

id:
  v: StructureMap.group.rule.target.contextType
path:
  v: StructureMap.group.rule.target.contextType
short:
  v: type | variable
definition:
  v: How to interpret the context.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: StructureMap.group.rule.target.contextType
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: StructureMapContextType
  strength:
    v: required
  description:
    v: How to interpret the context
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/map-context-type|3.0.2

id:
  v: StructureMap.group.rule.target.element
path:
  v: StructureMap.group.rule.target.element
short:
  v: Field to create in the context
definition:
  v: Field to create in the context.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: StructureMap.group.rule.target.element
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true

id:
  v: StructureMap.group.rule.target.variable
path:
  v: StructureMap.group.rule.target.variable
short:
  v: Named context for field, if desired, and a field is specified
definition:
  v: Named context for field, if desired, and a field is specified.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: StructureMap.group.rule.target.variable
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: id
    l: id
is summary:
  v: true

id:
  v: StructureMap.group.rule.target.listMode
path:
  v: StructureMap.group.rule.target.listMode
short:
  v: first | share | last | collate
definition:
  v: If field is a list, how to manage the list.
min:
  v: 0
max:
  v: *
base:
  path:
    v: StructureMap.group.rule.target.listMode
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: code
    l: code
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: StructureMapTargetListMode
  strength:
    v: required
  description:
    v: If field is a list, how to manage the production
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/map-target-list-mode|3.0.2

id:
  v: StructureMap.group.rule.target.listRuleId
path:
  v: StructureMap.group.rule.target.listRuleId
short:
  v: Internal rule reference for shared list items
definition:
  v: Internal rule reference for shared list items.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: StructureMap.group.rule.target.listRuleId
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: id
    l: id
is summary:
  v: true

id:
  v: StructureMap.group.rule.target.transform
path:
  v: StructureMap.group.rule.target.transform
short:
  v: create | copy +
definition:
  v: How the data is copied / created.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: StructureMap.group.rule.target.transform
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: StructureMapTransform
  strength:
    v: required
  description:
    v: How data is copied/created
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/map-transform|3.0.2

id:
  v: StructureMap.group.rule.target.parameter
path:
  v: StructureMap.group.rule.target.parameter
short:
  v: Parameters to the transform
definition:
  v: Parameters to the transform.
min:
  v: 0
max:
  v: *
base:
  path:
    v: StructureMap.group.rule.target.parameter
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is summary:
  v: true

id:
  v: StructureMap.group.rule.target.parameter.id
path:
  v: StructureMap.group.rule.target.parameter.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: StructureMap.group.rule.target.parameter.extension
path:
  v: StructureMap.group.rule.target.parameter.extension
short:
  v: Additional Content defined by implementations
definition:
  v: 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.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: StructureMap.group.rule.target.parameter.modifierExtension
path:
  v: StructureMap.group.rule.target.parameter.modifierExtension
short:
  v: Extensions that cannot be ignored
definition:
  v: 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.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
is modifier:
  v: true
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: StructureMap.group.rule.target.parameter.value[x]
path:
  v: StructureMap.group.rule.target.parameter.value[x]
short:
  v: Parameter value - variable or literal
definition:
  v: Parameter value - variable or literal.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: StructureMap.group.rule.target.parameter.value[x]
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: id
    l: id
type:
  code:
    v: string
    l: string
type:
  code:
    v: boolean
    l: boolean
type:
  code:
    v: integer
    l: integer
type:
  code:
    v: decimal
    l: decimal
is summary:
  v: true

id:
  v: StructureMap.group.rule.rule
path:
  v: StructureMap.group.rule.rule
short:
  v: Rules contained in this rule
definition:
  v: Rules contained in this rule.
min:
  v: 0
max:
  v: *
base:
  path:
    v: StructureMap.group.rule.rule
  min:
    v: 0
  max:
    v: *
content reference:
  v: http://hl7.org/fhir/StructureDefinition/StructureMap#StructureMap.group.rule
  l: StructureMap.group.rule
is summary:
  v: true

id:
  v: StructureMap.group.rule.dependent
path:
  v: StructureMap.group.rule.dependent
short:
  v: Which other rules to apply in the context of this rule
definition:
  v: Which other rules to apply in the context of this rule.
min:
  v: 0
max:
  v: *
base:
  path:
    v: StructureMap.group.rule.dependent
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is summary:
  v: true

id:
  v: StructureMap.group.rule.dependent.id
path:
  v: StructureMap.group.rule.dependent.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: StructureMap.group.rule.dependent.extension
path:
  v: StructureMap.group.rule.dependent.extension
short:
  v: Additional Content defined by implementations
definition:
  v: 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.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: StructureMap.group.rule.dependent.modifierExtension
path:
  v: StructureMap.group.rule.dependent.modifierExtension
short:
  v: Extensions that cannot be ignored
definition:
  v: 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.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
is modifier:
  v: true
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: StructureMap.group.rule.dependent.name
path:
  v: StructureMap.group.rule.dependent.name
short:
  v: Name of a rule or group to apply
definition:
  v: Name of a rule or group to apply.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: StructureMap.group.rule.dependent.name
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: id
    l: id
is summary:
  v: true

id:
  v: StructureMap.group.rule.dependent.variable
path:
  v: StructureMap.group.rule.dependent.variable
short:
  v: Variable to pass to the rule or group
definition:
  v: Variable to pass to the rule or group.
min:
  v: 1
max:
  v: *
base:
  path:
    v: StructureMap.group.rule.dependent.variable
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: string
    l: string
is summary:
  v: true

id:
  v: StructureMap.group.rule.documentation
path:
  v: StructureMap.group.rule.documentation
short:
  v: Documentation for this instance of data
definition:
  v: Documentation for this instance of data.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: StructureMap.group.rule.documentation
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

element:
  id:
    v: StructureMap
  path:
    v: StructureMap
element:
  id:
    v: StructureMap.meta.extension
  path:
    v: StructureMap.meta.extension
  slicing:
    discriminator:
      type:
        v: value
      path:
        v: url
    ordered:
      v: false
    rules:
      v: open
  min:
    v: 0
  max:
    v: *
element:
  id:
    v: StructureMap.meta.extension:meta
  path:
    v: StructureMap.meta.extension
  slice name:
    v: meta
  short:
    v: R4B: meta additional types
  definition:
    v: R4B: `StructureMap.meta` additional types (Meta) additional types from child elements (lastUpdated, profile, security, source, tag, versionId)
  comment:
    v: 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.
  min:
    v: 0
  max:
    v: 1
  base:
    path:
      v: DomainResource.extension
    min:
      v: 0
    max:
      v: *
  type:
    code:
      v: Extension
      l: Extension
    profile:
      v: http://hl7.org/fhir/4.3/StructureDefinition/extension-StructureMap.meta|0.1.0
      l: http://hl7.org/fhir/4.3/StructureDefinition/extension-StructureMap.meta
element:
  id:
    v: StructureMap.text.extension
  path:
    v: StructureMap.text.extension
  slicing:
    discriminator:
      type:
        v: value
      path:
        v: url
    ordered:
      v: false
    rules:
      v: open
  min:
    v: 0
  max:
    v: *
element:
  id:
    v: StructureMap.text.extension:text
  path:
    v: StructureMap.text.extension
  slice name:
    v: text
  short:
    v: R4B: text additional types
  definition:
    v: R4B: `StructureMap.text` additional types (Narrative) additional types from child elements (div, status)
  comment:
    v: 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.
  min:
    v: 0
  max:
    v: 1
  base:
    path:
      v: DomainResource.extension
    min:
      v: 0
    max:
      v: *
  type:
    code:
      v: Extension
      l: Extension
    profile:
      v: http://hl7.org/fhir/4.3/StructureDefinition/extension-StructureMap.text|0.1.0
      l: http://hl7.org/fhir/4.3/StructureDefinition/extension-StructureMap.text
element:
  id:
    v: StructureMap.identifier.extension
  path:
    v: StructureMap.identifier.extension
  slicing:
    discriminator:
      type:
        v: value
      path:
        v: url
    ordered:
      v: false
    rules:
      v: open
  min:
    v: 0
  max:
    v: *
element:
  id:
    v: StructureMap.identifier.extension:identifier
  path:
    v: StructureMap.identifier.extension
  slice name:
    v: identifier
  short:
    v: R4B: identifier additional types
  definition:
    v: R4B: `StructureMap.identifier` additional types (Identifier) additional types from child elements (assigner, period, system, type, use, value)
  comment:
    v: 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.
  min:
    v: 0
  max:
    v: *
  base:
    path:
      v: DomainResource.extension
    min:
      v: 0
    max:
      v: *
  type:
    code:
      v: Extension
      l: Extension
    profile:
      v: http://hl7.org/fhir/4.3/StructureDefinition/extension-StructureMap.identifier|0.1.0
      l: http://hl7.org/fhir/4.3/StructureDefinition/extension-StructureMap.identifier
element:
  id:
    v: StructureMap.contact.extension
  path:
    v: StructureMap.contact.extension
  slicing:
    discriminator:
      type:
        v: value
      path:
        v: url
    ordered:
      v: false
    rules:
      v: open
  min:
    v: 0
  max:
    v: *
element:
  id:
    v: StructureMap.contact.extension:contact
  path:
    v: StructureMap.contact.extension
  slice name:
    v: contact
  short:
    v: R4B: contact additional types
  definition:
    v: R4B: `StructureMap.contact` additional types (ContactDetail) additional types from child elements (name, telecom)
  comment:
    v: 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.
  min:
    v: 0
  max:
    v: *
  base:
    path:
      v: DomainResource.extension
    min:
      v: 0
    max:
      v: *
  type:
    code:
      v: Extension
      l: Extension

id:
  v: StructureMap.useContext.extension
path:
  v: StructureMap.useContext.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
min:
  v: 0
max:
  v: *

id:
  v: StructureMap.useContext.extension:useContext
path:
  v: StructureMap.useContext.extension
slice name:
  v: useContext
short:
  v: R4B: The context that the content is intended to support additional types
definition:
  v: R4B: `StructureMap.useContext` additional types (UsageContext) additional types from child elements (code, value[x])
comment:
  v: 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.
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/4.3/StructureDefinition/extension-StructureMap.useContext|0.1.0
    l: http://hl7.org/fhir/4.3/StructureDefinition/extension-StructureMap.useContext

id:
  v: StructureMap.group.rule.source.extension
path:
  v: StructureMap.group.rule.source.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
min:
  v: 0
max:
  v: *

id:
  v: StructureMap.group.rule.source.extension:defaultValue
path:
  v: StructureMap.group.rule.source.extension
slice name:
  v: defaultValue
short:
  v: R4B: defaultValue additional types
definition:
  v: 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)
comment:
  v: 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.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/4.3/StructureDefinition/extension-StructureMap.group.rule.source.defaultValue|0.1.0
    l: http://hl7.org/fhir/4.3/StructureDefinition/extension-StructureMap.group.rule.source.defaultValue

id:
  v: StructureMap.group.rule.source.extension:logMessage
path:
  v: StructureMap.group.rule.source.extension
slice name:
  v: logMessage
short:
  v: R4B: Message to put in log if source exists (FHIRPath) (new)
definition:
  v: R4B: `StructureMap.group.rule.source.logMessage` (new:string)
comment:
  v: 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.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/4.3/StructureDefinition/extension-StructureMap.group.rule.source.logMessage|0.1.0
    l: http://hl7.org/fhir/4.3/StructureDefinition/extension-StructureMap.group.rule.source.logMessage