HL7 Version 2 to FHIR
1.0.0 - STU 1

HL7 Version 2 to FHIR - Downloaded Version 1.0.0 See the Directory of published versions

## : Segment PV1 to Encounter Map - XML Representation

Page standards status: Informative

Raw xml | Download

    <ConceptMap xmlns="http://hl7.org/fhir">
      <id value="segment-pv1-to-encounter"/>
      <text>
        <status value="generated"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: ConceptMap segment-pv1-to-encounter</b></p><a name="segment-pv1-to-encounter"> </a><a name="hcsegment-pv1-to-encounter"> </a><p>Mapping from (not specified) to (not specified)</p><br/><p><b>Group 1 </b>Mapping from <code>unspecified code system</code> to <code>unspecified code system</code></p><table class="grid"><tr><td colspan="3"><b>Source Concept Details</b></td><td><b>Relationship</b></td><td colspan="2"><b>Target Concept Details</b></td><td><b>Comment</b></td></tr><tr><td colspan="2"><b>Codes</b> from </td><td><b>ComputableANTLR</b></td><td/><td colspan="2"><b>Codes</b> from </td><td/></tr><tr><td style="border-right-width: 0px">PV1-2</td><td style="border-left-width: 0px">Patient Class</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">class</td><td style="border-left-width: 0px">class</td><td/></tr><tr><td style="border-right-width: 0px">PV1-2</td><td style="border-left-width: 0px">Patient Class</td><td>IF PV1-45 NOT VALUED</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">status</td><td style="border-left-width: 0px">status</td><td/></tr><tr><td style="border-right-width: 0px">PV1-3</td><td style="border-left-width: 0px">Assigned Patient Location</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">location[1].location(Location)</td><td style="border-left-width: 0px">location[1].location(Location)</td><td>Recommended is to put the most granular location from the v2 segment in Encounter.location(Location) and then chain the less granular back to the most granular using Location.partOf.  The additional Location instance do then not need to be linked directly in Encounter.location to avoid confusion on purpose and relationships.</td></tr><tr><td style="border-right-width: 0px">PV1-3</td><td style="border-left-width: 0px">Assigned Patient Location</td><td>IF PV1-2.1 NOT EQUALS &quot;P&quot;</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">location[1].status</td><td style="border-left-width: 0px">location[1].status</td><td/></tr><tr><td style="border-right-width: 0px">PV1-3</td><td style="border-left-width: 0px">Assigned Patient Location</td><td>IF PV1-2.1 EQUALS &quot;P&quot;</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">location[1].status</td><td style="border-left-width: 0px">location[1].status</td><td/></tr><tr><td style="border-right-width: 0px">PV1-4</td><td style="border-left-width: 0px">Admission Type</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">type</td><td style="border-left-width: 0px">type</td><td/></tr><tr><td style="border-right-width: 0px">PV1-5</td><td style="border-left-width: 0px">Preadmit Number</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">hospitalization.preAdmissionIdentifier</td><td style="border-left-width: 0px">hospitalization.preAdmissionIdentifier</td><td/></tr><tr><td style="border-right-width: 0px">PV1-6</td><td style="border-left-width: 0px">Prior Patient Location</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">location[2].location(Location)</td><td style="border-left-width: 0px">location[2].location(Location)</td><td/></tr><tr><td style="border-right-width: 0px">PV1-6</td><td style="border-left-width: 0px">Prior Patient Location</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">location[2].status</td><td style="border-left-width: 0px">location[2].status</td><td/></tr><tr><td style="border-right-width: 0px">PV1-7</td><td style="border-left-width: 0px">Attending Doctor</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">participant[1].individual(Practitioner)</td><td style="border-left-width: 0px">participant[1].individual(Practitioner)</td><td/></tr><tr><td style="border-right-width: 0px">PV1-7</td><td style="border-left-width: 0px">Attending Doctor</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">participant[1].type.coding.code</td><td style="border-left-width: 0px">participant[1].type.coding.code</td><td/></tr><tr><td style="border-right-width: 0px">PV1-7</td><td style="border-left-width: 0px">Attending Doctor</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">participant[1].type.coding.system</td><td style="border-left-width: 0px">participant[1].type.coding.system</td><td/></tr><tr><td style="border-right-width: 0px">PV1-7</td><td style="border-left-width: 0px">Attending Doctor</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">participant[1].type.coding.display</td><td style="border-left-width: 0px">participant[1].type.coding.display</td><td/></tr><tr><td style="border-right-width: 0px">PV1-8</td><td style="border-left-width: 0px">Referring Doctor</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">participant[2].individual(Practitioner)</td><td style="border-left-width: 0px">participant[2].individual(Practitioner)</td><td/></tr><tr><td style="border-right-width: 0px">PV1-8</td><td style="border-left-width: 0px">Referring Doctor</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">participant[2].type.coding.code</td><td style="border-left-width: 0px">participant[2].type.coding.code</td><td/></tr><tr><td style="border-right-width: 0px">PV1-8</td><td style="border-left-width: 0px">Referring Doctor</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">participant[2].type.coding.system</td><td style="border-left-width: 0px">participant[2].type.coding.system</td><td/></tr><tr><td style="border-right-width: 0px">PV1-8</td><td style="border-left-width: 0px">Referring Doctor</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">participant[2].type.text</td><td style="border-left-width: 0px">participant[2].type.text</td><td/></tr><tr><td style="border-right-width: 0px">PV1-9</td><td style="border-left-width: 0px">Consulting Doctor</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">participant[3].individual(Practitioner)</td><td style="border-left-width: 0px">participant[3].individual(Practitioner)</td><td/></tr><tr><td style="border-right-width: 0px">PV1-9</td><td style="border-left-width: 0px">Consulting Doctor</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">participant[3].type.coding.code</td><td style="border-left-width: 0px">participant[3].type.coding.code</td><td/></tr><tr><td style="border-right-width: 0px">PV1-9</td><td style="border-left-width: 0px">Consulting Doctor</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">participant[3].type.coding.system</td><td style="border-left-width: 0px">participant[3].type.coding.system</td><td/></tr><tr><td style="border-right-width: 0px">PV1-9</td><td style="border-left-width: 0px">Consulting Doctor</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">participant[3].type.text</td><td style="border-left-width: 0px">participant[3].type.text</td><td/></tr><tr><td style="border-right-width: 0px">PV1-10</td><td style="border-left-width: 0px">Hospital Service</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">serviceType</td><td style="border-left-width: 0px">serviceType</td><td/></tr><tr><td style="border-right-width: 0px">PV1-11</td><td style="border-left-width: 0px">Temporary Location</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">location[3].location(Location)</td><td style="border-left-width: 0px">location[3].location(Location)</td><td/></tr><tr><td style="border-right-width: 0px">PV1-11</td><td style="border-left-width: 0px">Temporary Location</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">location[3].status</td><td style="border-left-width: 0px">location[3].status</td><td/></tr><tr><td style="border-right-width: 0px">PV1-11</td><td style="border-left-width: 0px">Temporary Location</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">location[3].extension.url</td><td style="border-left-width: 0px">location[3].extension.url</td><td/></tr><tr><td style="border-right-width: 0px">PV1-11</td><td style="border-left-width: 0px">Temporary Location</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">location[3].extension.valueCodeableConcept.coding.code</td><td style="border-left-width: 0px">location[3].extension.valueCodeableConcept.coding.code</td><td/></tr><tr><td style="border-right-width: 0px">PV1-11</td><td style="border-left-width: 0px">Temporary Location</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">location[3].extension.valueCodeableConcept.coding.system</td><td style="border-left-width: 0px">location[3].extension.valueCodeableConcept.coding.system</td><td/></tr><tr><td style="border-right-width: 0px">PV1-13</td><td style="border-left-width: 0px">Re-admission Indicator</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">hospitalization.reAdmission</td><td style="border-left-width: 0px">hospitalization.reAdmission</td><td/></tr><tr><td style="border-right-width: 0px">PV1-14</td><td style="border-left-width: 0px">Admit Source</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">hospitalization.admitSource</td><td style="border-left-width: 0px">hospitalization.admitSource</td><td>Table 0023 doesn't have any suggested values, therefore there is no vocabulary mapping</td></tr><tr><td style="border-right-width: 0px">PV1-15</td><td style="border-left-width: 0px">Ambulatory Status</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">hospitalization.specialArrangement</td><td style="border-left-width: 0px">hospitalization.specialArrangement</td><td/></tr><tr><td style="border-right-width: 0px">PV1-16</td><td style="border-left-width: 0px">VIP Indicator</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">hospitalization.specialCourtesy</td><td style="border-left-width: 0px">hospitalization.specialCourtesy</td><td>Depending on the vocabulary used in PV1-16, this may require additional mapping.</td></tr><tr><td style="border-right-width: 0px">PV1-17</td><td style="border-left-width: 0px">Admitting Doctor</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">participant[4].individual(Practitioner)</td><td style="border-left-width: 0px">participant[4].individual(Practitioner)</td><td/></tr><tr><td style="border-right-width: 0px">PV1-17</td><td style="border-left-width: 0px">Admitting Doctor</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">participant[4].type.coding.code</td><td style="border-left-width: 0px">participant[4].type.coding.code</td><td/></tr><tr><td style="border-right-width: 0px">PV1-17</td><td style="border-left-width: 0px">Admitting Doctor</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">participant[4].type.coding.system</td><td style="border-left-width: 0px">participant[4].type.coding.system</td><td/></tr><tr><td style="border-right-width: 0px">PV1-17</td><td style="border-left-width: 0px">Admitting Doctor</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">participant[4].type.text</td><td style="border-left-width: 0px">participant[4].type.text</td><td/></tr><tr><td style="border-right-width: 0px">PV1-19</td><td style="border-left-width: 0px">Visit Number</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">identifier[1]</td><td style="border-left-width: 0px">identifier[1]</td><td/></tr><tr><td style="border-right-width: 0px">PV1-19</td><td style="border-left-width: 0px">Visit Number</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">identifier[1].type.coding.code</td><td style="border-left-width: 0px">identifier[1].type.coding.code</td><td/></tr><tr><td style="border-right-width: 0px">PV1-19</td><td style="border-left-width: 0px">Visit Number</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">identifier[1].type.coding.system</td><td style="border-left-width: 0px">identifier[1].type.coding.system</td><td/></tr><tr><td style="border-right-width: 0px">PV1-19</td><td style="border-left-width: 0px">Visit Number</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">identifier[1].type.text</td><td style="border-left-width: 0px">identifier[1].type.text</td><td/></tr><tr><td style="border-right-width: 0px">PV1-36</td><td style="border-left-width: 0px">Discharge Disposition</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">hospitalization.dischargeDisposition</td><td style="border-left-width: 0px">hospitalization.dischargeDisposition</td><td/></tr><tr><td style="border-right-width: 0px">PV1-37</td><td style="border-left-width: 0px">Discharged to Location</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">hospitalization.destination(Location)</td><td style="border-left-width: 0px">hospitalization.destination(Location)</td><td>This location should be a new location resources instance.</td></tr><tr><td style="border-right-width: 0px">PV1-38</td><td style="border-left-width: 0px">Diet Type</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">hospitalization.dietPreference</td><td style="border-left-width: 0px">hospitalization.dietPreference</td><td/></tr><tr><td style="border-right-width: 0px">PV1-40</td><td style="border-left-width: 0px">Bed Status</td><td>IF PV1-3.2 OR PV1-3.3 VALUED</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">location[1].location(Location.operationalStatus)</td><td style="border-left-width: 0px">location[1].location(Location.operationalStatus)</td><td>The operational status is on the Location resource where the implementer must determine which of the Encounter.location(Location) instances reflect the Bed or Room and apply it to the most granular available.</td></tr><tr><td style="border-right-width: 0px">PV1-42</td><td style="border-left-width: 0px">Pending Location</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">location[4].location(Location)</td><td style="border-left-width: 0px">location[4].location(Location)</td><td/></tr><tr><td style="border-right-width: 0px">PV1-42</td><td style="border-left-width: 0px">Pending Location</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">location[4].status</td><td style="border-left-width: 0px">location[4].status</td><td>&quot;reserved&quot;</td></tr><tr><td style="border-right-width: 0px">PV1-44</td><td style="border-left-width: 0px">Admit Date/Time</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">period.start</td><td style="border-left-width: 0px">period.start</td><td/></tr><tr><td style="border-right-width: 0px">PV1-45</td><td style="border-left-width: 0px">Discharge Date/Time</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">period.end</td><td style="border-left-width: 0px">period.end</td><td/></tr><tr><td style="border-right-width: 0px">PV1-45</td><td style="border-left-width: 0px">Discharge Date/Time</td><td>IF PV1-45 VALUED</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">status</td><td style="border-left-width: 0px">= &quot;finished&quot;</td><td/></tr><tr><td style="border-right-width: 0px">PV1-50</td><td style="border-left-width: 0px">Alternate Visit ID</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">identifier[2]</td><td style="border-left-width: 0px">identifier[2]</td><td/></tr><tr><td style="border-right-width: 0px">PV1-52</td><td style="border-left-width: 0px">Other Healthcare Provider</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">participant[5].individual(Practitioner)</td><td style="border-left-width: 0px">participant[5].individual(Practitioner)</td><td/></tr><tr><td style="border-right-width: 0px">PV1-52</td><td style="border-left-width: 0px">Other Healthcare Provider</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">participant[5].type.coding.code</td><td style="border-left-width: 0px">= &quot;PART&quot;</td><td/></tr><tr><td style="border-right-width: 0px">PV1-52</td><td style="border-left-width: 0px">Other Healthcare Provider</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">participant[5].type.coding.system</td><td style="border-left-width: 0px">participant[5].type.coding.system</td><td/></tr><tr><td style="border-right-width: 0px">PV1-52</td><td style="border-left-width: 0px">Other Healthcare Provider</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">participant[5].type.text</td><td style="border-left-width: 0px">= &quot;Participation&quot;</td><td/></tr><tr><td style="border-right-width: 0px">PV1-53</td><td style="border-left-width: 0px">Service Episode Description</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">episodeOfCare(EpisodeOfCare[1].extension.url)</td><td style="border-left-width: 0px">episodeOfCare(EpisodeOfCare[1].extension.url)</td><td/></tr><tr><td style="border-right-width: 0px">PV1-53</td><td style="border-left-width: 0px">Service Episode Description</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">episodeOfCare(EpisodeOfCare[1].extension.valueString)</td><td style="border-left-width: 0px">episodeOfCare(EpisodeOfCare[1].extension.valueString)</td><td/></tr><tr><td style="border-right-width: 0px">PV1-54</td><td style="border-left-width: 0px">Service Episode Identifier</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">episodeOfCare(EpisodeOfCare[1].identifier)</td><td style="border-left-width: 0px">episodeOfCare(EpisodeOfCare[1].identifier)</td><td/></tr></table></div>
      </text>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/RelatedArtifact">
        <extension url="type">
          <valueCode value="derived-from"/>
        </extension>
        <extension url="label">
          <valueString value="Segment PV1 to Encounter.fsh"/>
        </extension>
        <extension url="url">
          <valueUri
                    value="https://docs.google.com/spreadsheets/d/1Sqt8f_LpBVMIdJxcAlB4emDOBqXV8rhy60V2_yaDp7c/edit#gid=0"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
        <valueCode value="oo"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="informative">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
            <valueCanonical
                            value="http://hl7.org/fhir/uv/v2mappings/ImplementationGuide/hl7.fhir.uv.v2mappings"/>
          </extension>
        </valueCode>
      </extension>
      <url
           value="http://hl7.org/fhir/uv/v2mappings/ConceptMap/segment-pv1-to-encounter"/>
      <version value="1.0.0"/>
      <name value="SegmentPV1ToEncounter"/>
      <title value="Segment PV1 to Encounter Map"/>
      <status value="active"/>
      <experimental value="true"/>
      <date value="2025-08-25"/>
      <publisher value="HL7 International / Orders and Observations"/>
      <contact>
        <name value="HL7 Orders and Observations Workgroup"/>
        <telecom>
          <system value="url"/>
          <value value="http://www.hl7.org/Special/committees/orders"/>
        </telecom>
      </contact>
      <description
                   value="This ConceptMap represents a mapping from the HL7 V2 Segment PV1 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) 2025, HL7 International, Inc., All Rights Reserved."/>
      <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="PV1-2"/>
          <display value="Patient Class"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="Coding"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="1"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
              <extension url="mappedVia">
                <valueUrl value="ConceptMap/table-hl70004-to-v3-actcode"/>
              </extension>
            </extension>
            <code value="class"/>
            <display value="class"/>
            <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="PV1-2"/>
          <display value="Patient Class"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="code"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="1"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
              <extension url="mappedVia">
                <valueUrl value="ConceptMap/table-hl70004-to-encounter-status"/>
              </extension>
            </extension>
            <code value="status"/>
            <display value="status"/>
            <equivalence value="equivalent"/>
            <dependsOn>
              <property value="Computable-ANTLR"/>
              <value value="IF PV1-45 NOT VALUED"/>
            </dependsOn>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="PL"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="PV1-3"/>
          <display value="Assigned Patient Location"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="Reference(Location)"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="1"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
            </extension>
            <code value="location[1].location(Location)"/>
            <display value="location[1].location(Location)"/>
            <equivalence value="equivalent"/>
            <comment
                     value="Recommended is to put the most granular location from the v2 segment in Encounter.location(Location) and then chain the less granular back to the most granular using Location.partOf.  The additional Location instance do then not need to be linked directly in Encounter.location to avoid confusion on purpose and relationships."/>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="PL"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="PV1-3"/>
          <display value="Assigned Patient Location"/>
          <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 url="assignment">
                <valueString value="&quot;active&quot;"/>
              </extension>
            </extension>
            <code value="location[1].status"/>
            <display value="location[1].status"/>
            <equivalence value="equivalent"/>
            <dependsOn>
              <property value="Computable-ANTLR"/>
              <value value="IF PV1-2.1 NOT EQUALS &quot;P&quot;"/>
            </dependsOn>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="PL"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="PV1-3"/>
          <display value="Assigned Patient Location"/>
          <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 url="assignment">
                <valueString value="&quot;planned&quot;"/>
              </extension>
            </extension>
            <code value="location[1].status"/>
            <display value="location[1].status"/>
            <equivalence value="equivalent"/>
            <dependsOn>
              <property value="Computable-ANTLR"/>
              <value value="IF PV1-2.1 EQUALS &quot;P&quot;"/>
            </dependsOn>
          </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="PV1-4"/>
          <display value="Admission 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 url="mappedVia">
                <valueUrl value="ConceptMap/table-hl70007-to-v2-0007"/>
              </extension>
            </extension>
            <code value="type"/>
            <display value="type"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="CX"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="PV1-5"/>
          <display value="Preadmit Number"/>
          <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="hospitalization.preAdmissionIdentifier"/>
            <display value="hospitalization.preAdmissionIdentifier"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="PL"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="PV1-6"/>
          <display value="Prior Patient Location"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="Reference(Location)"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="1"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
            </extension>
            <code value="location[2].location(Location)"/>
            <display value="location[2].location(Location)"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="PL"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="PV1-6"/>
          <display value="Prior Patient Location"/>
          <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 url="assignment">
                <valueString value="&quot;completed&quot;"/>
              </extension>
            </extension>
            <code value="location[2].status"/>
            <display value="location[2].status"/>
            <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="PV1-7"/>
          <display value="Attending Doctor"/>
          <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="participant[1].individual(Practitioner)"/>
            <display value="participant[1].individual(Practitioner)"/>
            <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="PV1-7"/>
          <display value="Attending Doctor"/>
          <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 url="assignment">
                <valueString value="&quot;ATND&quot;"/>
              </extension>
            </extension>
            <code value="participant[1].type.coding.code"/>
            <display value="participant[1].type.coding.code"/>
            <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="PV1-7"/>
          <display value="Attending Doctor"/>
          <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 url="assignment">
                <valueString
                             value="&quot;http://terminology.hl7.org/CodeSystem/v3-ParticipationType&quot;"/>
              </extension>
            </extension>
            <code value="participant[1].type.coding.system"/>
            <display value="participant[1].type.coding.system"/>
            <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="PV1-7"/>
          <display value="Attending Doctor"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="string"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="0"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
              <extension url="assignment">
                <valueString value="&quot;attender&quot;"/>
              </extension>
            </extension>
            <code value="participant[1].type.coding.display"/>
            <display value="participant[1].type.coding.display"/>
            <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="PV1-8"/>
          <display value="Referring Doctor"/>
          <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 url="assignment">
                <valueString
                             value="&quot;http://terminology.hl7.org/CodeSystem/v3-ParticipationType&quot;"/>
              </extension>
            </extension>
            <code value="participant[2].individual(Practitioner)"/>
            <display value="participant[2].individual(Practitioner)"/>
            <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="PV1-8"/>
          <display value="Referring Doctor"/>
          <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 url="assignment">
                <valueString value="&quot;REF&quot;"/>
              </extension>
            </extension>
            <code value="participant[2].type.coding.code"/>
            <display value="participant[2].type.coding.code"/>
            <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="PV1-8"/>
          <display value="Referring Doctor"/>
          <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 url="assignment">
                <valueString
                             value="&quot;http://terminology.hl7.org/CodeSystem/v3-ParticipationType&quot;"/>
              </extension>
            </extension>
            <code value="participant[2].type.coding.system"/>
            <display value="participant[2].type.coding.system"/>
            <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="PV1-8"/>
          <display value="Referring Doctor"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="string"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="0"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
              <extension url="assignment">
                <valueString value="&quot;referrer&quot;"/>
              </extension>
            </extension>
            <code value="participant[2].type.text"/>
            <display value="participant[2].type.text"/>
            <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="PV1-9"/>
          <display value="Consulting Doctor"/>
          <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="participant[3].individual(Practitioner)"/>
            <display value="participant[3].individual(Practitioner)"/>
            <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="PV1-9"/>
          <display value="Consulting Doctor"/>
          <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 url="assignment">
                <valueString value="&quot;CON&quot;"/>
              </extension>
            </extension>
            <code value="participant[3].type.coding.code"/>
            <display value="participant[3].type.coding.code"/>
            <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="PV1-9"/>
          <display value="Consulting Doctor"/>
          <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 url="assignment">
                <valueString
                             value="&quot;http://terminology.hl7.org/CodeSystem/v3-ParticipationType&quot;"/>
              </extension>
            </extension>
            <code value="participant[3].type.coding.system"/>
            <display value="participant[3].type.coding.system"/>
            <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="PV1-9"/>
          <display value="Consulting Doctor"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="string"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="0"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
              <extension url="assignment">
                <valueString value="&quot;consultant&quot;"/>
              </extension>
            </extension>
            <code value="participant[3].type.text"/>
            <display value="participant[3].type.text"/>
            <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="PV1-10"/>
          <display value="Hospital Service"/>
          <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 url="mappedVia">
                <valueUrl value="ConceptMap/table-hl70069-to-service-type"/>
              </extension>
            </extension>
            <code value="serviceType"/>
            <display value="serviceType"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="PL"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="PV1-11"/>
          <display value="Temporary Location"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="Reference(Location)"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="1"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
            </extension>
            <code value="location[3].location(Location)"/>
            <display value="location[3].location(Location)"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="PL"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="PV1-11"/>
          <display value="Temporary Location"/>
          <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 url="assignment">
                <valueString value="&quot;active&quot;"/>
              </extension>
            </extension>
            <code value="location[3].status"/>
            <display value="location[3].status"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="PL"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="PV1-11"/>
          <display value="Temporary Location"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="uri"/>
              </extension>
              <extension url="assignment">
                <valueString
                             value="&quot;http://hl7.org/fhir/StructureDefinition/subject-locationClassification&quot;"/>
              </extension>
            </extension>
            <code value="location[3].extension.url"/>
            <display value="location[3].extension.url"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="PL"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="PV1-11"/>
          <display value="Temporary Location"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="code"/>
              </extension>
              <extension url="assignment">
                <valueString value="&quot;temporary&quot;"/>
              </extension>
            </extension>
            <code value="location[3].extension.valueCodeableConcept.coding.code"/>
            <display
                     value="location[3].extension.valueCodeableConcept.coding.code"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="PL"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="PV1-11"/>
          <display value="Temporary Location"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="uri"/>
              </extension>
              <extension url="assignment">
                <valueString
                             value="&quot; http://hl7.org/fhir/ValueSet/subject-location&quot;"/>
              </extension>
            </extension>
            <code
                  value="location[3].extension.valueCodeableConcept.coding.system"/>
            <display
                     value="location[3].extension.valueCodeableConcept.coding.system"/>
            <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="PV1-13"/>
          <display value="Re-admission Indicator"/>
          <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 url="mappedVia">
                <valueUrl value="ConceptMap/table-hl70092-to-v2-0092"/>
              </extension>
            </extension>
            <code value="hospitalization.reAdmission"/>
            <display value="hospitalization.reAdmission"/>
            <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="PV1-14"/>
          <display value="Admit Source"/>
          <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="hospitalization.admitSource"/>
            <display value="hospitalization.admitSource"/>
            <equivalence value="equivalent"/>
            <comment
                     value="Table 0023 doesn't have any suggested values, therefore there is no vocabulary mapping"/>
          </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="PV1-15"/>
          <display value="Ambulatory Status"/>
          <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 url="mappedVia">
                <valueUrl value="unspecified_mapping"/>
              </extension>
            </extension>
            <code value="hospitalization.specialArrangement"/>
            <display value="hospitalization.specialArrangement"/>
            <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="PV1-16"/>
          <display value="VIP Indicator"/>
          <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 url="mappedVia">
                <valueUrl value="unspecified_mapping"/>
              </extension>
            </extension>
            <code value="hospitalization.specialCourtesy"/>
            <display value="hospitalization.specialCourtesy"/>
            <equivalence value="equivalent"/>
            <comment
                     value="Depending on the vocabulary used in PV1-16, this may require additional mapping."/>
          </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="PV1-17"/>
          <display value="Admitting Doctor"/>
          <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="participant[4].individual(Practitioner)"/>
            <display value="participant[4].individual(Practitioner)"/>
            <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="PV1-17"/>
          <display value="Admitting Doctor"/>
          <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 url="assignment">
                <valueString value="&quot;ADM&quot;"/>
              </extension>
            </extension>
            <code value="participant[4].type.coding.code"/>
            <display value="participant[4].type.coding.code"/>
            <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="PV1-17"/>
          <display value="Admitting Doctor"/>
          <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 url="assignment">
                <valueString
                             value="&quot;http://terminology.hl7.org/CodeSystem/v3-ParticipationType&quot;"/>
              </extension>
            </extension>
            <code value="participant[4].type.coding.system"/>
            <display value="participant[4].type.coding.system"/>
            <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="PV1-17"/>
          <display value="Admitting Doctor"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="string"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="0"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
              <extension url="assignment">
                <valueString value="&quot;admitter&quot;"/>
              </extension>
            </extension>
            <code value="participant[4].type.text"/>
            <display value="participant[4].type.text"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="CX"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="PV1-19"/>
          <display value="Visit Number"/>
          <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="identifier[1]"/>
            <display value="identifier[1]"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="CX"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="PV1-19"/>
          <display value="Visit Number"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="code"/>
              </extension>
              <extension url="assignment">
                <valueString value="&quot;VN&quot;"/>
              </extension>
            </extension>
            <code value="identifier[1].type.coding.code"/>
            <display value="identifier[1].type.coding.code"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="CX"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="PV1-19"/>
          <display value="Visit Number"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="uri"/>
              </extension>
              <extension url="assignment">
                <valueString
                             value="&quot;http://terminology.hl7.org/CodeSystem/v2-0203&quot;"/>
              </extension>
            </extension>
            <code value="identifier[1].type.coding.system"/>
            <display value="identifier[1].type.coding.system"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="CX"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="PV1-19"/>
          <display value="Visit Number"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="string"/>
              </extension>
              <extension url="assignment">
                <valueString value="&quot;visit number&quot;"/>
              </extension>
            </extension>
            <code value="identifier[1].type.text"/>
            <display value="identifier[1].type.text"/>
            <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="PV1-36"/>
          <display value="Discharge Disposition"/>
          <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 url="mappedVia">
                <valueUrl value="unspecified_mapping"/>
              </extension>
            </extension>
            <code value="hospitalization.dischargeDisposition"/>
            <display value="hospitalization.dischargeDisposition"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="DLD"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="PV1-37"/>
          <display value="Discharged to Location"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="Reference(Location)"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="0"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
              <extension url="assignment">
                <valueString
                             value="/Encounter.hospitalization.destination.reference=Location[n].id/"/>
              </extension>
            </extension>
            <code value="hospitalization.destination(Location)"/>
            <display value="hospitalization.destination(Location)"/>
            <equivalence value="equivalent"/>
            <comment
                     value="This location should be a new location resources instance."/>
          </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="PV1-38"/>
          <display value="Diet 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 url="mappedVia">
                <valueUrl value="unspecified_mapping"/>
              </extension>
            </extension>
            <code value="hospitalization.dietPreference"/>
            <display value="hospitalization.dietPreference"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="IS"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="PV1-40"/>
          <display value="Bed Status"/>
          <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 url="mappedVia">
                <valueUrl value="ConceptMap/table-hl70116-to-v2-0116"/>
              </extension>
            </extension>
            <code value="location[1].location(Location.operationalStatus)"/>
            <display value="location[1].location(Location.operationalStatus)"/>
            <equivalence value="equivalent"/>
            <comment
                     value="The operational status is on the Location resource where the implementer must determine which of the Encounter.location(Location) instances reflect the Bed or Room and apply it to the most granular available."/>
            <dependsOn>
              <property value="Computable-ANTLR"/>
              <value value="IF PV1-3.2 OR PV1-3.3 VALUED"/>
            </dependsOn>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="PL"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="PV1-42"/>
          <display value="Pending Location"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="Reference(Location)"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="1"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
              <extension url="assignment">
                <valueString value="&quot;reserved&quot;"/>
              </extension>
            </extension>
            <code value="location[4].location(Location)"/>
            <display value="location[4].location(Location)"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="PL"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="PV1-42"/>
          <display value="Pending Location"/>
          <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="location[4].status"/>
            <display value="location[4].status"/>
            <equivalence value="equivalent"/>
            <comment value="&quot;reserved&quot;"/>
          </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="PV1-44"/>
          <display value="Admit 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="period.start"/>
            <display value="period.start"/>
            <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="PV1-45"/>
          <display value="Discharge 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="period.end"/>
            <display value="period.end"/>
            <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="PV1-45"/>
          <display value="Discharge Date/Time"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="code"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="1"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
            </extension>
            <code value="status"/>
            <display value="= &quot;finished&quot;"/>
            <equivalence value="equivalent"/>
            <dependsOn>
              <property value="Computable-ANTLR"/>
              <value value="IF PV1-45 VALUED"/>
            </dependsOn>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="CX"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="-1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="-1"/>
            </extension>
          </extension>
          <code value="PV1-50"/>
          <display value="Alternate Visit ID"/>
          <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="identifier[2]"/>
            <display value="identifier[2]"/>
            <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="PV1-52"/>
          <display value="Other Healthcare Provider"/>
          <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="participant[5].individual(Practitioner)"/>
            <display value="participant[5].individual(Practitioner)"/>
            <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="PV1-52"/>
          <display value="Other Healthcare Provider"/>
          <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 url="assignment">
                <valueString value="&quot;PART&quot;"/>
              </extension>
            </extension>
            <code value="participant[5].type.coding.code"/>
            <display value="= &quot;PART&quot;"/>
            <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="PV1-52"/>
          <display value="Other Healthcare Provider"/>
          <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 url="assignment">
                <valueString
                             value="&quot;http://terminology.hl7.org/CodeSystem/v3-ParticipationType&quot;"/>
              </extension>
            </extension>
            <code value="participant[5].type.coding.system"/>
            <display value="participant[5].type.coding.system"/>
            <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="PV1-52"/>
          <display value="Other Healthcare Provider"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="string"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="0"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
              <extension url="assignment">
                <valueString value="&quot;Participation&quot;"/>
              </extension>
            </extension>
            <code value="participant[5].type.text"/>
            <display value="= &quot;Participation&quot;"/>
            <equivalence value="equivalent"/>
          </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="PV1-53"/>
          <display value="Service Episode Description"/>
          <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 url="assignment">
                <valueString
                             value="&quot;http://hl7.org/fhir/StructureDefinition/resource-instance-description&quot;"/>
              </extension>
            </extension>
            <code value="episodeOfCare(EpisodeOfCare[1].extension.url)"/>
            <display value="episodeOfCare(EpisodeOfCare[1].extension.url)"/>
            <equivalence value="equivalent"/>
          </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="PV1-53"/>
          <display value="Service Episode Description"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="string"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="0"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
            </extension>
            <code value="episodeOfCare(EpisodeOfCare[1].extension.valueString)"/>
            <display
                     value="episodeOfCare(EpisodeOfCare[1].extension.valueString)"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="CX"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="PV1-54"/>
          <display value="Service Episode 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="episodeOfCare(EpisodeOfCare[1].identifier)"/>
            <display value="episodeOfCare(EpisodeOfCare[1].identifier)"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
      </group>
    </ConceptMap>