RIVO-Noord Zorgviewer Implementation Guide
1.9.1 - sprint47 Netherlands flag

RIVO-Noord Zorgviewer Implementation Guide - Local Development build (v1.9.1) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: Patient - XML Profile

Active as of 2024-12-10

XML representation of the Patient resource profile.

Raw xml | Download


<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="Patient"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Gegenereerde narrative: StructureDefinition Patient</b></p><a name="Patient"> </a><a name="hcPatient"> </a><a name="Patient-nl-NL"> </a><table border="0" cellpadding="0" cellspacing="0" style="border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"><tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top"><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="De logische naam van het element">Naam</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Informatie over het gebruik van het element">Markeringen</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Minimum en maximum # keren dat het element kan voorkomen in de instance">Kard.</a></th><th style="width: 100px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Referentie naar het type van het element">Type</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Additionele informatie over het element">Omschrijving &amp; constraints</a><span style="float: right"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC" alt="doco" style="background-color: inherit"/></a></span></th></tr><tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="." style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-Patient-definitions.html#Patient">Patient</a><a name="Patient"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://simplifier.net/resolve?scope=nictiz.fhir.nl.stu3.zib2017@2.2.18&amp;canonical=http://fhir.nl/fhir/StructureDefinition/nl-core-patient">nl-core-patient</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Patient</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck13.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Slice-definitie" class="hierarchy"/> Slices voor identifier<a name="Patient.identifier"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Content/regels voor alle slices</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck124.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice_item.png" alt="." style="background-color: white; background-color: inherit" title="Slice-item" class="hierarchy"/> <a href="StructureDefinition-Patient-definitions.html#Patient.identifier:BSN" title="Slice BSN">identifier:BSN</a><a name="Patient.identifier.2"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="Dit element moet worden ondersteund">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/STU3/datatypes.html#Identifier">Identifier</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">BSN</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-Patient-definitions.html#Patient.name">name</a><a name="Patient.name"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="Dit element moet worden ondersteund">S</span><a style="padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;" href="http://hl7.org/fhir/STU3/conformance-rules.html#constraints" title="Dit element heeft of wordt geraakt door constraints ( zv-pat-1, zv-pat-2 )">C</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://simplifier.net/resolve?scope=nictiz.fhir.nl.stu3.zib2017@2.2.18&amp;canonical=http://fhir.nl/fhir/StructureDefinition/nl-core-humanname" title="HumanName">nl-core-humanname</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">NameInformation</span><br/><span style="font-weight:bold">zv-pat-1: </span>Either Patient.name.given and/or Patient.name.family and/or Patient.name.text SHALL be present.<br/><span style="font-weight:bold">zv-pat-2: </span>To be usable for a wide range of internationally available applications, the Patient.name.text SHOULD be present.</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-Patient-definitions.html#Patient.gender">gender</a><a name="Patient.gender"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="Dit element moet worden ondersteund">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/STU3/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Gender</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-Patient-definitions.html#Patient.birthDate">birthDate</a><a name="Patient.birthDate"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="Dit element moet worden ondersteund">S</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/STU3/datatypes.html#date">date</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Patients date of birth. The date of birth is mandatory for a patient. An incomplete date, e.g. only year or only year + month, is permitted.</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-Patient-definitions.html#Patient.deceased[x]">deceased[x]</a><a name="Patient.deceased_x_"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="Dit element moet worden ondersteund">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/STU3/datatypes.html#boolean">boolean</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5" href="http://hl7.org/fhir/STU3/datatypes.html#dateTime">dateTime</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">DeathIndicator/DateOfDeath</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-Patient-definitions.html#Patient.managingOrganization">managingOrganization</a><a name="Patient.managingOrganization"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="Dit element moet worden ondersteund">S</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/references.html">Reference</a>(<a style="opacity: 0.5" href="http://hl7.org/fhir/STU3/organization.html">Organization</a>)</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Organization that is the custodian of the patient record</span></td></tr>
<tr><td colspan="5" class="hierarchy"><br/><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legenda voor dit formaat"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC" alt="doco" style="background-color: inherit"/> Documentatie voor dit formaat</a></td></tr></table></div>
  </text>
  <url value="http://hl7.nl/fhir/zorgviewer/StructureDefinition/Patient"/>
  <version value="1.9.1"/>
  <name value="Patient"/>
  <title value="Patient"/>
  <status value="active"/>
  <date value="2024-12-10T08:33:54+00:00"/>
  <publisher value="RIVO-NN HL7NL"/>
  <contact>
    <name value="RIVO-NN"/>
    <telecom>
      <system value="url"/>
      <value value="https://rivo-noord.nl"/>
    </telecom>
  </contact>
  <contact>
    <name value="HL7NL"/>
    <telecom>
      <system value="url"/>
      <value value="https://hl7.nl"/>
    </telecom>
  </contact>
  <description value="Patient"/>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="NL"/>
    </coding>
  </jurisdiction>
  <fhirVersion value="3.0.2"/>
  <mapping>
    <identity value="hcim-patient-v3.1-2017EN"/>
    <uri value="https://zibs.nl/wiki/Patient-v3.1(2017EN)"/>
    <name value="HCIM Patient-v3.1(2017EN)"/>
  </mapping>
  <mapping>
    <identity value="hcim-maritalstatus-v3.0-2017EN"/>
    <uri value="https://zibs.nl/wiki/MaritalStatus-v3.0(2017EN)"/>
    <name value="HCIM MaritalStatus-v3.0(2017EN)"/>
  </mapping>
  <mapping>
    <identity value="hcim-contactperson-v3.1-2017EN"/>
    <uri value="https://zibs.nl/wiki/ContactPerson-v3.1(2017EN)"/>
    <name value="HCIM ContactPerson-v3.1(2017EN)"/>
  </mapping>
  <mapping>
    <identity value="hcim-healthcareprovider-v3.1.1-2017EN"/>
    <uri value="https://zibs.nl/wiki/HealthcareProvider-v3.1.1(2017EN)"/>
    <name value="HCIM HealthcareProvider-v3.1.1(2017EN)"/>
  </mapping>
  <mapping>
    <identity value="hcim-healthprofessional-v3.2-2017EN"/>
    <uri value="https://zibs.nl/wiki/HealthProfessional-v3.2(2017EN)"/>
    <name value="HCIM HealthProfessional-v3.2(2017EN)"/>
  </mapping>
  <mapping>
    <identity value="hcim-nationality-v3.0-2017EN"/>
    <uri value="https://zibs.nl/wiki/Nationality-v3.0(2017EN)"/>
    <name value="HCIM Nationality-v3.0(2017EN)"/>
  </mapping>
  <mapping>
    <identity value="hcim-payer-v3.1-2017EN"/>
    <uri value="https://zibs.nl/wiki/Payer-v3.1(2017EN)"/>
    <name value="HCIM Payer-v3.1(2017EN)"/>
  </mapping>
  <mapping>
    <identity value="hcim-contactinformation-v1.0-2017EN"/>
    <uri value="https://zibs.nl/wiki/ContactInformation-v1.0(2017EN)"/>
    <name value="HCIM ContactInformation-v1.0(2017EN)"/>
    <comment
             value="ContactInformation has become an independent information model as of release 2017 of the HCIMs."/>
  </mapping>
  <mapping>
    <identity value="hcim-languageproficiency-v3.1-2017EN"/>
    <uri value="https://zibs.nl/wiki/LanguageProficiency-v3.1(2017EN)"/>
    <name value="HCIM LanguageProficiency-v3.1(2017EN)"/>
  </mapping>
  <mapping>
    <identity value="hcim-freedomrestrictingmeasures-v3.1-2017EN"/>
    <uri
         value="https://zibs.nl/wiki/FreedomRestrictingMeasures-v3.1(2017EN)"/>
    <name value="HCIM FreedomRestrictingMeasures-v3.1(2017EN)"/>
    <comment
             value="Concerns only LegalStatus concept. This will become an independent information model as of release 2018 of the HCIMs."/>
  </mapping>
  <mapping>
    <identity value="hcim-basicelements-v1.0-2017EN"/>
    <uri value="https://zibs.nl/wiki/BasicElements-v1.0(2017EN)"/>
    <name value="HCIM BasicElements-v1.0(2017EN)"/>
  </mapping>
  <mapping>
    <identity value="hcim-familysituation-v3.0-2017EN"/>
    <uri value="https://zibs.nl/wiki/FamilySituation-v3.0(2017EN)"/>
    <name value="HCIM FamilySituation-v3.0(2017EN)"/>
  </mapping>
  <mapping>
    <identity value="hcim-lifestance-v3.1-2017EN"/>
    <uri value="https://zibs.nl/wiki/LifeStance-v3.1(2017EN)"/>
    <name value="HCIM LifeStance-v3.1(2017EN)"/>
  </mapping>
  <mapping>
    <identity value="hcim-patient-v3.0-2016EN"/>
    <uri value="https://zibs.nl/wiki/Patient-v3.0(2016EN)"/>
    <name value="HCIM Patient-v3.0(2016EN)"/>
  </mapping>
  <mapping>
    <identity value="hcim-maritalstatus-v3.0-2016EN"/>
    <uri value="https://zibs.nl/wiki/MaritalStatus-v3.0(2016EN)"/>
    <name value="HCIM MaritalStatus-v3.0(2016EN)"/>
  </mapping>
  <mapping>
    <identity value="hcim-contactperson-v3.0-2016EN"/>
    <uri value="https://zibs.nl/wiki/ContactPerson-v3.0(2016EN)"/>
    <name value="HCIM ContactPerson-v3.0(2016EN)"/>
  </mapping>
  <mapping>
    <identity value="hcim-healthcareprovider-v3.0-2016EN"/>
    <uri value="https://zibs.nl/wiki/HealthcareProvider-v3.0(2016EN)"/>
    <name value="HCIM HealthcareProvider-v3.0(2016EN)"/>
  </mapping>
  <mapping>
    <identity value="hcim-healthprofessional-v3.0-2016EN"/>
    <uri value="https://zibs.nl/wiki/HealthProfessional-v3.0(2016EN)"/>
    <name value="HCIM HealthProfessional-v3.0(2016EN)"/>
  </mapping>
  <mapping>
    <identity value="hcim-nationality-v3.0-2016EN"/>
    <uri value="https://zibs.nl/wiki/Nationality-v3.0(2016EN)"/>
    <name value="HCIM Nationality-v3.0(2016EN)"/>
  </mapping>
  <mapping>
    <identity value="hcim-payer-v3.0-2016EN"/>
    <uri value="https://zibs.nl/wiki/Payer-v3.0(2016EN)"/>
    <name value="HCIM Payer-v3.0(2016EN)"/>
  </mapping>
  <mapping>
    <identity value="hcim-familysituation-v3.0-2016EN"/>
    <uri value="https://zibs.nl/wiki/FamilySituation-v3.0(2016EN)"/>
    <name value="HCIM FamilySituation-v3.0(2016EN)"/>
  </mapping>
  <mapping>
    <identity value="hcim-patient-v2.0.1-2015EN"/>
    <uri value="https://zibs.nl/wiki/Patient-v2.0.1(2015EN)"/>
    <name value="HCIM Patient-v2.0.1(2015EN)"/>
  </mapping>
  <mapping>
    <identity value="hcim-maritalstatus-v1.2.1-2015EN"/>
    <uri value="https://zibs.nl/wiki/MaritalStatus-v1.2.1(2015EN)"/>
    <name value="HCIM MaritalStatus-v1.2.1(2015EN)"/>
  </mapping>
  <mapping>
    <identity value="hcim-contactperson-v1.2-2015EN"/>
    <uri value="https://zibs.nl/wiki/ContactPerson-v1.2(2015EN)"/>
    <name value="HCIM ContactPerson-v1.2(2015EN)"/>
  </mapping>
  <mapping>
    <identity value="hcim-healthcareprovider-v1.2-2015EN"/>
    <uri value="https://zibs.nl/wiki/HealthcareProvider-v1.2(2015EN)"/>
    <name value="HCIM HealthcareProvider-v1.2(2015EN)"/>
  </mapping>
  <mapping>
    <identity value="hcim-healthprofessional-v1.2.1-2015EN"/>
    <uri value="https://zibs.nl/wiki/HealthProfessional-v1.2.1(2015EN)"/>
    <name value="HCIM HealthProfessional-v1.2.1(2015EN)"/>
  </mapping>
  <mapping>
    <identity value="hcim-nationality-v2.0-2015EN"/>
    <uri value="https://zibs.nl/wiki/Nationality-v2.0(2015EN)"/>
    <name value="HCIM Nationality-v2.0(2015EN)"/>
  </mapping>
  <mapping>
    <identity value="hcim-payer-v1.2-2015EN"/>
    <uri value="https://zibs.nl/wiki/Payer-v1.2(2015EN)"/>
    <name value="HCIM Payer-v1.2(2015EN)"/>
  </mapping>
  <mapping>
    <identity value="hcim-familysituation-v1.0-2015EN"/>
    <uri value="https://zibs.nl/wiki/FamilySituation-v1.0(2015EN)"/>
    <name value="HCIM FamilySituation-v1.0(2015EN)"/>
  </mapping>
  <mapping>
    <identity value="rim"/>
    <uri value="http://hl7.org/v3"/>
    <name value="RIM Mapping"/>
  </mapping>
  <mapping>
    <identity value="cda"/>
    <uri value="http://hl7.org/v3/cda"/>
    <name value="CDA (R2)"/>
  </mapping>
  <mapping>
    <identity value="w5"/>
    <uri value="http://hl7.org/fhir/w5"/>
    <name value="W5 Mapping"/>
  </mapping>
  <mapping>
    <identity value="v2"/>
    <uri value="http://hl7.org/v2"/>
    <name value="HL7 v2 Mapping"/>
  </mapping>
  <mapping>
    <identity value="loinc"/>
    <uri value="http://loinc.org"/>
    <name value="LOINC code for the element"/>
  </mapping>
  <kind value="resource"/>
  <abstract value="false"/>
  <type value="Patient"/>
  <baseDefinition
                  value="http://fhir.nl/fhir/StructureDefinition/nl-core-patient"/>
  <derivation value="constraint"/>
  <snapshot>
    <element id="Patient">
      <path value="Patient"/>
      <short value="Patient"/>
      <definition
                  value="Demographics and other administrative information about an individual or animal receiving care or other health-related services."/>
      <alias value="SubjectOfCare Client Resident"/>
      <alias value="Patiënt"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Patient"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <constraint>
        <key value="dom-2"/>
        <severity value="error"/>
        <human
               value="If the resource is contained in another resource, it SHALL NOT contain nested Resources"/>
        <expression value="contained.contained.empty()"/>
        <xpath value="not(parent::f:contained and f:contained)"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
      </constraint>
      <constraint>
        <key value="dom-1"/>
        <severity value="error"/>
        <human
               value="If the resource is contained in another resource, it SHALL NOT contain any narrative"/>
        <expression value="contained.text.empty()"/>
        <xpath value="not(parent::f:contained and f:text)"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
      </constraint>
      <constraint>
        <key value="dom-4"/>
        <severity value="error"/>
        <human
               value="If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated"/>
        <expression
                    value="contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"/>
        <xpath
               value="not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
      </constraint>
      <constraint>
        <key value="dom-3"/>
        <severity value="error"/>
        <human
               value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource"/>
        <expression
                    value="contained.where(('#'+id in %resource.descendants().reference).not()).empty()"/>
        <xpath
               value="not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
      </constraint>
      <mapping>
        <identity value="hcim-patient-v2.0.1-2015EN"/>
        <map value="NL-CM:0.1.1"/>
        <comment value="Patient"/>
      </mapping>
      <mapping>
        <identity value="hcim-patient-v3.0-2016EN"/>
        <map value="NL-CM:0.1.1"/>
        <comment value="Patient"/>
      </mapping>
      <mapping>
        <identity value="hcim-patient-v3.1-2017EN"/>
        <map value="NL-CM:0.1.1"/>
        <comment value="Patient"/>
      </mapping>
      <mapping>
        <identity value="hcim-payer-v1.2-2015EN"/>
        <map value="NL-CM:1.1.2"/>
        <comment value="PayerPerson"/>
      </mapping>
      <mapping>
        <identity value="hcim-payer-v3.0-2016EN"/>
        <map value="NL-CM:1.1.2"/>
        <comment value="PayerPerson"/>
      </mapping>
      <mapping>
        <identity value="hcim-payer-v3.1-2017EN"/>
        <map value="NL-CM:1.1.2"/>
        <comment value="PayerPerson"/>
      </mapping>
      <mapping>
        <identity value="hcim-basicelements-v1.0-2017EN"/>
        <map value="NL-CM:0.0.3"/>
        <comment value="PatientAsInformationSource::Patient"/>
      </mapping>
      <mapping>
        <identity value="hcim-basicelements-v1.0-2017EN"/>
        <map value="NL-CM:0.0.8"/>
        <comment value="PatientAsAuthor::Patient"/>
      </mapping>
      <mapping>
        <identity value="hcim-basicelements-v1.0-2017EN"/>
        <map value="NL-CM:0.0.12"/>
        <comment value="Patient"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="Entity. Role, or Act"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="Patient[classCode=PAT]"/>
      </mapping>
      <mapping>
        <identity value="cda"/>
        <map value="ClinicalDocument.recordTarget.patientRole"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="administrative.individual"/>
      </mapping>
    </element>
    <element id="Patient.id">
      <path value="Patient.id"/>
      <short value="Logical id of this artifact"/>
      <definition
                  value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes."/>
      <comment
               value="The only time that a resource does not have an id is when it is being submitted to the server using a create operation."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="id"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Patient.meta">
      <path value="Patient.meta"/>
      <short value="Metadata about the resource"/>
      <definition
                  value="The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.meta"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Meta"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Patient.implicitRules">
      <path value="Patient.implicitRules"/>
      <short value="A set of rules under which this content was created"/>
      <definition
                  value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content."/>
      <comment
               value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. 

This element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.implicitRules"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
    </element>
    <element id="Patient.language">
      <path value="Patient.language"/>
      <short value="Language of the resource content"/>
      <definition
                  value="The base language in which the resource is written."/>
      <comment
               value="Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource  Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet">
          <valueReference>🔗 
            <reference value="http://hl7.org/fhir/ValueSet/all-languages"/>
          </valueReference>
        </extension>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="Language"/>
        </extension>
        <strength value="extensible"/>
        <description value="A human language."/>
        <valueSetReference>🔗 
          <reference value="http://hl7.org/fhir/ValueSet/languages"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="Patient.text">
      <path value="Patient.text"/>
      <short value="Text summary of the resource, for human interpretation"/>
      <definition
                  value="A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it &quot;clinically safe&quot; for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety."/>
      <comment
               value="Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a &quot;text blob&quot; or where text is additionally entered raw or narrated and encoded in formation is added later."/>
      <alias value="narrative"/>
      <alias value="html"/>
      <alias value="xhtml"/>
      <alias value="display"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DomainResource.text"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Narrative"/>
      </type>
      <condition value="dom-1"/>
      <mapping>
        <identity value="rim"/>
        <map value="Act.text?"/>
      </mapping>
    </element>
    <element id="Patient.contained">
      <path value="Patient.contained"/>
      <short value="Contained, inline Resources"/>
      <definition
                  value="These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope."/>
      <comment
               value="This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again."/>
      <alias value="inline resources"/>
      <alias value="anonymous resources"/>
      <alias value="contained resources"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DomainResource.contained"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Resource"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Patient.extension">
      <path value="Patient.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
      <short value="Extension"/>
      <definition value="An Extension"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DomainResource.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
    </element>
    <element id="Patient.extension:preferredPharmacy">
      <path value="Patient.extension"/>
      <sliceName value="preferredPharmacy"/>
      <short value="References a patient's preferered pharmacy"/>
      <definition
                  value="Optional Extension Element - found in all resources."/>
      <alias value="Verwijst naar de voorkeursapotheek van de patiënt"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DomainResource.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
        <profile
                 value="http://fhir.nl/fhir/StructureDefinition/nl-core-preferred-pharmacy"/>
      </type>
      <condition value="ele-1"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Patient.extension:nationality">
      <path value="Patient.extension"/>
      <sliceName value="nationality"/>
      <short value="Nationality"/>
      <definition value="The nationality of the patient."/>
      <alias value="Nationaliteit"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DomainResource.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
        <profile
                 value="http://hl7.org/fhir/StructureDefinition/patient-nationality"/>
      </type>
      <condition value="ele-1"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <mapping>
        <identity value="hcim-nationality-v2.0-2015EN"/>
        <map value="NL-CM:7.6.3"/>
        <comment value="Nationality"/>
      </mapping>
      <mapping>
        <identity value="hcim-nationality-v3.0-2016EN"/>
        <map value="NL-CM:7.6.3"/>
        <comment value="Nationality"/>
      </mapping>
      <mapping>
        <identity value="hcim-nationality-v3.0-2017EN"/>
        <map value="NL-CM:7.6.3"/>
        <comment value="Nationality"/>
      </mapping>
    </element>
    <element id="Patient.extension:nationality.id">
      <path value="Patient.extension.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.extension:nationality.extension">
      <path value="Patient.extension.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.extension:nationality.extension:code">
      <path value="Patient.extension.extension"/>
      <sliceName value="code"/>
      <short value="Extension"/>
      <definition value="An Extension"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
    </element>
    <element id="Patient.extension:nationality.extension:code.id">
      <path value="Patient.extension.extension.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.extension:nationality.extension:code.extension">
      <path value="Patient.extension.extension.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.extension:nationality.extension:code.url">
      <path value="Patient.extension.extension.url"/>
      <representation value="xmlAttr"/>
      <short value="identifies the meaning of the extension"/>
      <definition
                  value="Source of the definition for the extension code - a logical name or a URL."/>
      <comment
               value="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Extension.url"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <fixedUri value="code"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="Patient.extension:nationality.extension:code.valueCodeableConcept:valueCodeableConcept">
      <path value="Patient.extension.extension.valueCodeableConcept"/>
      <sliceName value="valueCodeableConcept"/>
      <short value="Value of extension"/>
      <definition
                  value="Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Extension.value[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <description value="Indicates the country of citizenship."/>
        <valueSetReference>🔗 
          <reference
                     value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.7.6.3--20171231000000"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Patient.extension:nationality.extension:period">
      <path value="Patient.extension.extension"/>
      <sliceName value="period"/>
      <short value="Extension"/>
      <definition value="An Extension"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
    </element>
    <element id="Patient.extension:nationality.extension:period.id">
      <path value="Patient.extension.extension.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.extension:nationality.extension:period.extension">
      <path value="Patient.extension.extension.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.extension:nationality.extension:period.url">
      <path value="Patient.extension.extension.url"/>
      <representation value="xmlAttr"/>
      <short value="identifies the meaning of the extension"/>
      <definition
                  value="Source of the definition for the extension code - a logical name or a URL."/>
      <comment
               value="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Extension.url"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <fixedUri value="period"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="Patient.extension:nationality.extension:period.valuePeriod:valuePeriod">
      <path value="Patient.extension.extension.valuePeriod"/>
      <sliceName value="valuePeriod"/>
      <short value="Value of extension"/>
      <definition
                  value="Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Extension.value[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Period"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Patient.extension:nationality.url">
      <path value="Patient.extension.url"/>
      <representation value="xmlAttr"/>
      <short value="identifies the meaning of the extension"/>
      <definition
                  value="Source of the definition for the extension code - a logical name or a URL."/>
      <comment
               value="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Extension.url"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <fixedUri
                value="http://hl7.org/fhir/StructureDefinition/patient-nationality"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Patient.extension:nationality.value[x]">
      <path value="Patient.extension.value[x]"/>
      <short value="Value of extension"/>
      <definition
                  value="Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)."/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="Extension.value[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="base64Binary"/>
      </type>
      <type>
        <code value="boolean"/>
      </type>
      <type>
        <code value="code"/>
      </type>
      <type>
        <code value="date"/>
      </type>
      <type>
        <code value="dateTime"/>
      </type>
      <type>
        <code value="decimal"/>
      </type>
      <type>
        <code value="id"/>
      </type>
      <type>
        <code value="instant"/>
      </type>
      <type>
        <code value="integer"/>
      </type>
      <type>
        <code value="markdown"/>
      </type>
      <type>
        <code value="oid"/>
      </type>
      <type>
        <code value="positiveInt"/>
      </type>
      <type>
        <code value="string"/>
      </type>
      <type>
        <code value="time"/>
      </type>
      <type>
        <code value="unsignedInt"/>
      </type>
      <type>
        <code value="uri"/>
      </type>
      <type>
        <code value="Address"/>
      </type>
      <type>
        <code value="Age"/>
      </type>
      <type>
        <code value="Annotation"/>
      </type>
      <type>
        <code value="Attachment"/>
      </type>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <type>
        <code value="Coding"/>
      </type>
      <type>
        <code value="ContactPoint"/>
      </type>
      <type>
        <code value="Count"/>
      </type>
      <type>
        <code value="Distance"/>
      </type>
      <type>
        <code value="Duration"/>
      </type>
      <type>
        <code value="HumanName"/>
      </type>
      <type>
        <code value="Identifier"/>
      </type>
      <type>
        <code value="Money"/>
      </type>
      <type>
        <code value="Period"/>
      </type>
      <type>
        <code value="Quantity"/>
      </type>
      <type>
        <code value="Range"/>
      </type>
      <type>
        <code value="Ratio"/>
      </type>
      <type>
        <code value="Reference"/>
      </type>
      <type>
        <code value="SampledData"/>
      </type>
      <type>
        <code value="Signature"/>
      </type>
      <type>
        <code value="Timing"/>
      </type>
      <type>
        <code value="Meta"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Patient.extension:legalStatus">
      <path value="Patient.extension"/>
      <sliceName value="legalStatus"/>
      <short value="legalStatus"/>
      <definition
                  value="The legal situation that applies to the patient during the intervention. The code of the legal status is based on the Vektis/AZR code list COD232-VEKT Legal Status."/>
      <comment
               value="The concept LegalStatus of the HCIM FreedomRestrictingMeasures plays an important role in the context of mental healthcare (GGZ). This concept will become an independent HCIM with the next release of HCIM (2018 release).  

The LegalStatus concept and associated ValueSet will be split in two concepts: legal status and representative. These concepts are currently captured in one ValueSet. It is possible to have a legal status AND a representative. Therefore, we allow this extension to have a cardinality of 0..2."/>
      <min value="0"/>
      <max value="2"/>
      <base>
        <path value="DomainResource.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
        <profile
                 value="http://nictiz.nl/fhir/StructureDefinition/zib-patient-legalstatus"/>
      </type>
      <condition value="ele-1"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <mapping>
        <identity value="hcim-freedomrestrictingmeasures-v3.1-2017EN"/>
        <map value="NL-CM:14.3.2"/>
        <comment value="LegalStatus"/>
      </mapping>
    </element>
    <element id="Patient.extension:legalStatus.id">
      <path value="Patient.extension.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.extension:legalStatus.extension">
      <path value="Patient.extension.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.extension:legalStatus.url">
      <path value="Patient.extension.url"/>
      <representation value="xmlAttr"/>
      <short value="identifies the meaning of the extension"/>
      <definition
                  value="Source of the definition for the extension code - a logical name or a URL."/>
      <comment
               value="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Extension.url"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <fixedUri
                value="http://nictiz.nl/fhir/StructureDefinition/zib-patient-legalstatus"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Patient.extension:legalStatus.value[x]">
      <path value="Patient.extension.value[x]"/>
      <slicing>
        <discriminator>
          <type value="type"/>
          <path value="$this"/>
        </discriminator>
        <ordered value="false"/>
        <rules value="closed"/>
      </slicing>
      <short value="Value of extension"/>
      <definition
                  value="Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Extension.value[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="Patient.extension:legalStatus.value[x]:valueCodeableConcept">
      <path value="Patient.extension.value[x]"/>
      <sliceName value="valueCodeableConcept"/>
      <short value="LegalStatus"/>
      <definition
                  value="The legal situation that applies to the patient during the intervention. The code of the legal status is based on the Vektis/AZR code list COD232-VEKT Legal Status."/>
      <alias value="JuridischeStatus"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Extension.value[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>🔗 
          <reference
                     value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.14.3.2--20171231000000"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="Patient.extension:legalStatus.value[x]:valueCodeableConcept.id">
      <path value="Patient.extension.value[x].id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="Patient.extension:legalStatus.value[x]:valueCodeableConcept.extension">
      <path value="Patient.extension.value[x].extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="Patient.extension:legalStatus.value[x]:valueCodeableConcept.coding">
      <path value="Patient.extension.value[x].coding"/>
      <short value="Code defined by a terminology system"/>
      <definition
                  value="A reference to a code defined by a terminology system."/>
      <comment
               value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
      <requirements
                    value="Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="CodeableConcept.coding"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="C*E.1-8, C*E.10-22"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="union(., ./translation)"/>
      </mapping>
      <mapping>
        <identity value="orim"/>
        <map
             value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
      </mapping>
    </element>
    <element
             id="Patient.extension:legalStatus.value[x]:valueCodeableConcept.coding.id">
      <path value="Patient.extension.value[x].coding.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="Patient.extension:legalStatus.value[x]:valueCodeableConcept.coding.extension">
      <path value="Patient.extension.value[x].coding.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="Patient.extension:legalStatus.value[x]:valueCodeableConcept.coding.system">
      <path value="Patient.extension.value[x].coding.system"/>
      <short value="Identity of the terminology system"/>
      <definition
                  value="The identification of the code system that defines the meaning of the symbol in the code."/>
      <comment
               value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously."/>
      <requirements
                    value="Need to be unambiguous about the source of the definition of the symbol."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Coding.system"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="C*E.3"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="./codeSystem"/>
      </mapping>
      <mapping>
        <identity value="orim"/>
        <map
             value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
      </mapping>
    </element>
    <element
             id="Patient.extension:legalStatus.value[x]:valueCodeableConcept.coding.version">
      <path value="Patient.extension.value[x].coding.version"/>
      <short value="Version of the system - if relevant"/>
      <definition
                  value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
      <comment
               value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Coding.version"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="C*E.7"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="./codeSystemVersion"/>
      </mapping>
      <mapping>
        <identity value="orim"/>
        <map
             value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
      </mapping>
    </element>
    <element
             id="Patient.extension:legalStatus.value[x]:valueCodeableConcept.coding.code">
      <path value="Patient.extension.value[x].coding.code"/>
      <short value="Symbol in syntax defined by the system"/>
      <definition
                  value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
      <requirements
                    value="Need to refer to a particular code in the system."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Coding.code"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="C*E.1"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="./code"/>
      </mapping>
      <mapping>
        <identity value="orim"/>
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
      </mapping>
    </element>
    <element
             id="Patient.extension:legalStatus.value[x]:valueCodeableConcept.coding.display">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true"/>
      </extension>
      <path value="Patient.extension.value[x].coding.display"/>
      <short value="Representation defined by the system"/>
      <definition
                  value="A representation of the meaning of the code in the system, following the rules of the system."/>
      <requirements
                    value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Coding.display"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="C*E.2 - but note this is not well followed"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="CV.displayName"/>
      </mapping>
      <mapping>
        <identity value="orim"/>
        <map
             value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
      </mapping>
    </element>
    <element
             id="Patient.extension:legalStatus.value[x]:valueCodeableConcept.coding.userSelected">
      <path value="Patient.extension.value[x].coding.userSelected"/>
      <short value="If this coding was chosen directly by the user"/>
      <definition
                  value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)."/>
      <comment
               value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
      <requirements
                    value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Coding.userSelected"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="Sometimes implied by being first"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="CD.codingRationale"/>
      </mapping>
      <mapping>
        <identity value="orim"/>
        <map
             value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
      </mapping>
    </element>
    <element
             id="Patient.extension:legalStatus.value[x]:valueCodeableConcept.text">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true"/>
      </extension>
      <path value="Patient.extension.value[x].text"/>
      <short value="Plain text representation of the concept"/>
      <definition
                  value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user."/>
      <comment
               value="Very often the text is the same as a displayName of one of the codings."/>
      <requirements
                    value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CodeableConcept.text"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="C*E.9. But note many systems use C*E.2 for this"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map
             value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
      </mapping>
      <mapping>
        <identity value="orim"/>
        <map
             value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
      </mapping>
    </element>
    <element id="Patient.extension:lifeStance">
      <path value="Patient.extension"/>
      <sliceName value="lifeStance"/>
      <short value="Optional Extensions Element"/>
      <definition
                  value="Optional Extension Element - found in all resources."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DomainResource.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
        <profile
                 value="http://nictiz.nl/fhir/StructureDefinition/zib-LifeStance"/>
      </type>
      <condition value="ele-1"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Patient.extension:lifeStance.id">
      <path value="Patient.extension.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.extension:lifeStance.extension">
      <path value="Patient.extension.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.extension:lifeStance.url">
      <path value="Patient.extension.url"/>
      <representation value="xmlAttr"/>
      <short value="identifies the meaning of the extension"/>
      <definition
                  value="Source of the definition for the extension code - a logical name or a URL."/>
      <comment
               value="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Extension.url"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <fixedUri
                value="http://nictiz.nl/fhir/StructureDefinition/zib-LifeStance"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Patient.extension:lifeStance.value[x]">
      <path value="Patient.extension.value[x]"/>
      <slicing>
        <discriminator>
          <type value="type"/>
          <path value="$this"/>
        </discriminator>
        <ordered value="false"/>
        <rules value="closed"/>
      </slicing>
      <short value="Value of extension"/>
      <definition
                  value="Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Extension.value[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Patient.extension:lifeStance.value[x]:valueCodeableConcept">
      <path value="Patient.extension.value[x]"/>
      <sliceName value="valueCodeableConcept"/>
      <short value="LifeStance"/>
      <definition value="Patient’s life stance and/or religion."/>
      <alias value="Levensovertuiging"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Extension.value[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="preferred"/>
        <description value="LevensovertuigingCodelijst"/>
        <valueSetReference>🔗 
          <reference
                     value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.7.5.1--20171231000000"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="hcim-lifestance-v3.1-2017EN"/>
        <map value="NL-CM:7.5.2"/>
        <comment value="LifeStance"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="Patient.extension:lifeStance.value[x]:valueCodeableConcept.id">
      <path value="Patient.extension.value[x].id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="Patient.extension:lifeStance.value[x]:valueCodeableConcept.extension">
      <path value="Patient.extension.value[x].extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="Patient.extension:lifeStance.value[x]:valueCodeableConcept.coding">
      <path value="Patient.extension.value[x].coding"/>
      <short value="Code defined by a terminology system"/>
      <definition
                  value="A reference to a code defined by a terminology system."/>
      <comment
               value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
      <requirements
                    value="Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="CodeableConcept.coding"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="C*E.1-8, C*E.10-22"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="union(., ./translation)"/>
      </mapping>
      <mapping>
        <identity value="orim"/>
        <map
             value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
      </mapping>
    </element>
    <element
             id="Patient.extension:lifeStance.value[x]:valueCodeableConcept.coding.id">
      <path value="Patient.extension.value[x].coding.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="Patient.extension:lifeStance.value[x]:valueCodeableConcept.coding.extension">
      <path value="Patient.extension.value[x].coding.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="Patient.extension:lifeStance.value[x]:valueCodeableConcept.coding.system">
      <path value="Patient.extension.value[x].coding.system"/>
      <short value="Identity of the terminology system"/>
      <definition
                  value="The identification of the code system that defines the meaning of the symbol in the code."/>
      <comment
               value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously."/>
      <requirements
                    value="Need to be unambiguous about the source of the definition of the symbol."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Coding.system"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="C*E.3"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="./codeSystem"/>
      </mapping>
      <mapping>
        <identity value="orim"/>
        <map
             value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
      </mapping>
    </element>
    <element
             id="Patient.extension:lifeStance.value[x]:valueCodeableConcept.coding.version">
      <path value="Patient.extension.value[x].coding.version"/>
      <short value="Version of the system - if relevant"/>
      <definition
                  value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
      <comment
               value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Coding.version"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="C*E.7"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="./codeSystemVersion"/>
      </mapping>
      <mapping>
        <identity value="orim"/>
        <map
             value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
      </mapping>
    </element>
    <element
             id="Patient.extension:lifeStance.value[x]:valueCodeableConcept.coding.code">
      <path value="Patient.extension.value[x].coding.code"/>
      <short value="Symbol in syntax defined by the system"/>
      <definition
                  value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
      <requirements
                    value="Need to refer to a particular code in the system."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Coding.code"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="C*E.1"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="./code"/>
      </mapping>
      <mapping>
        <identity value="orim"/>
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
      </mapping>
    </element>
    <element
             id="Patient.extension:lifeStance.value[x]:valueCodeableConcept.coding.display">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true"/>
      </extension>
      <path value="Patient.extension.value[x].coding.display"/>
      <short value="Representation defined by the system"/>
      <definition
                  value="A representation of the meaning of the code in the system, following the rules of the system."/>
      <requirements
                    value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Coding.display"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="C*E.2 - but note this is not well followed"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="CV.displayName"/>
      </mapping>
      <mapping>
        <identity value="orim"/>
        <map
             value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
      </mapping>
    </element>
    <element
             id="Patient.extension:lifeStance.value[x]:valueCodeableConcept.coding.userSelected">
      <path value="Patient.extension.value[x].coding.userSelected"/>
      <short value="If this coding was chosen directly by the user"/>
      <definition
                  value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)."/>
      <comment
               value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
      <requirements
                    value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Coding.userSelected"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="Sometimes implied by being first"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="CD.codingRationale"/>
      </mapping>
      <mapping>
        <identity value="orim"/>
        <map
             value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
      </mapping>
    </element>
    <element
             id="Patient.extension:lifeStance.value[x]:valueCodeableConcept.text">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true"/>
      </extension>
      <path value="Patient.extension.value[x].text"/>
      <short value="Plain text representation of the concept"/>
      <definition
                  value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user."/>
      <comment
               value="Very often the text is the same as a displayName of one of the codings."/>
      <requirements
                    value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CodeableConcept.text"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="C*E.9. But note many systems use C*E.2 for this"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map
             value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
      </mapping>
      <mapping>
        <identity value="orim"/>
        <map
             value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
      </mapping>
    </element>
    <element id="Patient.modifierExtension">
      <path value="Patient.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DomainResource.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Patient.identifier">
      <path value="Patient.identifier"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="system"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
      <short value="PatientIdentificationNumber"/>
      <definition
                  value="The Burgerservicenummer or BSN, as one of the possible patient identification numbers, should at least be sent unless there is a reason not to. Reasons for not sending the burgerservicenummer include but are not limited to, research and apps without a contract for processing data (Dutch: bewerkingsovereenkomst)."/>
      <requirements
                    value="Patients are almost always assigned specific numerical identifiers."/>
      <alias value="Identificatienummer"/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="Patient.identifier"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="hcim-patient-v2.0.1-2015EN"/>
        <map value="NL-CM:0.1.7"/>
        <comment value="PatientIdentificationNumber"/>
      </mapping>
      <mapping>
        <identity value="hcim-patient-v3.0-2016EN"/>
        <map value="NL-CM:0.1.7"/>
        <comment value="PatientIdentificationNumber"/>
      </mapping>
      <mapping>
        <identity value="hcim-patient-v3.1-2017EN"/>
        <map value="NL-CM:0.1.7"/>
        <comment value="PatientIdentificationNumber"/>
      </mapping>
      <mapping>
        <identity value="hcim-basicelements-v1.0-2017EN"/>
        <map value="NL-CM:0.0.6"/>
        <comment value="IdentificationNumber"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="PID-3"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="id"/>
      </mapping>
      <mapping>
        <identity value="cda"/>
        <map value=".id"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="id"/>
      </mapping>
    </element>
    <element id="Patient.identifier:BSN">
      <path value="Patient.identifier"/>
      <sliceName value="BSN"/>
      <short value="BSN"/>
      <definition value="An identifier for this patient."/>
      <requirements
                    value="Patients are almost always assigned specific numerical identifiers."/>
      <alias value="BSN"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Patient.identifier"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="PID-3"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="id"/>
      </mapping>
      <mapping>
        <identity value="cda"/>
        <map value=".id"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="id"/>
      </mapping>
    </element>
    <element id="Patient.identifier:BSN.id">
      <path value="Patient.identifier.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.identifier:BSN.extension">
      <path value="Patient.identifier.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.identifier:BSN.use">
      <path value="Patient.identifier.use"/>
      <short value="usual | official | temp | secondary (If known)"/>
      <definition value="The purpose of this identifier."/>
      <comment
               value="This is labeled as &quot;Is Modifier&quot; because applications should not mistake a temporary id for a permanent one. Applications can assume that an identifier is permanent unless it explicitly says that it is temporary."/>
      <requirements
                    value="Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Identifier.use"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="IdentifierUse"/>
        </extension>
        <strength value="required"/>
        <description
                     value="Identifies the purpose for this identifier, if known ."/>
        <valueSetReference>🔗 
          <reference value="http://hl7.org/fhir/ValueSet/identifier-use"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2"/>
        <map value="N/A"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="Role.code or implied by context"/>
      </mapping>
    </element>
    <element id="Patient.identifier:BSN.type">
      <path value="Patient.identifier.type"/>
      <short value="Description of identifier"/>
      <definition
                  value="A coded type for the identifier that can be used to determine which identifier to use for a specific purpose."/>
      <comment
               value="This element deals only with general categories of identifiers.  It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. 

Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type."/>
      <requirements
                    value="Allows users to make use of identifiers when the identifier system is not known."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Identifier.type"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="IdentifierType"/>
        </extension>
        <strength value="extensible"/>
        <description
                     value="A coded type for an identifier that can be used to determine which identifier to use for a specific purpose."/>
        <valueSetReference>🔗 
          <reference value="http://hl7.org/fhir/ValueSet/identifier-type"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2"/>
        <map value="CX.5"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="Role.code or implied by context"/>
      </mapping>
    </element>
    <element id="Patient.identifier:BSN.system">
      <path value="Patient.identifier.system"/>
      <short value="The namespace for the identifier value"/>
      <definition
                  value="Establishes the namespace for the value - that is, a URL that describes a set values that are unique."/>
      <requirements
                    value="There are many sets  of identifiers.  To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Identifier.system"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <fixedUri value="http://fhir.nl/fhir/NamingSystem/bsn"/>
      <example>
        <label value="General"/>
        <valueUri value="http://www.acme.com/identifiers/patient"/>
      </example>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="CX.4 / EI-2-4"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="II.root or Role.id.root"/>
      </mapping>
      <mapping>
        <identity value="servd"/>
        <map value="./IdentifierType"/>
      </mapping>
    </element>
    <element id="Patient.identifier:BSN.value">
      <path value="Patient.identifier.value"/>
      <short
             value="BSN (Burgerservicenummer (Dutch person identification number))"/>
      <definition
                  value="Burgerservicenummer is the Dutch person identification number which is also allowed for use in healthcare."/>
      <comment
               value="The official format according to the 'Logisch Ontwerp BSN 1.4.pdf' is N8..9 and SHALL conform to an 11-proof algorithm. In order to check if the number is 11-proof the number, if N8, SHALL be prefixed with a leading zero. The expected format in FHIR is N9 with leading zero applied to any N8 bsn."/>
      <alias value="BSN"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Identifier.value"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <example>
        <label value="General"/>
        <valueString value="123456"/>
      </example>
      <example>
        <label value="Example of a burgerservicenummer"/>
        <valueString value="123456782"/>
      </example>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="CX.1 / EI.1"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map
             value="II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)"/>
      </mapping>
      <mapping>
        <identity value="servd"/>
        <map value="./Value"/>
      </mapping>
    </element>
    <element id="Patient.identifier:BSN.period">
      <path value="Patient.identifier.period"/>
      <short value="Time period when id is/was valid for use"/>
      <definition
                  value="Time period during which identifier is/was valid for use."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Identifier.period"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Period"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="CX.7 + CX.8"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="Role.effectiveTime or implied by context"/>
      </mapping>
      <mapping>
        <identity value="servd"/>
        <map value="./StartDate and ./EndDate"/>
      </mapping>
    </element>
    <element id="Patient.identifier:BSN.assigner">
      <path value="Patient.identifier.assigner"/>
      <short value="Organization that issued id (may be just text)"/>
      <definition value="Organization that issued/manages the identifier."/>
      <comment
               value="The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Identifier.assigner"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/Organization"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="CX.4 / (CX.4,CX.9,CX.10)"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map
             value="II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper"/>
      </mapping>
      <mapping>
        <identity value="servd"/>
        <map value="./IdentifierIssuingAuthority"/>
      </mapping>
    </element>
    <element id="Patient.active">
      <path value="Patient.active"/>
      <short value="Whether this patient's record is in active use"/>
      <definition
                  value="This field determines the status of the 'patient' record in the context of the organization that owns the record. Note that the record is not the medical record, but rather the actual patient 'resource'. Obviously when the patient 'resource' is not active, then by extension his medical record might also be inactive. Patient.active='false' may be used discourage use of the record, but that it is kept beause there is (medical) data attached to it. Another use case is a patient moving to a different GP practice. Patient.active would be 'false' in the system of the previous GP."/>
      <comment
               value="Default is true. If a record is inactive, and linked to an active record, then future patient/record updates should occur on the other patient

This element is labeled as a modifier because when the patient record is marked as not active it is not expected to be used/referenced without being changed back to active."/>
      <requirements
                    value="Need to be able to mark a patient record as not to be used because it was created in error."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Patient.active"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
      <defaultValueBoolean value="true"/>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="statusCode"/>
      </mapping>
      <mapping>
        <identity value="cda"/>
        <map value="n/a"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="status"/>
      </mapping>
    </element>
    <element id="Patient.name">
      <path value="Patient.name"/>
      <short value="NameInformation"/>
      <definition
                  value="A human's name with the ability to identify parts and usage."/>
      <comment
               value="Dutch names require that certain name parts are separately communicable. For this reason, extensions are added onto the base HumanName element to mark the meaning of each part. A Dutch HumanName is still a proper FHIR HumanName; however, there might be an incompatibilty with the default FHIR mechanism for communicating given names. See the compatibility note below for more information.

The extension elements cover birth name (NL: eigennaam / geslachtsnaam) and partner/spouse name. Both may have a prefix (NL: voorvoegsel). When a person marries, he or she may keep their own name, assume the partner name, append the partner name to their own name, or the other way around.

**Incompatibility note**: It has come to light that this specification deviates from the way that the HumanName datatype is normally used. This will be fixed in a future release. However, current implementations should be aware of the special considerations regarding the use of this specification. 

The issue at hand is the way alternative representations of a name, like initials or a nickname, are communicated. Normally this is done using multiple HumanName instances, which are differentiated using the `.use` element. However, this specification allows for including all alternative representations in the _same_ HumanName instance, with the expectation that the extensions provide enough information for receiving systems to differentiate them. However, this means that contrary to the normal usage of this datatype, repetitions of `.given` names cannot be concatenated to get the full list of given names; the list might be a mix of full names, nicknames and initials.

Since multiple implementations are based on this specification, sending systems are advised (but not required) to keep the approach with one HumanName instance, while receiving systems should be able to handle this one-instance approach. More specifically:

* Sending and receiving systems SHOULD always use the specified extensions when using this datatype.
* Sending systems are encouraged to populate the `.text` element to unambigiously communicate the person's name.
* Sending systems are encouraged to send either the full given names or the initials, but not both. This alleviates the duplication of names in `.given`.
* When a sending system uses the current one-instance approach for communicating multiple representations, `.use` MAY NOT be populated. After all, it is not possible to select a single `.use` when the instance contains different representations.
* When a receiving system interprets the instance as the single-instance-multiple-representations approach, the `.given` names marked as initials SHOULD be interpreted as alternatives to the full given names. Note the underlying HCIM expects both the _list_ of full names and _list_ of initials to be a single string; there's no match for an initial to a full name. The instance SHOULD be regarded as using this approach when:
  * They encounter a single instance
  * And the `.use` element is absent
  * And all the name parts are differentiated using the specified extensions
* In any other circumstance, receiving systems SHOULD interpret the usage as the normal use.

Example: miss Irma Jongeneel marries mister de Haas and assumes the name Irma Jongeneel-de Haas:

* `.family` = &quot;Jongeneel-de Haas&quot;
* `.given` = &quot;Irma&quot; (with `.given:iso21090EnQualifier` = _BR_)
* `.family:humannameOwnName` = &quot;Jongeneel&quot;
* `.family:humannamePartnerPrefix` = &quot;de &quot;
* `.family:humannamePartnerName` = &quot;Haas&quot;"/>
      <requirements
                    value="Need to be able to track the patient by multiple names. Examples are your official name and a partner name."/>
      <alias value="Naamgegevens"/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="Patient.name"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="HumanName"/>
        <profile
                 value="http://fhir.nl/fhir/StructureDefinition/nl-core-humanname"/>
      </type>
      <example>
        <label value="Structured HumanName (preferred above unstructured)"/>
        <valueHumanName>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/humanname-assembly-order">
            <valueCode value="NL4"/>
          </extension>
          <text value="Irma Jongeneel-de Haas"/>
          <family value="Jongeneel-de Haas">
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/humanname-own-name">
              <valueString value="Jongeneel"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix">
              <valueString value="de"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/humanname-partner-name">
              <valueString value="Haas"/>
            </extension>
          </family>
          <given value="Irma">
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier">
              <valueCode value="CL"/>
            </extension>
          </given>
        </valueHumanName>
      </example>
      <example>
        <label value="Unstructured HumanName"/>
        <valueHumanName>
          <text value="Irma Jongeneel-de Haas"/>
        </valueHumanName>
      </example>
      <condition value="ele-1"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="nl-core-humanname-1"/>
        <severity value="error"/>
        <human
               value="if you specify a prefix for an own name then an own name is also expected"/>
        <expression
                    value="name.family.extension('http://hl7.org/fhir/StructureDefinition/humanname-own-prefix').empty().not() implies name.family.extension('http://hl7.org/fhir/StructureDefinition/humanname-own-name').empty().not()"/>
        <xpath
               value="not(f:extension[@url='http://hl7.org/fhir/StructureDefinition/humanname-own-prefix']) or f:extension[@url='http://hl7.org/fhir/StructureDefinition/humanname-own-name']"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Patient"/>
      </constraint>
      <constraint>
        <key value="nl-core-humanname-2"/>
        <severity value="error"/>
        <human
               value="if you specify a voorvoegsel for a partner name then a partner name is also expected"/>
        <expression
                    value="name.family.extension('http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix').empty().not() implies name.family.extension('http://hl7.org/fhir/StructureDefinition/humanname-partner-name').empty().not()"/>
        <xpath
               value="not(f:extension[@url='http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix']) or f:extension[@url='http://hl7.org/fhir/StructureDefinition/humanname-partner-name']"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Patient"/>
      </constraint>
      <constraint>
        <key value="zv-pat-1"/>
        <severity value="error"/>
        <human
               value="Either Patient.name.given and/or Patient.name.family and/or Patient.name.text SHALL be present."/>
        <expression
                    value="(family.exists() or given.exists() or text.exists())"/>
        <xpath value="/f:name/f:family or /f:name/f:given or /f:name/f:text"/>
      </constraint>
      <constraint>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice">
          <valueBoolean value="true"/>
        </extension>
        <key value="zv-pat-2"/>
        <severity value="warning"/>
        <human
               value="To be usable for a wide range of internationally available applications, the Patient.name.text SHOULD be present."/>
        <expression value="text.exists()"/>
        <xpath value="/f:name/f:text"/>
      </constraint>
      <mustSupport value="true"/>
      <mapping>
        <identity value="hcim-patient-v2.0.1-2015EN"/>
        <map value="NL-CM:0.1.6"/>
        <comment value="NameInformation"/>
      </mapping>
      <mapping>
        <identity value="hcim-patient-v3.0-2016EN"/>
        <map value="NL-CM:0.1.6"/>
        <comment value="NameInformation"/>
      </mapping>
      <mapping>
        <identity value="hcim-patient-v3.1-2017EN"/>
        <map value="NL-CM:0.1.6"/>
        <comment value="NameInformation"/>
      </mapping>
      <mapping>
        <identity value="hcim-payer-v1.2-2015EN"/>
        <map value="NL-CM:1.1.5"/>
        <comment value="PayerName"/>
      </mapping>
      <mapping>
        <identity value="hcim-payer-v3.0-2016EN"/>
        <map value="NL-CM:1.1.5"/>
        <comment value="PayerName"/>
      </mapping>
      <mapping>
        <identity value="hcim-payer-v3.1-2017EN"/>
        <map value="NL-CM:1.1.5"/>
        <comment value="PayerName"/>
      </mapping>
      <mapping>
        <identity value="hcim-nameinformation-v2.0.1-2015EN"/>
        <map value="NL-CM:0.1.6"/>
        <comment value="NameInformation"/>
      </mapping>
      <mapping>
        <identity value="hcim-nameinformation-v3.0-2016EN"/>
        <map value="NL-CM:0.1.6"/>
        <comment value="NameInformation"/>
      </mapping>
      <mapping>
        <identity value="hcim-nameinformation-v1.0.1-2017EN"/>
        <map value="NL-CM:20.4.1"/>
        <comment value="NameInformation"/>
      </mapping>
      <mapping>
        <identity value="BRP"/>
        <map value="02"/>
        <comment value="Naam"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="XPN"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="EN (actually, PN)"/>
      </mapping>
      <mapping>
        <identity value="servd"/>
        <map value="ProviderName"/>
      </mapping>
    </element>
    <element id="Patient.name.id">
      <path value="Patient.name.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.name.extension">
      <path value="Patient.name.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Extension"/>
      <definition value="An Extension"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
    </element>
    <element id="Patient.name.extension:humannameAssemblyOrder">
      <path value="Patient.name.extension"/>
      <sliceName value="humannameAssemblyOrder"/>
      <short value="Preferred display order of name parts"/>
      <definition
                  value="A code that represents the preferred display order of the components of this human name."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
        <profile
                 value="http://hl7.org/fhir/StructureDefinition/humanname-assembly-order"/>
      </type>
    </element>
    <element id="Patient.name.extension:humannameAssemblyOrder.id">
      <path value="Patient.name.extension.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.name.extension:humannameAssemblyOrder.extension">
      <path value="Patient.name.extension.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.name.extension:humannameAssemblyOrder.url">
      <path value="Patient.name.extension.url"/>
      <representation value="xmlAttr"/>
      <short value="identifies the meaning of the extension"/>
      <definition
                  value="Source of the definition for the extension code - a logical name or a URL."/>
      <comment
               value="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Extension.url"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <fixedUri
                value="http://hl7.org/fhir/StructureDefinition/humanname-assembly-order"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="Patient.name.extension:humannameAssemblyOrder.valueCode:valueCode">
      <path value="Patient.name.extension.valueCode"/>
      <sliceName value="valueCode"/>
      <short value="Value of extension"/>
      <definition
                  value="Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Extension.value[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="HumanNameAssemblyOrder"/>
        </extension>
        <strength value="required"/>
        <description
                     value="A code that represents the preferred display order of the components of a human name"/>
        <valueSetReference>🔗 
          <reference
                     value="http://hl7.org/fhir/ValueSet/name-assembly-order"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Patient.name.use">
      <path value="Patient.name.use"/>
      <short
             value="usual | official | temp | nickname | anonymous | old | maiden"/>
      <definition value="Identifies the purpose for this name."/>
      <comment
               value="This is labeled as &quot;Is Modifier&quot; because applications should not mistake a temporary or old name etc.for a current/permanent one. Applications can assume that a name is current unless it explicitly says that it is temporary or old."/>
      <requirements
                    value="Allows the appropriate name for a particular context of use to be selected from among a set of names."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="HumanName.use"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="NameUse"/>
        </extension>
        <strength value="required"/>
        <description value="The use of a human name"/>
        <valueSetReference>🔗 
          <reference value="http://hl7.org/fhir/ValueSet/name-use"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2"/>
        <map
             value="XPN.7, but often indicated by which field contains the name"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="unique(./use)"/>
      </mapping>
      <mapping>
        <identity value="servd"/>
        <map value="./NamePurpose"/>
      </mapping>
    </element>
    <element id="Patient.name.text">
      <path value="Patient.name.text"/>
      <short value="Text representation of the full name"/>
      <definition value="A full text representation of the name."/>
      <comment
               value="Can provide both a text representation and structured parts."/>
      <requirements value="A renderable, unencoded form."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="HumanName.text"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="hcim-payer-v1.2-2015EN"/>
        <map value="NL-CM:1.1.5"/>
        <comment value="PayerName"/>
      </mapping>
      <mapping>
        <identity value="hcim-payer-v3.0-2016EN"/>
        <map value="NL-CM:1.1.5"/>
        <comment value="PayerName"/>
      </mapping>
      <mapping>
        <identity value="hcim-payer-v3.1-2017EN"/>
        <map value="NL-CM:1.1.5"/>
        <comment value="PayerName"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="implied by XPN.11"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="./formatted"/>
      </mapping>
    </element>
    <element id="Patient.name.family">
      <path value="Patient.name.family"/>
      <short value="Surname"/>
      <definition
                  value="The part of a name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father."/>
      <comment
               value="Family Name may be decomposed into specific parts using extensions (de, nl, es related cultures)."/>
      <alias value="surname"/>
      <alias value="Achternaam"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="HumanName.family"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="XPN.1/FN.1"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="./part[partType = FAM]"/>
      </mapping>
      <mapping>
        <identity value="servd"/>
        <map value="./FamilyName"/>
      </mapping>
    </element>
    <element id="Patient.name.family.id">
      <path value="Patient.name.family.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references)"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="Patient.name.family.extension">
      <path value="Patient.name.family.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
      <short value="Extension"/>
      <definition value="An Extension"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
    </element>
    <element id="Patient.name.family.extension:humannameOwnPrefix">
      <path value="Patient.name.family.extension"/>
      <sliceName value="humannameOwnPrefix"/>
      <short value="PrefixOwnName"/>
      <definition
                  value="The prefix portion (e.g. voorvoegsel) inclusive of the space between the prefix and the surname, if applicable, of the family name that is derived from the person's own surname, as distinguished from any portion that is derived from the surname of the person's partner or spouse."/>
      <comment
               value="An example of a voorvoegsel is the &quot;van&quot; in &quot;Ludwig van Beethoven&quot;. Since the voorvoegsel doesn't sort completely alphabetically, it is reasonable to specify it as a separate sub-component."/>
      <alias value="VoorvoegselGeslachtsnaam"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
        <profile
                 value="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"/>
      </type>
      <condition value="ele-1"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <mapping>
        <identity value="hcim-nameinformation-v2.0.1-2015EN"/>
        <map value="NL-CM:0.1.38"/>
        <comment value="Prefix"/>
      </mapping>
      <mapping>
        <identity value="hcim-nameinformation-v3.0-2016EN"/>
        <map value="NL-CM:0.1.38"/>
        <comment value="Prefix"/>
      </mapping>
      <mapping>
        <identity value="hcim-nameinformation-v1.0.1-2017EN"/>
        <map value="NL-CM:20.4.11"/>
        <comment value="Prefix"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="FN.2"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="ENXP where Qualifiers = (VV, R)"/>
      </mapping>
    </element>
    <element id="Patient.name.family.extension:humannameOwnPrefix.id">
      <path value="Patient.name.family.extension.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.name.family.extension:humannameOwnPrefix.extension">
      <path value="Patient.name.family.extension.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.name.family.extension:humannameOwnPrefix.url">
      <path value="Patient.name.family.extension.url"/>
      <representation value="xmlAttr"/>
      <short value="identifies the meaning of the extension"/>
      <definition
                  value="Source of the definition for the extension code - a logical name or a URL."/>
      <comment
               value="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Extension.url"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <fixedUri
                value="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="Patient.name.family.extension:humannameOwnPrefix.valueString:valueString">
      <path value="Patient.name.family.extension.valueString"/>
      <sliceName value="valueString"/>
      <short value="Value of extension"/>
      <definition
                  value="Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Extension.value[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Patient.name.family.extension:humannameOwnName">
      <path value="Patient.name.family.extension"/>
      <sliceName value="humannameOwnName"/>
      <short value="OwnName"/>
      <definition value="The person’s official last name."/>
      <comment
               value="The portion of the family name that is derived from the person's own surname, as distinguished from any portion that is derived from the surname of the person's partner or spouse. If the person's surname has legally changed to become (or incorporate) the surname of the person's partner or spouse, this is the person's surname immediately prior to such change. Often this is the person's &quot;maiden name&quot;."/>
      <alias value="Geslachtsnaam"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
        <profile
                 value="http://hl7.org/fhir/StructureDefinition/humanname-own-name"/>
      </type>
      <condition value="ele-1"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <mapping>
        <identity value="hcim-nameinformation-v2.0.1-2015EN"/>
        <map value="NL-CM:0.1.24"/>
        <comment value="LastName"/>
      </mapping>
      <mapping>
        <identity value="hcim-nameinformation-v3.0-2016EN"/>
        <map value="NL-CM:0.1.24"/>
        <comment value="LastName"/>
      </mapping>
      <mapping>
        <identity value="hcim-nameinformation-v1.0.1-2017EN"/>
        <map value="NL-CM:20.4.10"/>
        <comment value="LastName"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="FN.3"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="ENXP where Qualifiers = (BR)"/>
      </mapping>
    </element>
    <element id="Patient.name.family.extension:humannameOwnName.id">
      <path value="Patient.name.family.extension.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.name.family.extension:humannameOwnName.extension">
      <path value="Patient.name.family.extension.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.name.family.extension:humannameOwnName.url">
      <path value="Patient.name.family.extension.url"/>
      <representation value="xmlAttr"/>
      <short value="identifies the meaning of the extension"/>
      <definition
                  value="Source of the definition for the extension code - a logical name or a URL."/>
      <comment
               value="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Extension.url"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <fixedUri
                value="http://hl7.org/fhir/StructureDefinition/humanname-own-name"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="Patient.name.family.extension:humannameOwnName.valueString:valueString">
      <path value="Patient.name.family.extension.valueString"/>
      <sliceName value="valueString"/>
      <short value="Value of extension"/>
      <definition
                  value="Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Extension.value[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Patient.name.family.extension:humannamePartnerPrefix">
      <path value="Patient.name.family.extension"/>
      <sliceName value="humannamePartnerPrefix"/>
      <short value="PrefixSurname"/>
      <definition
                  value="Voorvoegsel derived from person's partner's surname inclusive of the space between the prefix and the surname, if applicable."/>
      <comment
               value="An example of a voorvoegsel is the &quot;van&quot; in &quot;Ludwig van Beethoven&quot;. Since the voorvoegsel doesn't sort completely alphabetically, it is reasonable to identify it as a separate sub-component."/>
      <alias value="VoorvoegselGeslachtsnaamPartner"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
        <profile
                 value="http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix"/>
      </type>
      <condition value="ele-1"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <mapping>
        <identity value="hcim-nameinformation-v2.0.1-2015EN"/>
        <map value="NL-CM:0.1.39"/>
        <comment value="PartnerPrefix"/>
      </mapping>
      <mapping>
        <identity value="hcim-nameinformation-v3.0-2016EN"/>
        <map value="NL-CM:0.1.39"/>
        <comment value="PartnerPrefix"/>
      </mapping>
      <mapping>
        <identity value="hcim-nameinformation-v1.0.1-2017EN"/>
        <map value="NL-CM:20.4.9"/>
        <comment value="PartnerPrefix"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="FN.4"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="ENXP where Qualifiers = (VV, SP)"/>
      </mapping>
    </element>
    <element id="Patient.name.family.extension:humannamePartnerPrefix.id">
      <path value="Patient.name.family.extension.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="Patient.name.family.extension:humannamePartnerPrefix.extension">
      <path value="Patient.name.family.extension.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.name.family.extension:humannamePartnerPrefix.url">
      <path value="Patient.name.family.extension.url"/>
      <representation value="xmlAttr"/>
      <short value="identifies the meaning of the extension"/>
      <definition
                  value="Source of the definition for the extension code - a logical name or a URL."/>
      <comment
               value="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Extension.url"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <fixedUri
                value="http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="Patient.name.family.extension:humannamePartnerPrefix.valueString:valueString">
      <path value="Patient.name.family.extension.valueString"/>
      <sliceName value="valueString"/>
      <short value="Value of extension"/>
      <definition
                  value="Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Extension.value[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Patient.name.family.extension:humannamePartnerName">
      <path value="Patient.name.family.extension"/>
      <sliceName value="humannamePartnerName"/>
      <short value="LastNamePartner"/>
      <definition value="Partner’s official last name."/>
      <comment
               value="The portion of the family name that is derived from the person's partner's surname, as distinguished from any portion that is derived from the surname of the person's own name. If the person's surname has legally changed to become (or incorporate) the surname of the person's partner or spouse, this is the person's surname immediately prior to such change. Often this is the person's &quot;maiden name&quot;."/>
      <alias value="GeslachtsnaamPartner"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
        <profile
                 value="http://hl7.org/fhir/StructureDefinition/humanname-partner-name"/>
      </type>
      <condition value="ele-1"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <mapping>
        <identity value="hcim-nameinformation-v2.0.1-2015EN"/>
        <map value="NL-CM:0.1.25"/>
        <comment value="PartnerLastName"/>
      </mapping>
      <mapping>
        <identity value="hcim-nameinformation-v3.0-2016EN"/>
        <map value="NL-CM:0.1.25"/>
        <comment value="PartnerLastName"/>
      </mapping>
      <mapping>
        <identity value="hcim-nameinformation-v1.0.1-2017EN"/>
        <map value="NL-CM:20.4.8"/>
        <comment value="PartnerLastName"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="FN.5"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="ENXP where Qualifiers = (SP)"/>
      </mapping>
    </element>
    <element id="Patient.name.family.extension:humannamePartnerName.id">
      <path value="Patient.name.family.extension.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="Patient.name.family.extension:humannamePartnerName.extension">
      <path value="Patient.name.family.extension.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.name.family.extension:humannamePartnerName.url">
      <path value="Patient.name.family.extension.url"/>
      <representation value="xmlAttr"/>
      <short value="identifies the meaning of the extension"/>
      <definition
                  value="Source of the definition for the extension code - a logical name or a URL."/>
      <comment
               value="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Extension.url"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <fixedUri
                value="http://hl7.org/fhir/StructureDefinition/humanname-partner-name"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="Patient.name.family.extension:humannamePartnerName.valueString:valueString">
      <path value="Patient.name.family.extension.valueString"/>
      <sliceName value="valueString"/>
      <short value="Value of extension"/>
      <definition
                  value="Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Extension.value[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Patient.name.family.value">
      <path value="Patient.name.family.value"/>
      <representation value="xmlAttr"/>
      <short value="Primitive value for string"/>
      <definition value="The actual value"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="string.value"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type">
            <valueString value="string"/>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type">
            <valueString value="xsd:string"/>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type">
            <valueString value="xsd:string"/>
          </extension>
        </code>
      </type>
      <maxLength value="1048576"/>
    </element>
    <element id="Patient.name.given">
      <path value="Patient.name.given"/>
      <short value="Given"/>
      <definition
                  value="Note that in order to mark the type of a given name, the FHIR standard extension for ISO 21090 EN Qualifiers is to be used. Examples include call me name (Dutch: roepnaam) and initials. Each initial is expected to be delimited by a dot."/>
      <comment
               value="Note that in order to mark the type of a given name, the FHIR standard extension for ISO 21090 EN Qualifiers is to be used. Examples include call me name (Dutch: roepnaam) and initials. Each initial is expected to be delimited by a dot. To be conformant to the HCIM for NameInformation, at least the following qualifiers SHALL be supported: _BR_, _IN_ and _CL_. The qualifier _BR_ maps to the HCIM concept FirstNames, _IN_ maps to Initials and _CL_ to GivenName.

Please see the compatibility note on the containing element as well!"/>
      <alias value="first name"/>
      <alias value="middle name"/>
      <alias value="Voornamen"/>
      <alias value="Initialen"/>
      <alias value="Roepnaam"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="HumanName.given"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <orderMeaning
                    value="Given Names appear in the correct order for presenting the name"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="hcim-nameinformation-v2.0.1-2015EN"/>
        <map value="NL-CM:0.1.26"/>
        <comment value="FirstNames. Qualifier 'BR'"/>
      </mapping>
      <mapping>
        <identity value="hcim-nameinformation-v2.0.1-2015EN"/>
        <map value="NL-CM:0.1.35"/>
        <comment value="Initials. Qualifier 'IN'"/>
      </mapping>
      <mapping>
        <identity value="hcim-nameinformation-v2.0.1-2015EN"/>
        <map value="NL-CM:0.1.27"/>
        <comment value="GivenName. Qualifier 'CL'"/>
      </mapping>
      <mapping>
        <identity value="BRP"/>
        <map value="02.10"/>
        <comment value="Voornamen"/>
      </mapping>
      <mapping>
        <identity value="hcim-nameinformation-v3.0-2016EN"/>
        <map value="NL-CM:0.1.26"/>
        <comment value="FirstNames. Qualifier 'BR'"/>
      </mapping>
      <mapping>
        <identity value="hcim-nameinformation-v3.0-2016EN"/>
        <map value="NL-CM:0.1.35"/>
        <comment value="Initials. Qualifier 'IN'"/>
      </mapping>
      <mapping>
        <identity value="hcim-nameinformation-v3.0-2016EN"/>
        <map value="NL-CM:0.1.27"/>
        <comment value="GivenName. Qualifier 'CL'"/>
      </mapping>
      <mapping>
        <identity value="hcim-nameinformation-v1.0.1-2017EN"/>
        <map value="NL-CM:20.4.4"/>
        <comment value="FirstNames. Qualifier 'BR'"/>
      </mapping>
      <mapping>
        <identity value="hcim-nameinformation-v1.0.1-2017EN"/>
        <map value="NL-CM:20.4.5"/>
        <comment value="Initials. Qualifier 'IN'"/>
      </mapping>
      <mapping>
        <identity value="hcim-nameinformation-v1.0.1-2017EN"/>
        <map value="NL-CM:20.4.6"/>
        <comment value="GivenName. Qualifier 'CL'"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="XPN.2 + XPN.3"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="./part[partType = GIV]"/>
      </mapping>
      <mapping>
        <identity value="servd"/>
        <map value="./GivenNames"/>
      </mapping>
    </element>
    <element id="Patient.name.given.id">
      <path value="Patient.name.given.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references)"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="Patient.name.given.extension">
      <path value="Patient.name.given.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
      <short value="Extension"/>
      <definition value="An Extension"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
    </element>
    <element id="Patient.name.given.extension:iso21090EnQualifier">
      <path value="Patient.name.given.extension"/>
      <sliceName value="iso21090EnQualifier"/>
      <short
             value="LS | AC | NB | PR | HON | BR | AD | SP | MID | CL | IN | VV"/>
      <definition
                  value="A set of codes each of which specifies a certain subcategory of the name part in addition to the main name part type."/>
      <comment
               value="Used to indicate additional information about the name part and how it should be used."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
        <profile
                 value="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"/>
      </type>
      <condition value="ele-1"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="ENXP.qualifier"/>
      </mapping>
    </element>
    <element id="Patient.name.given.extension:iso21090EnQualifier.id">
      <path value="Patient.name.given.extension.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.name.given.extension:iso21090EnQualifier.extension">
      <path value="Patient.name.given.extension.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.name.given.extension:iso21090EnQualifier.url">
      <path value="Patient.name.given.extension.url"/>
      <representation value="xmlAttr"/>
      <short value="identifies the meaning of the extension"/>
      <definition
                  value="Source of the definition for the extension code - a logical name or a URL."/>
      <comment
               value="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Extension.url"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <fixedUri
                value="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="Patient.name.given.extension:iso21090EnQualifier.valueCode:valueCode">
      <path value="Patient.name.given.extension.valueCode"/>
      <sliceName value="valueCode"/>
      <short value="Value of extension"/>
      <definition
                  value="Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Extension.value[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="EntityNamePartQualifier"/>
        </extension>
        <strength value="required"/>
        <description
                     value="A set of codes each of which specifies a certain subcategory of the name part in addition to the main name part type"/>
        <valueSetReference>🔗 
          <reference
                     value="http://hl7.org/fhir/ValueSet/name-part-qualifier"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Patient.name.given.value">
      <path value="Patient.name.given.value"/>
      <representation value="xmlAttr"/>
      <short value="Primitive value for string"/>
      <definition value="The actual value"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="string.value"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type">
            <valueString value="string"/>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type">
            <valueString value="xsd:string"/>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type">
            <valueString value="xsd:string"/>
          </extension>
        </code>
      </type>
      <maxLength value="1048576"/>
    </element>
    <element id="Patient.name.prefix">
      <path value="Patient.name.prefix"/>
      <short value="Parts that come before the name"/>
      <definition
                  value="Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="HumanName.prefix"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <orderMeaning
                    value="Prefixes appear in the correct order for presenting the name"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="XPN.5"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="./part[partType = PFX]"/>
      </mapping>
      <mapping>
        <identity value="servd"/>
        <map value="./TitleCode"/>
      </mapping>
    </element>
    <element id="Patient.name.suffix">
      <path value="Patient.name.suffix"/>
      <short value="Parts that come after the name"/>
      <definition
                  value="Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="HumanName.suffix"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <orderMeaning
                    value="Suffixes appear in the correct order for presenting the name"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="XPN/4"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="./part[partType = SFX]"/>
      </mapping>
    </element>
    <element id="Patient.name.period">
      <path value="Patient.name.period"/>
      <short value="Time period when name was/is in use"/>
      <definition
                  value="Indicates the period of time when this name was valid for the named person."/>
      <requirements value="Allows names to be placed in historical context."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="HumanName.period"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Period"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="XPN.13 + XPN.14"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="./usablePeriod[type=&quot;IVL&lt;TS&gt;&quot;]"/>
      </mapping>
      <mapping>
        <identity value="servd"/>
        <map value="./StartDate and ./EndDate"/>
      </mapping>
    </element>
    <element id="Patient.telecom">
      <path value="Patient.telecom"/>
      <short value="ContactInformation"/>
      <definition
                  value="A contact detail for the individual. Note that there is no support for multiple use values like 'mobile business'."/>
      <comment
               value="A Patient may have multiple ways to be contacted with different uses or applicable periods.  May need to have options for contacting the person urgently and also to help with identification. The address may not go directly to the individual, but may reach another party that is able to proxy for the patient (i.e. home phone, or pet owner's phone)."/>
      <requirements
                    value="People have (primary) ways to contact them in some way such as phone, email."/>
      <alias value="Contactgegevens"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Patient.telecom"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="ContactPoint"/>
        <profile
                 value="http://fhir.nl/fhir/StructureDefinition/nl-core-contactpoint"/>
      </type>
      <example>
        <label
               value="Mobile business phone number. Note: the mobile nature stems from the number being an 06-* number."/>
        <valueContactPoint>
          <system value="phone"/>
          <value value="+31611234567"/>
          <use value="work"/>
        </valueContactPoint>
      </example>
      <example>
        <label
               value="Mobile phone number undetermined private/business. Note: the mobile nature stems from the number being an 06-* number."/>
        <valueContactPoint>
          <system value="phone"/>
          <value value="+31611234567"/>
          <use value="mobile"/>
        </valueContactPoint>
      </example>
      <example>
        <label value="Primary Home Land Line"/>
        <valueContactPoint>
          <extension
                     url="http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType">
            <valueCodeableConcept>
              <coding>
                <system
                        value="urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.22.1"/>
                <code value="LL"/>
                <display value="Land Line"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <system value="phone"/>
          <value value="..."/>
          <use value="home"/>
        </valueContactPoint>
      </example>
      <example>
        <label value="Temporary Land Line"/>
        <valueContactPoint>
          <extension
                     url="http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType">
            <valueCodeableConcept>
              <coding>
                <system
                        value="urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.22.1"/>
                <code value="LL"/>
                <display value="Land Line"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <system value="phone"/>
          <value value="..."/>
          <use value="temp"/>
        </valueContactPoint>
      </example>
      <example>
        <label value="Primary Work Land Line"/>
        <valueContactPoint>
          <extension
                     url="http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType">
            <valueCodeableConcept>
              <coding>
                <system
                        value="urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.22.1"/>
                <code value="LL"/>
                <display value="Land Line"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <system value="phone"/>
          <value value="..."/>
          <use value="work"/>
        </valueContactPoint>
      </example>
      <example>
        <label value="Primary Home Fax"/>
        <valueContactPoint>
          <extension
                     url="http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType">
            <valueCodeableConcept>
              <coding>
                <system
                        value="urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.22.1"/>
                <code value="FAX"/>
                <display value="Fax"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <system value="fax"/>
          <value value="..."/>
          <use value="home"/>
        </valueContactPoint>
      </example>
      <example>
        <label value="Temporary Fax"/>
        <valueContactPoint>
          <extension
                     url="http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType">
            <valueCodeableConcept>
              <coding>
                <system
                        value="urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.22.1"/>
                <code value="FAX"/>
                <display value="Fax"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <system value="fax"/>
          <value value="..."/>
          <use value="temp"/>
        </valueContactPoint>
      </example>
      <example>
        <label value="Primary Work Fax"/>
        <valueContactPoint>
          <extension
                     url="http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType">
            <valueCodeableConcept>
              <coding>
                <system
                        value="urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.22.1"/>
                <code value="FAX"/>
                <display value="Fax"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <system value="fax"/>
          <value value="..."/>
          <use value="work"/>
        </valueContactPoint>
      </example>
      <example>
        <label value="Primary Home Mobile Phone"/>
        <valueContactPoint>
          <extension
                     url="http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/v3/AddressUse"/>
                <code value="MC"/>
                <display value="Mobile Phone"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <system value="phone"/>
          <value value="..."/>
          <use value="home"/>
        </valueContactPoint>
      </example>
      <example>
        <label value="Temporary Mobile Phone"/>
        <valueContactPoint>
          <extension
                     url="http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/v3/AddressUse"/>
                <code value="MC"/>
                <display value="Mobile Phone"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <system value="phone"/>
          <value value="..."/>
          <use value="temp"/>
        </valueContactPoint>
      </example>
      <example>
        <label value="Primary Work Mobile Phone"/>
        <valueContactPoint>
          <extension
                     url="http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/v3/AddressUse"/>
                <code value="MC"/>
                <display value="Mobile Phone"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <system value="phone"/>
          <value value="..."/>
          <use value="work"/>
        </valueContactPoint>
      </example>
      <example>
        <label value="Primary Home Pager"/>
        <valueContactPoint>
          <extension
                     url="http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/v3/AddressUse"/>
                <code value="PG"/>
                <display value="Pager"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <system value="pager"/>
          <value value="..."/>
          <use value="home"/>
        </valueContactPoint>
      </example>
      <example>
        <label value="Temporary Pager"/>
        <valueContactPoint>
          <extension
                     url="http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/v3/AddressUse"/>
                <code value="PG"/>
                <display value="Pager"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <system value="pager"/>
          <value value="..."/>
          <use value="temp"/>
        </valueContactPoint>
      </example>
      <example>
        <label value="Primary Work Pager"/>
        <valueContactPoint>
          <extension
                     url="http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/v3/AddressUse"/>
                <code value="PG"/>
                <display value="Pager"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <system value="pager"/>
          <value value="..."/>
          <use value="work"/>
        </valueContactPoint>
      </example>
      <example>
        <label value="Private email address"/>
        <valueContactPoint>
          <system value="email"/>
          <value value="giesput@myweb.nl"/>
          <use value="home"/>
        </valueContactPoint>
      </example>
      <example>
        <label value="Work email address"/>
        <valueContactPoint>
          <system value="email"/>
          <value value="example@workplace.nl"/>
          <use value="work"/>
        </valueContactPoint>
      </example>
      <condition value="ele-1"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="cpt-2"/>
        <severity value="error"/>
        <human value="A system is required if a value is provided."/>
        <expression value="value.empty() or system.exists()"/>
        <xpath value="not(exists(f:value)) or exists(f:system)"/>
        <source value="http://hl7.org/fhir/StructureDefinition/ContactPoint"/>
      </constraint>
      <mapping>
        <identity value="hcim-patient-v2.0.1-2015EN"/>
        <map value="NL-CM:0.1.5"/>
        <comment value="ContactInformation"/>
      </mapping>
      <mapping>
        <identity value="hcim-patient-v3.0-2016EN"/>
        <map value="NL-CM:0.1.5"/>
        <comment value="ContactInformation"/>
      </mapping>
      <mapping>
        <identity value="hcim-patient-v3.1-2017EN"/>
        <map value="NL-CM:0.1.5"/>
        <comment value="ContactInformation"/>
      </mapping>
      <mapping>
        <identity value="hcim-payer-v1.2-2015EN"/>
        <map value="NL-CM:1.1.12"/>
        <comment value="TelephoneEmail::ContactInformation"/>
      </mapping>
      <mapping>
        <identity value="hcim-payer-v3.0-2016EN"/>
        <map value="NL-CM:1.1.12"/>
        <comment value="TelephoneEmail::ContactInformation"/>
      </mapping>
      <mapping>
        <identity value="hcim-payer-v3.1-2017EN"/>
        <map value="NL-CM:1.1.12"/>
        <comment value="ContactInformation"/>
      </mapping>
      <mapping>
        <identity value="hcim-contactinformation-v2.0.1-2015EN"/>
        <map value="NL-CM:0.1.5"/>
        <comment value="ContactInformation"/>
      </mapping>
      <mapping>
        <identity value="hcim-contactinformation-v3.0-2016EN"/>
        <map value="NL-CM:0.1.5"/>
        <comment value="ContactInformation"/>
      </mapping>
      <mapping>
        <identity value="hcim-contactinformation-v1.0-2017EN"/>
        <map value="NL-CM:20.6.1"/>
        <comment value="ContactInformation"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="XTN"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="TEL"/>
      </mapping>
      <mapping>
        <identity value="servd"/>
        <map value="ContactPoint"/>
      </mapping>
    </element>
    <element id="Patient.gender">
      <path value="Patient.gender"/>
      <short value="Gender"/>
      <definition
                  value="Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes."/>
      <comment
               value="The gender may not match the biological sex as determined by genetics, or the individual's preferred identification. Note that for both humans and particularly animals, there are other legitimate possibilities than M and F, though the vast majority of systems and contexts only support M and F.  Systems providing decision support or enforcing business rules should ideally do this on the basis of Observations dealing with the specific gender aspect of interest (anatomical, chromosonal, social, etc.)  However, because these observations are infrequently recorded, defaulting to the administrative gender is common practice.  Where such defaulting occurs, rule enforcement should allow for the variation between administrative and biological, chromosonal and other gender aspects.  For example, an alert about a hysterectomy on a male should be handled as a warning or overrideable error, not a &quot;hard&quot; error."/>
      <requirements
                    value="Needed for identification of the individual, in combination with (at least) name and birth date. Gender of individual drives many clinical processes."/>
      <alias value="Geslacht"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Patient.gender"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>🔗 
          <reference
                     value="http://hl7.org/fhir/ValueSet/administrative-gender"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="hcim-patient-v2.0.1-2015EN"/>
        <map value="NL-CM:0.1.9"/>
        <comment
                 value="Gender. Use FHIR Core ConceptMap for HCIM mapping: http://nictiz.nl/fhir/ConceptMap/GeslachtCodelijst-to-AdministrativeGender"/>
      </mapping>
      <mapping>
        <identity value="hcim-patient-v3.0-2016EN"/>
        <map value="NL-CM:0.1.9"/>
        <comment
                 value="Gender. Use FHIR Core ConceptMap for HCIM mapping: http://nictiz.nl/fhir/ConceptMap/GeslachtCodelijst-to-AdministrativeGender"/>
      </mapping>
      <mapping>
        <identity value="hcim-patient-v3.1-2017EN"/>
        <map value="NL-CM:0.1.9"/>
        <comment
                 value="Gender. Use FHIR Core ConceptMap for HCIM mapping: http://nictiz.nl/fhir/ConceptMap/GeslachtCodelijst-to-AdministrativeGender"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="PID-8"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map
             value="player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender"/>
      </mapping>
      <mapping>
        <identity value="cda"/>
        <map value=".patient.administrativeGenderCode"/>
      </mapping>
    </element>
    <element id="Patient.gender.id">
      <path value="Patient.gender.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references)"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="Patient.gender.extension">
      <path value="Patient.gender.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
      <short value="Extension"/>
      <definition value="An Extension"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
    </element>
    <element id="Patient.gender.extension:GeslachtCodelijst">
      <path value="Patient.gender.extension"/>
      <sliceName value="GeslachtCodelijst"/>
      <short value="Gender"/>
      <definition value="Patient’s administrative gender."/>
      <alias
             value="Bevat de specifieke code conform de zib, bij een FHIR-element die een verplichte koppeling heeft met een bepaalde FHIR waardelijst of een FHIR element die niet gecodeerd is gedefinieerd, terwijl de zib dit wel doet."/>
      <alias value="Geslacht"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
        <profile
                 value="http://nictiz.nl/fhir/StructureDefinition/code-specification"/>
      </type>
      <condition value="ele-1"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
    </element>
    <element id="Patient.gender.extension:GeslachtCodelijst.id">
      <path value="Patient.gender.extension.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.gender.extension:GeslachtCodelijst.extension">
      <path value="Patient.gender.extension.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.gender.extension:GeslachtCodelijst.url">
      <path value="Patient.gender.extension.url"/>
      <representation value="xmlAttr"/>
      <short value="identifies the meaning of the extension"/>
      <definition
                  value="Source of the definition for the extension code - a logical name or a URL."/>
      <comment
               value="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Extension.url"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <fixedUri
                value="http://nictiz.nl/fhir/StructureDefinition/code-specification"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Patient.gender.extension:GeslachtCodelijst.value[x]">
      <path value="Patient.gender.extension.value[x]"/>
      <slicing>
        <discriminator>
          <type value="type"/>
          <path value="$this"/>
        </discriminator>
        <ordered value="false"/>
        <rules value="closed"/>
      </slicing>
      <short value="Value of extension"/>
      <definition
                  value="Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Extension.value[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="Patient.gender.extension:GeslachtCodelijst.value[x]:valueCodeableConcept">
      <path value="Patient.gender.extension.value[x]"/>
      <sliceName value="valueCodeableConcept"/>
      <short value="Value of extension"/>
      <definition
                  value="Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Extension.value[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <description value="GeslachtCodelijst"/>
        <valueSetReference>🔗 
          <reference
                     value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.0.1.1--20171231000000"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Patient.gender.value">
      <path value="Patient.gender.value"/>
      <representation value="xmlAttr"/>
      <short value="Primitive value for code"/>
      <definition value="Primitive value for code"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="string.value"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/structuredefinition-regex">
          <valueString value="[^\s]+([\s]?[^\s]+)*"/>
        </extension>
        <code>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type">
            <valueString value="string"/>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type">
            <valueString value="xsd:token"/>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type">
            <valueString value="xsd:token"/>
          </extension>
        </code>
      </type>
    </element>
    <element id="Patient.birthDate">
      <path value="Patient.birthDate"/>
      <short
             value="Patients date of birth. The date of birth is mandatory for a patient. An incomplete date, e.g. only year or only year + month, is permitted."/>
      <definition value="The date of birth for the individual."/>
      <comment
               value="At least an estimated year should be provided as a guess if the real DOB is unknown  There is a standard extension &quot;patient-birthTime&quot; available that should be used where Time is required (such as in maternaty/infant care systems)."/>
      <requirements
                    value="Age of the individual drives many clinical processes."/>
      <alias value="Geboortedatum"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Patient.birthDate"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="date"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="hcim-patient-v2.0.1-2015EN"/>
        <map value="NL-CM:0.1.10"/>
        <comment value="DateOfBirth"/>
      </mapping>
      <mapping>
        <identity value="hcim-patient-v3.0-2016EN"/>
        <map value="NL-CM:0.1.10"/>
        <comment value="DateOfBirth"/>
      </mapping>
      <mapping>
        <identity value="hcim-patient-v3.1-2017EN"/>
        <map value="NL-CM:0.1.10"/>
        <comment value="DateOfBirth"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="PID-7"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map
             value="player[classCode=PSN|ANM and determinerCode=INSTANCE]/birthTime"/>
      </mapping>
      <mapping>
        <identity value="cda"/>
        <map value=".patient.birthTime"/>
      </mapping>
      <mapping>
        <identity value="loinc"/>
        <map value="21112-8"/>
      </mapping>
    </element>
    <element id="Patient.deceased[x]">
      <path value="Patient.deceased[x]"/>
      <short value="DeathIndicator/DateOfDeath"/>
      <definition value="Indicates if the individual is deceased or not."/>
      <comment
               value="If there's no value in the instance it means there is no statement on whether or not the individual is deceased. Most systems will interpret the absence of a value as a sign of the person being alive.

This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different."/>
      <requirements
                    value="The fact that a patient is deceased influences the clinical process. Also, in human communication and relation management it is necessary to know whether the person is alive."/>
      <alias value="Overlijdensindicator/DatumOverlijden"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Patient.deceased[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
      <type>
        <code value="dateTime"/>
      </type>
      <mustSupport value="true"/>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="hcim-patient-v2.0.1-2015EN"/>
        <map value="NL-CM:0.1.32"/>
        <comment value="DeathIndicator"/>
      </mapping>
      <mapping>
        <identity value="hcim-patient-v3.0-2016EN"/>
        <map value="NL-CM:0.1.32"/>
        <comment value="DeathIndicator"/>
      </mapping>
      <mapping>
        <identity value="hcim-patient-v3.1-2017EN"/>
        <map value="NL-CM:0.1.32"/>
        <comment value="DeathIndicator"/>
      </mapping>
      <mapping>
        <identity value="hcim-patient-v2.0.1-2015EN"/>
        <map value="NL-CM:0.1.33"/>
        <comment value="DateOfDeath"/>
      </mapping>
      <mapping>
        <identity value="hcim-patient-v3.0-2016EN"/>
        <map value="NL-CM:0.1.33"/>
        <comment value="DateOfDeath"/>
      </mapping>
      <mapping>
        <identity value="hcim-patient-v3.1-2017EN"/>
        <map value="NL-CM:0.1.33"/>
        <comment value="DateOfDeath"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="PID-30  (bool) and PID-29 (datetime)"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map
             value="player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedTime"/>
      </mapping>
      <mapping>
        <identity value="cda"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.address">
      <path value="Patient.address"/>
      <short value="AddressInformation"/>
      <definition
                  value="This datatype defines a common basis for expressing all addresses around the world, but adds extensions to express Dutch addresses specifically, according to the HCIM AddressInformation (v1.0, 2017). A Dutch Address still is a proper FHIR Address, which means that systems that cannot interpret the extensions will still be able to render and work with this datatype.

To have true compatibility an implementer SHOULD use the core Address parts as intended. To have addresses work for Dutch context, the implementer SHOULD in addition use the extension elements.

**Separate address parts**

The first addition is that Dutch addresses make certain address parts separately communicable. These parts are required for use in true Dutch systems when dealing with Dutch addresses, but may not have value for international systems when information gets sent abroad.

**Custom address types**

The second addition is that the HCIM defines its own ValueSet for address types, which can only be partially expressed using the FHIR Address datatype and requires a mapping to multiple elements. The table below explains how the HCIM concepts are mapped to the various FHIR elements (see the ConceptMaps &lt;http://nictiz.nl/fhir/ConceptMap/AdresSoortCodelijst-to-AddressUse&gt; and &lt;http://nictiz.nl/fhir/ConceptMap/AdresSoortCodelijst-to-AddressType&gt; as well). The HCIM code itself should also be included using the AddressType extension.

| HCIM                              |` .ext:AddressType` | `.ext:official` | `.use` | `.type`    |
|-----------------------------------|:------------------:|:---------------:|:------:|:----------:|
| Postal Address/Postadres          | _PST_              |                 |        | _postal_   |
| Primary Home/Officieel adres      | _HP_               | true            | _home_ |            |
| Visit Address/Woon-/verblijfadres | _PHYS_             |                 | _home_ | _physical_ |
| Temporary Address/Tijdelijk adres | _TMP_              |                 | _temp_ |            |
| Work Place/Werkadres              | _WP_               |                 | _work_ |            |
| Vacation Home/Vakantie adres      | _HV_               |                 | _temp_ |            |

 If Address.type is _both_ then this is to be understood as a dual purpose address (postal and physical). Systems that support importing it like this are encouraged to do so, otherwise they may need to import this as two separate addresses.

NOTE: FHIR core defines the AD-use extension to further specify the postal address type. However, the ValueSet used in that extension doesn't completely match the HCIM ValueSet. Therefore, a custom extension has been made. This doesn't preclude the use of the AD-use extension."/>
      <comment
               value="Note: address is for postal addresses, not physical locations."/>
      <requirements
                    value="May need to keep track of patient addresses for contacting, billing or reporting requirements and also to help with identification."/>
      <alias value="AdresInformatie"/>
      <alias value="Adresgegevens"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Patient.address"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Address"/>
        <profile
                 value="http://fhir.nl/fhir/StructureDefinition/nl-core-address"/>
      </type>
      <example>
        <label value="Example of a Vacation Home address"/>
        <valueAddress>
          <extension
                     url="http://nictiz.nl/fhir/StructureDefinition/zib-AddressInformation-AddressType">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/v3/AddressUse"/>
                <code value="HV"/>
                <display value="Vakantie adres"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <use value="temp"/>
          <line value="Binnenkant 12A Hoog">
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName">
              <valueString value="Binnenkant"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber">
              <valueString value="12"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix">
              <valueString value="A"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID">
              <valueString value="Hoog"/>
            </extension>
          </line>
          <city value="Amsterdam"/>
          <state value="NH"/>
          <postalCode value="1000AA"/>
          <country value="NLD"/>
        </valueAddress>
      </example>
      <example>
        <label value="Example of a Primary Home address"/>
        <valueAddress>
          <extension
                     url="http://nictiz.nl/fhir/StructureDefinition/zib-AddressInformation-AddressType">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/v3/AddressUse"/>
                <code value="HP"/>
                <display value="Officieel adres"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <extension
                     url="http://fhir.nl/fhir/StructureDefinition/nl-core-address-official">
            <valueBoolean value="true"/>
          </extension>
          <use value="home"/>
          <line value="Binnenkant to 10">
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName">
              <valueString value="Binnenkant"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator">
              <valueString value="to"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber">
              <valueString value="10"/>
            </extension>
          </line>
          <city value="Amsterdam"/>
          <state value="NH"/>
          <postalCode value="1001AA"/>
          <country value="NLD"/>
        </valueAddress>
      </example>
      <condition value="ele-1"/>
      <condition value="nl-streetname-if-official-and-other-line-parts"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="nl-streetname-if-official-and-other-line-parts"/>
        <requirements
                      value="This constraint checks conformance against the Dutch BRP constraints on address parts. However: when you only send postalCode + houseNumber which is enough for certain cases this may still be a valid address"/>
        <severity value="error"/>
        <human
               value="Address.streetName in an official address SHALL have a value if one of houseNumber|buildingNumberSuffix|additionalLocator has a value"/>
        <expression
                    value="(extension.where(url = 'http://fhir.nl/fhir/StructureDefinition/nl-core-address-official').where(value = true)).empty() or (line.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName').empty().not() and (line.extension.where(url='http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber').empty().not() or line.extension.where(url='http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix').empty().not() or line.extension.where(url='http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator').empty().not()))"/>
        <xpath
               value="not(.[f:extension[@url='http://fhir.nl/fhir/StructureDefinition/nl-core-address-official'][f:valueBoolean/@value='true']][f:line[empty(f:extension[@url='http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName'])][f:extension[@url=('http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber','http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix','http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator')]]])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Patient"/>
      </constraint>
      <mapping>
        <identity value="hcim-patient-v2.0.1-2015EN"/>
        <map value="NL-CM:0.1.4"/>
        <comment value="AddressInformation"/>
      </mapping>
      <mapping>
        <identity value="hcim-patient-v3.0-2016EN"/>
        <map value="NL-CM:0.1.4"/>
        <comment value="AddressInformation"/>
      </mapping>
      <mapping>
        <identity value="hcim-patient-v3.1-2017EN"/>
        <map value="NL-CM:0.1.4"/>
        <comment value="AddressInformation"/>
      </mapping>
      <mapping>
        <identity value="hcim-payer-v1.2-2015EN"/>
        <map value="NL-CM:1.1.17"/>
        <comment value="AddressInformation"/>
      </mapping>
      <mapping>
        <identity value="hcim-payer-v3.0-2016EN"/>
        <map value="NL-CM:1.1.17"/>
        <comment value="Address"/>
      </mapping>
      <mapping>
        <identity value="hcim-payer-v3.1-2017EN"/>
        <map value="NL-CM:1.1.17"/>
        <comment value="AddressInformation"/>
      </mapping>
      <mapping>
        <identity value="hcim-address-v2.0.1-2015EN"/>
        <map value="NL-CM:0.1.4"/>
        <comment value="AddressInformation"/>
      </mapping>
      <mapping>
        <identity value="hcim-addressinformation-v3.0-2016EN"/>
        <map value="NL-CM:0.1.4"/>
        <comment value="AddressInformation"/>
      </mapping>
      <mapping>
        <identity value="hcim-addressinformation-v1.0-2017EN"/>
        <map value="NL-CM:20.5.1"/>
        <comment value="AddressInformation"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="XAD"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="AD"/>
      </mapping>
      <mapping>
        <identity value="servd"/>
        <map value="Address"/>
      </mapping>
    </element>
    <element id="Patient.maritalStatus">
      <path value="Patient.maritalStatus"/>
      <short value="MaritalStatus"/>
      <definition
                  value="This field contains a patient's most recent marital (civil) status. A person’s marital status according to the terms and definition in the Dutch civil code."/>
      <requirements value="Most, if not all systems capture it."/>
      <alias value="BurgerlijkeStaat"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Patient.maritalStatus"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>🔗 
          <reference
                     value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.7.9.1--20171231000000"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="hcim-maritalstatus-v1.2.1-2015EN"/>
        <map value="NL-CM:7.9.2"/>
        <comment value="MaritalStatus"/>
      </mapping>
      <mapping>
        <identity value="hcim-maritalstatus-v3.0-2016EN"/>
        <map value="NL-CM:7.9.2"/>
        <comment value="MaritalStatus"/>
      </mapping>
      <mapping>
        <identity value="hcim-maritalstatus-v3.0-2017EN"/>
        <map value="NL-CM:7.9.2"/>
        <comment value="MaritalStatus"/>
      </mapping>
      <mapping>
        <identity value="hcim-familysituation-v1.0-2015EN"/>
        <map value="NL-CM:7.13.7"/>
        <comment value="FamilySituation"/>
      </mapping>
      <mapping>
        <identity value="hcim-familysituation-v3.0-2016EN"/>
        <map value="NL-CM:7.13.7"/>
        <comment value="FamilySituation"/>
      </mapping>
      <mapping>
        <identity value="hcim-familysituation-v3.0-2017EN"/>
        <map value="NL-CM:7.13.7"/>
        <comment value="FamilySituation"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="PID-16"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="player[classCode=PSN]/maritalStatusCode"/>
      </mapping>
      <mapping>
        <identity value="cda"/>
        <map value=".patient.maritalStatusCode"/>
      </mapping>
    </element>
    <element id="Patient.multipleBirth[x]">
      <path value="Patient.multipleBirth[x]"/>
      <short value="MultipleBirthIndicator"/>
      <definition
                  value="Indicates whether the patient is part of a multiple (bool) or indicates the actual birth order (integer)."/>
      <comment
               value="Where the valueInteger is provided, the number is the birth number in the sequence.
E.g. The middle birth in tripplets would be valueInteger=2 and the third born would have valueInteger=3
If a bool value was provided for this tripplets examle, then all 3 patient records would have valueBool=true (the ordering is not indicated)."/>
      <requirements
                    value="For disambiguation of multiple-birth children, especially relevant where the care provider doesn't meet the patient, such as labs."/>
      <alias value="Meerlingindicator"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Patient.multipleBirth[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
      <type>
        <code value="integer"/>
      </type>
      <mapping>
        <identity value="hcim-patient-v2.0.1-2015EN"/>
        <map value="NL-CM:0.1.31"/>
        <comment value="MultipleBirthIndicator"/>
      </mapping>
      <mapping>
        <identity value="hcim-patient-v3.0-2016EN"/>
        <map value="NL-CM:0.1.31"/>
        <comment value="MultipleBirthIndicator"/>
      </mapping>
      <mapping>
        <identity value="hcim-patient-v3.1-2017EN"/>
        <map value="NL-CM:0.1.31"/>
        <comment value="MultipleBirthIndicator"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="PID-24 (bool), PID-25 (integer)"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map
             value="player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthInd,  player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthOrderNumber"/>
      </mapping>
      <mapping>
        <identity value="cda"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.photo">
      <path value="Patient.photo"/>
      <short value="Image of the patient"/>
      <definition value="Image of the patient."/>
      <requirements
                    value="Many EHR systems have the capability to capture an image of the patient. Fits with newer social media usage too."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Patient.photo"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Attachment"/>
      </type>
      <mapping>
        <identity value="v2"/>
        <map value="OBX-5 - needs a profile"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map
             value="player[classCode=PSN|ANM and determinerCode=INSTANCE]/desc"/>
      </mapping>
      <mapping>
        <identity value="cda"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.contact">
      <path value="Patient.contact"/>
      <short value="ContactPerson"/>
      <definition
                  value="Contacts are related persons in some way, but not all related persons are contacts. The HCIM ContactPerson is designed to deal with both related persons and contacts. An HCIM ContactPerson who is a contact, is expected to have an NL-CM:3.1.2 Role primary contact ('Eerste relatie/contactpersoon') or secondary contact ('Tweede relatie/contactpersoon'). See Patient.contact.relationship in slice 'role'."/>
      <comment
               value="Contact covers all kinds of contact parties: family members, business contacts, guardians, caregivers. Not applicable to register pedigree and family ties beyond use of having contact."/>
      <requirements
                    value="Need to track people you can contact about the patient."/>
      <alias value="Contactpersoon"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Patient.contact"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="pat-1"/>
        <severity value="error"/>
        <human
               value="SHALL at least contain a contact's details or a reference to an organization"/>
        <expression
                    value="name.exists() or telecom.exists() or address.exists() or organization.exists()"/>
        <xpath
               value="exists(f:name) or exists(f:telecom) or exists(f:address) or exists(f:organization)"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Patient"/>
      </constraint>
      <mapping>
        <identity value="hcim-contactperson-v1.2-2015EN"/>
        <map value="NL-CM:3.1.1"/>
        <comment value="Contact"/>
      </mapping>
      <mapping>
        <identity value="hcim-contactperson-v3.0-2016EN"/>
        <map value="NL-CM:3.1.1"/>
        <comment value="Contact"/>
      </mapping>
      <mapping>
        <identity value="hcim-contactperson-v3.1-2017EN"/>
        <map value="NL-CM:3.1.1"/>
        <comment value="Contact"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map
             value="player[classCode=PSN|ANM and determinerCode=INSTANCE]/scopedRole[classCode=CON]"/>
      </mapping>
      <mapping>
        <identity value="cda"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.contact.id">
      <path value="Patient.contact.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.contact.extension">
      <path value="Patient.contact.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.contact.modifierExtension">
      <path value="Patient.contact.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Patient.contact.relationship">
      <path value="Patient.contact.relationship"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="$this"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
      <short value="The kind of relationship"/>
      <definition
                  value="The nature of the relationship between the patient and the contact person."/>
      <requirements
                    value="Used to determine which contact person is the most relevant to approach, depending on circumstances."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Patient.contact.relationship"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ContactRelationship"/>
        </extension>
        <strength value="extensible"/>
        <description
                     value="The nature of the relationship between a patient and a contact person for that patient."/>
        <valueSetReference>🔗 
          <reference value="http://hl7.org/fhir/ValueSet/v2-0131"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2"/>
        <map value="NK1-7, NK1-3"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="code"/>
      </mapping>
      <mapping>
        <identity value="cda"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.contact.relationship:relationship">
      <path value="Patient.contact.relationship"/>
      <sliceName value="relationship"/>
      <short value="Relationship"/>
      <definition
                  value="The nature of the relationship between the patient and the contact person."/>
      <requirements
                    value="Used to determine which contact person is the most relevant to approach, depending on circumstances."/>
      <alias value="Relatie"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Patient.contact.relationship"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>🔗 
          <reference
                     value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.3.1.1--20171231000000"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="hcim-contactperson-v1.2-2015EN"/>
        <map value="NL-CM:3.1.3"/>
        <comment value="Relationship"/>
      </mapping>
      <mapping>
        <identity value="hcim-contactperson-v3.0-2016EN"/>
        <map value="NL-CM:3.1.3"/>
        <comment value="Relationship"/>
      </mapping>
      <mapping>
        <identity value="hcim-contactperson-v3.1-2017EN"/>
        <map value="NL-CM:3.1.3"/>
        <comment value="Relationship"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="NK1-7, NK1-3"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="code"/>
      </mapping>
      <mapping>
        <identity value="cda"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.contact.relationship:role">
      <path value="Patient.contact.relationship"/>
      <sliceName value="role"/>
      <short value="Role"/>
      <definition
                  value="Expectation is to have at least one of primary contact ('Eerste relatie/contactpersoon') or secondary contact ('Tweede relatie/contactpersoon')"/>
      <requirements
                    value="Used to determine which contact person is the most relevant to approach, depending on circumstances."/>
      <alias value="Rol"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Patient.contact.relationship"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSetReference>🔗 
          <reference
                     value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.3.1.2--20171231000000"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="hcim-contactperson-v1.2-2015EN"/>
        <map value="NL-CM:3.1.2"/>
        <comment value="Role"/>
      </mapping>
      <mapping>
        <identity value="hcim-contactperson-v3.0-2016EN"/>
        <map value="NL-CM:3.1.2"/>
        <comment value="Role"/>
      </mapping>
      <mapping>
        <identity value="hcim-contactperson-v3.1-2017EN"/>
        <map value="NL-CM:3.1.2"/>
        <comment value="Role"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="NK1-7, NK1-3"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="code"/>
      </mapping>
      <mapping>
        <identity value="cda"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.contact.name">
      <path value="Patient.contact.name"/>
      <short value="NameInformation"/>
      <definition
                  value="A human's name with the ability to identify parts and usage."/>
      <comment
               value="Dutch names require that certain name parts are separately communicable. For this reason, extensions are added onto the base HumanName element to mark the meaning of each part. A Dutch HumanName is still a proper FHIR HumanName; however, there might be an incompatibilty with the default FHIR mechanism for communicating given names. See the compatibility note below for more information.

The extension elements cover birth name (NL: eigennaam / geslachtsnaam) and partner/spouse name. Both may have a prefix (NL: voorvoegsel). When a person marries, he or she may keep their own name, assume the partner name, append the partner name to their own name, or the other way around.

**Incompatibility note**: It has come to light that this specification deviates from the way that the HumanName datatype is normally used. This will be fixed in a future release. However, current implementations should be aware of the special considerations regarding the use of this specification. 

The issue at hand is the way alternative representations of a name, like initials or a nickname, are communicated. Normally this is done using multiple HumanName instances, which are differentiated using the `.use` element. However, this specification allows for including all alternative representations in the _same_ HumanName instance, with the expectation that the extensions provide enough information for receiving systems to differentiate them. However, this means that contrary to the normal usage of this datatype, repetitions of `.given` names cannot be concatenated to get the full list of given names; the list might be a mix of full names, nicknames and initials.

Since multiple implementations are based on this specification, sending systems are advised (but not required) to keep the approach with one HumanName instance, while receiving systems should be able to handle this one-instance approach. More specifically:

* Sending and receiving systems SHOULD always use the specified extensions when using this datatype.
* Sending systems are encouraged to populate the `.text` element to unambigiously communicate the person's name.
* Sending systems are encouraged to send either the full given names or the initials, but not both. This alleviates the duplication of names in `.given`.
* When a sending system uses the current one-instance approach for communicating multiple representations, `.use` MAY NOT be populated. After all, it is not possible to select a single `.use` when the instance contains different representations.
* When a receiving system interprets the instance as the single-instance-multiple-representations approach, the `.given` names marked as initials SHOULD be interpreted as alternatives to the full given names. Note the underlying HCIM expects both the _list_ of full names and _list_ of initials to be a single string; there's no match for an initial to a full name. The instance SHOULD be regarded as using this approach when:
  * They encounter a single instance
  * And the `.use` element is absent
  * And all the name parts are differentiated using the specified extensions
* In any other circumstance, receiving systems SHOULD interpret the usage as the normal use.

Example: miss Irma Jongeneel marries mister de Haas and assumes the name Irma Jongeneel-de Haas:

* `.family` = &quot;Jongeneel-de Haas&quot;
* `.given` = &quot;Irma&quot; (with `.given:iso21090EnQualifier` = _BR_)
* `.family:humannameOwnName` = &quot;Jongeneel&quot;
* `.family:humannamePartnerPrefix` = &quot;de &quot;
* `.family:humannamePartnerName` = &quot;Haas&quot;"/>
      <requirements
                    value="Contact persons need to be identified by name, but it is uncommon to need details about multiple other names for that contact person."/>
      <alias value="Naamgegevens"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Patient.contact.name"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="HumanName"/>
        <profile
                 value="http://fhir.nl/fhir/StructureDefinition/nl-core-humanname"/>
      </type>
      <example>
        <label value="Structured HumanName (preferred above unstructured)"/>
        <valueHumanName>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/humanname-assembly-order">
            <valueCode value="NL4"/>
          </extension>
          <text value="Irma Jongeneel-de Haas"/>
          <family value="Jongeneel-de Haas">
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/humanname-own-name">
              <valueString value="Jongeneel"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix">
              <valueString value="de"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/humanname-partner-name">
              <valueString value="Haas"/>
            </extension>
          </family>
          <given value="Irma">
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier">
              <valueCode value="CL"/>
            </extension>
          </given>
        </valueHumanName>
      </example>
      <example>
        <label value="Unstructured HumanName"/>
        <valueHumanName>
          <text value="Irma Jongeneel-de Haas"/>
        </valueHumanName>
      </example>
      <condition value="ele-1"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="nl-core-humanname-1"/>
        <severity value="error"/>
        <human
               value="if you specify a prefix for an own name then an own name is also expected"/>
        <expression
                    value="name.family.extension('http://hl7.org/fhir/StructureDefinition/humanname-own-prefix').empty().not() implies name.family.extension('http://hl7.org/fhir/StructureDefinition/humanname-own-name').empty().not()"/>
        <xpath
               value="not(f:extension[@url='http://hl7.org/fhir/StructureDefinition/humanname-own-prefix']) or f:extension[@url='http://hl7.org/fhir/StructureDefinition/humanname-own-name']"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Patient"/>
      </constraint>
      <constraint>
        <key value="nl-core-humanname-2"/>
        <severity value="error"/>
        <human
               value="if you specify a voorvoegsel for a partner name then a partner name is also expected"/>
        <expression
                    value="name.family.extension('http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix').empty().not() implies name.family.extension('http://hl7.org/fhir/StructureDefinition/humanname-partner-name').empty().not()"/>
        <xpath
               value="not(f:extension[@url='http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix']) or f:extension[@url='http://hl7.org/fhir/StructureDefinition/humanname-partner-name']"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Patient"/>
      </constraint>
      <mapping>
        <identity value="hcim-contactperson-v1.2-2015EN"/>
        <map value="NL-CM:3.1.4"/>
        <comment value="NameInformation"/>
      </mapping>
      <mapping>
        <identity value="hcim-contactperson-v3.0-2016EN"/>
        <map value="NL-CM:3.1.4"/>
        <comment value="NameInformation"/>
      </mapping>
      <mapping>
        <identity value="hcim-contactperson-v3.1-2017EN"/>
        <map value="NL-CM:3.1.4"/>
        <comment value="NameInformation"/>
      </mapping>
      <mapping>
        <identity value="hcim-nameinformation-v2.0.1-2015EN"/>
        <map value="NL-CM:0.1.6"/>
        <comment value="NameInformation"/>
      </mapping>
      <mapping>
        <identity value="hcim-nameinformation-v3.0-2016EN"/>
        <map value="NL-CM:0.1.6"/>
        <comment value="NameInformation"/>
      </mapping>
      <mapping>
        <identity value="hcim-nameinformation-v1.0.1-2017EN"/>
        <map value="NL-CM:20.4.1"/>
        <comment value="NameInformation"/>
      </mapping>
      <mapping>
        <identity value="BRP"/>
        <map value="02"/>
        <comment value="Naam"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="XPN"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="EN (actually, PN)"/>
      </mapping>
      <mapping>
        <identity value="servd"/>
        <map value="ProviderName"/>
      </mapping>
    </element>
    <element id="Patient.contact.name.id">
      <path value="Patient.contact.name.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.contact.name.extension">
      <path value="Patient.contact.name.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Extension"/>
      <definition value="An Extension"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
    </element>
    <element id="Patient.contact.name.extension:humannameAssemblyOrder">
      <path value="Patient.contact.name.extension"/>
      <sliceName value="humannameAssemblyOrder"/>
      <short value="Preferred display order of name parts"/>
      <definition
                  value="A code that represents the preferred display order of the components of this human name."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
        <profile
                 value="http://hl7.org/fhir/StructureDefinition/humanname-assembly-order"/>
      </type>
    </element>
    <element id="Patient.contact.name.extension:humannameAssemblyOrder.id">
      <path value="Patient.contact.name.extension.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="Patient.contact.name.extension:humannameAssemblyOrder.extension">
      <path value="Patient.contact.name.extension.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.contact.name.extension:humannameAssemblyOrder.url">
      <path value="Patient.contact.name.extension.url"/>
      <representation value="xmlAttr"/>
      <short value="identifies the meaning of the extension"/>
      <definition
                  value="Source of the definition for the extension code - a logical name or a URL."/>
      <comment
               value="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Extension.url"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <fixedUri
                value="http://hl7.org/fhir/StructureDefinition/humanname-assembly-order"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="Patient.contact.name.extension:humannameAssemblyOrder.valueCode:valueCode">
      <path value="Patient.contact.name.extension.valueCode"/>
      <sliceName value="valueCode"/>
      <short value="Value of extension"/>
      <definition
                  value="Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Extension.value[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="HumanNameAssemblyOrder"/>
        </extension>
        <strength value="required"/>
        <description
                     value="A code that represents the preferred display order of the components of a human name"/>
        <valueSetReference>🔗 
          <reference
                     value="http://hl7.org/fhir/ValueSet/name-assembly-order"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Patient.contact.name.use">
      <path value="Patient.contact.name.use"/>
      <short
             value="usual | official | temp | nickname | anonymous | old | maiden"/>
      <definition value="Identifies the purpose for this name."/>
      <comment
               value="This is labeled as &quot;Is Modifier&quot; because applications should not mistake a temporary or old name etc.for a current/permanent one. Applications can assume that a name is current unless it explicitly says that it is temporary or old."/>
      <requirements
                    value="Allows the appropriate name for a particular context of use to be selected from among a set of names."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="HumanName.use"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="NameUse"/>
        </extension>
        <strength value="required"/>
        <description value="The use of a human name"/>
        <valueSetReference>🔗 
          <reference value="http://hl7.org/fhir/ValueSet/name-use"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2"/>
        <map
             value="XPN.7, but often indicated by which field contains the name"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="unique(./use)"/>
      </mapping>
      <mapping>
        <identity value="servd"/>
        <map value="./NamePurpose"/>
      </mapping>
    </element>
    <element id="Patient.contact.name.text">
      <path value="Patient.contact.name.text"/>
      <short value="Text representation of the full name"/>
      <definition value="A full text representation of the name."/>
      <comment
               value="Can provide both a text representation and structured parts."/>
      <requirements value="A renderable, unencoded form."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="HumanName.text"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="hcim-payer-v1.2-2015EN"/>
        <map value="NL-CM:1.1.5"/>
        <comment value="PayerName"/>
      </mapping>
      <mapping>
        <identity value="hcim-payer-v3.0-2016EN"/>
        <map value="NL-CM:1.1.5"/>
        <comment value="PayerName"/>
      </mapping>
      <mapping>
        <identity value="hcim-payer-v3.1-2017EN"/>
        <map value="NL-CM:1.1.5"/>
        <comment value="PayerName"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="implied by XPN.11"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="./formatted"/>
      </mapping>
    </element>
    <element id="Patient.contact.name.family">
      <path value="Patient.contact.name.family"/>
      <short value="Surname"/>
      <definition
                  value="The part of a name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father."/>
      <comment
               value="Family Name may be decomposed into specific parts using extensions (de, nl, es related cultures)."/>
      <alias value="surname"/>
      <alias value="Achternaam"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="HumanName.family"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="XPN.1/FN.1"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="./part[partType = FAM]"/>
      </mapping>
      <mapping>
        <identity value="servd"/>
        <map value="./FamilyName"/>
      </mapping>
    </element>
    <element id="Patient.contact.name.family.id">
      <path value="Patient.contact.name.family.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references)"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="Patient.contact.name.family.extension">
      <path value="Patient.contact.name.family.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
      <short value="Extension"/>
      <definition value="An Extension"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
    </element>
    <element id="Patient.contact.name.family.extension:humannameOwnPrefix">
      <path value="Patient.contact.name.family.extension"/>
      <sliceName value="humannameOwnPrefix"/>
      <short value="PrefixOwnName"/>
      <definition
                  value="The prefix portion (e.g. voorvoegsel) inclusive of the space between the prefix and the surname, if applicable, of the family name that is derived from the person's own surname, as distinguished from any portion that is derived from the surname of the person's partner or spouse."/>
      <comment
               value="An example of a voorvoegsel is the &quot;van&quot; in &quot;Ludwig van Beethoven&quot;. Since the voorvoegsel doesn't sort completely alphabetically, it is reasonable to specify it as a separate sub-component."/>
      <alias value="VoorvoegselGeslachtsnaam"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
        <profile
                 value="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"/>
      </type>
      <condition value="ele-1"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <mapping>
        <identity value="hcim-nameinformation-v2.0.1-2015EN"/>
        <map value="NL-CM:0.1.38"/>
        <comment value="Prefix"/>
      </mapping>
      <mapping>
        <identity value="hcim-nameinformation-v3.0-2016EN"/>
        <map value="NL-CM:0.1.38"/>
        <comment value="Prefix"/>
      </mapping>
      <mapping>
        <identity value="hcim-nameinformation-v1.0.1-2017EN"/>
        <map value="NL-CM:20.4.11"/>
        <comment value="Prefix"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="FN.2"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="ENXP where Qualifiers = (VV, R)"/>
      </mapping>
    </element>
    <element
             id="Patient.contact.name.family.extension:humannameOwnPrefix.id">
      <path value="Patient.contact.name.family.extension.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="Patient.contact.name.family.extension:humannameOwnPrefix.extension">
      <path value="Patient.contact.name.family.extension.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="Patient.contact.name.family.extension:humannameOwnPrefix.url">
      <path value="Patient.contact.name.family.extension.url"/>
      <representation value="xmlAttr"/>
      <short value="identifies the meaning of the extension"/>
      <definition
                  value="Source of the definition for the extension code - a logical name or a URL."/>
      <comment
               value="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Extension.url"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <fixedUri
                value="http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="Patient.contact.name.family.extension:humannameOwnPrefix.valueString:valueString">
      <path value="Patient.contact.name.family.extension.valueString"/>
      <sliceName value="valueString"/>
      <short value="Value of extension"/>
      <definition
                  value="Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Extension.value[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Patient.contact.name.family.extension:humannameOwnName">
      <path value="Patient.contact.name.family.extension"/>
      <sliceName value="humannameOwnName"/>
      <short value="OwnName"/>
      <definition value="The person’s official last name."/>
      <comment
               value="The portion of the family name that is derived from the person's own surname, as distinguished from any portion that is derived from the surname of the person's partner or spouse. If the person's surname has legally changed to become (or incorporate) the surname of the person's partner or spouse, this is the person's surname immediately prior to such change. Often this is the person's &quot;maiden name&quot;."/>
      <alias value="Geslachtsnaam"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
        <profile
                 value="http://hl7.org/fhir/StructureDefinition/humanname-own-name"/>
      </type>
      <condition value="ele-1"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <mapping>
        <identity value="hcim-nameinformation-v2.0.1-2015EN"/>
        <map value="NL-CM:0.1.24"/>
        <comment value="LastName"/>
      </mapping>
      <mapping>
        <identity value="hcim-nameinformation-v3.0-2016EN"/>
        <map value="NL-CM:0.1.24"/>
        <comment value="LastName"/>
      </mapping>
      <mapping>
        <identity value="hcim-nameinformation-v1.0.1-2017EN"/>
        <map value="NL-CM:20.4.10"/>
        <comment value="LastName"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="FN.3"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="ENXP where Qualifiers = (BR)"/>
      </mapping>
    </element>
    <element id="Patient.contact.name.family.extension:humannameOwnName.id">
      <path value="Patient.contact.name.family.extension.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="Patient.contact.name.family.extension:humannameOwnName.extension">
      <path value="Patient.contact.name.family.extension.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.contact.name.family.extension:humannameOwnName.url">
      <path value="Patient.contact.name.family.extension.url"/>
      <representation value="xmlAttr"/>
      <short value="identifies the meaning of the extension"/>
      <definition
                  value="Source of the definition for the extension code - a logical name or a URL."/>
      <comment
               value="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Extension.url"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <fixedUri
                value="http://hl7.org/fhir/StructureDefinition/humanname-own-name"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="Patient.contact.name.family.extension:humannameOwnName.valueString:valueString">
      <path value="Patient.contact.name.family.extension.valueString"/>
      <sliceName value="valueString"/>
      <short value="Value of extension"/>
      <definition
                  value="Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Extension.value[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="Patient.contact.name.family.extension:humannamePartnerPrefix">
      <path value="Patient.contact.name.family.extension"/>
      <sliceName value="humannamePartnerPrefix"/>
      <short value="PrefixSurname"/>
      <definition
                  value="Voorvoegsel derived from person's partner's surname inclusive of the space between the prefix and the surname, if applicable."/>
      <comment
               value="An example of a voorvoegsel is the &quot;van&quot; in &quot;Ludwig van Beethoven&quot;. Since the voorvoegsel doesn't sort completely alphabetically, it is reasonable to identify it as a separate sub-component."/>
      <alias value="VoorvoegselGeslachtsnaamPartner"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
        <profile
                 value="http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix"/>
      </type>
      <condition value="ele-1"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <mapping>
        <identity value="hcim-nameinformation-v2.0.1-2015EN"/>
        <map value="NL-CM:0.1.39"/>
        <comment value="PartnerPrefix"/>
      </mapping>
      <mapping>
        <identity value="hcim-nameinformation-v3.0-2016EN"/>
        <map value="NL-CM:0.1.39"/>
        <comment value="PartnerPrefix"/>
      </mapping>
      <mapping>
        <identity value="hcim-nameinformation-v1.0.1-2017EN"/>
        <map value="NL-CM:20.4.9"/>
        <comment value="PartnerPrefix"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="FN.4"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="ENXP where Qualifiers = (VV, SP)"/>
      </mapping>
    </element>
    <element
             id="Patient.contact.name.family.extension:humannamePartnerPrefix.id">
      <path value="Patient.contact.name.family.extension.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="Patient.contact.name.family.extension:humannamePartnerPrefix.extension">
      <path value="Patient.contact.name.family.extension.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="Patient.contact.name.family.extension:humannamePartnerPrefix.url">
      <path value="Patient.contact.name.family.extension.url"/>
      <representation value="xmlAttr"/>
      <short value="identifies the meaning of the extension"/>
      <definition
                  value="Source of the definition for the extension code - a logical name or a URL."/>
      <comment
               value="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Extension.url"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <fixedUri
                value="http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="Patient.contact.name.family.extension:humannamePartnerPrefix.valueString:valueString">
      <path value="Patient.contact.name.family.extension.valueString"/>
      <sliceName value="valueString"/>
      <short value="Value of extension"/>
      <definition
                  value="Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Extension.value[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Patient.contact.name.family.extension:humannamePartnerName">
      <path value="Patient.contact.name.family.extension"/>
      <sliceName value="humannamePartnerName"/>
      <short value="LastNamePartner"/>
      <definition value="Partner’s official last name."/>
      <comment
               value="The portion of the family name that is derived from the person's partner's surname, as distinguished from any portion that is derived from the surname of the person's own name. If the person's surname has legally changed to become (or incorporate) the surname of the person's partner or spouse, this is the person's surname immediately prior to such change. Often this is the person's &quot;maiden name&quot;."/>
      <alias value="GeslachtsnaamPartner"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
        <profile
                 value="http://hl7.org/fhir/StructureDefinition/humanname-partner-name"/>
      </type>
      <condition value="ele-1"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <mapping>
        <identity value="hcim-nameinformation-v2.0.1-2015EN"/>
        <map value="NL-CM:0.1.25"/>
        <comment value="PartnerLastName"/>
      </mapping>
      <mapping>
        <identity value="hcim-nameinformation-v3.0-2016EN"/>
        <map value="NL-CM:0.1.25"/>
        <comment value="PartnerLastName"/>
      </mapping>
      <mapping>
        <identity value="hcim-nameinformation-v1.0.1-2017EN"/>
        <map value="NL-CM:20.4.8"/>
        <comment value="PartnerLastName"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="FN.5"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="ENXP where Qualifiers = (SP)"/>
      </mapping>
    </element>
    <element
             id="Patient.contact.name.family.extension:humannamePartnerName.id">
      <path value="Patient.contact.name.family.extension.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="Patient.contact.name.family.extension:humannamePartnerName.extension">
      <path value="Patient.contact.name.family.extension.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="Patient.contact.name.family.extension:humannamePartnerName.url">
      <path value="Patient.contact.name.family.extension.url"/>
      <representation value="xmlAttr"/>
      <short value="identifies the meaning of the extension"/>
      <definition
                  value="Source of the definition for the extension code - a logical name or a URL."/>
      <comment
               value="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Extension.url"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <fixedUri
                value="http://hl7.org/fhir/StructureDefinition/humanname-partner-name"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="Patient.contact.name.family.extension:humannamePartnerName.valueString:valueString">
      <path value="Patient.contact.name.family.extension.valueString"/>
      <sliceName value="valueString"/>
      <short value="Value of extension"/>
      <definition
                  value="Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Extension.value[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Patient.contact.name.family.value">
      <path value="Patient.contact.name.family.value"/>
      <representation value="xmlAttr"/>
      <short value="Primitive value for string"/>
      <definition value="The actual value"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="string.value"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type">
            <valueString value="string"/>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type">
            <valueString value="xsd:string"/>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type">
            <valueString value="xsd:string"/>
          </extension>
        </code>
      </type>
      <maxLength value="1048576"/>
    </element>
    <element id="Patient.contact.name.given">
      <path value="Patient.contact.name.given"/>
      <short value="Given"/>
      <definition
                  value="Note that in order to mark the type of a given name, the FHIR standard extension for ISO 21090 EN Qualifiers is to be used. Examples include call me name (Dutch: roepnaam) and initials. Each initial is expected to be delimited by a dot."/>
      <comment
               value="Note that in order to mark the type of a given name, the FHIR standard extension for ISO 21090 EN Qualifiers is to be used. Examples include call me name (Dutch: roepnaam) and initials. Each initial is expected to be delimited by a dot. To be conformant to the HCIM for NameInformation, at least the following qualifiers SHALL be supported: _BR_, _IN_ and _CL_. The qualifier _BR_ maps to the HCIM concept FirstNames, _IN_ maps to Initials and _CL_ to GivenName.

Please see the compatibility note on the containing element as well!"/>
      <alias value="first name"/>
      <alias value="middle name"/>
      <alias value="Voornamen"/>
      <alias value="Initialen"/>
      <alias value="Roepnaam"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="HumanName.given"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <orderMeaning
                    value="Given Names appear in the correct order for presenting the name"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="hcim-nameinformation-v2.0.1-2015EN"/>
        <map value="NL-CM:0.1.26"/>
        <comment value="FirstNames. Qualifier 'BR'"/>
      </mapping>
      <mapping>
        <identity value="hcim-nameinformation-v2.0.1-2015EN"/>
        <map value="NL-CM:0.1.35"/>
        <comment value="Initials. Qualifier 'IN'"/>
      </mapping>
      <mapping>
        <identity value="hcim-nameinformation-v2.0.1-2015EN"/>
        <map value="NL-CM:0.1.27"/>
        <comment value="GivenName. Qualifier 'CL'"/>
      </mapping>
      <mapping>
        <identity value="BRP"/>
        <map value="02.10"/>
        <comment value="Voornamen"/>
      </mapping>
      <mapping>
        <identity value="hcim-nameinformation-v3.0-2016EN"/>
        <map value="NL-CM:0.1.26"/>
        <comment value="FirstNames. Qualifier 'BR'"/>
      </mapping>
      <mapping>
        <identity value="hcim-nameinformation-v3.0-2016EN"/>
        <map value="NL-CM:0.1.35"/>
        <comment value="Initials. Qualifier 'IN'"/>
      </mapping>
      <mapping>
        <identity value="hcim-nameinformation-v3.0-2016EN"/>
        <map value="NL-CM:0.1.27"/>
        <comment value="GivenName. Qualifier 'CL'"/>
      </mapping>
      <mapping>
        <identity value="hcim-nameinformation-v1.0.1-2017EN"/>
        <map value="NL-CM:20.4.4"/>
        <comment value="FirstNames. Qualifier 'BR'"/>
      </mapping>
      <mapping>
        <identity value="hcim-nameinformation-v1.0.1-2017EN"/>
        <map value="NL-CM:20.4.5"/>
        <comment value="Initials. Qualifier 'IN'"/>
      </mapping>
      <mapping>
        <identity value="hcim-nameinformation-v1.0.1-2017EN"/>
        <map value="NL-CM:20.4.6"/>
        <comment value="GivenName. Qualifier 'CL'"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="XPN.2 + XPN.3"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="./part[partType = GIV]"/>
      </mapping>
      <mapping>
        <identity value="servd"/>
        <map value="./GivenNames"/>
      </mapping>
    </element>
    <element id="Patient.contact.name.given.id">
      <path value="Patient.contact.name.given.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references)"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="Patient.contact.name.given.extension">
      <path value="Patient.contact.name.given.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
      <short value="Extension"/>
      <definition value="An Extension"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
    </element>
    <element id="Patient.contact.name.given.extension:iso21090EnQualifier">
      <path value="Patient.contact.name.given.extension"/>
      <sliceName value="iso21090EnQualifier"/>
      <short
             value="LS | AC | NB | PR | HON | BR | AD | SP | MID | CL | IN | VV"/>
      <definition
                  value="A set of codes each of which specifies a certain subcategory of the name part in addition to the main name part type."/>
      <comment
               value="Used to indicate additional information about the name part and how it should be used."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
        <profile
                 value="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"/>
      </type>
      <condition value="ele-1"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="ENXP.qualifier"/>
      </mapping>
    </element>
    <element
             id="Patient.contact.name.given.extension:iso21090EnQualifier.id">
      <path value="Patient.contact.name.given.extension.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="Patient.contact.name.given.extension:iso21090EnQualifier.extension">
      <path value="Patient.contact.name.given.extension.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="Patient.contact.name.given.extension:iso21090EnQualifier.url">
      <path value="Patient.contact.name.given.extension.url"/>
      <representation value="xmlAttr"/>
      <short value="identifies the meaning of the extension"/>
      <definition
                  value="Source of the definition for the extension code - a logical name or a URL."/>
      <comment
               value="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Extension.url"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <fixedUri
                value="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="Patient.contact.name.given.extension:iso21090EnQualifier.valueCode:valueCode">
      <path value="Patient.contact.name.given.extension.valueCode"/>
      <sliceName value="valueCode"/>
      <short value="Value of extension"/>
      <definition
                  value="Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Extension.value[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="EntityNamePartQualifier"/>
        </extension>
        <strength value="required"/>
        <description
                     value="A set of codes each of which specifies a certain subcategory of the name part in addition to the main name part type"/>
        <valueSetReference>🔗 
          <reference
                     value="http://hl7.org/fhir/ValueSet/name-part-qualifier"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Patient.contact.name.given.value">
      <path value="Patient.contact.name.given.value"/>
      <representation value="xmlAttr"/>
      <short value="Primitive value for string"/>
      <definition value="The actual value"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="string.value"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type">
            <valueString value="string"/>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type">
            <valueString value="xsd:string"/>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type">
            <valueString value="xsd:string"/>
          </extension>
        </code>
      </type>
      <maxLength value="1048576"/>
    </element>
    <element id="Patient.contact.name.prefix">
      <path value="Patient.contact.name.prefix"/>
      <short value="Parts that come before the name"/>
      <definition
                  value="Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="HumanName.prefix"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <orderMeaning
                    value="Prefixes appear in the correct order for presenting the name"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="XPN.5"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="./part[partType = PFX]"/>
      </mapping>
      <mapping>
        <identity value="servd"/>
        <map value="./TitleCode"/>
      </mapping>
    </element>
    <element id="Patient.contact.name.suffix">
      <path value="Patient.contact.name.suffix"/>
      <short value="Parts that come after the name"/>
      <definition
                  value="Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="HumanName.suffix"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <orderMeaning
                    value="Suffixes appear in the correct order for presenting the name"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="XPN/4"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="./part[partType = SFX]"/>
      </mapping>
    </element>
    <element id="Patient.contact.name.period">
      <path value="Patient.contact.name.period"/>
      <short value="Time period when name was/is in use"/>
      <definition
                  value="Indicates the period of time when this name was valid for the named person."/>
      <requirements value="Allows names to be placed in historical context."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="HumanName.period"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Period"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="XPN.13 + XPN.14"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="./usablePeriod[type=&quot;IVL&lt;TS&gt;&quot;]"/>
      </mapping>
      <mapping>
        <identity value="servd"/>
        <map value="./StartDate and ./EndDate"/>
      </mapping>
    </element>
    <element id="Patient.contact.telecom">
      <path value="Patient.contact.telecom"/>
      <short value="ContactInformation"/>
      <definition
                  value="Contact information includes a person's telephone numbers and email addresses. This datatype defines a common basis for expressing all contact information around the world, but adds extensions to express Dutch contacts specifically, according to the HCIM ContactInformation (v1.0, 2017). A Dutch ContactPoint still is a proper FHIR ContactPoint, which means that systems that cannot interpret the extensions will still be able to render and work with this datatype. The table below explains how the HCIM concepts are mapped to the various FHIR elements. The HCIM code itself should also be included using the TelecomType extension.

| HCIM                                               | `.ext:TelecomType` | `.system` | `.use`   |
|----------------------------------------------------|:------------------:|:---------:|:--------:|
| Primary Home Land Line                             | _LL_               | _phone_   | _home_   |
| Temporary Land Line                                | _LL_               | _phone_   | _temp_   |
| Primary Work Land Line                             | _LL_               | _phone_   | _work_   |
|                                                    |                    |           |          |
| Primary Home Fax                                   | _FAX_              | _fax_     | _home_   |
| Temporary Fax                                      | _FAX_              | _fax_     | _temp_   |
| Primary Work Fax                                   | _FAX_              | _fax_     | _work_   |
|                                                    |                    |           |          |
| Primary Home Mobile Phone                          | _MC_               | _phone_   | _home_   |
| Temporary Mobile Phone                             | _MC_               | _phone_   | _temp_   |
| Primary Work Mobile Phone                          | _MC_               | _phone_   | _work_   |
|                                                    |                    |           |          |
| Primary Home Pager                                 | _PG_               | _pager_   | _home_   |
| Temporary Pager                                    | _PG_               | _pager_   | _temp_   |
| Primary Work Pager                                 | _PG_               | _pager_   | _work_   |
|                                                    |                    |           |          |
| Private email address                              |                    | _email_   | _home_   |
| Work email address                                 |                    | _email_   | _work_   |
|                                                    |                    |           |          |
| Mobile phone number undetermined private/business  |                    | _phone_   | _mobile_ |"/>
      <comment
               value="Telecommunication data details (phone/email) is physically modeled in the HCIM Patient, which is why the telecommunication mappings appear to be coming from the HCIM Patient instead of the HCIM ContactPerson"/>
      <requirements
                    value="People have (primary) ways to contact them in some way such as phone, email."/>
      <alias value="Contactgegevens"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Patient.contact.telecom"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="ContactPoint"/>
        <profile
                 value="http://fhir.nl/fhir/StructureDefinition/nl-core-contactpoint"/>
      </type>
      <example>
        <label
               value="Mobile business phone number. Note: the mobile nature stems from the number being an 06-* number."/>
        <valueContactPoint>
          <system value="phone"/>
          <value value="+31611234567"/>
          <use value="work"/>
        </valueContactPoint>
      </example>
      <example>
        <label
               value="Mobile phone number undetermined private/business. Note: the mobile nature stems from the number being an 06-* number."/>
        <valueContactPoint>
          <system value="phone"/>
          <value value="+31611234567"/>
          <use value="mobile"/>
        </valueContactPoint>
      </example>
      <example>
        <label value="Primary Home Land Line"/>
        <valueContactPoint>
          <extension
                     url="http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType">
            <valueCodeableConcept>
              <coding>
                <system
                        value="urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.22.1"/>
                <code value="LL"/>
                <display value="Land Line"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <system value="phone"/>
          <value value="..."/>
          <use value="home"/>
        </valueContactPoint>
      </example>
      <example>
        <label value="Temporary Land Line"/>
        <valueContactPoint>
          <extension
                     url="http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType">
            <valueCodeableConcept>
              <coding>
                <system
                        value="urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.22.1"/>
                <code value="LL"/>
                <display value="Land Line"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <system value="phone"/>
          <value value="..."/>
          <use value="temp"/>
        </valueContactPoint>
      </example>
      <example>
        <label value="Primary Work Land Line"/>
        <valueContactPoint>
          <extension
                     url="http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType">
            <valueCodeableConcept>
              <coding>
                <system
                        value="urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.22.1"/>
                <code value="LL"/>
                <display value="Land Line"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <system value="phone"/>
          <value value="..."/>
          <use value="work"/>
        </valueContactPoint>
      </example>
      <example>
        <label value="Primary Home Fax"/>
        <valueContactPoint>
          <extension
                     url="http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType">
            <valueCodeableConcept>
              <coding>
                <system
                        value="urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.22.1"/>
                <code value="FAX"/>
                <display value="Fax"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <system value="fax"/>
          <value value="..."/>
          <use value="home"/>
        </valueContactPoint>
      </example>
      <example>
        <label value="Temporary Fax"/>
        <valueContactPoint>
          <extension
                     url="http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType">
            <valueCodeableConcept>
              <coding>
                <system
                        value="urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.22.1"/>
                <code value="FAX"/>
                <display value="Fax"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <system value="fax"/>
          <value value="..."/>
          <use value="temp"/>
        </valueContactPoint>
      </example>
      <example>
        <label value="Primary Work Fax"/>
        <valueContactPoint>
          <extension
                     url="http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType">
            <valueCodeableConcept>
              <coding>
                <system
                        value="urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.22.1"/>
                <code value="FAX"/>
                <display value="Fax"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <system value="fax"/>
          <value value="..."/>
          <use value="work"/>
        </valueContactPoint>
      </example>
      <example>
        <label value="Primary Home Mobile Phone"/>
        <valueContactPoint>
          <extension
                     url="http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/v3/AddressUse"/>
                <code value="MC"/>
                <display value="Mobile Phone"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <system value="phone"/>
          <value value="..."/>
          <use value="home"/>
        </valueContactPoint>
      </example>
      <example>
        <label value="Temporary Mobile Phone"/>
        <valueContactPoint>
          <extension
                     url="http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/v3/AddressUse"/>
                <code value="MC"/>
                <display value="Mobile Phone"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <system value="phone"/>
          <value value="..."/>
          <use value="temp"/>
        </valueContactPoint>
      </example>
      <example>
        <label value="Primary Work Mobile Phone"/>
        <valueContactPoint>
          <extension
                     url="http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/v3/AddressUse"/>
                <code value="MC"/>
                <display value="Mobile Phone"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <system value="phone"/>
          <value value="..."/>
          <use value="work"/>
        </valueContactPoint>
      </example>
      <example>
        <label value="Primary Home Pager"/>
        <valueContactPoint>
          <extension
                     url="http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/v3/AddressUse"/>
                <code value="PG"/>
                <display value="Pager"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <system value="pager"/>
          <value value="..."/>
          <use value="home"/>
        </valueContactPoint>
      </example>
      <example>
        <label value="Temporary Pager"/>
        <valueContactPoint>
          <extension
                     url="http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/v3/AddressUse"/>
                <code value="PG"/>
                <display value="Pager"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <system value="pager"/>
          <value value="..."/>
          <use value="temp"/>
        </valueContactPoint>
      </example>
      <example>
        <label value="Primary Work Pager"/>
        <valueContactPoint>
          <extension
                     url="http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/v3/AddressUse"/>
                <code value="PG"/>
                <display value="Pager"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <system value="pager"/>
          <value value="..."/>
          <use value="work"/>
        </valueContactPoint>
      </example>
      <example>
        <label value="Private email address"/>
        <valueContactPoint>
          <system value="email"/>
          <value value="giesput@myweb.nl"/>
          <use value="home"/>
        </valueContactPoint>
      </example>
      <example>
        <label value="Work email address"/>
        <valueContactPoint>
          <system value="email"/>
          <value value="example@workplace.nl"/>
          <use value="work"/>
        </valueContactPoint>
      </example>
      <condition value="ele-1"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="cpt-2"/>
        <severity value="error"/>
        <human value="A system is required if a value is provided."/>
        <expression value="value.empty() or system.exists()"/>
        <xpath value="not(exists(f:value)) or exists(f:system)"/>
        <source value="http://hl7.org/fhir/StructureDefinition/ContactPoint"/>
      </constraint>
      <mapping>
        <identity value="hcim-contactperson-v1.2-2015EN"/>
        <map value="NL-CM:3.1.6"/>
        <comment value="TelephoneEmail::ContactInformation"/>
      </mapping>
      <mapping>
        <identity value="hcim-contactperson-v3.0-2016EN"/>
        <map value="NL-CM:3.1.6"/>
        <comment value="TelephoneEmail::ContactInformation"/>
      </mapping>
      <mapping>
        <identity value="hcim-contactperson-v3.1-2017EN"/>
        <map value="NL-CM:3.1.6"/>
        <comment value="ContactInformation"/>
      </mapping>
      <mapping>
        <identity value="hcim-contactinformation-v2.0.1-2015EN"/>
        <map value="NL-CM:0.1.5"/>
        <comment value="ContactInformation"/>
      </mapping>
      <mapping>
        <identity value="hcim-contactinformation-v3.0-2016EN"/>
        <map value="NL-CM:0.1.5"/>
        <comment value="ContactInformation"/>
      </mapping>
      <mapping>
        <identity value="hcim-contactinformation-v1.0-2017EN"/>
        <map value="NL-CM:20.6.1"/>
        <comment value="ContactInformation"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="XTN"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="TEL"/>
      </mapping>
      <mapping>
        <identity value="servd"/>
        <map value="ContactPoint"/>
      </mapping>
    </element>
    <element id="Patient.contact.address">
      <path value="Patient.contact.address"/>
      <short value="AddressInformation"/>
      <definition
                  value="This datatype defines a common basis for expressing all addresses around the world, but adds extensions to express Dutch addresses specifically, according to the HCIM AddressInformation (v1.0, 2017). A Dutch Address still is a proper FHIR Address, which means that systems that cannot interpret the extensions will still be able to render and work with this datatype.

To have true compatibility an implementer SHOULD use the core Address parts as intended. To have addresses work for Dutch context, the implementer SHOULD in addition use the extension elements.

**Separate address parts**

The first addition is that Dutch addresses make certain address parts separately communicable. These parts are required for use in true Dutch systems when dealing with Dutch addresses, but may not have value for international systems when information gets sent abroad.

**Custom address types**

The second addition is that the HCIM defines its own ValueSet for address types, which can only be partially expressed using the FHIR Address datatype and requires a mapping to multiple elements. The table below explains how the HCIM concepts are mapped to the various FHIR elements (see the ConceptMaps &lt;http://nictiz.nl/fhir/ConceptMap/AdresSoortCodelijst-to-AddressUse&gt; and &lt;http://nictiz.nl/fhir/ConceptMap/AdresSoortCodelijst-to-AddressType&gt; as well). The HCIM code itself should also be included using the AddressType extension.

| HCIM                              |` .ext:AddressType` | `.ext:official` | `.use` | `.type`    |
|-----------------------------------|:------------------:|:---------------:|:------:|:----------:|
| Postal Address/Postadres          | _PST_              |                 |        | _postal_   |
| Primary Home/Officieel adres      | _HP_               | true            | _home_ |            |
| Visit Address/Woon-/verblijfadres | _PHYS_             |                 | _home_ | _physical_ |
| Temporary Address/Tijdelijk adres | _TMP_              |                 | _temp_ |            |
| Work Place/Werkadres              | _WP_               |                 | _work_ |            |
| Vacation Home/Vakantie adres      | _HV_               |                 | _temp_ |            |

 If Address.type is _both_ then this is to be understood as a dual purpose address (postal and physical). Systems that support importing it like this are encouraged to do so, otherwise they may need to import this as two separate addresses.

NOTE: FHIR core defines the AD-use extension to further specify the postal address type. However, the ValueSet used in that extension doesn't completely match the HCIM ValueSet. Therefore, a custom extension has been made. This doesn't preclude the use of the AD-use extension."/>
      <comment
               value="Note: address is for postal addresses, not physical locations."/>
      <requirements
                    value="Need to keep track where the contact person can be contacted per postal mail or visited."/>
      <alias value="AdresInformatie"/>
      <alias value="Adresgegevens"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Patient.contact.address"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Address"/>
        <profile
                 value="http://fhir.nl/fhir/StructureDefinition/nl-core-address"/>
      </type>
      <example>
        <label value="Example of a Vacation Home address"/>
        <valueAddress>
          <extension
                     url="http://nictiz.nl/fhir/StructureDefinition/zib-AddressInformation-AddressType">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/v3/AddressUse"/>
                <code value="HV"/>
                <display value="Vakantie adres"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <use value="temp"/>
          <line value="Binnenkant 12A Hoog">
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName">
              <valueString value="Binnenkant"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber">
              <valueString value="12"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix">
              <valueString value="A"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID">
              <valueString value="Hoog"/>
            </extension>
          </line>
          <city value="Amsterdam"/>
          <state value="NH"/>
          <postalCode value="1000AA"/>
          <country value="NLD"/>
        </valueAddress>
      </example>
      <example>
        <label value="Example of a Primary Home address"/>
        <valueAddress>
          <extension
                     url="http://nictiz.nl/fhir/StructureDefinition/zib-AddressInformation-AddressType">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/v3/AddressUse"/>
                <code value="HP"/>
                <display value="Officieel adres"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <extension
                     url="http://fhir.nl/fhir/StructureDefinition/nl-core-address-official">
            <valueBoolean value="true"/>
          </extension>
          <use value="home"/>
          <line value="Binnenkant to 10">
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName">
              <valueString value="Binnenkant"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator">
              <valueString value="to"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber">
              <valueString value="10"/>
            </extension>
          </line>
          <city value="Amsterdam"/>
          <state value="NH"/>
          <postalCode value="1001AA"/>
          <country value="NLD"/>
        </valueAddress>
      </example>
      <condition value="ele-1"/>
      <condition value="nl-streetname-if-official-and-other-line-parts"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="nl-streetname-if-official-and-other-line-parts"/>
        <requirements
                      value="This constraint checks conformance against the Dutch BRP constraints on address parts. However: when you only send postalCode + houseNumber which is enough for certain cases this may still be a valid address"/>
        <severity value="error"/>
        <human
               value="Address.streetName in an official address SHALL have a value if one of houseNumber|buildingNumberSuffix|additionalLocator has a value"/>
        <expression
                    value="(extension.where(url = 'http://fhir.nl/fhir/StructureDefinition/nl-core-address-official').where(value = true)).empty() or (line.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName').empty().not() and (line.extension.where(url='http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber').empty().not() or line.extension.where(url='http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix').empty().not() or line.extension.where(url='http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator').empty().not()))"/>
        <xpath
               value="not(.[f:extension[@url='http://fhir.nl/fhir/StructureDefinition/nl-core-address-official'][f:valueBoolean/@value='true']][f:line[empty(f:extension[@url='http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName'])][f:extension[@url=('http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber','http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix','http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator')]]])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Patient"/>
      </constraint>
      <mapping>
        <identity value="hcim-contactperson-v1.2-2015EN"/>
        <map value="NL-CM:3.1.5"/>
        <comment value="AddressInformation"/>
      </mapping>
      <mapping>
        <identity value="hcim-contactperson-v3.0-2016EN"/>
        <map value="NL-CM:3.1.5"/>
        <comment value="AddressInformation"/>
      </mapping>
      <mapping>
        <identity value="hcim-contactperson-v3.1-2017EN"/>
        <map value="NL-CM:3.1.5"/>
        <comment value="AddressInformation"/>
      </mapping>
      <mapping>
        <identity value="hcim-address-v2.0.1-2015EN"/>
        <map value="NL-CM:0.1.4"/>
        <comment value="AddressInformation"/>
      </mapping>
      <mapping>
        <identity value="hcim-addressinformation-v3.0-2016EN"/>
        <map value="NL-CM:0.1.4"/>
        <comment value="AddressInformation"/>
      </mapping>
      <mapping>
        <identity value="hcim-addressinformation-v1.0-2017EN"/>
        <map value="NL-CM:20.5.1"/>
        <comment value="AddressInformation"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="XAD"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="AD"/>
      </mapping>
      <mapping>
        <identity value="servd"/>
        <map value="Address"/>
      </mapping>
    </element>
    <element id="Patient.contact.gender">
      <path value="Patient.contact.gender"/>
      <short value="male | female | other | unknown"/>
      <definition
                  value="Administrative Gender - the gender that the contact person is considered to have for administration and record keeping purposes."/>
      <requirements value="Needed to address the person correctly."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Patient.contact.gender"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AdministrativeGender"/>
        </extension>
        <strength value="required"/>
        <description
                     value="The gender of a person used for administrative purposes."/>
        <valueSetReference>🔗 
          <reference
                     value="http://hl7.org/fhir/ValueSet/administrative-gender"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2"/>
        <map value="NK1-15"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map
             value="player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender"/>
      </mapping>
      <mapping>
        <identity value="cda"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.contact.organization">
      <path value="Patient.contact.organization"/>
      <short value="Organization that is associated with the contact"/>
      <definition
                  value="Organization on behalf of which the contact is acting or for which the contact is working."/>
      <requirements
                    value="For guardians or business related contacts, the organization is relevant."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Patient.contact.organization"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/Organization"/>
      </type>
      <condition value="pat-1"/>
      <mapping>
        <identity value="v2"/>
        <map value="NK1-13, NK1-30, NK1-31, NK1-32, NK1-41"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="scoper"/>
      </mapping>
      <mapping>
        <identity value="cda"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.contact.period">
      <path value="Patient.contact.period"/>
      <short
             value="The period during which this contact person or organization is valid to be contacted relating to this patient"/>
      <definition
                  value="The period during which this contact person or organization is valid to be contacted relating to this patient."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Patient.contact.period"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Period"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="effectiveTime"/>
      </mapping>
      <mapping>
        <identity value="cda"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.animal">
      <path value="Patient.animal"/>
      <short value="This patient is known to be an animal (non-human)"/>
      <definition value="This patient is known to be an animal."/>
      <comment
               value="The animal element is labeled &quot;Is Modifier&quot; since patients may be non-human. Systems SHALL either handle patient details appropriately (e.g. inform users patient is not human) or reject declared animal records.   The absense of the animal element does not imply that the patient is a human. If a system requires such a positive assertion that the patient is human, an extension will be required.  (Do not use a species of homo-sapiens in animal species, as this would incorrectly infer that the patient is an animal)."/>
      <requirements
                    value="Many clinical systems are extended to care for animal patients as well as human."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Patient.animal"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="player[classCode=ANM]"/>
      </mapping>
      <mapping>
        <identity value="cda"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.animal.id">
      <path value="Patient.animal.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.animal.extension">
      <path value="Patient.animal.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.animal.modifierExtension">
      <path value="Patient.animal.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Patient.animal.species">
      <path value="Patient.animal.species"/>
      <short value="E.g. Dog, Cow"/>
      <definition
                  value="Identifies the high level taxonomic categorization of the kind of animal."/>
      <comment
               value="If the patient is non-human, at least a species SHALL be specified. Species SHALL be a widely recognised taxonomic classification.  It may or may not be Linnaean taxonomy and may or may not be at the level of species. If the level is finer than species--such as a breed code--the code system used SHALL allow inference of the species.  (The common example is that the word &quot;Hereford&quot; does not allow inference of the species Bos taurus, because there is a Hereford pig breed, but the SNOMED CT code for &quot;Hereford Cattle Breed&quot; does.)."/>
      <requirements value="Need to know what kind of animal."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Patient.animal.species"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AnimalSpecies"/>
        </extension>
        <strength value="example"/>
        <description value="The species of an animal."/>
        <valueSetReference>🔗 
          <reference value="http://hl7.org/fhir/ValueSet/animal-species"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2"/>
        <map value="PID-35"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="code"/>
      </mapping>
      <mapping>
        <identity value="cda"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.animal.breed">
      <path value="Patient.animal.breed"/>
      <short value="E.g. Poodle, Angus"/>
      <definition
                  value="Identifies the detailed categorization of the kind of animal."/>
      <comment
               value="Breed MAY be used to provide further taxonomic or non-taxonomic classification.  It may involve local or proprietary designation--such as commercial strain--and/or additional information such as production type."/>
      <requirements
                    value="May need to know the specific kind within the species."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Patient.animal.breed"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AnimalBreed"/>
        </extension>
        <strength value="example"/>
        <description value="The breed of an animal."/>
        <valueSetReference>🔗 
          <reference value="http://hl7.org/fhir/ValueSet/animal-breeds"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2"/>
        <map value="PID-37"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map
             value="playedRole[classCode=GEN]/scoper[classCode=ANM, determinerCode=KIND]/code"/>
      </mapping>
      <mapping>
        <identity value="cda"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.animal.genderStatus">
      <path value="Patient.animal.genderStatus"/>
      <short value="E.g. Neutered, Intact"/>
      <definition
                  value="Indicates the current state of the animal's reproductive organs."/>
      <requirements
                    value="Gender status can affect housing and animal behavior."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Patient.animal.genderStatus"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AnimalGenderStatus"/>
        </extension>
        <strength value="example"/>
        <description value="The state of the animal's reproductive organs."/>
        <valueSetReference>🔗 
          <reference
                     value="http://hl7.org/fhir/ValueSet/animal-genderstatus"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2"/>
        <map value="N/A"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="genderStatusCode"/>
      </mapping>
      <mapping>
        <identity value="cda"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.communication">
      <path value="Patient.communication"/>
      <short
             value="A list of Languages which may be used to communicate with the patient about his or her health"/>
      <definition
                  value="Languages which may be used to communicate with the patient about his or her health."/>
      <comment
               value="If no language is specified, this *implies* that the default local language is spoken.  If you need to convey proficiency for multiple modes then you need multiple Patient.Communication associations.   For animals, language is not a relevant field, and should be absent from the instance. If the Patient does not speak the default local language, then the Interpreter Required Standard can be used to explicitly declare that an interpreter is required."/>
      <requirements
                    value="If a patient does not speak the local language, interpreters may be required, so languages spoken and proficiency is an important things to keep track of both for patient and other persons of interest."/>
      <alias value="Taalvaardigheid"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Patient.communication"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <mapping>
        <identity value="hcim-languageproficiency-v3.1-2017EN"/>
        <map value="NL-CM:7.12.1"/>
        <comment value="LanguageProficiency"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="LanguageCommunication"/>
      </mapping>
      <mapping>
        <identity value="cda"/>
        <map value="patient.languageCommunication"/>
      </mapping>
    </element>
    <element id="Patient.communication.id">
      <path value="Patient.communication.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.communication.extension">
      <path value="Patient.communication.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
      <short value="Extension"/>
      <definition value="An Extension"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
    </element>
    <element id="Patient.communication.extension:languageProficiency">
      <path value="Patient.communication.extension"/>
      <sliceName value="languageProficiency"/>
      <short value="Proficiency level of the communication"/>
      <definition value="Proficiency level of the communication."/>
      <comment
               value="The HCIM concepts LanguageControlListening, LanguageControlReading, LanguageControlSpeaking are captuperd using a mocked offical HL7 core extension from the R4 FHIR specification. Each of these three concepts is encoded as a copy of the extension, typed using the code in the type slice according to the following mapping:
* LanguaneControlListening maps to code 'RSP' (Received spoken)
* LanguageControlReading maps to code 'RWR' (Received written)
* LanguageControlSpeaking maps to code 'ESP' (Expressed spoken)"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
        <profile
                 value="http://nictiz.nl/fhir/StructureDefinition/patient-proficiency"/>
      </type>
      <condition value="ele-1"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <mapping>
        <identity value="hcim-languageproficiency-v3.1-2017EN"/>
        <map value="NL-CM:7.12.6"/>
        <comment value="LanguageControlListening"/>
      </mapping>
      <mapping>
        <identity value="hcim-languageproficiency-v3.1-2017EN"/>
        <map value="NL-CM:7.12.7"/>
        <comment value="LanguageControlSpeaking"/>
      </mapping>
      <mapping>
        <identity value="hcim-languageproficiency-v3.1-2017EN"/>
        <map value="NL-CM:7.12.8"/>
        <comment value="LanguageControlReading"/>
      </mapping>
    </element>
    <element id="Patient.communication.extension:languageProficiency.id">
      <path value="Patient.communication.extension.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="Patient.communication.extension:languageProficiency.extension">
      <path value="Patient.communication.extension.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Extension"/>
      <definition value="An Extension"/>
      <min value="2"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
    </element>
    <element
             id="Patient.communication.extension:languageProficiency.extension:type">
      <path value="Patient.communication.extension.extension"/>
      <sliceName value="type"/>
      <short value="Extension"/>
      <definition value="An Extension"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
    </element>
    <element
             id="Patient.communication.extension:languageProficiency.extension:type.id">
      <path value="Patient.communication.extension.extension.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="Patient.communication.extension:languageProficiency.extension:type.extension">
      <path value="Patient.communication.extension.extension.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="Patient.communication.extension:languageProficiency.extension:type.url">
      <path value="Patient.communication.extension.extension.url"/>
      <representation value="xmlAttr"/>
      <short value="identifies the meaning of the extension"/>
      <definition
                  value="Source of the definition for the extension code - a logical name or a URL."/>
      <comment
               value="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Extension.url"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <fixedUri value="type"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="Patient.communication.extension:languageProficiency.extension:type.value[x]">
      <path value="Patient.communication.extension.extension.value[x]"/>
      <slicing>
        <discriminator>
          <type value="type"/>
          <path value="$this"/>
        </discriminator>
        <ordered value="false"/>
        <rules value="closed"/>
      </slicing>
      <short value="Value of extension"/>
      <definition
                  value="Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Extension.value[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="Patient.communication.extension:languageProficiency.extension:type.value[x]:valueCoding">
      <path value="Patient.communication.extension.extension.value[x]"/>
      <sliceName value="valueCoding"/>
      <short value="Value of extension"/>
      <definition
                  value="Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Extension.value[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>🔗 
          <reference
                     value="http://hl7.org/fhir/ValueSet/v3-LanguageAbilityMode"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="Patient.communication.extension:languageProficiency.extension:level">
      <path value="Patient.communication.extension.extension"/>
      <sliceName value="level"/>
      <short value="Extension"/>
      <definition value="An Extension"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
    </element>
    <element
             id="Patient.communication.extension:languageProficiency.extension:level.id">
      <path value="Patient.communication.extension.extension.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="Patient.communication.extension:languageProficiency.extension:level.extension">
      <path value="Patient.communication.extension.extension.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="Patient.communication.extension:languageProficiency.extension:level.url">
      <path value="Patient.communication.extension.extension.url"/>
      <representation value="xmlAttr"/>
      <short value="identifies the meaning of the extension"/>
      <definition
                  value="Source of the definition for the extension code - a logical name or a URL."/>
      <comment
               value="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Extension.url"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <fixedUri value="level"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="Patient.communication.extension:languageProficiency.extension:level.value[x]">
      <path value="Patient.communication.extension.extension.value[x]"/>
      <slicing>
        <discriminator>
          <type value="type"/>
          <path value="$this"/>
        </discriminator>
        <ordered value="false"/>
        <rules value="closed"/>
      </slicing>
      <short value="Value of extension"/>
      <definition
                  value="Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Extension.value[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="Patient.communication.extension:languageProficiency.extension:level.value[x]:valueCoding">
      <path value="Patient.communication.extension.extension.value[x]"/>
      <sliceName value="valueCoding"/>
      <short value="Value of extension"/>
      <definition
                  value="Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Extension.value[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>🔗 
          <reference
                     value="http://hl7.org/fhir/ValueSet/v3-LanguageAbilityProficiency"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Patient.communication.extension:languageProficiency.url">
      <path value="Patient.communication.extension.url"/>
      <representation value="xmlAttr"/>
      <short value="identifies the meaning of the extension"/>
      <definition
                  value="Source of the definition for the extension code - a logical name or a URL."/>
      <comment
               value="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Extension.url"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <fixedUri
                value="http://nictiz.nl/fhir/StructureDefinition/patient-proficiency"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="Patient.communication.extension:languageProficiency.value[x]">
      <path value="Patient.communication.extension.value[x]"/>
      <short value="Value of extension"/>
      <definition
                  value="Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)."/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="Extension.value[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="base64Binary"/>
      </type>
      <type>
        <code value="boolean"/>
      </type>
      <type>
        <code value="code"/>
      </type>
      <type>
        <code value="date"/>
      </type>
      <type>
        <code value="dateTime"/>
      </type>
      <type>
        <code value="decimal"/>
      </type>
      <type>
        <code value="id"/>
      </type>
      <type>
        <code value="instant"/>
      </type>
      <type>
        <code value="integer"/>
      </type>
      <type>
        <code value="markdown"/>
      </type>
      <type>
        <code value="oid"/>
      </type>
      <type>
        <code value="positiveInt"/>
      </type>
      <type>
        <code value="string"/>
      </type>
      <type>
        <code value="time"/>
      </type>
      <type>
        <code value="unsignedInt"/>
      </type>
      <type>
        <code value="uri"/>
      </type>
      <type>
        <code value="Address"/>
      </type>
      <type>
        <code value="Age"/>
      </type>
      <type>
        <code value="Annotation"/>
      </type>
      <type>
        <code value="Attachment"/>
      </type>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <type>
        <code value="Coding"/>
      </type>
      <type>
        <code value="ContactPoint"/>
      </type>
      <type>
        <code value="Count"/>
      </type>
      <type>
        <code value="Distance"/>
      </type>
      <type>
        <code value="Duration"/>
      </type>
      <type>
        <code value="HumanName"/>
      </type>
      <type>
        <code value="Identifier"/>
      </type>
      <type>
        <code value="Money"/>
      </type>
      <type>
        <code value="Period"/>
      </type>
      <type>
        <code value="Quantity"/>
      </type>
      <type>
        <code value="Range"/>
      </type>
      <type>
        <code value="Ratio"/>
      </type>
      <type>
        <code value="Reference"/>
      </type>
      <type>
        <code value="SampledData"/>
      </type>
      <type>
        <code value="Signature"/>
      </type>
      <type>
        <code value="Timing"/>
      </type>
      <type>
        <code value="Meta"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Patient.communication.extension:comment">
      <path value="Patient.communication.extension"/>
      <sliceName value="comment"/>
      <short value="Comment"/>
      <definition value="An Extension"/>
      <alias value="Toelichting"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
        <profile value="http://nictiz.nl/fhir/StructureDefinition/Comment"/>
      </type>
      <condition value="ele-1"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <mapping>
        <identity value="hcim-languageproficiency-v3.1-2017EN"/>
        <map value="NL-CM:7.12.5"/>
        <comment value="Comment"/>
      </mapping>
    </element>
    <element id="Patient.communication.modifierExtension">
      <path value="Patient.communication.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Patient.communication.language">
      <path value="Patient.communication.language"/>
      <short value="CommunicationLanguage"/>
      <definition
                  value="The language of communication. 

The ISO-639-1 alpha 2 code in lower case for the language, optionally followed by a hyphen and the ISO-3166-1 alpha 2 code for the region in upper case; e.g. &quot;en&quot; for English, or &quot;en-US&quot; for American English versus &quot;en-EN&quot; for England English."/>
      <comment
               value="The FHIR value set http://hl7.org/fhir/valueset-languages.html is used instead of the HCIM value set CommunicationLanguageCodelist. The FHIR value set uses the code system urn:ietf:bcp:47 which includes the ISO-639-2 alpha code system used by the HCIM value set."/>
      <requirements
                    value="Most systems in multilingual countries will want to convey language. Not all systems actually need the regional dialect."/>
      <alias value="CommunicatieTaal"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Patient.communication.language"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet">
          <valueReference>🔗 
            <reference value="http://hl7.org/fhir/ValueSet/all-languages"/>
          </valueReference>
        </extension>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="Language"/>
        </extension>
        <strength value="extensible"/>
        <description value="A human language."/>
        <valueSetReference>🔗 
          <reference value="http://hl7.org/fhir/ValueSet/languages"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="hcim-languageproficiency-v3.1-2017EN"/>
        <map value="NL-CM:7.12.3"/>
        <comment value="CommunicationLanguage"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="PID-15, LAN-2"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map
             value="player[classCode=PSN|ANM and determinerCode=INSTANCE]/languageCommunication/code"/>
      </mapping>
      <mapping>
        <identity value="cda"/>
        <map value=".languageCode"/>
      </mapping>
    </element>
    <element id="Patient.communication.preferred">
      <path value="Patient.communication.preferred"/>
      <short value="Language preference indicator"/>
      <definition
                  value="Indicates whether or not the patient prefers this language (over other languages he masters up a certain level)."/>
      <comment
               value="This language is specifically identified for communicating healthcare information."/>
      <requirements
                    value="People that master multiple languages up to certain level may prefer one or more, i.e. feel more confident in communicating in a particular language making other languages sort of a fall back method."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Patient.communication.preferred"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
      <mapping>
        <identity value="v2"/>
        <map value="PID-15"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="preferenceInd"/>
      </mapping>
      <mapping>
        <identity value="cda"/>
        <map value=".preferenceInd"/>
      </mapping>
    </element>
    <element id="Patient.generalPractitioner">
      <path value="Patient.generalPractitioner"/>
      <short value="GeneralPractitioner"/>
      <definition value="Patient's nominated care provider."/>
      <comment
               value="This may be the primary care provider (in a GP context), or it may be a patient nominated care manager in a community/disablity setting, or even organization that will provide people to perform the care provider roles.

It is not to be used to record Care Teams, these should be in a CareTeam resource that may be linked to the CarePlan or EpisodeOfCare resources."/>
      <alias value="careProvider"/>
      <alias value="Huisarts"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Patient.generalPractitioner"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://fhir.nl/fhir/StructureDefinition/nl-core-organization"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner"/>
      </type>
      <mapping>
        <identity value="hcim-healthcareprovider-v1.2-2015EN"/>
        <map value="NL-CM:17.2.1"/>
        <comment value="HealthcareProvider"/>
      </mapping>
      <mapping>
        <identity value="hcim-healthcareprovider-v3.0-2016EN"/>
        <map value="NL-CM:17.2.1"/>
        <comment value="HealthcareProvider"/>
      </mapping>
      <mapping>
        <identity value="hcim-healthcareprovider-v3.1.1-2017EN"/>
        <map value="NL-CM:17.2.1"/>
        <comment value="HealthcareProvider"/>
      </mapping>
      <mapping>
        <identity value="hcim-healthprofessional-v1.2.1-2015EN"/>
        <map value="NL-CM:17.1.1"/>
        <comment value="HealthProfessional"/>
      </mapping>
      <mapping>
        <identity value="hcim-healthprofessional-v3.0-2016EN"/>
        <map value="NL-CM:17.1.1"/>
        <comment value="HealthProfessional"/>
      </mapping>
      <mapping>
        <identity value="hcim-healthprofessional-v3.2-2017EN"/>
        <map value="NL-CM:17.1.1"/>
        <comment value="HealthProfessional"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="PD1-4"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="subjectOf.CareEvent.performer.AssignedEntity"/>
      </mapping>
      <mapping>
        <identity value="cda"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.generalPractitioner.id">
      <path value="Patient.generalPractitioner.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.generalPractitioner.extension">
      <path value="Patient.generalPractitioner.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Extension"/>
      <definition value="An Extension"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
    </element>
    <element id="Patient.generalPractitioner.extension:practitionerRole">
      <path value="Patient.generalPractitioner.extension"/>
      <sliceName value="practitionerRole"/>
      <short value="Optional Extensions Element"/>
      <definition
                  value="Optional Extension Element - found in all resources."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
        <profile
                 value="http://nictiz.nl/fhir/StructureDefinition/practitionerrole-reference"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Patient.generalPractitioner.reference">
      <path value="Patient.generalPractitioner.reference"/>
      <short value="Literal reference, Relative, internal or absolute URL"/>
      <definition
                  value="A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources."/>
      <comment
               value="Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure &quot;/[type]/[id]&quot; then it should be assumed that the reference is to a FHIR RESTful server."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Reference.reference"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <condition value="ref-1"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Patient.generalPractitioner.identifier">
      <path value="Patient.generalPractitioner.identifier"/>
      <short value="Logical reference, when literal reference is not known"/>
      <definition
                  value="An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference."/>
      <comment
               value="When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. 

When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference

Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Reference.identifier"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".identifier"/>
      </mapping>
    </element>
    <element id="Patient.generalPractitioner.display">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true"/>
      </extension>
      <path value="Patient.generalPractitioner.display"/>
      <short value="Text alternative for the resource"/>
      <definition
                  value="Plain text narrative that identifies the resource in addition to the resource reference."/>
      <comment
               value="This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Reference.display"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Patient.managingOrganization">
      <path value="Patient.managingOrganization"/>
      <short
             value="Organization that is the custodian of the patient record"/>
      <definition
                  value="Organization that is the custodian of the patient record."/>
      <comment
               value="There is only one managing organization for a specific patient record. Other organizations will have their own Patient record, and may use the Link property to join the records together (or a Person resource which can include confidence ratings for the association)."/>
      <requirements
                    value="Need to know who recognizes this patient record, manages and updates it."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Patient.managingOrganization"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/Organization"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="scoper"/>
      </mapping>
      <mapping>
        <identity value="cda"/>
        <map value=".providerOrganization"/>
      </mapping>
    </element>
    <element id="Patient.link">
      <path value="Patient.link"/>
      <short
             value="Link to another patient resource that concerns the same actual person"/>
      <definition
                  value="Link to another patient resource that concerns the same actual patient."/>
      <comment
               value="There is no assumption that linked patient records have mutual links. 

This element is labelled as a modifier because it may not be the main Patient resource, and the referenced patient should be used instead of this Patient record. This is when the link.type value is 'replaced-by'."/>
      <requirements
                    value="There are multiple usecases: 

* Duplicate patient records due to the clerical errors associated with the difficulties of identifying humans consistently, and * Distribution of patient information across multiple servers."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Patient.link"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="outboundLink"/>
      </mapping>
      <mapping>
        <identity value="cda"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.link.id">
      <path value="Patient.link.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.link.extension">
      <path value="Patient.link.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.link.modifierExtension">
      <path value="Patient.link.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Patient.link.other">
      <path value="Patient.link.other"/>
      <short
             value="The other patient or related person resource that the link refers to"/>
      <definition
                  value="The other patient resource that the link refers to."/>
      <comment
               value="Referencing a RelatedPerson here removes the need to use a Person record to associate a Patient and RelatedPerson as the same individual."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Patient.link.other"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/Patient"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="PID-3, MRG-1"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="id"/>
      </mapping>
      <mapping>
        <identity value="cda"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Patient.link.type">
      <path value="Patient.link.type"/>
      <short value="replaced-by | replaces | refer | seealso - type of link"/>
      <definition
                  value="The type of link between this patient resource and another patient resource."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Patient.link.type"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="LinkType"/>
        </extension>
        <strength value="required"/>
        <description
                     value="The type of link between this patient resource and another patient resource."/>
        <valueSetReference>🔗 
          <reference value="http://hl7.org/fhir/ValueSet/link-type"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value="typeCode"/>
      </mapping>
      <mapping>
        <identity value="cda"/>
        <map value="n/a"/>
      </mapping>
    </element>
  </snapshot>
  <differential>
    <element id="Patient">
      <path value="Patient"/>
    </element>
    <element id="Patient.identifier:BSN">
      <path value="Patient.identifier"/>
      <sliceName value="BSN"/>
      <min value="1"/>
      <mustSupport value="true"/>
    </element>
    <element id="Patient.name">
      <path value="Patient.name"/>
      <min value="1"/>
      <constraint>
        <key value="zv-pat-1"/>
        <severity value="error"/>
        <human
               value="Either Patient.name.given and/or Patient.name.family and/or Patient.name.text SHALL be present."/>
        <expression
                    value="(family.exists() or given.exists() or text.exists())"/>
        <xpath value="/f:name/f:family or /f:name/f:given or /f:name/f:text"/>
      </constraint>
      <constraint>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice">
          <valueBoolean value="true"/>
        </extension>
        <key value="zv-pat-2"/>
        <severity value="warning"/>
        <human
               value="To be usable for a wide range of internationally available applications, the Patient.name.text SHOULD be present."/>
        <expression value="text.exists()"/>
        <xpath value="/f:name/f:text"/>
      </constraint>
      <mustSupport value="true"/>
    </element>
    <element id="Patient.gender">
      <path value="Patient.gender"/>
      <mustSupport value="true"/>
    </element>
    <element id="Patient.birthDate">
      <path value="Patient.birthDate"/>
      <mustSupport value="true"/>
    </element>
    <element id="Patient.deceased[x]">
      <path value="Patient.deceased[x]"/>
      <mustSupport value="true"/>
    </element>
    <element id="Patient.managingOrganization">
      <path value="Patient.managingOrganization"/>
      <mustSupport value="true"/>
    </element>
  </differential>
</StructureDefinition>