HL7 Version 2 to FHIR
0.1.0 - STU1 Ballot

This page is part of the HL7 Version 2 to FHIR (v0.1.0: STU 1 Ballot 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

: Segment DG1 to Encounter Map - XML Representation

Raw xml | Download


<ConceptMap xmlns="http://hl7.org/fhir">
  <id value="segment-dg1-to-encounter"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><h2>SegmentDG1toEncounter (http://hl7.org/fhir/uv/v2mappings/segment-dg1-to-encounter)</h2><p>Mapping from DG1 to <a href="http://hl7.org/fhir/R4/encounter.html">Encounter</a></p><p>ACTIVE (not intended for production usage). Published on 2020-08-12 by HL7 International (HL7 Orders and Observations Workgroup: <a href="http://hl7.org/Special/committees/orders/index.cfm">http://hl7.org/Special/committ...</a>, Keith W. Boone: <a href="mailto:kboone@ainq.com">kboone@ainq.com</a>). Copyright (c) 2020, HL7 International, Inc., All Rights Reserved.</p><div><p>This ConceptMap represents a mapping from the HL7 V2 Segment DG1 to the FHIR Encounter Resource.</p>
</div><br/><table class="grid"><tr><td colspan="5"><b>Source Concept Details</b></td><td><b>Relationship</b></td><td colspan="2"><b>Destination Concept Details</b></td></tr><tr><td colspan="2"><b>Code</b> from </td><td><b>Code</b> from </td><td><b>Code</b> from </td><td><b>Code</b> from </td><td/><td colspan="2"><b>Code</b> from </td></tr><tr><td style="border-right-width: 0px">DG1-3</td><td style="border-left-width: 0px"></td><td>CWE[CodeableConcept]</td><td/><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent">is equivalent to</a></td><td style="border-right-width: 0px">diagnosis.condition(Condition.code)</td><td style="border-left-width: 0px"></td></tr><tr><td style="border-right-width: 0px">DG1-4</td><td style="border-left-width: 0px"></td><td/><td/><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent">is equivalent to</a></td><td style="border-right-width: 0px">diagnosis.condition(Condition.code.text)</td><td style="border-left-width: 0px"></td></tr><tr><td style="border-right-width: 0px">DG1-5</td><td style="border-left-width: 0px"></td><td/><td/><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent">is equivalent to</a></td><td style="border-right-width: 0px">diagnosis.condition(Condition.onsetDateTime)</td><td style="border-left-width: 0px"></td></tr><tr><td style="border-right-width: 0px">DG1-6</td><td style="border-left-width: 0px"></td><td>CWE[CodeableConcept]</td><td>DiagnosisType</td><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent">is equivalent to</a></td><td style="border-right-width: 0px">diagnose.use</td><td style="border-left-width: 0px"></td></tr><tr><td style="border-right-width: 0px">DG1-15</td><td style="border-left-width: 0px"></td><td/><td/><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent">is equivalent to</a></td><td style="border-right-width: 0px">diagnosis.rank</td><td style="border-left-width: 0px"></td></tr><tr><td style="border-right-width: 0px">DG1-16</td><td style="border-left-width: 0px"></td><td>XCN[Practitioner]</td><td/><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent">is equivalent to</a></td><td style="border-right-width: 0px">diagnosis.condition(Condition.asserter(Practitioner)</td><td style="border-left-width: 0px"></td></tr><tr><td style="border-right-width: 0px">DG1-19</td><td style="border-left-width: 0px"></td><td/><td/><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent">is equivalent to</a></td><td style="border-right-width: 0px">diagnosis.condition(Condition.extension-assertedDate)</td><td style="border-left-width: 0px"></td></tr><tr><td style="border-right-width: 0px">DG1-19</td><td style="border-left-width: 0px"></td><td/><td/><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent">is equivalent to</a></td><td style="border-right-width: 0px">diagnosis.condition(Condition.recordedDate)</td><td style="border-left-width: 0px"></td></tr><tr><td style="border-right-width: 0px">DG1-20</td><td style="border-left-width: 0px"></td><td>EI[Identifier]</td><td/><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent">is equivalent to</a></td><td style="border-right-width: 0px">diagnosis.condition(Condition.identifier)</td><td style="border-left-width: 0px"></td></tr><tr><td style="border-right-width: 0px">DG1-21</td><td style="border-left-width: 0px"></td><td/><td/><td>&quot;entered-in-error&quot;</td><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent">is equivalent to</a></td><td style="border-right-width: 0px">diagnosis.condition(Condition.verificationStatus.coding.code)</td><td style="border-left-width: 0px"></td></tr><tr><td style="border-right-width: 0px">DG1-21</td><td style="border-left-width: 0px"></td><td/><td/><td>&quot;http://terminology.hl7.org/CodeSystem/condition-ver-status&quot;</td><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent">is equivalent to</a></td><td style="border-right-width: 0px">diagnosis.condition(Condition.verificationStatus.coding.system</td><td style="border-left-width: 0px"></td></tr><tr><td style="border-right-width: 0px">DG1-22</td><td style="border-left-width: 0px"></td><td/><td/><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent">is equivalent to</a></td><td style="border-right-width: 0px">diagnosis.condition(Condition.extension-condition-dueTo(Condition))</td><td style="border-left-width: 0px"></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 DG1 to Encounter.fsh"/>
    </extension>
    <extension url="url">
      <valueUri
                value="https://docs.google.com/spreadsheets/d/1pmkhzcfab8cQk8mlALJtAiUmKJoOLhDu9NRkbBkei-4/edit#gid=0"/>
    </extension>
  </extension>
  <url value="http://hl7.org/fhir/uv/v2mappings/segment-dg1-to-encounter"/>
  <version value="0.1.0"/>
  <name value="SegmentDG1toEncounter"/>
  <status value="active"/>
  <experimental value="true"/>
  <date value="2020-08-12"/>
  <publisher value="HL7 International"/>
  <contact>
    <name value="HL7 Orders and Observations Workgroup"/>
    <telecom>
      <system value="url"/>
      <value value="http://hl7.org/Special/committees/orders/index.cfm"/>
    </telecom>
  </contact>
  <contact>
    <name value="Keith W. Boone"/>
    <telecom>
      <system value="email"/>
      <value value="kboone@ainq.com"/>
    </telecom>
  </contact>
  <description
               value="This ConceptMap represents a mapping from the HL7 V2 Segment DG1 to the FHIR Encounter 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="DG1"/>
  <targetUri value="Encounter"/>
  <group>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="type">
          <valueCode value="CWE"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="DG1-3"/>
      <display value="Diagnosis Code"/>
      <target>
        <extension
                   url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
          <extension url="type">
            <valueCode value="CodeableConcept"/>
          </extension>
          <extension url="cardinalityMin">
            <valueInteger value="0"/>
          </extension>
          <extension url="cardinalityMax">
            <valueInteger value="1"/>
          </extension>
        </extension>
        <code value="diagnosis.condition(Condition.code)"/>
        <display value="diagnosis.condition(Condition.code)"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="data-type-map"/>
          <value value="CWE[CodeableConcept]"/>
        </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="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="DG1-4"/>
      <display value="Diagnosis Description"/>
      <target>
        <extension
                   url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
          <extension url="cardinalityMin">
            <valueInteger value="0"/>
          </extension>
          <extension url="cardinalityMax">
            <valueInteger value="1"/>
          </extension>
        </extension>
        <code value="diagnosis.condition(Condition.code.text)"/>
        <display value="diagnosis.condition(Condition.code.text)"/>
        <equivalence value="equivalent"/>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="type">
          <valueCode value="DTM"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="DG1-5"/>
      <display value="Diagnosis Date/Time"/>
      <target>
        <extension
                   url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
          <extension url="type">
            <valueCode value="DateTime"/>
          </extension>
          <extension url="cardinalityMin">
            <valueInteger value="0"/>
          </extension>
          <extension url="cardinalityMax">
            <valueInteger value="1"/>
          </extension>
        </extension>
        <code value="diagnosis.condition(Condition.onsetDateTime)"/>
        <display value="diagnosis.condition(Condition.onsetDateTime)"/>
        <equivalence value="equivalent"/>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="type">
          <valueCode value="CWE"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="DG1-6"/>
      <display value="Diagnosis Type"/>
      <target>
        <extension
                   url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
          <extension url="type">
            <valueCode value="CodeableConcept"/>
          </extension>
          <extension url="cardinalityMin">
            <valueInteger value="0"/>
          </extension>
          <extension url="cardinalityMax">
            <valueInteger value="1"/>
          </extension>
        </extension>
        <code value="diagnose.use"/>
        <display value="diagnose.use"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="data-type-map"/>
          <value value="CWE[CodeableConcept]"/>
        </dependsOn>
        <dependsOn>
          <property value="vocabulary-map"/>
          <value value="DiagnosisType"/>
        </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="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="DG1-15"/>
      <display value="Diagnosis Priority"/>
      <target>
        <extension
                   url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
          <extension url="type">
            <valueCode value="positiveInt"/>
          </extension>
          <extension url="cardinalityMin">
            <valueInteger value="0"/>
          </extension>
          <extension url="cardinalityMax">
            <valueInteger value="1"/>
          </extension>
        </extension>
        <code value="diagnosis.rank"/>
        <display value="diagnosis.rank"/>
        <equivalence value="equivalent"/>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="type">
          <valueCode value="XCN"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="-1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="-1"/>
        </extension>
      </extension>
      <code value="DG1-16"/>
      <display value="Diagnosing Clinician"/>
      <target>
        <extension
                   url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
          <extension url="type">
            <valueCode value="Reference(Practitioner)"/>
          </extension>
          <extension url="cardinalityMin">
            <valueInteger value="0"/>
          </extension>
          <extension url="cardinalityMax">
            <valueInteger value="1"/>
          </extension>
        </extension>
        <code value="diagnosis.condition(Condition.asserter(Practitioner)"/>
        <display value="diagnosis.condition(Condition.asserter(Practitioner)"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="data-type-map"/>
          <value value="XCN[Practitioner]"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="type">
          <valueCode value="DTM"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="DG1-19"/>
      <display value="Attestation Date/Time"/>
      <target>
        <extension
                   url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
          <extension url="type">
            <valueCode value="dateTime"/>
          </extension>
          <extension url="cardinalityMin">
            <valueInteger value="0"/>
          </extension>
          <extension url="cardinalityMax">
            <valueInteger value="1"/>
          </extension>
        </extension>
        <code value="diagnosis.condition(Condition.extension-assertedDate)"/>
        <display value="diagnosis.condition(Condition.extension-assertedDate)"/>
        <equivalence value="equivalent"/>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="type">
          <valueCode value="DTM"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="DG1-19"/>
      <display value="Attestation Date/Time"/>
      <target>
        <extension
                   url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
          <extension url="type">
            <valueCode value="dateTime"/>
          </extension>
          <extension url="cardinalityMin">
            <valueInteger value="0"/>
          </extension>
          <extension url="cardinalityMax">
            <valueInteger value="1"/>
          </extension>
        </extension>
        <code value="diagnosis.condition(Condition.recordedDate)"/>
        <display value="diagnosis.condition(Condition.recordedDate)"/>
        <equivalence value="equivalent"/>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="type">
          <valueCode value="EI"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="DG1-20"/>
      <display value="Diagnosis Identifier"/>
      <target>
        <extension
                   url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
          <extension url="type">
            <valueCode value="identifier"/>
          </extension>
          <extension url="cardinalityMin">
            <valueInteger value="0"/>
          </extension>
          <extension url="cardinalityMax">
            <valueInteger value="-1"/>
          </extension>
        </extension>
        <code value="diagnosis.condition(Condition.identifier)"/>
        <display value="diagnosis.condition(Condition.identifier)"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="data-type-map"/>
          <value value="EI[Identifier]"/>
        </dependsOn>
      </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="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="DG1-21"/>
      <display value="Diagnosis Action Code"/>
      <target>
        <extension
                   url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
          <extension url="type">
            <valueCode value="code"/>
          </extension>
          <extension url="cardinalityMin">
            <valueInteger value="0"/>
          </extension>
          <extension url="cardinalityMax">
            <valueInteger value="1"/>
          </extension>
        </extension>
        <code
              value="diagnosis.condition(Condition.verificationStatus.coding.code)"/>
        <display
                 value="diagnosis.condition(Condition.verificationStatus.coding.code)"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="value"/>
          <value value="&quot;entered-in-error&quot;"/>
        </dependsOn>
      </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="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="DG1-21"/>
      <display value="Diagnosis Action Code"/>
      <target>
        <extension
                   url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
          <extension url="type">
            <valueCode value="uri"/>
          </extension>
          <extension url="cardinalityMin">
            <valueInteger value="0"/>
          </extension>
          <extension url="cardinalityMax">
            <valueInteger value="1"/>
          </extension>
        </extension>
        <code
              value="diagnosis.condition(Condition.verificationStatus.coding.system"/>
        <display
                 value="diagnosis.condition(Condition.verificationStatus.coding.system"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="value"/>
          <value
                 value="&quot;http://terminology.hl7.org/CodeSystem/condition-ver-status&quot;"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="type">
          <valueCode value="EI"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="DG1-22"/>
      <display value="Parent Diagnosis"/>
      <target>
        <extension
                   url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
          <extension url="type">
            <valueCode value="Reference(Condition)"/>
          </extension>
          <extension url="cardinalityMin">
            <valueInteger value="0"/>
          </extension>
          <extension url="cardinalityMax">
            <valueInteger value="1"/>
          </extension>
        </extension>
        <code
              value="diagnosis.condition(Condition.extension-condition-dueTo(Condition))"/>
        <display
                 value="diagnosis.condition(Condition.extension-condition-dueTo(Condition))"/>
        <equivalence value="equivalent"/>
      </target>
    </element>
  </group>
</ConceptMap>