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

: Message ADT_A04 to Bundle Map - XML Representation

Raw xml | Download


<ConceptMap xmlns="http://hl7.org/fhir">
  <id value="message-adt-a04-to-bundle"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><h2>MessageADT_A04toBundle (http://hl7.org/fhir/uv/v2mappings/message-adt-a04-to-bundle)</h2><p>Mapping from ADT_A04 to <a href="http://hl7.org/fhir/R4/bundle.html">Bundle</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 Message ADT_A04 to the FHIR Message Bundle.</p>
</div><br/><table class="grid"><tr><td colspan="4"><b>Source Concept Details</b></td><td><b>Relationship</b></td><td colspan="5"><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/><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></tr><tr><td style="border-right-width: 0px">ADT_A04.MSH</td><td style="border-left-width: 0px"></td><td>MSH[Bundle]</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">Bundle</td><td style="border-left-width: 0px"></td><td/><td/><td/></tr><tr><td style="border-right-width: 0px">ADT_A04.MSH</td><td style="border-left-width: 0px"></td><td>MSH[MessageHeader]</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">MessageHeader[1]</td><td style="border-left-width: 0px"></td><td/><td/><td/></tr><tr><td style="border-right-width: 0px">ADT_A04.MSH</td><td style="border-left-width: 0px"></td><td>MSH[Provenance]</td><td>Provenance.target=Bundle; Provenance.target=MessageHeader[MSH]</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">Provenance[1]</td><td style="border-left-width: 0px"></td><td/><td/><td/></tr><tr><td style="border-right-width: 0px">ADT_A04.SFT</td><td style="border-left-width: 0px"></td><td>SFT[MessageHeader]</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">MessageHeader[1]</td><td style="border-left-width: 0px"></td><td/><td/><td/></tr><tr><td style="border-right-width: 0px">ADT_A04.EVN</td><td style="border-left-width: 0px"></td><td>EVN[Provenance]</td><td>Provenance.target=Bundle; Provenance.target=MessageHeader[MSH]</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">Provenance[3]</td><td style="border-left-width: 0px"></td><td/><td/><td/></tr><tr><td style="border-right-width: 0px">ADT_A04.PID</td><td style="border-left-width: 0px"></td><td>PID[Patient]</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">Patient[1]</td><td style="border-left-width: 0px"></td><td/><td/><td/></tr><tr><td style="border-right-width: 0px">ADT_A04.PD1</td><td style="border-left-width: 0px"></td><td>PD1[Patient]</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">Patient[1]</td><td style="border-left-width: 0px"></td><td/><td/><td/></tr><tr><td style="border-right-width: 0px">ADT_A04:follow:PID.ARV</td><td style="border-left-width: 0px"></td><td>ARV[Patient]</td><td>Resource=Patient[1]</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">Patient[1]</td><td style="border-left-width: 0px"></td><td>IF ARV-1 IN (&quot;PID&quot;, &quot;PD1&quot;) AND ARV-3 NOT VALUED</td><td/><td/></tr><tr><td style="border-right-width: 0px">ADT_A04:follow:PID.ROL</td><td style="border-left-width: 0px"></td><td>ROL[Patient-PractitionerRole]</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">Patient[1]</td><td style="border-left-width: 0px"></td><td>IF ROL-3.1 EQUALS &quot;PP&quot; AND ROL-3.3 EQUALS &quot;HL70443&quot;</td><td>(element(&quot;3.1&quot;)=&quot;PP&quot;)and(element(&quot;3.3&quot;)=&quot;HL70443&quot;)</td><td/></tr><tr><td style="border-right-width: 0px">ADT_A04:follow:PID.ROL</td><td style="border-left-width: 0px"></td><td>ROL[RelatedPerson]</td><td>RelatedPerson[1].patient.reference=Patient[1].id</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">RelatedPerson[1]</td><td style="border-left-width: 0px"></td><td>IF ROL-3.1 NOT EQUALS  &quot;PP&quot; OR ROL-3.3 NOT EQUALS &quot;HL70443&quot;</td><td>(element(&quot;3.1&quot;)!=&quot;PP&quot;)or(element(&quot;3.3&quot;)!=&quot;HL70443&quot;)</td><td>While most likely all other HL70443 values go to RelatedPerson, the implementation needs to determine whether that is fully accurate.</td></tr><tr><td style="border-right-width: 0px">ADT_A04.NEXT_OF_KIN.NK1</td><td style="border-left-width: 0px"></td><td>NK1[RelatedPerson]</td><td>RelatedPerson[2].patient.reference=Patient[1].id</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">RelatedPerson[2]</td><td style="border-left-width: 0px"></td><td/><td/><td>The FHIR location will depend on the nature of the data being exchanged and how the systems use next of kin data</td></tr><tr><td style="border-right-width: 0px">ADT_A04.NEXT_OF_KIN.NK1</td><td style="border-left-width: 0px"></td><td>NK1[Patient]</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">Patient[1]</td><td style="border-left-width: 0px"></td><td/><td/><td>The FHIR location will depend on the nature of the data being exchanged and how the systems use next of kin data</td></tr><tr><td style="border-right-width: 0px">ADT_A04.PV1</td><td style="border-left-width: 0px"></td><td>PV1[Encounter]</td><td>Encounter[1].subject.reference=Patient[1].id</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">Encounter[1]</td><td style="border-left-width: 0px"></td><td/><td/><td/></tr><tr><td style="border-right-width: 0px">ADT_A04.PV1</td><td style="border-left-width: 0px"></td><td>PV1[Patient]</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">Patient[1]</td><td style="border-left-width: 0px"></td><td/><td/><td/></tr><tr><td style="border-right-width: 0px">ADT_A04.PV2</td><td style="border-left-width: 0px"></td><td>PV2[Encounter]</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">Encounter[1]</td><td style="border-left-width: 0px"></td><td/><td/><td/></tr><tr><td style="border-right-width: 0px">ADT_A04:follow:PV1.ARV</td><td style="border-left-width: 0px"></td><td>ARV[Encounter]</td><td>Resource=Encounter[1]</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">Encounter[1]</td><td style="border-left-width: 0px"></td><td>IF ARV-1 IN (&quot;PV1&quot;, &quot;PV2&quot;) AND ARV-3 NOT VALUED</td><td/><td/></tr><tr><td style="border-right-width: 0px">ADT_A04.ROL</td><td style="border-left-width: 0px"></td><td>ROL[Encounter-PractitionerRole]</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">Encounter[1]</td><td style="border-left-width: 0px"></td><td/><td/><td/></tr><tr><td style="border-right-width: 0px">ADT_A04.OBSERVATIONADT_A04.OBX</td><td style="border-left-width: 0px"></td><td>OBX[Observation]</td><td>Observation.subject.reference=Patient[1].id</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">Observation</td><td style="border-left-width: 0px"></td><td/><td/><td/></tr><tr><td style="border-right-width: 0px">ADT_A04.OBSERVATIONADT_A04.OBX</td><td style="border-left-width: 0px"></td><td>OBX[Observation-Component]</td><td>Observation.subject.reference=Patient[1].id</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">Observation</td><td style="border-left-width: 0px"></td><td/><td/><td/></tr><tr><td style="border-right-width: 0px">ADT_A04.AL1</td><td style="border-left-width: 0px"></td><td>AL1[AllergyIntolerance]</td><td>AllergyIntolerance.patient.reference=Patient[1].id</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">AllergyIntolerance</td><td style="border-left-width: 0px"></td><td/><td/><td/></tr><tr><td style="border-right-width: 0px">ADT_A04.DG1</td><td style="border-left-width: 0px"></td><td>DG1[Condition]</td><td>Condition.subject.reference=Patient[1].id</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">Condition</td><td style="border-left-width: 0px"></td><td/><td/><td>If in context of the patient</td></tr><tr><td style="border-right-width: 0px">ADT_A04.DG1</td><td style="border-left-width: 0px"></td><td>DG1[Encounter]</td><td>Encounter[1].diagnosis.reference=Condition[1].id</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">Encounter[1]</td><td style="border-left-width: 0px"></td><td>IF DG1-6 EQUALS &quot;admitting&quot;</td><td/><td/></tr><tr><td style="border-right-width: 0px">ADT_A04.DG1</td><td style="border-left-width: 0px"></td><td>DG1[Encounter]</td><td>Encounter[1].diagnosis.reference=Condition[1].id</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">Encounter[1]</td><td style="border-left-width: 0px"></td><td/><td/><td>If in context of an encounter</td></tr><tr><td style="border-right-width: 0px">ADT_A04.DG1</td><td style="border-left-width: 0px"></td><td>DG1[EpisodeOfCare]</td><td>EpisodeOfCare.diagnosis.reference=Condition[1].id</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">EpisodeOfCare[1]</td><td style="border-left-width: 0px"></td><td/><td/><td>If in context of a episode of care</td></tr><tr><td style="border-right-width: 0px">ADT_A04.PROCEDUREADT_A04.PR1</td><td style="border-left-width: 0px"></td><td>PR1[Procedure]</td><td>Procedure.subject.reference=Patient[1].id</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">Procedure</td><td style="border-left-width: 0px"></td><td/><td/><td/></tr><tr><td style="border-right-width: 0px">ADT_A04.INSURANCEADT_A04.IN1</td><td style="border-left-width: 0px"></td><td>IN1[Coverage]</td><td>Coverage.subscriber.reference=Patient[1].id</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">Coverage[1]</td><td style="border-left-width: 0px"></td><td/><td/><td/></tr><tr><td style="border-right-width: 0px">ADT_A04.INSURANCEADT_A04.IN2</td><td style="border-left-width: 0px"></td><td>IN2[Coverage]</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">Coverage[1]</td><td style="border-left-width: 0px"></td><td/><td/><td/></tr><tr><td style="border-right-width: 0px">ADT_A04.INSURANCEADT_A04.IN3</td><td style="border-left-width: 0px"></td><td>IN3[Coverage]</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">Coverage[1]</td><td style="border-left-width: 0px"></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="Message ADT:A04 to Bundle.fsh"/>
    </extension>
    <extension url="url">
      <valueUri
                value="https://docs.google.com/spreadsheets/d/10l9wnuBkQPqoYf1XXzyfgF11a1UlamNWqUnapC0hsOY/edit#gid=0"/>
    </extension>
  </extension>
  <url value="http://hl7.org/fhir/uv/v2mappings/message-adt-a04-to-bundle"/>
  <version value="0.1.0"/>
  <name value="MessageADT_A04toBundle"/>
  <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 Message ADT_A04 to the FHIR Message Bundle."/>
  <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="ADT_A04"/>
  <targetUri value="Bundle"/>
  <group>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="ADT_A04.MSH"/>
      <display value="Message Header"/>
      <target>
        <code value="Bundle"/>
        <display value="Bundle"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="MSH[Bundle]"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="ADT_A04.MSH"/>
      <display value="Message Header"/>
      <target>
        <code value="MessageHeader[1]"/>
        <display value="MessageHeader[1]"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="MSH[MessageHeader]"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="ADT_A04.MSH"/>
      <display value="Message Header"/>
      <target>
        <code value="Provenance[1]"/>
        <display value="Provenance[1]"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="MSH[Provenance]"/>
        </dependsOn>
        <dependsOn>
          <property value="references"/>
          <value
                 value="Provenance.target=Bundle; Provenance.target=MessageHeader[MSH]"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <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="ADT_A04.SFT"/>
      <display value="Software Segment"/>
      <target>
        <code value="MessageHeader[1]"/>
        <display value="MessageHeader[1]"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="SFT[MessageHeader]"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="ADT_A04.EVN"/>
      <display value="Event Type"/>
      <target>
        <code value="Provenance[3]"/>
        <display value="Provenance[3]"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="EVN[Provenance]"/>
        </dependsOn>
        <dependsOn>
          <property value="references"/>
          <value
                 value="Provenance.target=Bundle; Provenance.target=MessageHeader[MSH]"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="ADT_A04.PID"/>
      <display value="Patient Identification"/>
      <target>
        <code value="Patient[1]"/>
        <display value="Patient[1]"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="PID[Patient]"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <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="ADT_A04.PD1"/>
      <display value="Additional Demographics"/>
      <target>
        <code value="Patient[1]"/>
        <display value="Patient[1]"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="PD1[Patient]"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <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="ADT_A04:follow:PID.ARV"/>
      <display value="Access Restrictions"/>
      <target>
        <code value="Patient[1]"/>
        <display value="Patient[1]"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="ARV[Patient]"/>
        </dependsOn>
        <dependsOn>
          <property value="references"/>
          <value value="Resource=Patient[1]"/>
        </dependsOn>
        <product>
          <property value="antlr"/>
          <value
                 value="IF ARV-1 IN (&quot;PID&quot;, &quot;PD1&quot;) AND ARV-3 NOT VALUED"/>
        </product>
      </target>
    </element>
    <element>
      <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="ADT_A04:follow:PID.ROL"/>
      <display value="Role"/>
      <target>
        <code value="Patient[1]"/>
        <display value="Patient[1]"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="ROL[Patient-PractitionerRole]"/>
        </dependsOn>
        <product>
          <property value="antlr"/>
          <value
                 value="IF ROL-3.1 EQUALS &quot;PP&quot; AND ROL-3.3 EQUALS &quot;HL70443&quot;"/>
        </product>
        <product>
          <property value="fhirpath"/>
          <value
                 value="(element(&quot;3.1&quot;)=&quot;PP&quot;)and(element(&quot;3.3&quot;)=&quot;HL70443&quot;)"/>
        </product>
      </target>
    </element>
    <element>
      <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="ADT_A04:follow:PID.ROL"/>
      <display value="Role"/>
      <target>
        <code value="RelatedPerson[1]"/>
        <display value="RelatedPerson[1]"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="ROL[RelatedPerson]"/>
        </dependsOn>
        <dependsOn>
          <property value="references"/>
          <value value="RelatedPerson[1].patient.reference=Patient[1].id"/>
        </dependsOn>
        <product>
          <property value="antlr"/>
          <value
                 value="IF ROL-3.1 NOT EQUALS  &quot;PP&quot; OR ROL-3.3 NOT EQUALS &quot;HL70443&quot;"/>
        </product>
        <product>
          <property value="fhirpath"/>
          <value
                 value="(element(&quot;3.1&quot;)!=&quot;PP&quot;)or(element(&quot;3.3&quot;)!=&quot;HL70443&quot;)"/>
        </product>
        <product>
          <property value="narrative"/>
          <value
                 value="While most likely all other HL70443 values go to RelatedPerson, the implementation needs to determine whether that is fully accurate."/>
        </product>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="ADT_A04.NEXT_OF_KIN.NK1"/>
      <display value="Next of Kin / Associated Parties"/>
      <target>
        <code value="RelatedPerson[2]"/>
        <display value="RelatedPerson[2]"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="NK1[RelatedPerson]"/>
        </dependsOn>
        <dependsOn>
          <property value="references"/>
          <value value="RelatedPerson[2].patient.reference=Patient[1].id"/>
        </dependsOn>
        <product>
          <property value="narrative"/>
          <value
                 value="The FHIR location will depend on the nature of the data being exchanged and how the systems use next of kin data"/>
        </product>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="ADT_A04.NEXT_OF_KIN.NK1"/>
      <display value="Next of Kin / Associated Parties"/>
      <target>
        <code value="Patient[1]"/>
        <display value="Patient[1]"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="NK1[Patient]"/>
        </dependsOn>
        <product>
          <property value="narrative"/>
          <value
                 value="The FHIR location will depend on the nature of the data being exchanged and how the systems use next of kin data"/>
        </product>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="ADT_A04.PV1"/>
      <display value="Patient Visit"/>
      <target>
        <code value="Encounter[1]"/>
        <display value="Encounter[1]"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="PV1[Encounter]"/>
        </dependsOn>
        <dependsOn>
          <property value="references"/>
          <value value="Encounter[1].subject.reference=Patient[1].id"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="ADT_A04.PV1"/>
      <display value="Patient Visit"/>
      <target>
        <code value="Patient[1]"/>
        <display value="Patient[1]"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="PV1[Patient]"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <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="ADT_A04.PV2"/>
      <display value="Patient Visit - Additional Info."/>
      <target>
        <code value="Encounter[1]"/>
        <display value="Encounter[1]"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="PV2[Encounter]"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <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="ADT_A04:follow:PV1.ARV"/>
      <display value="Access Restrictions"/>
      <target>
        <code value="Encounter[1]"/>
        <display value="Encounter[1]"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="ARV[Encounter]"/>
        </dependsOn>
        <dependsOn>
          <property value="references"/>
          <value value="Resource=Encounter[1]"/>
        </dependsOn>
        <product>
          <property value="antlr"/>
          <value
                 value="IF ARV-1 IN (&quot;PV1&quot;, &quot;PV2&quot;) AND ARV-3 NOT VALUED"/>
        </product>
      </target>
    </element>
    <element>
      <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="ADT_A04.ROL"/>
      <display value="Role"/>
      <target>
        <code value="Encounter[1]"/>
        <display value="Encounter[1]"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="ROL[Encounter-PractitionerRole]"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="ADT_A04.OBSERVATIONADT_A04.OBX"/>
      <display value="Observation/Result"/>
      <target>
        <code value="Observation"/>
        <display value="Observation"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="OBX[Observation]"/>
        </dependsOn>
        <dependsOn>
          <property value="references"/>
          <value value="Observation.subject.reference=Patient[1].id"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="ADT_A04.OBSERVATIONADT_A04.OBX"/>
      <display value="Observation/Result"/>
      <target>
        <code value="Observation"/>
        <display value="Observation"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="OBX[Observation-Component]"/>
        </dependsOn>
        <dependsOn>
          <property value="references"/>
          <value value="Observation.subject.reference=Patient[1].id"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <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="ADT_A04.AL1"/>
      <display value="Allergy Information"/>
      <target>
        <code value="AllergyIntolerance"/>
        <display value="AllergyIntolerance"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="AL1[AllergyIntolerance]"/>
        </dependsOn>
        <dependsOn>
          <property value="references"/>
          <value value="AllergyIntolerance.patient.reference=Patient[1].id"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <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="ADT_A04.DG1"/>
      <display value="Diagnosis Information"/>
      <target>
        <code value="Condition"/>
        <display value="Condition"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="DG1[Condition]"/>
        </dependsOn>
        <dependsOn>
          <property value="references"/>
          <value value="Condition.subject.reference=Patient[1].id"/>
        </dependsOn>
        <product>
          <property value="narrative"/>
          <value value="If in context of the patient"/>
        </product>
      </target>
    </element>
    <element>
      <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="ADT_A04.DG1"/>
      <display value="Diagnosis Information"/>
      <target>
        <code value="Encounter[1]"/>
        <display value="Encounter[1]"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="DG1[Encounter]"/>
        </dependsOn>
        <dependsOn>
          <property value="references"/>
          <value value="Encounter[1].diagnosis.reference=Condition[1].id"/>
        </dependsOn>
        <product>
          <property value="antlr"/>
          <value value="IF DG1-6 EQUALS &quot;admitting&quot;"/>
        </product>
      </target>
    </element>
    <element>
      <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="ADT_A04.DG1"/>
      <display value="Diagnosis Information"/>
      <target>
        <code value="Encounter[1]"/>
        <display value="Encounter[1]"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="DG1[Encounter]"/>
        </dependsOn>
        <dependsOn>
          <property value="references"/>
          <value value="Encounter[1].diagnosis.reference=Condition[1].id"/>
        </dependsOn>
        <product>
          <property value="narrative"/>
          <value value="If in context of an encounter"/>
        </product>
      </target>
    </element>
    <element>
      <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="ADT_A04.DG1"/>
      <display value="Diagnosis Information"/>
      <target>
        <code value="EpisodeOfCare[1]"/>
        <display value="EpisodeOfCare[1]"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="DG1[EpisodeOfCare]"/>
        </dependsOn>
        <dependsOn>
          <property value="references"/>
          <value value="EpisodeOfCare.diagnosis.reference=Condition[1].id"/>
        </dependsOn>
        <product>
          <property value="narrative"/>
          <value value="If in context of a episode of care"/>
        </product>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="ADT_A04.PROCEDUREADT_A04.PR1"/>
      <display value="Procedures"/>
      <target>
        <code value="Procedure"/>
        <display value="Procedure"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="PR1[Procedure]"/>
        </dependsOn>
        <dependsOn>
          <property value="references"/>
          <value value="Procedure.subject.reference=Patient[1].id"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="ADT_A04.INSURANCEADT_A04.IN1"/>
      <display value="Insurance"/>
      <target>
        <code value="Coverage[1]"/>
        <display value="Coverage[1]"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="IN1[Coverage]"/>
        </dependsOn>
        <dependsOn>
          <property value="references"/>
          <value value="Coverage.subscriber.reference=Patient[1].id"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <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="ADT_A04.INSURANCEADT_A04.IN2"/>
      <display value="Insurance Additional Info."/>
      <target>
        <code value="Coverage[1]"/>
        <display value="Coverage[1]"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="IN2[Coverage]"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <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="ADT_A04.INSURANCEADT_A04.IN3"/>
      <display value="Insurance Additional Info - Cert."/>
      <target>
        <code value="Coverage[1]"/>
        <display value="Coverage[1]"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="IN3[Coverage]"/>
        </dependsOn>
      </target>
    </element>
  </group>
</ConceptMap>