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 PID to Patient Map - XML Representation

Page standards status: Informative

Raw xml | Download

    <ConceptMap xmlns="http://hl7.org/fhir">
      <id value="segment-pid-to-patient"/>
      <text>
        <status value="generated"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: ConceptMap segment-pid-to-patient</b></p><a name="segment-pid-to-patient"> </a><a name="hcsegment-pid-to-patient"> </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="4"><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>NarrativeCondition</b></td><td><b>ComputableANTLR</b></td><td/><td colspan="2"><b>Codes</b> from </td><td/></tr><tr><td style="border-right-width: 0px">PID-2</td><td style="border-left-width: 0px">Patient ID</td><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">PID-3</td><td style="border-left-width: 0px">Patient Identifier List</td><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">PID-4</td><td style="border-left-width: 0px">Alternate Patient ID - PID</td><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[3]</td><td style="border-left-width: 0px">identifier[3]</td><td/></tr><tr><td style="border-right-width: 0px">PID-5</td><td style="border-left-width: 0px">Patient Name</td><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">name[1]</td><td style="border-left-width: 0px">name[1]</td><td/></tr><tr><td style="border-right-width: 0px">PID-6</td><td style="border-left-width: 0px">Mother's Maiden Name</td><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">extension[1].url</td><td style="border-left-width: 0px">extension[1].url</td><td/></tr><tr><td style="border-right-width: 0px">PID-6</td><td style="border-left-width: 0px">Mother's Maiden Name</td><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">extension[1].valueString</td><td style="border-left-width: 0px">extension[1].valueString</td><td>This may not be the second name if there are repeats in PID-5. ext.patientMothersMaiden (string) also exists if we prefer.</td></tr><tr><td style="border-right-width: 0px">PID-7</td><td style="border-left-width: 0px">Date/Time of Birth</td><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">birthDate</td><td style="border-left-width: 0px">birthDate</td><td>PROPOSAL MOVE TO IG IMPLEMENTATION GUIDANCE SECTION: Use ISO 8601 to establish the re-formatting from HL7 v2 data type to HL7 FHIR data type, particularly when mapping a platform datetime to platform date.  ADD OTHER REFERENCES ON HOW TO ACHIEVE THESE CONVERSIONS in Java, CSHarp, etc., etc.</td></tr><tr><td style="border-right-width: 0px">PID-7</td><td style="border-left-width: 0px">Date/Time of Birth</td><td/><td>IF PID-7 LENGTH GREATER THAN 8</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">birthDate.extension[1].url</td><td style="border-left-width: 0px">birthDate.extension[1].url</td><td/></tr><tr><td style="border-right-width: 0px">PID-7</td><td style="border-left-width: 0px">Date/Time of Birth</td><td/><td>IF PID-7 LENGTH GREATER THAN 8</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">birthDate.extension[1].valueDateTime</td><td style="border-left-width: 0px">birthDate.extension[1].valueDateTime</td><td/></tr><tr><td style="border-right-width: 0px">PID-8</td><td style="border-left-width: 0px">Administrative Sex</td><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">gender</td><td style="border-left-width: 0px">gender</td><td/></tr><tr><td style="border-right-width: 0px">PID-9</td><td style="border-left-width: 0px">Patient Alias</td><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">name[2]</td><td style="border-left-width: 0px">name[2]</td><td/></tr><tr><td style="border-right-width: 0px">PID-11</td><td style="border-left-width: 0px">Patient Address</td><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">address[1]</td><td style="border-left-width: 0px">address[1]</td><td/></tr><tr><td style="border-right-width: 0px">PID-12</td><td style="border-left-width: 0px">County Code</td><td/><td>IF PID-11 LST.COUNT EQUALS 1 AND PID-11.9 IS 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">address[1].district</td><td style="border-left-width: 0px">address[1].district</td><td>This may not be the second occurrence if PID-11 repeats. Because PID-11 can repeat but PID-12 cannot, it's not appropriate to include PID-12 in an iteration of .address populated from PID-11</td></tr><tr><td style="border-right-width: 0px">PID-12</td><td style="border-left-width: 0px">County Code</td><td/><td>IF PID-11 LST.COUNT EQUALS 1 AND PID-11.9 IS VALUED NOT EQUAL PID-12</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">address[2].district</td><td style="border-left-width: 0px">address[2].district</td><td/></tr><tr><td style="border-right-width: 0px">PID-12</td><td style="border-left-width: 0px">County Code</td><td/><td>IF PID-11 LST.COUNT GREATER THAN 1</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">address[2].district</td><td style="border-left-width: 0px">address[2].district</td><td/></tr><tr><td style="border-right-width: 0px">PID-12</td><td style="border-left-width: 0px">County Code</td><td/><td>IF PID-11 IS 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">address[1].district</td><td style="border-left-width: 0px">address[1].district</td><td/></tr><tr><td style="border-right-width: 0px">PID-13</td><td style="border-left-width: 0px">Phone Number - Home</td><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">telecom[1]</td><td style="border-left-width: 0px">telecom[1]</td><td/></tr><tr><td style="border-right-width: 0px">PID-13</td><td style="border-left-width: 0px">Phone Number - Home</td><td/><td>IF PID-13.2 IS 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">telecom[1].use</td><td style="border-left-width: 0px">telecom[1].use</td><td/></tr><tr><td style="border-right-width: 0px">PID-14</td><td style="border-left-width: 0px">Phone Number - Business</td><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">telecom[2]</td><td style="border-left-width: 0px">telecom[2]</td><td/></tr><tr><td style="border-right-width: 0px">PID-14</td><td style="border-left-width: 0px">Phone Number - Business</td><td/><td>IF PID-14.2 IS 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">telecom[2].use</td><td style="border-left-width: 0px">telecom[2].use</td><td/></tr><tr><td style="border-right-width: 0px">PID-15</td><td style="border-left-width: 0px">Primary Language</td><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">communication.language</td><td style="border-left-width: 0px">communication.language</td><td>During implementation, if you know that the value in PID-15 is the preferred patient language, then Patient.communication.preferred can be set to &quot;true&quot;.</td></tr><tr><td style="border-right-width: 0px">PID-16</td><td style="border-left-width: 0px">Marital Status</td><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">maritalStatus</td><td style="border-left-width: 0px">maritalStatus</td><td/></tr><tr><td style="border-right-width: 0px">PID-17</td><td style="border-left-width: 0px">Religion</td><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">extension[2].url</td><td style="border-left-width: 0px">extension[2].url</td><td/></tr><tr><td style="border-right-width: 0px">PID-17</td><td style="border-left-width: 0px">Religion</td><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">extension[2].valueCodeableConcept</td><td style="border-left-width: 0px">extension[2].valueCodeableConcept</td><td/></tr><tr><td style="border-right-width: 0px">PID-19</td><td style="border-left-width: 0px">SSN Number - Patient</td><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[4].value</td><td style="border-left-width: 0px">identifier[4].value</td><td>the value set for Identifier.type doesn't contain SSN but it does have SB (social beneficiary)</td></tr><tr><td style="border-right-width: 0px">PID-19</td><td style="border-left-width: 0px">SSN Number - Patient</td><td>If in the US and various other jurisdictions</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[4].type.coding.code</td><td style="border-left-width: 0px">identifier[4].type.coding.code</td><td/></tr><tr><td style="border-right-width: 0px">PID-19</td><td style="border-left-width: 0px">SSN Number - Patient</td><td>If outside the US for certain jurisdictions</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[4].type.coding.code</td><td style="border-left-width: 0px">identifier[4].type.coding.code</td><td/></tr><tr><td style="border-right-width: 0px">PID-19</td><td style="border-left-width: 0px">SSN Number - Patient</td><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[4].type.coding.system</td><td style="border-left-width: 0px">identifier[4].type.coding.system</td><td/></tr><tr><td style="border-right-width: 0px">PID-19</td><td style="border-left-width: 0px">SSN Number - Patient</td><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[4].system</td><td style="border-left-width: 0px">identifier[4].system</td><td>If working in a jurisdiction other than the US and this field is used for the local SSN equivalent, a different system will need to be identified.</td></tr><tr><td style="border-right-width: 0px">PID-20</td><td style="border-left-width: 0px">Driver's License Number - Patient</td><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[5]</td><td style="border-left-width: 0px">identifier[5]</td><td/></tr><tr><td style="border-right-width: 0px">PID-21</td><td style="border-left-width: 0px">Mother's Identifier</td><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">$this</td><td style="border-left-width: 0px">$this</td><td/></tr><tr><td style="border-right-width: 0px">PID-23</td><td style="border-left-width: 0px">Birth Place</td><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">extension[3].url</td><td style="border-left-width: 0px">extension[3].url</td><td/></tr><tr><td style="border-right-width: 0px">PID-23</td><td style="border-left-width: 0px">Birth Place</td><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">extension[3].valueAddress.text</td><td style="border-left-width: 0px">extension[3].valueAddress.text</td><td/></tr><tr><td style="border-right-width: 0px">PID-24</td><td style="border-left-width: 0px">Multiple Birth Indicator</td><td/><td>IF PID-25 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">multipleBirthBoolean</td><td style="border-left-width: 0px">multipleBirthBoolean</td><td/></tr><tr><td style="border-right-width: 0px">PID-25</td><td style="border-left-width: 0px">Birth Order</td><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">multipleBirthInteger</td><td style="border-left-width: 0px">multipleBirthInteger</td><td/></tr><tr><td style="border-right-width: 0px">PID-26</td><td style="border-left-width: 0px">Citizenship</td><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">extension[4].url</td><td style="border-left-width: 0px">extension[4].url</td><td/></tr><tr><td style="border-right-width: 0px">PID-26</td><td style="border-left-width: 0px">Citizenship</td><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">extension[4].extension[1].url</td><td style="border-left-width: 0px">extension[4].extension[1].url</td><td/></tr><tr><td style="border-right-width: 0px">PID-26</td><td style="border-left-width: 0px">Citizenship</td><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">extension[4].extension[1].valueCodeableConcept</td><td style="border-left-width: 0px">extension[4].extension[1].valueCodeableConcept</td><td>The standard extension does not include a value set</td></tr><tr><td style="border-right-width: 0px">PID-28</td><td style="border-left-width: 0px">Nationality</td><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">extension[5].url</td><td style="border-left-width: 0px">extension[5].url</td><td/></tr><tr><td style="border-right-width: 0px">PID-28</td><td style="border-left-width: 0px">Nationality</td><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">extension[5].extension[1].url</td><td style="border-left-width: 0px">extension[5].extension[1].url</td><td/></tr><tr><td style="border-right-width: 0px">PID-28</td><td style="border-left-width: 0px">Nationality</td><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">extension[5].extension[1].valueCodeableConcept</td><td style="border-left-width: 0px">extension[5].extension[1].valueCodeableConcept</td><td>The standard extension does not include a value set</td></tr><tr><td style="border-right-width: 0px">PID-29</td><td style="border-left-width: 0px">Patient Death Date and Time</td><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">deceasedDateTime</td><td style="border-left-width: 0px">deceasedDateTime</td><td/></tr><tr><td style="border-right-width: 0px">PID-30</td><td style="border-left-width: 0px">Patient Death Indicator</td><td/><td>IF PID-29 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">deceasedBoolean</td><td style="border-left-width: 0px">deceasedBoolean</td><td/></tr><tr><td style="border-right-width: 0px">PID-35</td><td style="border-left-width: 0px">Taxonomic Classification Code</td><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">extension[6].url</td><td style="border-left-width: 0px">extension[6].url</td><td/></tr><tr><td style="border-right-width: 0px">PID-35</td><td style="border-left-width: 0px">Taxonomic Classification Code</td><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">extension[6].extension[1].url</td><td style="border-left-width: 0px">extension[6].extension[1].url</td><td/></tr><tr><td style="border-right-width: 0px">PID-35</td><td style="border-left-width: 0px">Taxonomic Classification Code</td><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">extension[6].extension[1].valueCodeableConcept</td><td style="border-left-width: 0px">extension[6].extension[1].valueCodeableConcept</td><td/></tr><tr><td style="border-right-width: 0px">PID-36</td><td style="border-left-width: 0px">Breed Code</td><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">extension[6].url</td><td style="border-left-width: 0px">extension[6].url</td><td/></tr><tr><td style="border-right-width: 0px">PID-36</td><td style="border-left-width: 0px">Breed Code</td><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">extension[6].extension[2].url</td><td style="border-left-width: 0px">extension[6].extension[2].url</td><td/></tr><tr><td style="border-right-width: 0px">PID-36</td><td style="border-left-width: 0px">Breed Code</td><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">extension[6].extension[2].valueCodeableConcept</td><td style="border-left-width: 0px">extension[6].extension[2].valueCodeableConcept</td><td/></tr><tr><td style="border-right-width: 0px">PID-39</td><td style="border-left-width: 0px">Tribal Citizenship</td><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">extension[7].url</td><td style="border-left-width: 0px">extension[7].url</td><td/></tr><tr><td style="border-right-width: 0px">PID-39</td><td style="border-left-width: 0px">Tribal Citizenship</td><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">extension[7].extension[1].url</td><td style="border-left-width: 0px">extension[7].extension[1].url</td><td/></tr><tr><td style="border-right-width: 0px">PID-39</td><td style="border-left-width: 0px">Tribal Citizenship</td><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">extension[7].extension[1].valueCodeableConcept</td><td style="border-left-width: 0px">extension[7].extension[1].valueCodeableConcept</td><td>The standard extension does not include a value set.  Also suggest that the extension should not be limited to &quot;country&quot;.  Consider adding a .type to the extension to distinguish tribal vs. &quot;country&quot; (or whatever we call it), or otherwise add an extension for tribal citizenship to accommodate the return flow.</td></tr><tr><td style="border-right-width: 0px">PID-40</td><td style="border-left-width: 0px">Patient Telecommunication Information</td><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">telecom[3]</td><td style="border-left-width: 0px">telecom[3]</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 PID to Patient.fsh"/>
        </extension>
        <extension url="url">
          <valueUri
                    value="https://docs.google.com/spreadsheets/d/1_MOAJOykRWct_9cBG-EcPcWSpSObQFLboPB579DIoAI/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-pid-to-patient"/>
      <version value="1.0.0"/>
      <name value="SegmentPIDToPatient"/>
      <title value="Segment PID to Patient 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 PID to the FHIR Patient 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="CX"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="PID-2"/>
          <display value="Patient 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[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="PID-3"/>
          <display value="Patient Identifier List"/>
          <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="CX"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="PID-4"/>
          <display value="Alternate Patient ID - PID"/>
          <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[3]"/>
            <display value="identifier[3]"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="XPN"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="-1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="-1"/>
            </extension>
          </extension>
          <code value="PID-5"/>
          <display value="Patient Name"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="HumanName"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="0"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="-1"/>
              </extension>
            </extension>
            <code value="name[1]"/>
            <display value="name[1]"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="XPN"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="-1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="-1"/>
            </extension>
          </extension>
          <code value="PID-6"/>
          <display value="Mother's Maiden Name"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="uri"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="1"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
              <extension url="assignment">
                <valueString
                             value="&quot;http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName&quot;"/>
              </extension>
            </extension>
            <code value="extension[1].url"/>
            <display value="extension[1].url"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="XPN"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="-1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="-1"/>
            </extension>
          </extension>
          <code value="PID-6"/>
          <display value="Mother's Maiden Name"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="string"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="1"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
            </extension>
            <code value="extension[1].valueString"/>
            <display value="extension[1].valueString"/>
            <equivalence value="equivalent"/>
            <comment
                     value="This may not be the second name if there are repeats in PID-5. ext.patientMothersMaiden (string) also exists if we prefer."/>
          </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="PID-7"/>
          <display value="Date/Time of Birth"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="date"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="0"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
            </extension>
            <code value="birthDate"/>
            <display value="birthDate"/>
            <equivalence value="equivalent"/>
            <comment
                     value="PROPOSAL MOVE TO IG IMPLEMENTATION GUIDANCE SECTION: Use ISO 8601 to establish the re-formatting from HL7 v2 data type to HL7 FHIR data type, particularly when mapping a platform datetime to platform date.  ADD OTHER REFERENCES ON HOW TO ACHIEVE THESE CONVERSIONS in Java, CSHarp, etc., etc."/>
          </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="PID-7"/>
          <display value="Date/Time of Birth"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="uri"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="1"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
              <extension url="assignment">
                <valueString
                             value="&quot;http://hl7.org/fhir/StructureDefinition/patient-birthTime&quot;"/>
              </extension>
            </extension>
            <code value="birthDate.extension[1].url"/>
            <display value="birthDate.extension[1].url"/>
            <equivalence value="equivalent"/>
            <dependsOn>
              <property value="Computable-ANTLR"/>
              <value value="IF PID-7 LENGTH GREATER THAN 8"/>
            </dependsOn>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="DTM"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="PID-7"/>
          <display value="Date/Time of Birth"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="dateTime"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="1"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
            </extension>
            <code value="birthDate.extension[1].valueDateTime"/>
            <display value="birthDate.extension[1].valueDateTime"/>
            <equivalence value="equivalent"/>
            <dependsOn>
              <property value="Computable-ANTLR"/>
              <value value="IF PID-7 LENGTH GREATER THAN 8"/>
            </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="PID-8"/>
          <display value="Administrative Sex"/>
          <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-hl70001-to-administrative-gender"/>
              </extension>
            </extension>
            <code value="gender"/>
            <display value="gender"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="XPN"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="-1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="-1"/>
            </extension>
          </extension>
          <code value="PID-9"/>
          <display value="Patient Alias"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="HumanName"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="0"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="-1"/>
              </extension>
            </extension>
            <code value="name[2]"/>
            <display value="name[2]"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="XAD"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="-1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="-1"/>
            </extension>
          </extension>
          <code value="PID-11"/>
          <display value="Patient Address"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="Address"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="0"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="-1"/>
              </extension>
            </extension>
            <code value="address[1]"/>
            <display value="address[1]"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="ID"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="PID-12"/>
          <display value="County Code"/>
          <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="address[1].district"/>
            <display value="address[1].district"/>
            <equivalence value="equivalent"/>
            <comment
                     value="This may not be the second occurrence if PID-11 repeats. Because PID-11 can repeat but PID-12 cannot, it's not appropriate to include PID-12 in an iteration of .address populated from PID-11"/>
            <dependsOn>
              <property value="Computable-ANTLR"/>
              <value
                     value="IF PID-11 LST.COUNT EQUALS 1 AND PID-11.9 IS NOT VALUED"/>
            </dependsOn>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="ID"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="PID-12"/>
          <display value="County Code"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="string"/>
              </extension>
            </extension>
            <code value="address[2].district"/>
            <display value="address[2].district"/>
            <equivalence value="equivalent"/>
            <dependsOn>
              <property value="Computable-ANTLR"/>
              <value
                     value="IF PID-11 LST.COUNT EQUALS 1 AND PID-11.9 IS VALUED NOT EQUAL PID-12"/>
            </dependsOn>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="ID"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="PID-12"/>
          <display value="County Code"/>
          <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="address[2].district"/>
            <display value="address[2].district"/>
            <equivalence value="equivalent"/>
            <dependsOn>
              <property value="Computable-ANTLR"/>
              <value value="IF PID-11 LST.COUNT GREATER THAN 1"/>
            </dependsOn>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="ID"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="PID-12"/>
          <display value="County Code"/>
          <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="address[1].district"/>
            <display value="address[1].district"/>
            <equivalence value="equivalent"/>
            <dependsOn>
              <property value="Computable-ANTLR"/>
              <value value="IF PID-11 IS NOT VALUED"/>
            </dependsOn>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="XTN"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="-1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="-1"/>
            </extension>
          </extension>
          <code value="PID-13"/>
          <display value="Phone Number - Home"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="ContactPoint"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="0"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="-1"/>
              </extension>
            </extension>
            <code value="telecom[1]"/>
            <display value="telecom[1]"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="XTN"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="-1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="-1"/>
            </extension>
          </extension>
          <code value="PID-13"/>
          <display value="Phone Number - Home"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="assignment">
                <valueString value="&quot;home&quot;"/>
              </extension>
            </extension>
            <code value="telecom[1].use"/>
            <display value="telecom[1].use"/>
            <equivalence value="equivalent"/>
            <dependsOn>
              <property value="Computable-ANTLR"/>
              <value value="IF PID-13.2 IS NOT VALUED"/>
            </dependsOn>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="XTN"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="-1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="-1"/>
            </extension>
          </extension>
          <code value="PID-14"/>
          <display value="Phone Number - Business"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="ContactPoint"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="0"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="-1"/>
              </extension>
            </extension>
            <code value="telecom[2]"/>
            <display value="telecom[2]"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="XTN"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="-1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="-1"/>
            </extension>
          </extension>
          <code value="PID-14"/>
          <display value="Phone Number - Business"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="assignment">
                <valueString value="&quot;work&quot;"/>
              </extension>
            </extension>
            <code value="telecom[2].use"/>
            <display value="telecom[2].use"/>
            <equivalence value="equivalent"/>
            <dependsOn>
              <property value="Computable-ANTLR"/>
              <value value="IF PID-14.2 IS NOT VALUED"/>
            </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="PID-15"/>
          <display value="Primary Language"/>
          <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="communication.language"/>
            <display value="communication.language"/>
            <equivalence value="equivalent"/>
            <comment
                     value="During implementation, if you know that the value in PID-15 is the preferred patient language, then Patient.communication.preferred can be set to &quot;true&quot;."/>
          </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="PID-16"/>
          <display value="Marital 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="ConceptMap/table-hl70002-to-v3-maritalstatus"/>
              </extension>
            </extension>
            <code value="maritalStatus"/>
            <display value="maritalStatus"/>
            <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="PID-17"/>
          <display value="Religion"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="uri"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="1"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
              <extension url="assignment">
                <valueString
                             value="&quot;http://hl7.org/fhir/StructureDefinition/patient-religion&quot;"/>
              </extension>
            </extension>
            <code value="extension[2].url"/>
            <display value="extension[2].url"/>
            <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="PID-17"/>
          <display value="Religion"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="CodeableConcept"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="1"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
              <extension url="mappedVia">
                <valueUrl
                          value="ConceptMap/table-hl70006-to-v3-religiousaffiliation"/>
              </extension>
            </extension>
            <code value="extension[2].valueCodeableConcept"/>
            <display value="extension[2].valueCodeableConcept"/>
            <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="PID-19"/>
          <display value="SSN Number - Patient"/>
          <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="identifier[4].value"/>
            <display value="identifier[4].value"/>
            <equivalence value="equivalent"/>
            <comment
                     value="the value set for Identifier.type doesn't contain SSN but it does have SB (social beneficiary)"/>
          </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="PID-19"/>
          <display value="SSN Number - Patient"/>
          <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;SS&quot;"/>
              </extension>
            </extension>
            <code value="identifier[4].type.coding.code"/>
            <display value="identifier[4].type.coding.code"/>
            <equivalence value="equivalent"/>
            <dependsOn>
              <property value="Narrative-Condition"/>
              <value value="If in the US and various other jurisdictions"/>
            </dependsOn>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="ST"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="PID-19"/>
          <display value="SSN Number - Patient"/>
          <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;SB&quot;"/>
              </extension>
            </extension>
            <code value="identifier[4].type.coding.code"/>
            <display value="identifier[4].type.coding.code"/>
            <equivalence value="equivalent"/>
            <dependsOn>
              <property value="Narrative-Condition"/>
              <value value="If outside the US for certain jurisdictions"/>
            </dependsOn>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="ST"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="PID-19"/>
          <display value="SSN Number - Patient"/>
          <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/v2-0203&quot;"/>
              </extension>
            </extension>
            <code value="identifier[4].type.coding.system"/>
            <display value="identifier[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="ST"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="PID-19"/>
          <display value="SSN Number - Patient"/>
          <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/sid/us-ssn.&quot;"/>
              </extension>
            </extension>
            <code value="identifier[4].system"/>
            <display value="identifier[4].system"/>
            <equivalence value="equivalent"/>
            <comment
                     value="If working in a jurisdiction other than the US and this field is used for the local SSN equivalent, a different system will need to be identified."/>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="DLN"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="PID-20"/>
          <display value="Driver's License Number - Patient"/>
          <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[5]"/>
            <display value="identifier[5]"/>
            <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="PID-21"/>
          <display value="Mother's Identifier"/>
          <target>
            <code value="$this"/>
            <display value="$this"/>
            <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="PID-23"/>
          <display value="Birth Place"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="uri"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="1"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
              <extension url="assignment">
                <valueString
                             value="&quot;http://hl7.org/fhir/StructureDefinition/patient-birthPlace&quot;"/>
              </extension>
            </extension>
            <code value="extension[3].url"/>
            <display value="extension[3].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="PID-23"/>
          <display value="Birth Place"/>
          <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="extension[3].valueAddress.text"/>
            <display value="extension[3].valueAddress.text"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="ID"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="PID-24"/>
          <display value="Multiple Birth Indicator"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="boolean"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="0"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
              <extension url="mappedVia">
                <valueUrl value="ConceptMap/table-hl70136-to-special-values"/>
              </extension>
            </extension>
            <code value="multipleBirthBoolean"/>
            <display value="multipleBirthBoolean"/>
            <equivalence value="equivalent"/>
            <dependsOn>
              <property value="Computable-ANTLR"/>
              <value value="IF PID-25 NOT VALUED"/>
            </dependsOn>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="NM"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="PID-25"/>
          <display value="Birth Order"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="integer"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="0"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
            </extension>
            <code value="multipleBirthInteger"/>
            <display value="multipleBirthInteger"/>
            <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="PID-26"/>
          <display value="Citizenship"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="uri"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="1"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
              <extension url="assignment">
                <valueString
                             value="&quot;http://hl7.org/fhir/StructureDefinition/patient-citizenship&quot;"/>
              </extension>
            </extension>
            <code value="extension[4].url"/>
            <display value="extension[4].url"/>
            <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="PID-26"/>
          <display value="Citizenship"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="uri"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="1"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
              <extension url="assignment">
                <valueString value="&quot;code&quot;"/>
              </extension>
            </extension>
            <code value="extension[4].extension[1].url"/>
            <display value="extension[4].extension[1].url"/>
            <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="PID-26"/>
          <display value="Citizenship"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="CodeableConcept"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="1"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
            </extension>
            <code value="extension[4].extension[1].valueCodeableConcept"/>
            <display value="extension[4].extension[1].valueCodeableConcept"/>
            <equivalence value="equivalent"/>
            <comment value="The standard extension does not include a value set"/>
          </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="PID-28"/>
          <display value="Nationality"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="uri"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="1"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
              <extension url="assignment">
                <valueString
                             value="&quot;http://hl7.org/fhir/StructureDefinition/patient-nationality&quot;"/>
              </extension>
            </extension>
            <code value="extension[5].url"/>
            <display value="extension[5].url"/>
            <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="PID-28"/>
          <display value="Nationality"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="uri"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="1"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
              <extension url="assignment">
                <valueString value="&quot;code&quot;"/>
              </extension>
            </extension>
            <code value="extension[5].extension[1].url"/>
            <display value="extension[5].extension[1].url"/>
            <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="PID-28"/>
          <display value="Nationality"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="CodeableConcept"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="1"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
            </extension>
            <code value="extension[5].extension[1].valueCodeableConcept"/>
            <display value="extension[5].extension[1].valueCodeableConcept"/>
            <equivalence value="equivalent"/>
            <comment value="The standard extension does not include a value set"/>
          </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="PID-29"/>
          <display value="Patient Death Date and 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="deceasedDateTime"/>
            <display value="deceasedDateTime"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="ID"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="PID-30"/>
          <display value="Patient Death Indicator"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="boolean"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="0"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
              <extension url="mappedVia">
                <valueUrl value="ConceptMap/table-hl70136-to-special-values"/>
              </extension>
            </extension>
            <code value="deceasedBoolean"/>
            <display value="deceasedBoolean"/>
            <equivalence value="equivalent"/>
            <dependsOn>
              <property value="Computable-ANTLR"/>
              <value value="IF PID-29 NOT VALUED"/>
            </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="PID-35"/>
          <display value="Taxonomic Classification Code"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="uri"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="0"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="-1"/>
              </extension>
              <extension url="assignment">
                <valueString
                             value="&quot;http://hl7.org/fhir/StructureDefinition/patient-animal&quot;"/>
              </extension>
            </extension>
            <code value="extension[6].url"/>
            <display value="extension[6].url"/>
            <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="PID-35"/>
          <display value="Taxonomic Classification Code"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="uri"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="0"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
              <extension url="assignment">
                <valueString value="&quot;species&quot;"/>
              </extension>
            </extension>
            <code value="extension[6].extension[1].url"/>
            <display value="extension[6].extension[1].url"/>
            <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="PID-35"/>
          <display value="Taxonomic Classification Code"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="CodeableConcept"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="0"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
            </extension>
            <code value="extension[6].extension[1].valueCodeableConcept"/>
            <display value="extension[6].extension[1].valueCodeableConcept"/>
            <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="PID-36"/>
          <display value="Breed Code"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="uri"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="0"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="-1"/>
              </extension>
              <extension url="assignment">
                <valueString
                             value="&quot;http://hl7.org/fhir/StructureDefinition/patient-animal&quot;"/>
              </extension>
            </extension>
            <code value="extension[6].url"/>
            <display value="extension[6].url"/>
            <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="PID-36"/>
          <display value="Breed Code"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="uri"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="0"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
              <extension url="assignment">
                <valueString value="&quot;breed&quot;"/>
              </extension>
            </extension>
            <code value="extension[6].extension[2].url"/>
            <display value="extension[6].extension[2].url"/>
            <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="PID-36"/>
          <display value="Breed Code"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="CodeableConcept"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="0"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
            </extension>
            <code value="extension[6].extension[2].valueCodeableConcept"/>
            <display value="extension[6].extension[2].valueCodeableConcept"/>
            <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="PID-39"/>
          <display value="Tribal Citizenship"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="uri"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="1"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
              <extension url="assignment">
                <valueString
                             value="&quot;http://hl7.org/fhir/StructureDefinition/patient-citizenship&quot;"/>
              </extension>
            </extension>
            <code value="extension[7].url"/>
            <display value="extension[7].url"/>
            <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="PID-39"/>
          <display value="Tribal Citizenship"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="uri"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="1"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
              <extension url="assignment">
                <valueString value="&quot;code&quot;"/>
              </extension>
            </extension>
            <code value="extension[7].extension[1].url"/>
            <display value="extension[7].extension[1].url"/>
            <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="PID-39"/>
          <display value="Tribal Citizenship"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="CodeableConcept"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="1"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
            </extension>
            <code value="extension[7].extension[1].valueCodeableConcept"/>
            <display value="extension[7].extension[1].valueCodeableConcept"/>
            <equivalence value="equivalent"/>
            <comment
                     value="The standard extension does not include a value set.  Also suggest that the extension should not be limited to &quot;country&quot;.  Consider adding a .type to the extension to distinguish tribal vs. &quot;country&quot; (or whatever we call it), or otherwise add an extension for tribal citizenship to accommodate the return flow."/>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="XTN"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="-1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="-1"/>
            </extension>
          </extension>
          <code value="PID-40"/>
          <display value="Patient Telecommunication Information"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="ContactPoint"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="0"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="-1"/>
              </extension>
            </extension>
            <code value="telecom[3]"/>
            <display value="telecom[3]"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
      </group>
    </ConceptMap>