HL7 Version 2 to FHIR
1.0.0-ballot - ballot International flag

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

: Segment OBX to DocumentReference Map - XML Representation

Active as of 2024-10-30

Raw xml | Download


<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><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>OBX-5 (Observation Value)</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>content[1]</td><td>When OBX-5 repeats, each repeat yields a new .content instance.</td></tr><tr><td>OBX-5 (Observation Value)</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>content[2].data</td><td>When OBX-5 repeats, each repeat yields a line feed within .content[2].data</td></tr><tr><td>OBX-5 (Observation Value)</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>content[2].contentType</td><td/></tr><tr><td>OBX-5 (Observation Value)</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>content[3].url</td><td>When OBX-5 repeats, each repeat yields a new .content instance.</td></tr><tr><td>OBX-5 (Observation Value)</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>content[4].data</td><td>When OBX-5 repeats, each repeat yields a line feed within .content[4].data</td></tr><tr><td>OBX-5 (Observation Value)</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>content[4].contentType</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 OBX to DocumentReference Map"/>
  <status value="active"/>
  <experimental value="true"/>
  <date value="2024-10-30"/>
  <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>
        <code value="content[1]"/>
        <display value="content[1]"/>
        <equivalence value="equivalent"/>
        <comment
                 value="When OBX-5 repeats, each repeat yields a new .content instance."/>
      </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>
        <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"/>
      </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>
        <code value="content[2].contentType"/>
        <display value="content[2].contentType"/>
        <equivalence value="equivalent"/>
      </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>
        <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."/>
      </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>
        <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"/>
      </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>
        <code value="content[4].contentType"/>
        <display value="content[4].contentType"/>
        <equivalence value="equivalent"/>
      </target>
    </element>
  </group>
</ConceptMap>