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

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

: R3SubstanceElementMapToR5 - TTL Representation

Page standards status: Trial-use Maturity Level: 0

Raw ttl | Download

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:ConceptMap ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "R3-Substance-element-map-to-R5"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: ConceptMap R3-Substance-element-map-to-R5</b></p><a name=\"R3-Substance-element-map-to-R5\"> </a><a name=\"hcR3-Substance-element-map-to-R5\"> </a><p>Mapping from http://hl7.org/fhir/3.0 to http://hl7.org/fhir/5.0</p><br/><p><b>Group 1 </b>Mapping from <code>http://hl7.org/fhir/StructureDefinition/Substance|3.0.2</code> to <a href=\"http://hl7.org/fhir/R5/substance.html\">Substanceversion: 5.0.0)</a></p><table class=\"grid\"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>Substance.meta (meta)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#source-is-broader-than-target\" title=\"source-is-broader-than-target\">is broader than</a></td><td>Substance.meta</td><td>Element `Substance.meta` is mapped to FHIR R5 element `Substance.meta` as `SourceIsBroaderThanTarget`.\nThe mappings for `Substance.meta` do not cover the following types: Meta.\nThe mappings for `Substance.meta` do not cover the following types based on type expansion: lastUpdated, profile, security, tag, versionId.</td></tr><tr><td>Substance.implicitRules (implicitRules)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>Substance.implicitRules</td><td>Element `Substance.implicitRules` is mapped to FHIR R5 element `Substance.implicitRules` as `Equivalent`.\nAsserting 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. \n\nThis element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.</td></tr><tr><td>Substance.language (language)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>Substance.language</td><td>Element `Substance.language` is mapped to FHIR R5 element `Substance.language` as `Equivalent`.\nLanguage 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).</td></tr><tr><td>Substance.text (text)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#source-is-broader-than-target\" title=\"source-is-broader-than-target\">is broader than</a></td><td>Substance.text</td><td>Element `Substance.text` is mapped to FHIR R5 element `Substance.text` as `SourceIsBroaderThanTarget`.\nThe mappings for `Substance.text` do not cover the following types: Narrative.\nThe mappings for `Substance.text` do not cover the following types based on type expansion: div, status.\nContained 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.</td></tr><tr><td>Substance.contained (contained)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>Substance.contained</td><td>Element `Substance.contained` is mapped to FHIR R5 element `Substance.contained` as `SourceIsBroaderThanTarget`.\nThis 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.</td></tr><tr><td>Substance.identifier (identifier)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#source-is-broader-than-target\" title=\"source-is-broader-than-target\">is broader than</a></td><td>Substance.identifier</td><td>Element `Substance.identifier` is mapped to FHIR R5 element `Substance.identifier` as `SourceIsBroaderThanTarget`.\nThe mappings for `Substance.identifier` do not cover the following types: Identifier.\nThe mappings for `Substance.identifier` do not cover the following types based on type expansion: assigner, period, system, type, use, value.\nThis identifier is associated with the kind of substance in contrast to the  Substance.instance.identifier which is associated with the package/container.</td></tr><tr><td>Substance.status (status)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>Substance.status</td><td>Element `Substance.status` is mapped to FHIR R5 element `Substance.status` as `Equivalent`.\nAn externally-defined extension that has been mapped as the representation of FHIR STU3 element `Substance.status`: `http://hl7.org/fhir/StructureDefinition/artifact-status`.</td></tr><tr><td>Substance.category (category)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>Substance.category</td><td>Element `Substance.category` is mapped to FHIR R5 element `Substance.category` as `Equivalent`.\nThe level of granularity is defined by the category concepts in the value set.   More fine-grained filtering can be performed using the metadata and/or terminology hierarchy in Substance.code.</td></tr><tr><td>Substance.code (code)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>Substance.code</td><td>Element `Substance.code` is mapped to FHIR R5 element `Substance.code` as `SourceIsNarrowerThanTarget`.\nThis could be a reference to an externally defined code.  It could also be a locally assigned code (e.g. a formulary),  optionally with translations to the standard drug codes.</td></tr><tr><td>Substance.description (description)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>Substance.description</td><td>Element `Substance.description` is mapped to FHIR R5 element `Substance.description` as `Equivalent`.</td></tr><tr><td>Substance.instance (instance)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#source-is-broader-than-target\" title=\"source-is-broader-than-target\">is broader than</a></td><td>Substance.instance</td><td>Element `Substance.instance` is mapped to FHIR R5 element `Substance.instance` as `SourceIsBroaderThanTarget`.</td></tr><tr><td>Substance.ingredient (ingredient)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#source-is-broader-than-target\" title=\"source-is-broader-than-target\">is broader than</a></td><td>Substance.ingredient</td><td>Element `Substance.ingredient` is mapped to FHIR R5 element `Substance.ingredient` as `Equivalent`.</td></tr><tr><td>Substance.ingredient.quantity (quantity)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#source-is-broader-than-target\" title=\"source-is-broader-than-target\">is broader than</a></td><td>Substance.ingredient.quantity</td><td>Element `Substance.ingredient.quantity` is mapped to FHIR R5 element `Substance.ingredient.quantity` as `SourceIsBroaderThanTarget`.\nThe mappings for `Substance.ingredient.quantity` do not cover the following types: Ratio.\nThe mappings for `Substance.ingredient.quantity` do not cover the following types based on type expansion: denominator, numerator.</td></tr><tr><td>Substance.ingredient.substance[x] (substance[x])</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#source-is-broader-than-target\" title=\"source-is-broader-than-target\">is broader than</a></td><td>Substance.ingredient.substance[x]</td><td>Element `Substance.ingredient.substance[x]` is mapped to FHIR R5 element `Substance.ingredient.substance[x]` as `SourceIsBroaderThanTarget`.\nThe mappings for `Substance.ingredient.substance[x]` do not cover the following types based on type expansion: display, identifier, reference.\nThe standard extension `alternate-reference` has been mapped as the representation of FHIR STU3 element `Substance.ingredient.substance[x]` with unmapped reference targets: Substance.\nSource element `Substance.ingredient.substance[x]` has unmapped reference types. While the target element `Substance.ingredient.substance[x]` is a choice type and does not allow extensions, the `alternate-reference` extension can be applied to Reference values within it.</td></tr></table><hr/><p><b>Group 2 </b>Mapping from <code>http://hl7.org/fhir/StructureDefinition/Substance|3.0.2</code> to <a href=\"StructureDefinition-ext-R3-Substance.meta.html\">STU3: meta additional typesversion: 0.1.0)</a></p><table class=\"grid\"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>Substance.meta (meta)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>Extension (STU3: meta additional types)</td><td>Element `Substance.meta` is mapped to FHIR R5 element `Substance.meta` as `SourceIsBroaderThanTarget`.\nThe mappings for `Substance.meta` do not cover the following types: Meta.\nThe mappings for `Substance.meta` do not cover the following types based on type expansion: lastUpdated, profile, security, tag, versionId.</td></tr></table><hr/><p><b>Group 3 </b>Mapping from <code>http://hl7.org/fhir/StructureDefinition/Substance|3.0.2</code> to <a href=\"StructureDefinition-ext-R3-Substance.text.html\">STU3: text additional typesversion: 0.1.0)</a></p><table class=\"grid\"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>Substance.text (text)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>Extension (STU3: text additional types)</td><td>Element `Substance.text` is mapped to FHIR R5 element `Substance.text` as `SourceIsBroaderThanTarget`.\nThe mappings for `Substance.text` do not cover the following types: Narrative.\nThe mappings for `Substance.text` do not cover the following types based on type expansion: div, status.\nContained 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.</td></tr></table><hr/><p><b>Group 4 </b>Mapping from <code>http://hl7.org/fhir/StructureDefinition/Substance|3.0.2</code> to <a href=\"StructureDefinition-ext-R3-Substance.identifier.html\">STU3: identifier additional typesversion: 0.1.0)</a></p><table class=\"grid\"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>Substance.identifier (identifier)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>Extension (STU3: identifier additional types)</td><td>Element `Substance.identifier` is mapped to FHIR R5 element `Substance.identifier` as `SourceIsBroaderThanTarget`.\nThe mappings for `Substance.identifier` do not cover the following types: Identifier.\nThe mappings for `Substance.identifier` do not cover the following types based on type expansion: assigner, period, system, type, use, value.\nThis identifier is associated with the kind of substance in contrast to the  Substance.instance.identifier which is associated with the package/container.</td></tr></table><hr/><p><b>Group 5 </b>Mapping from <code>http://hl7.org/fhir/StructureDefinition/Substance|3.0.2</code> to <a href=\"StructureDefinition-ext-R3-Substance.ins.identifier.html\">STU3: Identifier of the package/container (new)version: 0.1.0)</a></p><table class=\"grid\"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>Substance.instance.identifier (identifier)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>Extension (STU3: Identifier of the package/container (new))</td><td>Element `Substance.instance.identifier` has a context of Substance.instance based on following the parent source element upwards and mapping to `Substance`.\nElement `Substance.instance.identifier` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).</td></tr></table><hr/><p><b>Group 6 </b>Mapping from <code>http://hl7.org/fhir/StructureDefinition/Substance|3.0.2</code> to <a href=\"StructureDefinition-ext-R3-Substance.ins.expiry.html\">STU3: When no longer valid to use (new)version: 0.1.0)</a></p><table class=\"grid\"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>Substance.instance.expiry (expiry)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>Extension (STU3: When no longer valid to use (new))</td><td>Element `Substance.instance.expiry` has a context of Substance.instance based on following the parent source element upwards and mapping to `Substance`.\nElement `Substance.instance.expiry` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).</td></tr></table><hr/><p><b>Group 7 </b>Mapping from <code>http://hl7.org/fhir/StructureDefinition/Substance|3.0.2</code> to <a href=\"StructureDefinition-ext-R3-Substance.ins.quantity.html\">STU3: Amount of substance in the package (new)version: 0.1.0)</a></p><table class=\"grid\"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>Substance.instance.quantity (quantity)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>Extension (STU3: Amount of substance in the package (new))</td><td>Element `Substance.instance.quantity` has a context of Substance.instance based on following the parent source element upwards and mapping to `Substance`.\nElement `Substance.instance.quantity` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).</td></tr></table><hr/><p><b>Group 8 </b>Mapping from <code>http://hl7.org/fhir/StructureDefinition/Substance|3.0.2</code> to <a href=\"StructureDefinition-ext-R3-Substance.ing.quantity.html\">STU3: quantity additional typesversion: 0.1.0)</a></p><table class=\"grid\"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>Substance.ingredient.quantity (quantity)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>Extension (STU3: quantity additional types)</td><td>Element `Substance.ingredient.quantity` is mapped to FHIR R5 element `Substance.ingredient.quantity` as `SourceIsBroaderThanTarget`.\nThe mappings for `Substance.ingredient.quantity` do not cover the following types: Ratio.\nThe mappings for `Substance.ingredient.quantity` do not cover the following types based on type expansion: denominator, numerator.</td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-wg>     ] ;
fhir:value [
a fhir:Code ;
fhir:v "fhir"     ]
  ] [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm>     ] ;
fhir:value [
a fhir:Integer ;
fhir:v 0 ;
      ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom>         ] ;
fhir:value [
a fhir:Canonical ;
fhir:v "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r3.r5"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r3.r5>         ]       ] )     ]
  ] [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status>     ] ;
fhir:value [
a fhir:Code ;
fhir:v "trial-use" ;
      ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom>         ] ;
fhir:value [
a fhir:Canonical ;
fhir:v "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r3.r5"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r3.r5>         ]       ] )     ]
  ] ) ; # 
  fhir:url [
fhir:v "http://hl7.org/fhir/uv/xver/ConceptMap/R3-Substance-element-map-to-R5"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/uv/xver/ConceptMap/R3-Substance-element-map-to-R5>
  ] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "R3SubstanceElementMapToR5"] ; # 
  fhir:title [ fhir:v "Cross-version mapping for FHIR STU3 Substance to FHIR R5 Substance"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2026-03-17T16:05:00.6890221-05:00"^^xsd:dateTime] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "FHIR Infrastructure" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "This ConceptMap represents cross-version mappings for elements from a FHIR STU3 Substance to FHIR R5."] ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [
fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ;
fhir:l <http://unstats.un.org/unsd/methods/m49/m49.htm>       ] ;
fhir:code [ fhir:v "001" ] ;
fhir:display [ fhir:v "World" ]     ] )
  ] ) ; # 
  fhir:sourceScope [
a fhir:Canonical ;
fhir:v "http://hl7.org/fhir/3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/3.0>
  ] ; # 
  fhir:targetScope [
a fhir:Uri ;
fhir:v "http://hl7.org/fhir/5.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/5.0>
  ] ; # 
  fhir:group ( [
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Substance|3.0.2"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Substance?version=3.0.2>     ] ;
fhir:target [
fhir:v "http://hl7.org/fhir/StructureDefinition/Substance|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Substance?version=5.0.0>     ] ;
    ( fhir:element [
fhir:code [ fhir:v "Substance.meta" ] ;
fhir:display [ fhir:v "meta" ] ;
      ( fhir:target [
fhir:code [ fhir:v "Substance.meta" ] ;
fhir:display [ fhir:v "Substance.meta" ] ;
fhir:relationship [ fhir:v "source-is-broader-than-target" ] ;
fhir:comment [ fhir:v "Element `Substance.meta` is mapped to FHIR R5 element `Substance.meta` as `SourceIsBroaderThanTarget`.\nThe mappings for `Substance.meta` do not cover the following types: Meta.\nThe mappings for `Substance.meta` do not cover the following types based on type expansion: lastUpdated, profile, security, tag, versionId." ]       ] )     ] [
fhir:code [ fhir:v "Substance.implicitRules" ] ;
fhir:display [ fhir:v "implicitRules" ] ;
      ( fhir:target [
fhir:code [ fhir:v "Substance.implicitRules" ] ;
fhir:display [ fhir:v "Substance.implicitRules" ] ;
fhir:relationship [ fhir:v "equivalent" ] ;
fhir:comment [ fhir:v "Element `Substance.implicitRules` is mapped to FHIR R5 element `Substance.implicitRules` as `Equivalent`.\nAsserting 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. \n\nThis element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation." ]       ] )     ] [
fhir:code [ fhir:v "Substance.language" ] ;
fhir:display [ fhir:v "language" ] ;
      ( fhir:target [
fhir:code [ fhir:v "Substance.language" ] ;
fhir:display [ fhir:v "Substance.language" ] ;
fhir:relationship [ fhir:v "equivalent" ] ;
fhir:comment [ fhir:v "Element `Substance.language` is mapped to FHIR R5 element `Substance.language` as `Equivalent`.\nLanguage 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)." ]       ] )     ] [
fhir:code [ fhir:v "Substance.text" ] ;
fhir:display [ fhir:v "text" ] ;
      ( fhir:target [
fhir:code [ fhir:v "Substance.text" ] ;
fhir:display [ fhir:v "Substance.text" ] ;
fhir:relationship [ fhir:v "source-is-broader-than-target" ] ;
fhir:comment [ fhir:v "Element `Substance.text` is mapped to FHIR R5 element `Substance.text` as `SourceIsBroaderThanTarget`.\nThe mappings for `Substance.text` do not cover the following types: Narrative.\nThe mappings for `Substance.text` do not cover the following types based on type expansion: div, status.\nContained 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." ]       ] )     ] [
fhir:code [ fhir:v "Substance.contained" ] ;
fhir:display [ fhir:v "contained" ] ;
      ( fhir:target [
fhir:code [ fhir:v "Substance.contained" ] ;
fhir:display [ fhir:v "Substance.contained" ] ;
fhir:relationship [ fhir:v "equivalent" ] ;
fhir:comment [ fhir:v "Element `Substance.contained` is mapped to FHIR R5 element `Substance.contained` as `SourceIsBroaderThanTarget`.\nThis 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." ]       ] )     ] [
fhir:code [ fhir:v "Substance.identifier" ] ;
fhir:display [ fhir:v "identifier" ] ;
      ( fhir:target [
fhir:code [ fhir:v "Substance.identifier" ] ;
fhir:display [ fhir:v "Substance.identifier" ] ;
fhir:relationship [ fhir:v "source-is-broader-than-target" ] ;
fhir:comment [ fhir:v "Element `Substance.identifier` is mapped to FHIR R5 element `Substance.identifier` as `SourceIsBroaderThanTarget`.\nThe mappings for `Substance.identifier` do not cover the following types: Identifier.\nThe mappings for `Substance.identifier` do not cover the following types based on type expansion: assigner, period, system, type, use, value.\nThis identifier is associated with the kind of substance in contrast to the  Substance.instance.identifier which is associated with the package/container." ]       ] )     ] [
fhir:code [ fhir:v "Substance.status" ] ;
fhir:display [ fhir:v "status" ] ;
      ( fhir:target [
fhir:code [ fhir:v "Substance.status" ] ;
fhir:display [ fhir:v "Substance.status" ] ;
fhir:relationship [ fhir:v "equivalent" ] ;
fhir:comment [ fhir:v "Element `Substance.status` is mapped to FHIR R5 element `Substance.status` as `Equivalent`.\nAn externally-defined extension that has been mapped as the representation of FHIR STU3 element `Substance.status`: `http://hl7.org/fhir/StructureDefinition/artifact-status`." ]       ] )     ] [
fhir:code [ fhir:v "Substance.category" ] ;
fhir:display [ fhir:v "category" ] ;
      ( fhir:target [
fhir:code [ fhir:v "Substance.category" ] ;
fhir:display [ fhir:v "Substance.category" ] ;
fhir:relationship [ fhir:v "equivalent" ] ;
fhir:comment [ fhir:v "Element `Substance.category` is mapped to FHIR R5 element `Substance.category` as `Equivalent`.\nThe level of granularity is defined by the category concepts in the value set.   More fine-grained filtering can be performed using the metadata and/or terminology hierarchy in Substance.code." ]       ] )     ] [
fhir:code [ fhir:v "Substance.code" ] ;
fhir:display [ fhir:v "code" ] ;
      ( fhir:target [
fhir:code [ fhir:v "Substance.code" ] ;
fhir:display [ fhir:v "Substance.code" ] ;
fhir:relationship [ fhir:v "equivalent" ] ;
fhir:comment [ fhir:v "Element `Substance.code` is mapped to FHIR R5 element `Substance.code` as `SourceIsNarrowerThanTarget`.\nThis could be a reference to an externally defined code.  It could also be a locally assigned code (e.g. a formulary),  optionally with translations to the standard drug codes." ]       ] )     ] [
fhir:code [ fhir:v "Substance.description" ] ;
fhir:display [ fhir:v "description" ] ;
      ( fhir:target [
fhir:code [ fhir:v "Substance.description" ] ;
fhir:display [ fhir:v "Substance.description" ] ;
fhir:relationship [ fhir:v "equivalent" ] ;
fhir:comment [ fhir:v "Element `Substance.description` is mapped to FHIR R5 element `Substance.description` as `Equivalent`." ]       ] )     ] [
fhir:code [ fhir:v "Substance.instance" ] ;
fhir:display [ fhir:v "instance" ] ;
      ( fhir:target [
fhir:code [ fhir:v "Substance.instance" ] ;
fhir:display [ fhir:v "Substance.instance" ] ;
fhir:relationship [ fhir:v "source-is-broader-than-target" ] ;
fhir:comment [ fhir:v "Element `Substance.instance` is mapped to FHIR R5 element `Substance.instance` as `SourceIsBroaderThanTarget`." ]       ] )     ] [
fhir:code [ fhir:v "Substance.ingredient" ] ;
fhir:display [ fhir:v "ingredient" ] ;
      ( fhir:target [
fhir:code [ fhir:v "Substance.ingredient" ] ;
fhir:display [ fhir:v "Substance.ingredient" ] ;
fhir:relationship [ fhir:v "source-is-broader-than-target" ] ;
fhir:comment [ fhir:v "Element `Substance.ingredient` is mapped to FHIR R5 element `Substance.ingredient` as `Equivalent`." ]       ] )     ] [
fhir:code [ fhir:v "Substance.ingredient.quantity" ] ;
fhir:display [ fhir:v "quantity" ] ;
      ( fhir:target [
fhir:code [ fhir:v "Substance.ingredient.quantity" ] ;
fhir:display [ fhir:v "Substance.ingredient.quantity" ] ;
fhir:relationship [ fhir:v "source-is-broader-than-target" ] ;
fhir:comment [ fhir:v "Element `Substance.ingredient.quantity` is mapped to FHIR R5 element `Substance.ingredient.quantity` as `SourceIsBroaderThanTarget`.\nThe mappings for `Substance.ingredient.quantity` do not cover the following types: Ratio.\nThe mappings for `Substance.ingredient.quantity` do not cover the following types based on type expansion: denominator, numerator." ]       ] )     ] [
fhir:code [ fhir:v "Substance.ingredient.substance[x]" ] ;
fhir:display [ fhir:v "substance[x]" ] ;
      ( fhir:target [
fhir:code [ fhir:v "Substance.ingredient.substance[x]" ] ;
fhir:display [ fhir:v "Substance.ingredient.substance[x]" ] ;
fhir:relationship [ fhir:v "source-is-broader-than-target" ] ;
fhir:comment [ fhir:v "Element `Substance.ingredient.substance[x]` is mapped to FHIR R5 element `Substance.ingredient.substance[x]` as `SourceIsBroaderThanTarget`.\nThe mappings for `Substance.ingredient.substance[x]` do not cover the following types based on type expansion: display, identifier, reference.\nThe standard extension `alternate-reference` has been mapped as the representation of FHIR STU3 element `Substance.ingredient.substance[x]` with unmapped reference targets: Substance.\nSource element `Substance.ingredient.substance[x]` has unmapped reference types. While the target element `Substance.ingredient.substance[x]` is a choice type and does not allow extensions, the `alternate-reference` extension can be applied to Reference values within it." ]       ] )     ] )
  ] [
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Substance|3.0.2"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Substance?version=3.0.2>     ] ;
fhir:target [
fhir:v "http://hl7.org/fhir/3.0/StructureDefinition/extension-Substance.meta|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/3.0/StructureDefinition/extension-Substance.meta?version=0.1.0>     ] ;
    ( fhir:element [
fhir:code [ fhir:v "Substance.meta" ] ;
fhir:display [ fhir:v "meta" ] ;
      ( fhir:target [
fhir:code [ fhir:v "Extension" ] ;
fhir:relationship [ fhir:v "equivalent" ] ;
fhir:comment [ fhir:v "Element `Substance.meta` is mapped to FHIR R5 element `Substance.meta` as `SourceIsBroaderThanTarget`.\nThe mappings for `Substance.meta` do not cover the following types: Meta.\nThe mappings for `Substance.meta` do not cover the following types based on type expansion: lastUpdated, profile, security, tag, versionId." ]       ] )     ] )
  ] [
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Substance|3.0.2"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Substance?version=3.0.2>     ] ;
fhir:target [
fhir:v "http://hl7.org/fhir/3.0/StructureDefinition/extension-Substance.text|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/3.0/StructureDefinition/extension-Substance.text?version=0.1.0>     ] ;
    ( fhir:element [
fhir:code [ fhir:v "Substance.text" ] ;
fhir:display [ fhir:v "text" ] ;
      ( fhir:target [
fhir:code [ fhir:v "Extension" ] ;
fhir:relationship [ fhir:v "equivalent" ] ;
fhir:comment [ fhir:v "Element `Substance.text` is mapped to FHIR R5 element `Substance.text` as `SourceIsBroaderThanTarget`.\nThe mappings for `Substance.text` do not cover the following types: Narrative.\nThe mappings for `Substance.text` do not cover the following types based on type expansion: div, status.\nContained 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." ]       ] )     ] )
  ] [
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Substance|3.0.2"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Substance?version=3.0.2>     ] ;
fhir:target [
fhir:v "http://hl7.org/fhir/3.0/StructureDefinition/extension-Substance.identifier|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/3.0/StructureDefinition/extension-Substance.identifier?version=0.1.0>     ] ;
    ( fhir:element [
fhir:code [ fhir:v "Substance.identifier" ] ;
fhir:display [ fhir:v "identifier" ] ;
      ( fhir:target [
fhir:code [ fhir:v "Extension" ] ;
fhir:relationship [ fhir:v "equivalent" ] ;
fhir:comment [ fhir:v "Element `Substance.identifier` is mapped to FHIR R5 element `Substance.identifier` as `SourceIsBroaderThanTarget`.\nThe mappings for `Substance.identifier` do not cover the following types: Identifier.\nThe mappings for `Substance.identifier` do not cover the following types based on type expansion: assigner, period, system, type, use, value.\nThis identifier is associated with the kind of substance in contrast to the  Substance.instance.identifier which is associated with the package/container." ]       ] )     ] )
  ] [
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Substance|3.0.2"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Substance?version=3.0.2>     ] ;
fhir:target [
fhir:v "http://hl7.org/fhir/3.0/StructureDefinition/extension-Substance.instance.identifier|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/3.0/StructureDefinition/extension-Substance.instance.identifier?version=0.1.0>     ] ;
    ( fhir:element [
fhir:code [ fhir:v "Substance.instance.identifier" ] ;
fhir:display [ fhir:v "identifier" ] ;
      ( fhir:target [
fhir:code [ fhir:v "Extension" ] ;
fhir:relationship [ fhir:v "equivalent" ] ;
fhir:comment [ fhir:v "Element `Substance.instance.identifier` has a context of Substance.instance based on following the parent source element upwards and mapping to `Substance`.\nElement `Substance.instance.identifier` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element)." ]       ] )     ] )
  ] [
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Substance|3.0.2"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Substance?version=3.0.2>     ] ;
fhir:target [
fhir:v "http://hl7.org/fhir/3.0/StructureDefinition/extension-Substance.instance.expiry|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/3.0/StructureDefinition/extension-Substance.instance.expiry?version=0.1.0>     ] ;
    ( fhir:element [
fhir:code [ fhir:v "Substance.instance.expiry" ] ;
fhir:display [ fhir:v "expiry" ] ;
      ( fhir:target [
fhir:code [ fhir:v "Extension" ] ;
fhir:relationship [ fhir:v "equivalent" ] ;
fhir:comment [ fhir:v "Element `Substance.instance.expiry` has a context of Substance.instance based on following the parent source element upwards and mapping to `Substance`.\nElement `Substance.instance.expiry` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element)." ]       ] )     ] )
  ] [
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Substance|3.0.2"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Substance?version=3.0.2>     ] ;
fhir:target [
fhir:v "http://hl7.org/fhir/3.0/StructureDefinition/extension-Substance.instance.quantity|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/3.0/StructureDefinition/extension-Substance.instance.quantity?version=0.1.0>     ] ;
    ( fhir:element [
fhir:code [ fhir:v "Substance.instance.quantity" ] ;
fhir:display [ fhir:v "quantity" ] ;
      ( fhir:target [
fhir:code [ fhir:v "Extension" ] ;
fhir:relationship [ fhir:v "equivalent" ] ;
fhir:comment [ fhir:v "Element `Substance.instance.quantity` has a context of Substance.instance based on following the parent source element upwards and mapping to `Substance`.\nElement `Substance.instance.quantity` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element)." ]       ] )     ] )
  ] [
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Substance|3.0.2"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Substance?version=3.0.2>     ] ;
fhir:target [
fhir:v "http://hl7.org/fhir/3.0/StructureDefinition/extension-Substance.ingredient.quantity|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/3.0/StructureDefinition/extension-Substance.ingredient.quantity?version=0.1.0>     ] ;
    ( fhir:element [
fhir:code [ fhir:v "Substance.ingredient.quantity" ] ;
fhir:display [ fhir:v "quantity" ] ;
      ( fhir:target [
fhir:code [ fhir:v "Extension" ] ;
fhir:relationship [ fhir:v "equivalent" ] ;
fhir:comment [ fhir:v "Element `Substance.ingredient.quantity` is mapped to FHIR R5 element `Substance.ingredient.quantity` as `SourceIsBroaderThanTarget`.\nThe mappings for `Substance.ingredient.quantity` do not cover the following types: Ratio.\nThe mappings for `Substance.ingredient.quantity` do not cover the following types based on type expansion: denominator, numerator." ]       ] )     ] )
  ] ) . #