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

: Message SIU_S12 to Bundle Map - XML Representation

Active as of 2024-04-24

Raw xml | Download



<ConceptMap xmlns="http://hl7.org/fhir">
  <id value="message-siu-s12-to-bundle"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: ConceptMap message-siu-s12-to-bundle</b></p><a name="message-siu-s12-to-bundle"> </a><a name="hcmessage-siu-s12-to-bundle"> </a><a name="message-siu-s12-to-bundle-en-US"> </a><p>Mapping from SIU_S12 to <a href="http://hl7.org/fhir/R4/bundle.html">Bundle</a></p><p>ACTIVE (not intended for production usage). Published on 2024-04-24 by HL7 International / Orders and Observations  (HL7 Orders and Observations Workgroup: <a href="http://www.hl7.org/Special/committees/orders">http://www.hl7.org/Special/com...</a>, Keith W. Boone: <a href="mailto:kboone@ainq.com">kboone@ainq.com</a>, Rob Hausam: <a href="mailto:rrhausam@gmail.com">rrhausam@gmail.com</a>). Copyright (c) 2020, HL7 International, Inc., All Rights Reserved.</p><div><p>This ConceptMap represents a mapping from the HL7 V2 Message SIU_S12 to the FHIR Message Bundle.</p>
</div><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>segmentmap</b></td><td><b>references</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">SIU_S12.MSH</td><td style="border-left-width: 0px">Message Header</td><td>MSH[Bundle]</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">Bundle</td><td style="border-left-width: 0px">Bundle</td><td/><td/><td/></tr><tr><td style="border-right-width: 0px">SIU_S12.MSH</td><td style="border-left-width: 0px">Message Header</td><td>MSH[MessageHeader]</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">MessageHeader[1]</td><td style="border-left-width: 0px">MessageHeader[1]</td><td/><td/><td>Processing of the MSH segment results in the creation of a new MessageHeader resource</td></tr><tr><td style="border-right-width: 0px">SIU_S12.MSH</td><td style="border-left-width: 0px">Message Header</td><td>MSH[Provenance-Source]</td><td>Provenance[1].target.reference=Bundle.id; Provenance[1].target.reference=MessageHeader[1].id</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">Provenance[1]</td><td style="border-left-width: 0px">Provenance[1]</td><td/><td/><td>.</td></tr><tr><td style="border-right-width: 0px">SIU_S12.MSH</td><td style="border-left-width: 0px">Message Header</td><td>MSH[Provenance-Transformation]</td><td>Provenance[2].target.reference=Bundle.id</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">Provenance[2]</td><td style="border-left-width: 0px">Provenance[2]</td><td/><td/><td/></tr><tr><td style="border-right-width: 0px">SIU_S12.SCH</td><td style="border-left-width: 0px">Schedule Activity Information</td><td>SCH[Appointment]</td><td>Appointment.participant.actor=Patient[1].id</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">Appointment[1]</td><td style="border-left-width: 0px">Appointment[1]</td><td/><td/><td/></tr><tr><td style="border-right-width: 0px">SIU_S12.SCH</td><td style="border-left-width: 0px">Schedule Activity Information</td><td>SCH[ServiceRequest]</td><td>Appointment[1].basedOn=ServiceRequest[1..n].id
ServiceRequest[1..n].subject=Patient[1].id\</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">ServiceRequest[1..n]</td><td style="border-left-width: 0px">ServiceRequest[1..n]</td><td>IF SCH-26 or SCH-27 VALUED</td><td/><td/></tr><tr><td style="border-right-width: 0px">SIU_S12.SCH</td><td style="border-left-width: 0px">Schedule Activity Information</td><td>SCH[Provenance]</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">Provenance[3]</td><td style="border-left-width: 0px">Provenance[3]</td><td/><td/><td/></tr><tr><td style="border-right-width: 0px">SIU_S12.NTE</td><td style="border-left-width: 0px">Notes and Comments</td><td>NTE[Appointment-Comment]</td><td>Appointment.participant.actor=Patient[1].id</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">Appointment[1]</td><td style="border-left-width: 0px">Appointment[1]</td><td/><td/><td>Because multiple NTE segments in a message all need to map to a single Appointment.comment element, the content of the NTEs will need to be concatenated together in R4</td></tr><tr><td style="border-right-width: 0px">SIU_S12.PATIENT.PID</td><td style="border-left-width: 0px">Patient Identification</td><td>PID[Patient]</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">Patient[1]</td><td style="border-left-width: 0px">Patient[1]</td><td/><td/><td>Processing of the PID segment results in the creation of a new Patient resource</td></tr><tr><td style="border-right-width: 0px">SIU_S12.PATIENT.PID</td><td style="border-left-width: 0px">Patient Identification</td><td>PID[Appointment]</td><td>Appointment.participant.actor=Patient[1].id</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">Appointment[1]</td><td style="border-left-width: 0px">Appointment[1]</td><td/><td/><td/></tr><tr><td style="border-right-width: 0px">SIU_S12.PATIENT.PID</td><td style="border-left-width: 0px">Patient Identification</td><td>PID[Provenance-Patient]</td><td>Provenance.target.reference=Patient[1].id</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">Provenance[4]</td><td style="border-left-width: 0px">Provenance[4]</td><td>IF PID-33 AND PID-34 VALUED</td><td>One  may drop PID-33 from the condition if PID-34 Last Update Facility is still sufficient without a date.</td><td/></tr><tr><td style="border-right-width: 0px">SIU_S12.PATIENT.PV1</td><td style="border-left-width: 0px">Patient Visit</td><td>PV1[Encounter]</td><td>Encounter[1].subject.reference=Patient[1].id</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">Encounter[1]</td><td style="border-left-width: 0px">Encounter[1]</td><td/><td/><td>Processing of the PV1 segment results in the creation of a new Encounter resource</td></tr><tr><td style="border-right-width: 0px">SIU_S12.PATIENT.PV1</td><td style="border-left-width: 0px">Patient Visit</td><td>PV1[Patient]</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">Patient[1]</td><td style="border-left-width: 0px">Patient[1]</td><td/><td/><td/></tr><tr><td style="border-right-width: 0px">SIU_S12.PATIENT.PV2</td><td style="border-left-width: 0px">Patient Visit - Additional Info</td><td>PV2[Encounter]</td><td>Encounter.subject=Patient[1].id</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">Encounter[1]</td><td style="border-left-width: 0px">Encounter[1]</td><td/><td/><td>Incorporate PV2 content into the Encounter created from the PV1 segment.</td></tr><tr><td style="border-right-width: 0px">SIU_S12.PATIENT.OBX</td><td style="border-left-width: 0px">Observation/Result</td><td>OBX[Observation]</td><td>Observation.subject=Patient[1].id</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">Observation</td><td style="border-left-width: 0px">Observation</td><td/><td/><td/></tr><tr><td style="border-right-width: 0px">SIU_S12.PATIENT.DG1</td><td style="border-left-width: 0px">Diagnosis</td><td>DG1[Condition]</td><td>Condition[1].subject.reference=Patient[1].id</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">Condition[1]</td><td style="border-left-width: 0px">Condition[1]</td><td/><td>If in context of the patient</td><td>Processing of the DG1 segment results in the creation of a new Condition resource</td></tr><tr><td style="border-right-width: 0px">SIU_S12.RESOURCES.SERVICE.AIS</td><td style="border-left-width: 0px">Appointment Information - Service</td><td>AIS[Appointment]</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">Appointment[1]</td><td style="border-left-width: 0px">Appointment[1]</td><td/><td>Determine which AIS populates Appointment if there is more than one AIS.</td><td/></tr><tr><td style="border-right-width: 0px">SIU_S12.RESOURCES.SERVICE.AIS</td><td style="border-left-width: 0px">Appointment Information - Service</td><td>AIS[ServiceRequest]</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">ServiceRequest[n]</td><td style="border-left-width: 0px">ServiceRequest[n]</td><td>IF SCH-26 IS VALUED OR SCH-27 IS VALUED</td><td/><td>Note that each ServiceRequest being created includes data from SCH segment.
If SCH-26 and SCH-27 repeat, then the implementer needs to determine how to align this with potentially repeating AIS segments.\</td></tr><tr><td style="border-right-width: 0px">SIU_S12.RESOURCES.SERVICE.NTE</td><td style="border-left-width: 0px">Notes and Comments</td><td>NTE[Appointment-Comment]</td><td>Appointment.participant.actor=Patient[1].id</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">Appointment[1]</td><td style="border-left-width: 0px">Appointment[1]</td><td/><td>Determine which AIS populates Appointment if there is more than one AIS.</td><td>Because multiple NTE segments in a message all need to map to a single Appointment.comment element, the content of the NTEs will need to be concatenated together in R4</td></tr><tr><td style="border-right-width: 0px">SIU_S12.RESOURCES.GENERAL_RESOURCE.AIG</td><td style="border-left-width: 0px">Appointment Information - General Resource</td><td>AIG[Appointment]</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">Appointment[1]</td><td style="border-left-width: 0px">Appointment[1]</td><td/><td>Determine which AIG populates Appointment if there is more than one AIG.</td><td/></tr><tr><td style="border-right-width: 0px">SIU_S12.RESOURCES.LOCATION_RESOURCE.AIL</td><td style="border-left-width: 0px">Appointment Information - Location Resource</td><td>AIL[Appointment]</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">Appointment[1]</td><td style="border-left-width: 0px">Appointment[1]</td><td/><td>Determine which AIL populates Appointment if there is more than one AIL.</td><td/></tr><tr><td style="border-right-width: 0px">SIU_S12.RESOURCES.PERSONNEL_RESOURCE.AIP</td><td style="border-left-width: 0px">Appointment Information - Personnel Resource</td><td>AIP[Appointment]</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">Appointment[1]</td><td style="border-left-width: 0px">Appointment[1]</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 SIU:S12 to Bundle.fsh"/>
    </extension>
    <extension url="url">
      <valueUri
                value="https://docs.google.com/spreadsheets/d/1kbcOetUxBZWvGNxHAmJgjZFMoDVNHvJufAEs8-p4y24/edit#gid=0"/>
    </extension>
  </extension>
  <url value="http://hl7.org/fhir/uv/v2mappings/message-siu-s12-to-bundle"/>
  <version value="1.0.0-ballot"/>
  <name value="MessageSIU_S12ToBundle"/>
  <title value="Message SIU_S12 to Bundle Map"/>
  <status value="active"/>
  <experimental value="true"/>
  <date value="2024-04-24"/>
  <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>
  <contact>
    <name value="Keith W. Boone"/>
    <telecom>
      <system value="email"/>
      <value value="kboone@ainq.com"/>
    </telecom>
  </contact>
  <contact>
    <name value="Rob Hausam"/>
    <telecom>
      <system value="email"/>
      <value value="rrhausam@gmail.com"/>
    </telecom>
  </contact>
  <description
               value="This ConceptMap represents a mapping from the HL7 V2 Message SIU_S12 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="SIU_S12"/>
  <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="SIU_S12.MSH"/>
      <display value="Message Header"/>
      <target>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <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="SIU_S12.MSH"/>
      <display value="Message Header"/>
      <target>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code value="MessageHeader[1]"/>
        <display value="MessageHeader[1]"/>
        <equivalence value="equivalent"/>
        <comment
                 value="Processing of the MSH segment results in the creation of a new MessageHeader resource"/>
        <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="SIU_S12.MSH"/>
      <display value="Message Header"/>
      <target>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code value="Provenance[1]"/>
        <display value="Provenance[1]"/>
        <equivalence value="equivalent"/>
        <comment value="."/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="MSH[Provenance-Source]"/>
        </dependsOn>
        <dependsOn>
          <property value="references"/>
          <value
                 value="Provenance[1].target.reference=Bundle.id; Provenance[1].target.reference=MessageHeader[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="SIU_S12.MSH"/>
      <display value="Message Header"/>
      <target>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code value="Provenance[2]"/>
        <display value="Provenance[2]"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="MSH[Provenance-Transformation]"/>
        </dependsOn>
        <dependsOn>
          <property value="references"/>
          <value value="Provenance[2].target.reference=Bundle.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="SIU_S12.SCH"/>
      <display value="Schedule Activity Information"/>
      <target>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code value="Appointment[1]"/>
        <display value="Appointment[1]"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="SCH[Appointment]"/>
        </dependsOn>
        <dependsOn>
          <property value="references"/>
          <value value="Appointment.participant.actor=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="SIU_S12.SCH"/>
      <display value="Schedule Activity Information"/>
      <target>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code value="ServiceRequest[1..n]"/>
        <display value="ServiceRequest[1..n]"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="SCH[ServiceRequest]"/>
        </dependsOn>
        <dependsOn>
          <property value="references"/>
          <value
                 value="Appointment[1].basedOn=ServiceRequest[1..n].id
ServiceRequest[1..n].subject=Patient[1].id\"/>
        </dependsOn>
        <product>
          <property value="antlr"/>
          <value value="IF SCH-26 or SCH-27 VALUED"/>
        </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="SIU_S12.SCH"/>
      <display value="Schedule Activity Information"/>
      <target>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code value="Provenance[3]"/>
        <display value="Provenance[3]"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="SCH[Provenance]"/>
        </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="SIU_S12.NTE"/>
      <display value="Notes and Comments"/>
      <target>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code value="Appointment[1]"/>
        <display value="Appointment[1]"/>
        <equivalence value="equivalent"/>
        <comment
                 value="Because multiple NTE segments in a message all need to map to a single Appointment.comment element, the content of the NTEs will need to be concatenated together in R4"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="NTE[Appointment-Comment]"/>
        </dependsOn>
        <dependsOn>
          <property value="references"/>
          <value value="Appointment.participant.actor=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="SIU_S12.PATIENT.PID"/>
      <display value="Patient Identification"/>
      <target>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code value="Patient[1]"/>
        <display value="Patient[1]"/>
        <equivalence value="equivalent"/>
        <comment
                 value="Processing of the PID segment results in the creation of a new Patient resource"/>
        <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="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="SIU_S12.PATIENT.PID"/>
      <display value="Patient Identification"/>
      <target>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code value="Appointment[1]"/>
        <display value="Appointment[1]"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="PID[Appointment]"/>
        </dependsOn>
        <dependsOn>
          <property value="references"/>
          <value value="Appointment.participant.actor=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="SIU_S12.PATIENT.PID"/>
      <display value="Patient Identification"/>
      <target>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code value="Provenance[4]"/>
        <display value="Provenance[4]"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="PID[Provenance-Patient]"/>
        </dependsOn>
        <dependsOn>
          <property value="references"/>
          <value value="Provenance.target.reference=Patient[1].id"/>
        </dependsOn>
        <product>
          <property value="antlr"/>
          <value value="IF PID-33 AND PID-34 VALUED"/>
        </product>
        <product>
          <property value="narrative"/>
          <value
                 value="One  may drop PID-33 from the condition if PID-34 Last Update Facility is still sufficient without a date."/>
        </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="SIU_S12.PATIENT.PV1"/>
      <display value="Patient Visit"/>
      <target>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code value="Encounter[1]"/>
        <display value="Encounter[1]"/>
        <equivalence value="equivalent"/>
        <comment
                 value="Processing of the PV1 segment results in the creation of a new Encounter resource"/>
        <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="0"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="SIU_S12.PATIENT.PV1"/>
      <display value="Patient Visit"/>
      <target>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <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="SIU_S12.PATIENT.PV2"/>
      <display value="Patient Visit - Additional Info"/>
      <target>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code value="Encounter[1]"/>
        <display value="Encounter[1]"/>
        <equivalence value="equivalent"/>
        <comment
                 value="Incorporate PV2 content into the Encounter created from the PV1 segment."/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="PV2[Encounter]"/>
        </dependsOn>
        <dependsOn>
          <property value="references"/>
          <value value="Encounter.subject=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="SIU_S12.PATIENT.OBX"/>
      <display value="Observation/Result"/>
      <target>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <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=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="SIU_S12.PATIENT.DG1"/>
      <display value="Diagnosis"/>
      <target>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code value="Condition[1]"/>
        <display value="Condition[1]"/>
        <equivalence value="equivalent"/>
        <comment
                 value="Processing of the DG1 segment results in the creation of a new Condition resource"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="DG1[Condition]"/>
        </dependsOn>
        <dependsOn>
          <property value="references"/>
          <value value="Condition[1].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="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="SIU_S12.RESOURCES.SERVICE.AIS"/>
      <display value="Appointment Information - Service"/>
      <target>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code value="Appointment[1]"/>
        <display value="Appointment[1]"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="AIS[Appointment]"/>
        </dependsOn>
        <product>
          <property value="narrative"/>
          <value
                 value="Determine which AIS populates Appointment if there is more than one AIS."/>
        </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="SIU_S12.RESOURCES.SERVICE.AIS"/>
      <display value="Appointment Information - Service"/>
      <target>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code value="ServiceRequest[n]"/>
        <display value="ServiceRequest[n]"/>
        <equivalence value="equivalent"/>
        <comment
                 value="Note that each ServiceRequest being created includes data from SCH segment.
If SCH-26 and SCH-27 repeat, then the implementer needs to determine how to align this with potentially repeating AIS segments.\"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="AIS[ServiceRequest]"/>
        </dependsOn>
        <product>
          <property value="antlr"/>
          <value value="IF SCH-26 IS VALUED OR SCH-27 IS 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="SIU_S12.RESOURCES.SERVICE.NTE"/>
      <display value="Notes and Comments"/>
      <target>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code value="Appointment[1]"/>
        <display value="Appointment[1]"/>
        <equivalence value="equivalent"/>
        <comment
                 value="Because multiple NTE segments in a message all need to map to a single Appointment.comment element, the content of the NTEs will need to be concatenated together in R4"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="NTE[Appointment-Comment]"/>
        </dependsOn>
        <dependsOn>
          <property value="references"/>
          <value value="Appointment.participant.actor=Patient[1].id"/>
        </dependsOn>
        <product>
          <property value="narrative"/>
          <value
                 value="Determine which AIS populates Appointment if there is more than one AIS."/>
        </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="SIU_S12.RESOURCES.GENERAL_RESOURCE.AIG"/>
      <display value="Appointment Information - General Resource"/>
      <target>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code value="Appointment[1]"/>
        <display value="Appointment[1]"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="AIG[Appointment]"/>
        </dependsOn>
        <product>
          <property value="narrative"/>
          <value
                 value="Determine which AIG populates Appointment if there is more than one AIG."/>
        </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="SIU_S12.RESOURCES.LOCATION_RESOURCE.AIL"/>
      <display value="Appointment Information - Location Resource"/>
      <target>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code value="Appointment[1]"/>
        <display value="Appointment[1]"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="AIL[Appointment]"/>
        </dependsOn>
        <product>
          <property value="narrative"/>
          <value
                 value="Determine which AIL populates Appointment if there is more than one AIL."/>
        </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="SIU_S12.RESOURCES.PERSONNEL_RESOURCE.AIP"/>
      <display value="Appointment Information - Personnel Resource"/>
      <target>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code value="Appointment[1]"/>
        <display value="Appointment[1]"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="segment-map"/>
          <value value="AIP[Appointment]"/>
        </dependsOn>
      </target>
    </element>
  </group>
</ConceptMap>