HL7 Version 2 to FHIR, published by HL7 International / Orders and Observations. This guide is not an authorized publication; it is the continuous build for version 1.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/v2-to-fhir/ and changes regularly. See the Directory of published versions
Active as of 2024-07-28 |
<ConceptMap xmlns="http://hl7.org/fhir">
<id value="datatype-xon-to-location"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: ConceptMap datatype-xon-to-location</b></p><a name="datatype-xon-to-location"> </a><a name="hcdatatype-xon-to-location"> </a><a name="datatype-xon-to-location-en-US"> </a><p>Mapping from XON to <a href="http://hl7.org/fhir/R4/location.html">Location</a></p><br/><p><b>Group 1 </b>Mapping from <code>unspecified code system</code> to <code>unspecified code system</code></p><table class="grid"><tr><td colspan="4"><b>Source Concept Details</b></td><td><b>Relationship</b></td><td colspan="4"><b>Target Concept Details</b></td><td><b>Comment</b></td><td colspan="4"><b>Properties</b></td></tr><tr><td colspan="2"><b>Codes</b> from </td><td><b>value</b></td><td><b>datatypemap</b></td><td/><td colspan="2"><b>Codes</b> from </td><td><b>antlr</b></td><td><b>narrative</b></td><td/></tr><tr><td style="border-right-width: 0px">XON.1</td><td style="border-left-width: 0px">Organization Name</td><td/><td/><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">name</td><td style="border-left-width: 0px">name</td><td/><td/><td/></tr><tr><td style="border-right-width: 0px">XON.3</td><td style="border-left-width: 0px">ID Number</td><td/><td/><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">identifier[1].value</td><td style="border-left-width: 0px">identifier[1].value</td><td>IF XON.10 NOT VALUED</td><td/><td/></tr><tr><td style="border-right-width: 0px">XON.4</td><td style="border-left-width: 0px">Identifier Check Digit</td><td>"http://hl7.org/fhir/StructureDefinition/identifier-checkDigit"</td><td/><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">identifier[1].extension[1].url</td><td style="border-left-width: 0px">identifier[1].extension[1].url</td><td/><td/><td/></tr><tr><td style="border-right-width: 0px">XON.4</td><td style="border-left-width: 0px">Identifier Check Digit</td><td/><td/><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">identifier[1].extension[1].valueString</td><td style="border-left-width: 0px">identifier[1].extension[1].valueString</td><td/><td/><td/></tr><tr><td style="border-right-width: 0px">XON.5</td><td style="border-left-width: 0px">Check Digit Scheme</td><td>"http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit"</td><td/><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">identifier[1].extension[2].url</td><td style="border-left-width: 0px">identifier[1].extension[2].url</td><td/><td/><td/></tr><tr><td style="border-right-width: 0px">XON.5</td><td style="border-left-width: 0px">Check Digit Scheme</td><td/><td/><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">identifier[1].extension[2].valueString</td><td style="border-left-width: 0px">identifier[1].extension[2].valueString</td><td/><td/><td/></tr><tr><td style="border-right-width: 0px">XON.6</td><td style="border-left-width: 0px">Assigning Authority</td><td/><td>HD[Organization]</td><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">identifier[1].assigner(Organization)</td><td style="border-left-width: 0px">identifier[1].assigner(Organization)</td><td/><td>If organization</td><td/></tr><tr><td style="border-right-width: 0px">XON.6</td><td style="border-left-width: 0px">Assigning Authority</td><td/><td>HD[uri]</td><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">identifier[1].system</td><td style="border-left-width: 0px">identifier[1].system</td><td/><td>If system</td><td>Typically the assigning authority reflects an organization, but if it is an actual system (EHR 1 vs. EHR 2, both supporting the same organization where one cannot get more specific), then XCN.9 should be mapped to .system</td></tr><tr><td style="border-right-width: 0px">XON.7</td><td style="border-left-width: 0px">Identifier Type Code</td><td/><td/><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">identifier[1].type.coding.code</td><td style="border-left-width: 0px">identifier[1].type.coding.code</td><td/><td/><td/></tr><tr><td style="border-right-width: 0px">XON.7</td><td style="border-left-width: 0px">Identifier Type Code</td><td>"http://terminology.hl7.org/CodeSystem/v2-0203"</td><td/><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">identifier[2].type.coding.system</td><td style="border-left-width: 0px">identifier[2].type.coding.system</td><td/><td/><td/></tr><tr><td style="border-right-width: 0px">XON.10</td><td style="border-left-width: 0px">Organization Identifier</td><td/><td/><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">identifier[1].value</td><td style="border-left-width: 0px">identifier[1].value</td><td/><td/><td/></tr></table></div>
</text>
<extension
url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/RelatedArtifact">
<extension url="type">
<valueCode value="derived-from"/>
</extension>
<extension url="label">
<valueString value="Datatype XON to Location.fsh"/>
</extension>
<extension url="url">
<valueUri
value="https://docs.google.com/spreadsheets/d/15vjDyAgfFhWqnY9ssdePYpUOV5TGeuf6mFUof55xulo/edit#gid=0"/>
</extension>
</extension>
<url value="http://hl7.org/fhir/uv/v2mappings/datatype-xon-to-location"/>
<version value="1.0.0-ballot"/>
<name value="DatatypeXONToLocation"/>
<title value="Datatype XONnull to Location Map"/>
<status value="active"/>
<experimental value="true"/>
<date value="2024-07-28"/>
<publisher value="HL7 International / Orders and Observations"/>
<contact>
<name value="HL7 Orders and Observations Workgroup"/>
<telecom>
<system value="url"/>
<value value="http://www.hl7.org/Special/committees/orders"/>
</telecom>
</contact>
<description
value="This ConceptMap represents a mapping from the HL7 V2 Datatype XON to the FHIR Location Resource."/>
<jurisdiction>
<coding>
<system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
<code value="001"/>
</coding>
</jurisdiction>
<copyright
value="Copyright (c) 2020, HL7 International, Inc., All Rights Reserved."/>
<sourceUri value="XON"/>
<targetUri value="Location"/>
<group>
<element>
<extension
url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
<extension url="type">
<valueCode value="ST"/>
</extension>
<extension url="cardinalityMin">
<valueInteger value="0"/>
</extension>
<extension url="cardinalityMax">
<valueInteger value="1"/>
</extension>
</extension>
<code value="XON.1"/>
<display value="Organization Name"/>
<target>
<extension
url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
<extension url="type">
<valueCode value="string"/>
</extension>
<extension url="cardinalityMin">
<valueInteger value="1"/>
</extension>
<extension url="cardinalityMax">
<valueInteger value="1"/>
</extension>
</extension>
<modifierExtension
url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
<valueCode value="equivalent"/>
</modifierExtension>
<code value="name"/>
<display value="name"/>
<equivalence value="equivalent"/>
</target>
</element>
<element>
<extension
url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
<extension url="type">
<valueCode value="NM"/>
</extension>
<extension url="cardinalityMin">
<valueInteger value="0"/>
</extension>
<extension url="cardinalityMax">
<valueInteger value="1"/>
</extension>
</extension>
<code value="XON.3"/>
<display value="ID Number"/>
<target>
<extension
url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
<extension url="type">
<valueCode value="string"/>
</extension>
<extension url="cardinalityMin">
<valueInteger value="-1"/>
</extension>
<extension url="cardinalityMax">
<valueInteger value="-1"/>
</extension>
</extension>
<modifierExtension
url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
<valueCode value="equivalent"/>
</modifierExtension>
<code value="identifier[1].value"/>
<display value="identifier[1].value"/>
<equivalence value="equivalent"/>
<product>
<property value="antlr"/>
<value value="IF XON.10 NOT VALUED"/>
</product>
</target>
</element>
<element>
<extension
url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
<extension url="type">
<valueCode value="NM"/>
</extension>
<extension url="cardinalityMin">
<valueInteger value="0"/>
</extension>
<extension url="cardinalityMax">
<valueInteger value="1"/>
</extension>
</extension>
<code value="XON.4"/>
<display value="Identifier Check Digit"/>
<target>
<extension
url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
<extension url="type">
<valueCode value="uri"/>
</extension>
<extension url="cardinalityMin">
<valueInteger value="1"/>
</extension>
<extension url="cardinalityMax">
<valueInteger value="1"/>
</extension>
</extension>
<modifierExtension
url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
<valueCode value="equivalent"/>
</modifierExtension>
<code value="identifier[1].extension[1].url"/>
<display value="identifier[1].extension[1].url"/>
<equivalence value="equivalent"/>
<dependsOn>
<property value="value"/>
<value
value=""http://hl7.org/fhir/StructureDefinition/identifier-checkDigit""/>
</dependsOn>
</target>
</element>
<element>
<extension
url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
<extension url="type">
<valueCode value="NM"/>
</extension>
<extension url="cardinalityMin">
<valueInteger value="0"/>
</extension>
<extension url="cardinalityMax">
<valueInteger value="1"/>
</extension>
</extension>
<code value="XON.4"/>
<display value="Identifier Check Digit"/>
<target>
<extension
url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
<extension url="type">
<valueCode value="string"/>
</extension>
<extension url="cardinalityMin">
<valueInteger value="1"/>
</extension>
<extension url="cardinalityMax">
<valueInteger value="1"/>
</extension>
</extension>
<modifierExtension
url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
<valueCode value="equivalent"/>
</modifierExtension>
<code value="identifier[1].extension[1].valueString"/>
<display value="identifier[1].extension[1].valueString"/>
<equivalence value="equivalent"/>
</target>
</element>
<element>
<extension
url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
<extension url="type">
<valueCode value="NM"/>
</extension>
<extension url="cardinalityMin">
<valueInteger value="0"/>
</extension>
<extension url="cardinalityMax">
<valueInteger value="1"/>
</extension>
</extension>
<code value="XON.5"/>
<display value="Check Digit Scheme"/>
<target>
<extension
url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
<extension url="type">
<valueCode value="uri"/>
</extension>
<extension url="cardinalityMin">
<valueInteger value="1"/>
</extension>
<extension url="cardinalityMax">
<valueInteger value="1"/>
</extension>
</extension>
<modifierExtension
url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
<valueCode value="equivalent"/>
</modifierExtension>
<code value="identifier[1].extension[2].url"/>
<display value="identifier[1].extension[2].url"/>
<equivalence value="equivalent"/>
<dependsOn>
<property value="value"/>
<value
value=""http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit""/>
</dependsOn>
</target>
</element>
<element>
<extension
url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
<extension url="type">
<valueCode value="NM"/>
</extension>
<extension url="cardinalityMin">
<valueInteger value="0"/>
</extension>
<extension url="cardinalityMax">
<valueInteger value="1"/>
</extension>
</extension>
<code value="XON.5"/>
<display value="Check Digit Scheme"/>
<target>
<extension
url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
<extension url="type">
<valueCode value="string"/>
</extension>
<extension url="cardinalityMin">
<valueInteger value="1"/>
</extension>
<extension url="cardinalityMax">
<valueInteger value="1"/>
</extension>
</extension>
<modifierExtension
url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
<valueCode value="equivalent"/>
</modifierExtension>
<code value="identifier[1].extension[2].valueString"/>
<display value="identifier[1].extension[2].valueString"/>
<equivalence value="equivalent"/>
</target>
</element>
<element>
<extension
url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
<extension url="type">
<valueCode value="HD"/>
</extension>
<extension url="cardinalityMin">
<valueInteger value="0"/>
</extension>
<extension url="cardinalityMax">
<valueInteger value="1"/>
</extension>
</extension>
<code value="XON.6"/>
<display value="Assigning Authority"/>
<target>
<extension
url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
<extension url="type">
<valueCode value="Reference(Organization)"/>
</extension>
<extension url="cardinalityMin">
<valueInteger value="1"/>
</extension>
<extension url="cardinalityMax">
<valueInteger value="1"/>
</extension>
</extension>
<modifierExtension
url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
<valueCode value="equivalent"/>
</modifierExtension>
<code value="identifier[1].assigner(Organization)"/>
<display value="identifier[1].assigner(Organization)"/>
<equivalence value="equivalent"/>
<dependsOn>
<property value="data-type-map"/>
<value value="HD[Organization]"/>
</dependsOn>
<product>
<property value="narrative"/>
<value value="If organization"/>
</product>
</target>
</element>
<element>
<extension
url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
<extension url="type">
<valueCode value="HD"/>
</extension>
<extension url="cardinalityMin">
<valueInteger value="0"/>
</extension>
<extension url="cardinalityMax">
<valueInteger value="1"/>
</extension>
</extension>
<code value="XON.6"/>
<display value="Assigning Authority"/>
<target>
<extension
url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
<extension url="type">
<valueCode value="uri"/>
</extension>
<extension url="cardinalityMin">
<valueInteger value="1"/>
</extension>
<extension url="cardinalityMax">
<valueInteger value="1"/>
</extension>
</extension>
<modifierExtension
url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
<valueCode value="equivalent"/>
</modifierExtension>
<code value="identifier[1].system"/>
<display value="identifier[1].system"/>
<equivalence value="equivalent"/>
<comment
value="Typically the assigning authority reflects an organization, but if it is an actual system (EHR 1 vs. EHR 2, both supporting the same organization where one cannot get more specific), then XCN.9 should be mapped to .system"/>
<dependsOn>
<property value="data-type-map"/>
<value value="HD[uri]"/>
</dependsOn>
<product>
<property value="narrative"/>
<value value="If system"/>
</product>
</target>
</element>
<element>
<extension
url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
<extension url="type">
<valueCode value="ID"/>
</extension>
<extension url="cardinalityMin">
<valueInteger value="0"/>
</extension>
<extension url="cardinalityMax">
<valueInteger value="1"/>
</extension>
</extension>
<code value="XON.7"/>
<display value="Identifier Type Code"/>
<target>
<extension
url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
<extension url="type">
<valueCode value="code"/>
</extension>
<extension url="cardinalityMin">
<valueInteger value="-1"/>
</extension>
<extension url="cardinalityMax">
<valueInteger value="-1"/>
</extension>
</extension>
<modifierExtension
url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
<valueCode value="equivalent"/>
</modifierExtension>
<code value="identifier[1].type.coding.code"/>
<display value="identifier[1].type.coding.code"/>
<equivalence value="equivalent"/>
</target>
</element>
<element>
<extension
url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
<extension url="type">
<valueCode value="ID"/>
</extension>
<extension url="cardinalityMin">
<valueInteger value="0"/>
</extension>
<extension url="cardinalityMax">
<valueInteger value="1"/>
</extension>
</extension>
<code value="XON.7"/>
<display value="Identifier Type Code"/>
<target>
<extension
url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
<extension url="type">
<valueCode value="uri"/>
</extension>
<extension url="cardinalityMin">
<valueInteger value="-1"/>
</extension>
<extension url="cardinalityMax">
<valueInteger value="-1"/>
</extension>
</extension>
<modifierExtension
url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
<valueCode value="equivalent"/>
</modifierExtension>
<code value="identifier[2].type.coding.system"/>
<display value="identifier[2].type.coding.system"/>
<equivalence value="equivalent"/>
<dependsOn>
<property value="value"/>
<value
value=""http://terminology.hl7.org/CodeSystem/v2-0203""/>
</dependsOn>
</target>
</element>
<element>
<extension
url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
<extension url="type">
<valueCode value="ST"/>
</extension>
<extension url="cardinalityMin">
<valueInteger value="0"/>
</extension>
<extension url="cardinalityMax">
<valueInteger value="1"/>
</extension>
</extension>
<code value="XON.10"/>
<display value="Organization Identifier"/>
<target>
<extension
url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
<extension url="type">
<valueCode value="string"/>
</extension>
<extension url="cardinalityMin">
<valueInteger value="-1"/>
</extension>
<extension url="cardinalityMax">
<valueInteger value="-1"/>
</extension>
</extension>
<modifierExtension
url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
<valueCode value="equivalent"/>
</modifierExtension>
<code value="identifier[1].value"/>
<display value="identifier[1].value"/>
<equivalence value="equivalent"/>
</target>
</element>
</group>
</ConceptMap>