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="segment-obx-to-documentreference"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: ConceptMap segment-obx-to-documentreference</b></p><a name="segment-obx-to-documentreference"> </a><a name="hcsegment-obx-to-documentreference"> </a><a name="segment-obx-to-documentreference-en-US"> </a><p>Mapping from OBX to <a href="http://hl7.org/fhir/R4/documentreference.html">DocumentReference</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="3"><b>Target Concept Details</b></td><td><b>Comment</b></td><td colspan="3"><b>Properties</b></td></tr><tr><td colspan="2"><b>Codes</b> from </td><td><b>datatypemap</b></td><td><b>value</b></td><td/><td colspan="2"><b>Codes</b> from </td><td><b>antlr</b></td><td/></tr><tr><td style="border-right-width: 0px">OBX-5</td><td style="border-left-width: 0px">Observation Value</td><td>ED[Attachment]</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">content[1]</td><td style="border-left-width: 0px">content[1]</td><td>IF OBX-2="ED"</td><td>When OBX-5 repeats, each repeat yields a new .content instance.</td></tr><tr><td style="border-right-width: 0px">OBX-5</td><td style="border-left-width: 0px">Observation Value</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">content[2].data</td><td style="border-left-width: 0px">content[2].data</td><td>IF OBX-2="FT"</td><td>When OBX-5 repeats, each repeat yields a line feed within .content[2].data</td></tr><tr><td style="border-right-width: 0px">OBX-5</td><td style="border-left-width: 0px">Observation Value</td><td/><td>"text/hl7v2"</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">content[2].contentType</td><td style="border-left-width: 0px">content[2].contentType</td><td>IF OBX-2="FT"</td><td/></tr><tr><td style="border-right-width: 0px">OBX-5</td><td style="border-left-width: 0px">Observation Value</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">content[3].url</td><td style="border-left-width: 0px">content[3].url</td><td>IF OBX-2="RP"</td><td>When OBX-5 repeats, each repeat yields a new .content instance.</td></tr><tr><td style="border-right-width: 0px">OBX-5</td><td style="border-left-width: 0px">Observation Value</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">content[4].data</td><td style="border-left-width: 0px">content[4].data</td><td>IF OBX-2="TX"</td><td>When OBX-5 repeats, each repeat yields a line feed within .content[4].data</td></tr><tr><td style="border-right-width: 0px">OBX-5</td><td style="border-left-width: 0px">Observation Value</td><td/><td>"application/text"</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">content[4].contentType</td><td style="border-left-width: 0px">content[4].contentType</td><td>IF OBX-2="TX"</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="Segment OBX to DocumentReference.fsh"/>
</extension>
<extension url="url">
<valueUri
value="https://docs.google.com/spreadsheets/d/1CqIMtAqzUDiqaBOdyoJ76jPrHCRAVQTlKFxaf1JF07Q/edit#gid=0"/>
</extension>
</extension>
<url
value="http://hl7.org/fhir/uv/v2mappings/segment-obx-to-documentreference"/>
<version value="1.0.0-ballot"/>
<name value="SegmentOBXToDocumentReference"/>
<title value="Segment OBXnull to DocumentReference 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 Segment OBX to the FHIR DocumentReference 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="OBX"/>
<targetUri value="DocumentReference"/>
<group>
<element>
<extension
url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
<extension url="type">
<valueCode value="varies"/>
</extension>
<extension url="cardinalityMin">
<valueInteger value="-1"/>
</extension>
<extension url="cardinalityMax">
<valueInteger value="-1"/>
</extension>
</extension>
<code value="OBX-5"/>
<display value="Observation Value"/>
<target>
<extension
url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
<extension url="type">
<valueCode value="Attachment"/>
</extension>
</extension>
<modifierExtension
url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
<valueCode value="equivalent"/>
</modifierExtension>
<code value="content[1]"/>
<display value="content[1]"/>
<equivalence value="equivalent"/>
<comment
value="When OBX-5 repeats, each repeat yields a new .content instance."/>
<dependsOn>
<property value="data-type-map"/>
<value value="ED[Attachment]"/>
</dependsOn>
<product>
<property value="antlr"/>
<value value="IF OBX-2="ED""/>
</product>
</target>
</element>
<element>
<extension
url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
<extension url="type">
<valueCode value="varies"/>
</extension>
<extension url="cardinalityMin">
<valueInteger value="-1"/>
</extension>
<extension url="cardinalityMax">
<valueInteger value="-1"/>
</extension>
</extension>
<code value="OBX-5"/>
<display value="Observation Value"/>
<target>
<extension
url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
<extension url="type">
<valueCode value="binary64"/>
</extension>
</extension>
<modifierExtension
url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
<valueCode value="equivalent"/>
</modifierExtension>
<code value="content[2].data"/>
<display value="content[2].data"/>
<equivalence value="equivalent"/>
<comment
value="When OBX-5 repeats, each repeat yields a line feed within .content[2].data"/>
<product>
<property value="antlr"/>
<value value="IF OBX-2="FT""/>
</product>
</target>
</element>
<element>
<extension
url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
<extension url="type">
<valueCode value="varies"/>
</extension>
<extension url="cardinalityMin">
<valueInteger value="-1"/>
</extension>
<extension url="cardinalityMax">
<valueInteger value="-1"/>
</extension>
</extension>
<code value="OBX-5"/>
<display value="Observation Value"/>
<target>
<extension
url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
<extension url="type">
<valueCode value="code"/>
</extension>
</extension>
<modifierExtension
url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
<valueCode value="equivalent"/>
</modifierExtension>
<code value="content[2].contentType"/>
<display value="content[2].contentType"/>
<equivalence value="equivalent"/>
<dependsOn>
<property value="value"/>
<value value=""text/hl7v2""/>
</dependsOn>
<product>
<property value="antlr"/>
<value value="IF OBX-2="FT""/>
</product>
</target>
</element>
<element>
<extension
url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
<extension url="type">
<valueCode value="varies"/>
</extension>
<extension url="cardinalityMin">
<valueInteger value="-1"/>
</extension>
<extension url="cardinalityMax">
<valueInteger value="-1"/>
</extension>
</extension>
<code value="OBX-5"/>
<display value="Observation Value"/>
<target>
<extension
url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
<extension url="type">
<valueCode value="uri"/>
</extension>
</extension>
<modifierExtension
url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
<valueCode value="equivalent"/>
</modifierExtension>
<code value="content[3].url"/>
<display value="content[3].url"/>
<equivalence value="equivalent"/>
<comment
value="When OBX-5 repeats, each repeat yields a new .content instance."/>
<product>
<property value="antlr"/>
<value value="IF OBX-2="RP""/>
</product>
</target>
</element>
<element>
<extension
url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
<extension url="type">
<valueCode value="varies"/>
</extension>
<extension url="cardinalityMin">
<valueInteger value="-1"/>
</extension>
<extension url="cardinalityMax">
<valueInteger value="-1"/>
</extension>
</extension>
<code value="OBX-5"/>
<display value="Observation Value"/>
<target>
<extension
url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
<extension url="type">
<valueCode value="binary64"/>
</extension>
</extension>
<modifierExtension
url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
<valueCode value="equivalent"/>
</modifierExtension>
<code value="content[4].data"/>
<display value="content[4].data"/>
<equivalence value="equivalent"/>
<comment
value="When OBX-5 repeats, each repeat yields a line feed within .content[4].data"/>
<product>
<property value="antlr"/>
<value value="IF OBX-2="TX""/>
</product>
</target>
</element>
<element>
<extension
url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
<extension url="type">
<valueCode value="varies"/>
</extension>
<extension url="cardinalityMin">
<valueInteger value="-1"/>
</extension>
<extension url="cardinalityMax">
<valueInteger value="-1"/>
</extension>
</extension>
<code value="OBX-5"/>
<display value="Observation Value"/>
<target>
<extension
url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
<extension url="type">
<valueCode value="code"/>
</extension>
</extension>
<modifierExtension
url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
<valueCode value="equivalent"/>
</modifierExtension>
<code value="content[4].contentType"/>
<display value="content[4].contentType"/>
<equivalence value="equivalent"/>
<dependsOn>
<property value="value"/>
<value value=""application/text""/>
</dependsOn>
<product>
<property value="antlr"/>
<value value="IF OBX-2="TX""/>
</product>
</target>
</element>
</group>
</ConceptMap>