FHIR © HL7.org  |  Server Home  |  FHIR Server FHIR Server  |  FHIR Version n/a  User: [n/a]

Resource StructureDefinition/FHIR Server from package hl7.fhir.nl.zorgviewer#current (453 ms)

Package hl7.fhir.nl.zorgviewer
Type StructureDefinition
Id Id
FHIR Version R3
Source http://hl7.nl/fhir/zorgviewer/https://build.fhir.org/ig/RIVO-Noord/zorgviewer-ig/StructureDefinition-Patient.html
Url http://hl7.nl/fhir/zorgviewer/StructureDefinition/Patient
Version 1.2.0
Status draft
Date 2024-07-09T08:32:54+00:00
Name Patient
Title Patient
Experimental False
Realm nl
Authority hl7
Description Patient
Type Patient
Kind resource

Resources that use this resource

CapabilityStatement
OntsluitenBronsysteem Ontsluiten Bronsysteem
ZorgviewerHost Zorgviewer Host
http://hl7.nl/fhir/zorgviewer/StructureDefinition/ToestemmingConsent ToestemmingConsent

Resources that this resource uses

StructureDefinition
http://fhir.nl/fhir/StructureDefinition/nl-core-patient nl-core-patient


Narrative

Note: links and images are rebased to the (stated) source

Gegenereerde narrative: StructureDefinition Patient

NaamMarkeringenKard.TypeOmschrijving & constraintsdoco
.. Patient 0..*nl-core-patientPatient
... Slices for identifier Content/regels voor alle slices
.... identifier:BSN S1..1IdentifierBSN
... name SC1..*nl-core-humannameNameInformation
zv-pat-1: Either Patient.name.given and/or Patient.name.family and/or Patient.name.text SHALL be present.
zv-pat-2: To be usable for a wide range of internationally available applications, the Patient.name.text SHOULD be present.
... gender S0..1codeGender
... birthDate S0..1datePatients 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.
... deceased[x] S0..1boolean, dateTimeDeathIndicator/DateOfDeath
... managingOrganization S0..1Reference(Organization)Organization that is the custodian of the patient record

doco Documentatie voor dit formaat

Source

{
  "resourceType" : "StructureDefinition",
  "id" : "Patient",
  "text" : {
    "status" : "extensions",
    "div" : "<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=\"hcPatient-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>\r\n<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 for 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>\r\n<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>\r\n<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>\r\n<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>\r\n<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>\r\n<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>\r\n<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>\r\n<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>"
  },
  "url" : "http://hl7.nl/fhir/zorgviewer/StructureDefinition/Patient",
  "version" : "1.2.0",
  "name" : "Patient",
  "title" : "Patient",
  "status" : "draft",
  "date" : "2024-07-09T08:32:54+00:00",
  "publisher" : "RIVO-NN HL7NL",
  "contact" : [
    {
      "name" : "RIVO-NN",
      "telecom" : [
        {
          "system" : "url",
          "value" : "https://rivo-noord.nl"
        }
      ]
    },
    {
      "name" : "HL7NL",
      "telecom" : [
        {
          "system" : "url",
          "value" : "https://hl7.nl"
        }
      ]
    }
  ],
  "description" : "Patient",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "urn:iso:std:iso:3166",
          "code" : "NL"
        }
      ]
    }
  ],
  "fhirVersion" : "3.0.2",
  "mapping" : [
    {
      "identity" : "hcim-patient-v3.1-2017EN",
      "uri" : "https://zibs.nl/wiki/Patient-v3.1(2017EN)",
      "name" : "HCIM Patient-v3.1(2017EN)"
    },
    {
      "identity" : "hcim-maritalstatus-v3.0-2017EN",
      "uri" : "https://zibs.nl/wiki/MaritalStatus-v3.0(2017EN)",
      "name" : "HCIM MaritalStatus-v3.0(2017EN)"
    },
    {
      "identity" : "hcim-contactperson-v3.1-2017EN",
      "uri" : "https://zibs.nl/wiki/ContactPerson-v3.1(2017EN)",
      "name" : "HCIM ContactPerson-v3.1(2017EN)"
    },
    {
      "identity" : "hcim-healthcareprovider-v3.1.1-2017EN",
      "uri" : "https://zibs.nl/wiki/HealthcareProvider-v3.1.1(2017EN)",
      "name" : "HCIM HealthcareProvider-v3.1.1(2017EN)"
    },
    {
      "identity" : "hcim-healthprofessional-v3.2-2017EN",
      "uri" : "https://zibs.nl/wiki/HealthProfessional-v3.2(2017EN)",
      "name" : "HCIM HealthProfessional-v3.2(2017EN)"
    },
    {
      "identity" : "hcim-nationality-v3.0-2017EN",
      "uri" : "https://zibs.nl/wiki/Nationality-v3.0(2017EN)",
      "name" : "HCIM Nationality-v3.0(2017EN)"
    },
    {
      "identity" : "hcim-payer-v3.1-2017EN",
      "uri" : "https://zibs.nl/wiki/Payer-v3.1(2017EN)",
      "name" : "HCIM Payer-v3.1(2017EN)"
    },
    {
      "identity" : "hcim-contactinformation-v1.0-2017EN",
      "uri" : "https://zibs.nl/wiki/ContactInformation-v1.0(2017EN)",
      "name" : "HCIM ContactInformation-v1.0(2017EN)",
      "comment" : "ContactInformation has become an independent information model as of release 2017 of the HCIMs."
    },
    {
      "identity" : "hcim-languageproficiency-v3.1-2017EN",
      "uri" : "https://zibs.nl/wiki/LanguageProficiency-v3.1(2017EN)",
      "name" : "HCIM LanguageProficiency-v3.1(2017EN)"
    },
    {
      "identity" : "hcim-freedomrestrictingmeasures-v3.1-2017EN",
      "uri" : "https://zibs.nl/wiki/FreedomRestrictingMeasures-v3.1(2017EN)",
      "name" : "HCIM FreedomRestrictingMeasures-v3.1(2017EN)",
      "comment" : "Concerns only LegalStatus concept. This will become an independent information model as of release 2018 of the HCIMs."
    },
    {
      "identity" : "hcim-basicelements-v1.0-2017EN",
      "uri" : "https://zibs.nl/wiki/BasicElements-v1.0(2017EN)",
      "name" : "HCIM BasicElements-v1.0(2017EN)"
    },
    {
      "identity" : "hcim-familysituation-v3.0-2017EN",
      "uri" : "https://zibs.nl/wiki/FamilySituation-v3.0(2017EN)",
      "name" : "HCIM FamilySituation-v3.0(2017EN)"
    },
    {
      "identity" : "hcim-lifestance-v3.1-2017EN",
      "uri" : "https://zibs.nl/wiki/LifeStance-v3.1(2017EN)",
      "name" : "HCIM LifeStance-v3.1(2017EN)"
    },
    {
      "identity" : "hcim-patient-v3.0-2016EN",
      "uri" : "https://zibs.nl/wiki/Patient-v3.0(2016EN)",
      "name" : "HCIM Patient-v3.0(2016EN)"
    },
    {
      "identity" : "hcim-maritalstatus-v3.0-2016EN",
      "uri" : "https://zibs.nl/wiki/MaritalStatus-v3.0(2016EN)",
      "name" : "HCIM MaritalStatus-v3.0(2016EN)"
    },
    {
      "identity" : "hcim-contactperson-v3.0-2016EN",
      "uri" : "https://zibs.nl/wiki/ContactPerson-v3.0(2016EN)",
      "name" : "HCIM ContactPerson-v3.0(2016EN)"
    },
    {
      "identity" : "hcim-healthcareprovider-v3.0-2016EN",
      "uri" : "https://zibs.nl/wiki/HealthcareProvider-v3.0(2016EN)",
      "name" : "HCIM HealthcareProvider-v3.0(2016EN)"
    },
    {
      "identity" : "hcim-healthprofessional-v3.0-2016EN",
      "uri" : "https://zibs.nl/wiki/HealthProfessional-v3.0(2016EN)",
      "name" : "HCIM HealthProfessional-v3.0(2016EN)"
    },
    {
      "identity" : "hcim-nationality-v3.0-2016EN",
      "uri" : "https://zibs.nl/wiki/Nationality-v3.0(2016EN)",
      "name" : "HCIM Nationality-v3.0(2016EN)"
    },
    {
      "identity" : "hcim-payer-v3.0-2016EN",
      "uri" : "https://zibs.nl/wiki/Payer-v3.0(2016EN)",
      "name" : "HCIM Payer-v3.0(2016EN)"
    },
    {
      "identity" : "hcim-familysituation-v3.0-2016EN",
      "uri" : "https://zibs.nl/wiki/FamilySituation-v3.0(2016EN)",
      "name" : "HCIM FamilySituation-v3.0(2016EN)"
    },
    {
      "identity" : "hcim-patient-v2.0.1-2015EN",
      "uri" : "https://zibs.nl/wiki/Patient-v2.0.1(2015EN)",
      "name" : "HCIM Patient-v2.0.1(2015EN)"
    },
    {
      "identity" : "hcim-maritalstatus-v1.2.1-2015EN",
      "uri" : "https://zibs.nl/wiki/MaritalStatus-v1.2.1(2015EN)",
      "name" : "HCIM MaritalStatus-v1.2.1(2015EN)"
    },
    {
      "identity" : "hcim-contactperson-v1.2-2015EN",
      "uri" : "https://zibs.nl/wiki/ContactPerson-v1.2(2015EN)",
      "name" : "HCIM ContactPerson-v1.2(2015EN)"
    },
    {
      "identity" : "hcim-healthcareprovider-v1.2-2015EN",
      "uri" : "https://zibs.nl/wiki/HealthcareProvider-v1.2(2015EN)",
      "name" : "HCIM HealthcareProvider-v1.2(2015EN)"
    },
    {
      "identity" : "hcim-healthprofessional-v1.2.1-2015EN",
      "uri" : "https://zibs.nl/wiki/HealthProfessional-v1.2.1(2015EN)",
      "name" : "HCIM HealthProfessional-v1.2.1(2015EN)"
    },
    {
      "identity" : "hcim-nationality-v2.0-2015EN",
      "uri" : "https://zibs.nl/wiki/Nationality-v2.0(2015EN)",
      "name" : "HCIM Nationality-v2.0(2015EN)"
    },
    {
      "identity" : "hcim-payer-v1.2-2015EN",
      "uri" : "https://zibs.nl/wiki/Payer-v1.2(2015EN)",
      "name" : "HCIM Payer-v1.2(2015EN)"
    },
    {
      "identity" : "hcim-familysituation-v1.0-2015EN",
      "uri" : "https://zibs.nl/wiki/FamilySituation-v1.0(2015EN)",
      "name" : "HCIM FamilySituation-v1.0(2015EN)"
    },
    {
      "identity" : "rim",
      "uri" : "http://hl7.org/v3",
      "name" : "RIM Mapping"
    },
    {
      "identity" : "cda",
      "uri" : "http://hl7.org/v3/cda",
      "name" : "CDA (R2)"
    },
    {
      "identity" : "w5",
      "uri" : "http://hl7.org/fhir/w5",
      "name" : "W5 Mapping"
    },
    {
      "identity" : "v2",
      "uri" : "http://hl7.org/v2",
      "name" : "HL7 v2 Mapping"
    },
    {
      "identity" : "loinc",
      "uri" : "http://loinc.org",
      "name" : "LOINC code for the element"
    }
  ],
  "kind" : "resource",
  "abstract" : false,
  "type" : "Patient",
  "baseDefinition" : "http://fhir.nl/fhir/StructureDefinition/nl-core-patient",
  "derivation" : "constraint",
  "snapshot" : {
    "element" : [
      {
        "id" : "Patient",
        "path" : "Patient",
        "short" : "Patient",
        "definition" : "Demographics and other administrative information about an individual or animal receiving care or other health-related services.",
        "alias" : [
          "SubjectOfCare Client Resident",
          "Patiënt"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Patient",
          "min" : 0,
          "max" : "*"
        },
        "constraint" : [
          {
            "key" : "dom-2",
            "severity" : "error",
            "human" : "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
            "expression" : "contained.contained.empty()",
            "xpath" : "not(parent::f:contained and f:contained)",
            "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "key" : "dom-1",
            "severity" : "error",
            "human" : "If the resource is contained in another resource, it SHALL NOT contain any narrative",
            "expression" : "contained.text.empty()",
            "xpath" : "not(parent::f:contained and f:text)",
            "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "key" : "dom-4",
            "severity" : "error",
            "human" : "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
            "expression" : "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
            "xpath" : "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
            "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "key" : "dom-3",
            "severity" : "error",
            "human" : "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource",
            "expression" : "contained.where(('#'+id in %resource.descendants().reference).not()).empty()",
            "xpath" : "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))",
            "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "Entity. Role, or Act"
          },
          {
            "identity" : "rim",
            "map" : "Patient[classCode=PAT]"
          },
          {
            "identity" : "cda",
            "map" : "ClinicalDocument.recordTarget.patientRole"
          },
          {
            "identity" : "w5",
            "map" : "administrative.individual"
          },
          {
            "identity" : "hcim-patient-v2.0.1-2015EN",
            "map" : "NL-CM:0.1.1",
            "comment" : "Patient"
          },
          {
            "identity" : "hcim-patient-v3.0-2016EN",
            "map" : "NL-CM:0.1.1",
            "comment" : "Patient"
          },
          {
            "identity" : "hcim-patient-v3.1-2017EN",
            "map" : "NL-CM:0.1.1",
            "comment" : "Patient"
          },
          {
            "identity" : "hcim-payer-v1.2-2015EN",
            "map" : "NL-CM:1.1.2",
            "comment" : "PayerPerson"
          },
          {
            "identity" : "hcim-payer-v3.0-2016EN",
            "map" : "NL-CM:1.1.2",
            "comment" : "PayerPerson"
          },
          {
            "identity" : "hcim-payer-v3.1-2017EN",
            "map" : "NL-CM:1.1.2",
            "comment" : "PayerPerson"
          },
          {
            "identity" : "hcim-basicelements-v1.0-2017EN",
            "map" : "NL-CM:0.0.3",
            "comment" : "PatientAsInformationSource::Patient"
          },
          {
            "identity" : "hcim-basicelements-v1.0-2017EN",
            "map" : "NL-CM:0.0.8",
            "comment" : "PatientAsAuthor::Patient"
          },
          {
            "identity" : "hcim-basicelements-v1.0-2017EN",
            "map" : "NL-CM:0.0.12",
            "comment" : "Patient"
          }
        ]
      },
      {
        "id" : "Patient.id",
        "path" : "Patient.id",
        "short" : "Logical id of this artifact",
        "definition" : "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
        "comment" : "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" : 0,
        "max" : "1",
        "base" : {
          "path" : "Resource.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "id"
          }
        ],
        "isSummary" : true
      },
      {
        "id" : "Patient.meta",
        "path" : "Patient.meta",
        "short" : "Metadata about the resource",
        "definition" : "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" : 0,
        "max" : "1",
        "base" : {
          "path" : "Resource.meta",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Meta"
          }
        ],
        "isSummary" : true
      },
      {
        "id" : "Patient.implicitRules",
        "path" : "Patient.implicitRules",
        "short" : "A set of rules under which this content was created",
        "definition" : "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" : "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. \n\nThis 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" : 0,
        "max" : "1",
        "base" : {
          "path" : "Resource.implicitRules",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "isModifier" : true,
        "isSummary" : true
      },
      {
        "id" : "Patient.language",
        "path" : "Patient.language",
        "short" : "Language of the resource content",
        "definition" : "The base language in which the resource is written.",
        "comment" : "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" : 0,
        "max" : "1",
        "base" : {
          "path" : "Resource.language",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
              "valueReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/all-languages"
              }
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "Language"
            }
          ],
          "strength" : "extensible",
          "description" : "A human language.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/languages"
          }
        }
      },
      {
        "id" : "Patient.text",
        "path" : "Patient.text",
        "short" : "Text summary of the resource, for human interpretation",
        "definition" : "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 \"clinically safe\" 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" : "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 \"text blob\" or where text is additionally entered raw or narrated and encoded in formation is added later.",
        "alias" : [
          "narrative",
          "html",
          "xhtml",
          "display"
        ],
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "DomainResource.text",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Narrative"
          }
        ],
        "condition" : [
          "dom-1"
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "Act.text?"
          }
        ]
      },
      {
        "id" : "Patient.contained",
        "path" : "Patient.contained",
        "short" : "Contained, inline Resources",
        "definition" : "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" : "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" : [
          "inline resources",
          "anonymous resources",
          "contained resources"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "DomainResource.contained",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Resource"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.extension",
        "path" : "Patient.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "rules" : "open"
        },
        "short" : "Extension",
        "definition" : "An Extension",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "DomainResource.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ]
      },
      {
        "id" : "Patient.extension:preferredPharmacy",
        "path" : "Patient.extension",
        "sliceName" : "preferredPharmacy",
        "short" : "References a patient's preferered pharmacy",
        "definition" : "Optional Extension Element - found in all resources.",
        "alias" : [
          "Verwijst naar de voorkeursapotheek van de patiënt"
        ],
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "DomainResource.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : "http://fhir.nl/fhir/StructureDefinition/nl-core-preferred-pharmacy"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.extension:nationality",
        "path" : "Patient.extension",
        "sliceName" : "nationality",
        "short" : "Nationality",
        "definition" : "The nationality of the patient.",
        "alias" : [
          "Nationaliteit"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "DomainResource.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : "http://hl7.org/fhir/StructureDefinition/patient-nationality"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "hcim-nationality-v2.0-2015EN",
            "map" : "NL-CM:7.6.3",
            "comment" : "Nationality"
          },
          {
            "identity" : "hcim-nationality-v3.0-2016EN",
            "map" : "NL-CM:7.6.3",
            "comment" : "Nationality"
          },
          {
            "identity" : "hcim-nationality-v3.0-2017EN",
            "map" : "NL-CM:7.6.3",
            "comment" : "Nationality"
          }
        ]
      },
      {
        "id" : "Patient.extension:nationality.id",
        "path" : "Patient.extension.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.extension:nationality.extension",
        "path" : "Patient.extension.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional Content defined by implementations",
        "definition" : "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" : "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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.extension:nationality.extension:code",
        "path" : "Patient.extension.extension",
        "sliceName" : "code",
        "short" : "Extension",
        "definition" : "An Extension",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ]
      },
      {
        "id" : "Patient.extension:nationality.extension:code.id",
        "path" : "Patient.extension.extension.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.extension:nationality.extension:code.extension",
        "path" : "Patient.extension.extension.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional Content defined by implementations",
        "definition" : "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" : "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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.extension:nationality.extension:code.url",
        "path" : "Patient.extension.extension.url",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "identifies the meaning of the extension",
        "definition" : "Source of the definition for the extension code - a logical name or a URL.",
        "comment" : "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" : 1,
        "max" : "1",
        "base" : {
          "path" : "Extension.url",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "fixedUri" : "code",
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.extension:nationality.extension:code.valueCodeableConcept:valueCodeableConcept",
        "path" : "Patient.extension.extension.valueCodeableConcept",
        "sliceName" : "valueCodeableConcept",
        "short" : "Value of extension",
        "definition" : "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" : 0,
        "max" : "1",
        "base" : {
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "binding" : {
          "strength" : "extensible",
          "description" : "Indicates the country of citizenship.",
          "valueSetReference" : {
            "reference" : "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.7.6.3--20171231000000"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.extension:nationality.extension:period",
        "path" : "Patient.extension.extension",
        "sliceName" : "period",
        "short" : "Extension",
        "definition" : "An Extension",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ]
      },
      {
        "id" : "Patient.extension:nationality.extension:period.id",
        "path" : "Patient.extension.extension.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.extension:nationality.extension:period.extension",
        "path" : "Patient.extension.extension.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional Content defined by implementations",
        "definition" : "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" : "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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.extension:nationality.extension:period.url",
        "path" : "Patient.extension.extension.url",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "identifies the meaning of the extension",
        "definition" : "Source of the definition for the extension code - a logical name or a URL.",
        "comment" : "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" : 1,
        "max" : "1",
        "base" : {
          "path" : "Extension.url",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "fixedUri" : "period",
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.extension:nationality.extension:period.valuePeriod:valuePeriod",
        "path" : "Patient.extension.extension.valuePeriod",
        "sliceName" : "valuePeriod",
        "short" : "Value of extension",
        "definition" : "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" : 0,
        "max" : "1",
        "base" : {
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Period"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.extension:nationality.url",
        "path" : "Patient.extension.url",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "identifies the meaning of the extension",
        "definition" : "Source of the definition for the extension code - a logical name or a URL.",
        "comment" : "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" : 1,
        "max" : "1",
        "base" : {
          "path" : "Extension.url",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "fixedUri" : "http://hl7.org/fhir/StructureDefinition/patient-nationality",
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.extension:nationality.value[x]",
        "path" : "Patient.extension.value[x]",
        "short" : "Value of extension",
        "definition" : "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" : 0,
        "max" : "0",
        "base" : {
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "Meta"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.extension:legalStatus",
        "path" : "Patient.extension",
        "sliceName" : "legalStatus",
        "short" : "legalStatus",
        "definition" : "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" : "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). \r\n\r\nThe 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" : 0,
        "max" : "2",
        "base" : {
          "path" : "DomainResource.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : "http://nictiz.nl/fhir/StructureDefinition/zib-patient-legalstatus"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "hcim-freedomrestrictingmeasures-v3.1-2017EN",
            "map" : "NL-CM:14.3.2",
            "comment" : "LegalStatus"
          }
        ]
      },
      {
        "id" : "Patient.extension:legalStatus.id",
        "path" : "Patient.extension.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.extension:legalStatus.extension",
        "path" : "Patient.extension.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional Content defined by implementations",
        "definition" : "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" : "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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.extension:legalStatus.url",
        "path" : "Patient.extension.url",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "identifies the meaning of the extension",
        "definition" : "Source of the definition for the extension code - a logical name or a URL.",
        "comment" : "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" : 1,
        "max" : "1",
        "base" : {
          "path" : "Extension.url",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "fixedUri" : "http://nictiz.nl/fhir/StructureDefinition/zib-patient-legalstatus",
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.extension:legalStatus.value[x]",
        "path" : "Patient.extension.value[x]",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "type",
              "path" : "$this"
            }
          ],
          "ordered" : false,
          "rules" : "closed"
        },
        "short" : "Value of extension",
        "definition" : "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" : 0,
        "max" : "1",
        "base" : {
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.extension:legalStatus.value[x]:valueCodeableConcept",
        "path" : "Patient.extension.value[x]",
        "sliceName" : "valueCodeableConcept",
        "short" : "LegalStatus",
        "definition" : "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" : [
          "JuridischeStatus"
        ],
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "binding" : {
          "strength" : "extensible",
          "valueSetReference" : {
            "reference" : "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.14.3.2--20171231000000"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.extension:legalStatus.value[x]:valueCodeableConcept.id",
        "path" : "Patient.extension.value[x].id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.extension:legalStatus.value[x]:valueCodeableConcept.extension",
        "path" : "Patient.extension.value[x].extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional Content defined by implementations",
        "definition" : "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" : "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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.extension:legalStatus.value[x]:valueCodeableConcept.coding",
        "path" : "Patient.extension.value[x].coding",
        "short" : "Code defined by a terminology system",
        "definition" : "A reference to a code defined by a terminology system.",
        "comment" : "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" : "Allows for translations and alternate encodings within a code system. Also supports communication of the same instance to systems requiring different encodings.",
        "min" : 1,
        "max" : "*",
        "base" : {
          "path" : "CodeableConcept.coding",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Coding"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "C*E.1-8, C*E.10-22"
          },
          {
            "identity" : "rim",
            "map" : "union(., ./translation)"
          },
          {
            "identity" : "orim",
            "map" : "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"
          }
        ]
      },
      {
        "id" : "Patient.extension:legalStatus.value[x]:valueCodeableConcept.coding.id",
        "path" : "Patient.extension.value[x].coding.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.extension:legalStatus.value[x]:valueCodeableConcept.coding.extension",
        "path" : "Patient.extension.value[x].coding.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional Content defined by implementations",
        "definition" : "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" : "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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.extension:legalStatus.value[x]:valueCodeableConcept.coding.system",
        "path" : "Patient.extension.value[x].coding.system",
        "short" : "Identity of the terminology system",
        "definition" : "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment" : "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" : "Need to be unambiguous about the source of the definition of the symbol.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Coding.system",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "C*E.3"
          },
          {
            "identity" : "rim",
            "map" : "./codeSystem"
          },
          {
            "identity" : "orim",
            "map" : "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id" : "Patient.extension:legalStatus.value[x]:valueCodeableConcept.coding.version",
        "path" : "Patient.extension.value[x].coding.version",
        "short" : "Version of the system - if relevant",
        "definition" : "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" : "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" : 0,
        "max" : "1",
        "base" : {
          "path" : "Coding.version",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "C*E.7"
          },
          {
            "identity" : "rim",
            "map" : "./codeSystemVersion"
          },
          {
            "identity" : "orim",
            "map" : "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id" : "Patient.extension:legalStatus.value[x]:valueCodeableConcept.coding.code",
        "path" : "Patient.extension.value[x].coding.code",
        "short" : "Symbol in syntax defined by the system",
        "definition" : "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" : "Need to refer to a particular code in the system.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Coding.code",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "C*E.1"
          },
          {
            "identity" : "rim",
            "map" : "./code"
          },
          {
            "identity" : "orim",
            "map" : "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id" : "Patient.extension:legalStatus.value[x]:valueCodeableConcept.coding.display",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean" : true
          }
        ],
        "path" : "Patient.extension.value[x].coding.display",
        "short" : "Representation defined by the system",
        "definition" : "A representation of the meaning of the code in the system, following the rules of the system.",
        "requirements" : "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Coding.display",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "C*E.2 - but note this is not well followed"
          },
          {
            "identity" : "rim",
            "map" : "CV.displayName"
          },
          {
            "identity" : "orim",
            "map" : "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id" : "Patient.extension:legalStatus.value[x]:valueCodeableConcept.coding.userSelected",
        "path" : "Patient.extension.value[x].coding.userSelected",
        "short" : "If this coding was chosen directly by the user",
        "definition" : "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment" : "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" : "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" : 0,
        "max" : "1",
        "base" : {
          "path" : "Coding.userSelected",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "boolean"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "Sometimes implied by being first"
          },
          {
            "identity" : "rim",
            "map" : "CD.codingRationale"
          },
          {
            "identity" : "orim",
            "map" : "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 \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]"
          }
        ]
      },
      {
        "id" : "Patient.extension:legalStatus.value[x]:valueCodeableConcept.text",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean" : true
          }
        ],
        "path" : "Patient.extension.value[x].text",
        "short" : "Plain text representation of the concept",
        "definition" : "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" : "Very often the text is the same as a displayName of one of the codings.",
        "requirements" : "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" : 0,
        "max" : "1",
        "base" : {
          "path" : "CodeableConcept.text",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "C*E.9. But note many systems use C*E.2 for this"
          },
          {
            "identity" : "rim",
            "map" : "./originalText[mediaType/code=\"text/plain\"]/data"
          },
          {
            "identity" : "orim",
            "map" : "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"
          }
        ]
      },
      {
        "id" : "Patient.extension:lifeStance",
        "path" : "Patient.extension",
        "sliceName" : "lifeStance",
        "short" : "Optional Extensions Element",
        "definition" : "Optional Extension Element - found in all resources.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "DomainResource.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : "http://nictiz.nl/fhir/StructureDefinition/zib-LifeStance"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.extension:lifeStance.id",
        "path" : "Patient.extension.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.extension:lifeStance.extension",
        "path" : "Patient.extension.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional Content defined by implementations",
        "definition" : "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" : "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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.extension:lifeStance.url",
        "path" : "Patient.extension.url",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "identifies the meaning of the extension",
        "definition" : "Source of the definition for the extension code - a logical name or a URL.",
        "comment" : "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" : 1,
        "max" : "1",
        "base" : {
          "path" : "Extension.url",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "fixedUri" : "http://nictiz.nl/fhir/StructureDefinition/zib-LifeStance",
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.extension:lifeStance.value[x]",
        "path" : "Patient.extension.value[x]",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "type",
              "path" : "$this"
            }
          ],
          "ordered" : false,
          "rules" : "closed"
        },
        "short" : "Value of extension",
        "definition" : "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" : 1,
        "max" : "1",
        "base" : {
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.extension:lifeStance.value[x]:valueCodeableConcept",
        "path" : "Patient.extension.value[x]",
        "sliceName" : "valueCodeableConcept",
        "short" : "LifeStance",
        "definition" : "Patient’s life stance and/or religion.",
        "alias" : [
          "Levensovertuiging"
        ],
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "binding" : {
          "strength" : "preferred",
          "description" : "LevensovertuigingCodelijst",
          "valueSetReference" : {
            "reference" : "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.7.5.1--20171231000000"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          },
          {
            "identity" : "hcim-lifestance-v3.1-2017EN",
            "map" : "NL-CM:7.5.2",
            "comment" : "LifeStance"
          }
        ]
      },
      {
        "id" : "Patient.extension:lifeStance.value[x]:valueCodeableConcept.id",
        "path" : "Patient.extension.value[x].id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.extension:lifeStance.value[x]:valueCodeableConcept.extension",
        "path" : "Patient.extension.value[x].extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional Content defined by implementations",
        "definition" : "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" : "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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.extension:lifeStance.value[x]:valueCodeableConcept.coding",
        "path" : "Patient.extension.value[x].coding",
        "short" : "Code defined by a terminology system",
        "definition" : "A reference to a code defined by a terminology system.",
        "comment" : "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" : "Allows for translations and alternate encodings within a code system. Also supports communication of the same instance to systems requiring different encodings.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "CodeableConcept.coding",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Coding"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "C*E.1-8, C*E.10-22"
          },
          {
            "identity" : "rim",
            "map" : "union(., ./translation)"
          },
          {
            "identity" : "orim",
            "map" : "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"
          }
        ]
      },
      {
        "id" : "Patient.extension:lifeStance.value[x]:valueCodeableConcept.coding.id",
        "path" : "Patient.extension.value[x].coding.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.extension:lifeStance.value[x]:valueCodeableConcept.coding.extension",
        "path" : "Patient.extension.value[x].coding.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional Content defined by implementations",
        "definition" : "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" : "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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.extension:lifeStance.value[x]:valueCodeableConcept.coding.system",
        "path" : "Patient.extension.value[x].coding.system",
        "short" : "Identity of the terminology system",
        "definition" : "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment" : "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" : "Need to be unambiguous about the source of the definition of the symbol.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Coding.system",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "C*E.3"
          },
          {
            "identity" : "rim",
            "map" : "./codeSystem"
          },
          {
            "identity" : "orim",
            "map" : "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id" : "Patient.extension:lifeStance.value[x]:valueCodeableConcept.coding.version",
        "path" : "Patient.extension.value[x].coding.version",
        "short" : "Version of the system - if relevant",
        "definition" : "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" : "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" : 0,
        "max" : "1",
        "base" : {
          "path" : "Coding.version",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "C*E.7"
          },
          {
            "identity" : "rim",
            "map" : "./codeSystemVersion"
          },
          {
            "identity" : "orim",
            "map" : "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id" : "Patient.extension:lifeStance.value[x]:valueCodeableConcept.coding.code",
        "path" : "Patient.extension.value[x].coding.code",
        "short" : "Symbol in syntax defined by the system",
        "definition" : "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" : "Need to refer to a particular code in the system.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Coding.code",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "C*E.1"
          },
          {
            "identity" : "rim",
            "map" : "./code"
          },
          {
            "identity" : "orim",
            "map" : "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id" : "Patient.extension:lifeStance.value[x]:valueCodeableConcept.coding.display",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean" : true
          }
        ],
        "path" : "Patient.extension.value[x].coding.display",
        "short" : "Representation defined by the system",
        "definition" : "A representation of the meaning of the code in the system, following the rules of the system.",
        "requirements" : "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Coding.display",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "C*E.2 - but note this is not well followed"
          },
          {
            "identity" : "rim",
            "map" : "CV.displayName"
          },
          {
            "identity" : "orim",
            "map" : "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id" : "Patient.extension:lifeStance.value[x]:valueCodeableConcept.coding.userSelected",
        "path" : "Patient.extension.value[x].coding.userSelected",
        "short" : "If this coding was chosen directly by the user",
        "definition" : "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment" : "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" : "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" : 0,
        "max" : "1",
        "base" : {
          "path" : "Coding.userSelected",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "boolean"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "Sometimes implied by being first"
          },
          {
            "identity" : "rim",
            "map" : "CD.codingRationale"
          },
          {
            "identity" : "orim",
            "map" : "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 \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]"
          }
        ]
      },
      {
        "id" : "Patient.extension:lifeStance.value[x]:valueCodeableConcept.text",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean" : true
          }
        ],
        "path" : "Patient.extension.value[x].text",
        "short" : "Plain text representation of the concept",
        "definition" : "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" : "Very often the text is the same as a displayName of one of the codings.",
        "requirements" : "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" : 0,
        "max" : "1",
        "base" : {
          "path" : "CodeableConcept.text",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "C*E.9. But note many systems use C*E.2 for this"
          },
          {
            "identity" : "rim",
            "map" : "./originalText[mediaType/code=\"text/plain\"]/data"
          },
          {
            "identity" : "orim",
            "map" : "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"
          }
        ]
      },
      {
        "id" : "Patient.modifierExtension",
        "path" : "Patient.modifierExtension",
        "short" : "Extensions that cannot be ignored",
        "definition" : "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" : "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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "DomainResource.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "isModifier" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.identifier",
        "path" : "Patient.identifier",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "system"
            }
          ],
          "rules" : "open"
        },
        "short" : "PatientIdentificationNumber",
        "definition" : "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" : "Patients are almost always assigned specific numerical identifiers.",
        "alias" : [
          "Identificatienummer"
        ],
        "min" : 1,
        "max" : "*",
        "base" : {
          "path" : "Patient.identifier",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Identifier"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PID-3"
          },
          {
            "identity" : "rim",
            "map" : "id"
          },
          {
            "identity" : "cda",
            "map" : ".id"
          },
          {
            "identity" : "w5",
            "map" : "id"
          },
          {
            "identity" : "hcim-patient-v2.0.1-2015EN",
            "map" : "NL-CM:0.1.7",
            "comment" : "PatientIdentificationNumber"
          },
          {
            "identity" : "hcim-patient-v3.0-2016EN",
            "map" : "NL-CM:0.1.7",
            "comment" : "PatientIdentificationNumber"
          },
          {
            "identity" : "hcim-patient-v3.1-2017EN",
            "map" : "NL-CM:0.1.7",
            "comment" : "PatientIdentificationNumber"
          },
          {
            "identity" : "hcim-basicelements-v1.0-2017EN",
            "map" : "NL-CM:0.0.6",
            "comment" : "IdentificationNumber"
          }
        ]
      },
      {
        "id" : "Patient.identifier:BSN",
        "path" : "Patient.identifier",
        "sliceName" : "BSN",
        "short" : "BSN",
        "definition" : "An identifier for this patient.",
        "requirements" : "Patients are almost always assigned specific numerical identifiers.",
        "alias" : [
          "BSN"
        ],
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Patient.identifier",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Identifier"
          }
        ],
        "mustSupport" : true,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PID-3"
          },
          {
            "identity" : "rim",
            "map" : "id"
          },
          {
            "identity" : "cda",
            "map" : ".id"
          },
          {
            "identity" : "w5",
            "map" : "id"
          }
        ]
      },
      {
        "id" : "Patient.identifier:BSN.id",
        "path" : "Patient.identifier.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.identifier:BSN.extension",
        "path" : "Patient.identifier.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional Content defined by implementations",
        "definition" : "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" : "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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.identifier:BSN.use",
        "path" : "Patient.identifier.use",
        "short" : "usual | official | temp | secondary (If known)",
        "definition" : "The purpose of this identifier.",
        "comment" : "This is labeled as \"Is Modifier\" 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" : "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Identifier.use",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "isModifier" : true,
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "IdentifierUse"
            }
          ],
          "strength" : "required",
          "description" : "Identifies the purpose for this identifier, if known .",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/identifier-use"
          }
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "Role.code or implied by context"
          }
        ]
      },
      {
        "id" : "Patient.identifier:BSN.type",
        "path" : "Patient.identifier.type",
        "short" : "Description of identifier",
        "definition" : "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.",
        "comment" : "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. \n\nWhere 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" : "Allows users to make use of identifiers when the identifier system is not known.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Identifier.type",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "IdentifierType"
            }
          ],
          "strength" : "extensible",
          "description" : "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/identifier-type"
          }
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "CX.5"
          },
          {
            "identity" : "rim",
            "map" : "Role.code or implied by context"
          }
        ]
      },
      {
        "id" : "Patient.identifier:BSN.system",
        "path" : "Patient.identifier.system",
        "short" : "The namespace for the identifier value",
        "definition" : "Establishes the namespace for the value - that is, a URL that describes a set values that are unique.",
        "requirements" : "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" : 1,
        "max" : "1",
        "base" : {
          "path" : "Identifier.system",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "fixedUri" : "http://fhir.nl/fhir/NamingSystem/bsn",
        "example" : [
          {
            "label" : "General",
            "valueUri" : "http://www.acme.com/identifiers/patient"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "CX.4 / EI-2-4"
          },
          {
            "identity" : "rim",
            "map" : "II.root or Role.id.root"
          },
          {
            "identity" : "servd",
            "map" : "./IdentifierType"
          }
        ]
      },
      {
        "id" : "Patient.identifier:BSN.value",
        "path" : "Patient.identifier.value",
        "short" : "BSN (Burgerservicenummer (Dutch person identification number))",
        "definition" : "Burgerservicenummer is the Dutch person identification number which is also allowed for use in healthcare.",
        "comment" : "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" : [
          "BSN"
        ],
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Identifier.value",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "example" : [
          {
            "label" : "General",
            "valueString" : "123456"
          },
          {
            "label" : "Example of a burgerservicenummer",
            "valueString" : "123456782"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "CX.1 / EI.1"
          },
          {
            "identity" : "rim",
            "map" : "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)"
          },
          {
            "identity" : "servd",
            "map" : "./Value"
          }
        ]
      },
      {
        "id" : "Patient.identifier:BSN.period",
        "path" : "Patient.identifier.period",
        "short" : "Time period when id is/was valid for use",
        "definition" : "Time period during which identifier is/was valid for use.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Identifier.period",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Period"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "CX.7 + CX.8"
          },
          {
            "identity" : "rim",
            "map" : "Role.effectiveTime or implied by context"
          },
          {
            "identity" : "servd",
            "map" : "./StartDate and ./EndDate"
          }
        ]
      },
      {
        "id" : "Patient.identifier:BSN.assigner",
        "path" : "Patient.identifier.assigner",
        "short" : "Organization that issued id (may be just text)",
        "definition" : "Organization that issued/manages the identifier.",
        "comment" : "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" : 0,
        "max" : "1",
        "base" : {
          "path" : "Identifier.assigner",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Organization"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "CX.4 / (CX.4,CX.9,CX.10)"
          },
          {
            "identity" : "rim",
            "map" : "II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper"
          },
          {
            "identity" : "servd",
            "map" : "./IdentifierIssuingAuthority"
          }
        ]
      },
      {
        "id" : "Patient.active",
        "path" : "Patient.active",
        "short" : "Whether this patient's record is in active use",
        "definition" : "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" : "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\n\nThis 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" : "Need to be able to mark a patient record as not to be used because it was created in error.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Patient.active",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "boolean"
          }
        ],
        "defaultValueBoolean" : true,
        "isModifier" : true,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "statusCode"
          },
          {
            "identity" : "cda",
            "map" : "n/a"
          },
          {
            "identity" : "w5",
            "map" : "status"
          }
        ]
      },
      {
        "id" : "Patient.name",
        "path" : "Patient.name",
        "short" : "NameInformation",
        "definition" : "A human's name with the ability to identify parts and usage.",
        "comment" : "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.\r\n\r\nThe 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.\r\n\r\n**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. \r\n\r\nThe 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.\r\n\r\nSince 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:\r\n\r\n* Sending and receiving systems SHOULD always use the specified extensions when using this datatype.\r\n* Sending systems are encouraged to populate the `.text` element to unambigiously communicate the person's name.\r\n* 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`.\r\n* 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.\r\n* 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:\r\n * They encounter a single instance\r\n * And the `.use` element is absent\r\n * And all the name parts are differentiated using the specified extensions\r\n* In any other circumstance, receiving systems SHOULD interpret the usage as the normal use.\r\n\r\nExample: miss Irma Jongeneel marries mister de Haas and assumes the name Irma Jongeneel-de Haas:\r\n\r\n* `.family` = \"Jongeneel-de Haas\"\r\n* `.given` = \"Irma\" (with `.given:iso21090EnQualifier` = _BR_)\r\n* `.family:humannameOwnName` = \"Jongeneel\"\r\n* `.family:humannamePartnerPrefix` = \"de \"\r\n* `.family:humannamePartnerName` = \"Haas\"",
        "requirements" : "Need to be able to track the patient by multiple names. Examples are your official name and a partner name.",
        "alias" : [
          "Naamgegevens"
        ],
        "min" : 1,
        "max" : "*",
        "base" : {
          "path" : "Patient.name",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "HumanName",
            "profile" : "http://fhir.nl/fhir/StructureDefinition/nl-core-humanname"
          }
        ],
        "example" : [
          {
            "label" : "Structured HumanName (preferred above unstructured)",
            "valueHumanName" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/humanname-assembly-order",
                  "valueCode" : "NL4"
                }
              ],
              "text" : "Irma Jongeneel-de Haas",
              "family" : "Jongeneel-de Haas",
              "_family" : {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/humanname-own-name",
                    "valueString" : "Jongeneel"
                  },
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix",
                    "valueString" : "de"
                  },
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-name",
                    "valueString" : "Haas"
                  }
                ]
              },
              "given" : [
                "Irma"
              ],
              "_given" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
                      "valueCode" : "CL"
                    }
                  ]
                }
              ]
            }
          },
          {
            "label" : "Unstructured HumanName",
            "valueHumanName" : {
              "text" : "Irma Jongeneel-de Haas"
            }
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "nl-core-humanname-1",
            "severity" : "error",
            "human" : "if you specify a prefix for an own name then an own name is also expected",
            "expression" : "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" : "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" : "http://hl7.org/fhir/StructureDefinition/Patient"
          },
          {
            "key" : "nl-core-humanname-2",
            "severity" : "error",
            "human" : "if you specify a voorvoegsel for a partner name then a partner name is also expected",
            "expression" : "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" : "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" : "http://hl7.org/fhir/StructureDefinition/Patient"
          },
          {
            "key" : "zv-pat-1",
            "severity" : "error",
            "human" : "Either Patient.name.given and/or Patient.name.family and/or Patient.name.text SHALL be present.",
            "expression" : "(family.exists() or given.exists() or text.exists())",
            "xpath" : "/f:name/f:family or /f:name/f:given or /f:name/f:text"
          },
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
                "valueBoolean" : true
              }
            ],
            "key" : "zv-pat-2",
            "severity" : "warning",
            "human" : "To be usable for a wide range of internationally available applications, the Patient.name.text SHOULD be present.",
            "expression" : "text.exists()",
            "xpath" : "/f:name/f:text"
          }
        ],
        "mustSupport" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "v2",
            "map" : "XPN"
          },
          {
            "identity" : "rim",
            "map" : "EN (actually, PN)"
          },
          {
            "identity" : "servd",
            "map" : "ProviderName"
          },
          {
            "identity" : "hcim-nameinformation-v2.0.1-2015EN",
            "map" : "NL-CM:0.1.6",
            "comment" : "NameInformation"
          },
          {
            "identity" : "hcim-nameinformation-v3.0-2016EN",
            "map" : "NL-CM:0.1.6",
            "comment" : "NameInformation"
          },
          {
            "identity" : "hcim-nameinformation-v1.0.1-2017EN",
            "map" : "NL-CM:20.4.1",
            "comment" : "NameInformation"
          },
          {
            "identity" : "BRP",
            "map" : "02",
            "comment" : "Naam"
          },
          {
            "identity" : "hcim-patient-v2.0.1-2015EN",
            "map" : "NL-CM:0.1.6",
            "comment" : "NameInformation"
          },
          {
            "identity" : "hcim-patient-v3.0-2016EN",
            "map" : "NL-CM:0.1.6",
            "comment" : "NameInformation"
          },
          {
            "identity" : "hcim-patient-v3.1-2017EN",
            "map" : "NL-CM:0.1.6",
            "comment" : "NameInformation"
          },
          {
            "identity" : "hcim-payer-v1.2-2015EN",
            "map" : "NL-CM:1.1.5",
            "comment" : "PayerName"
          },
          {
            "identity" : "hcim-payer-v3.0-2016EN",
            "map" : "NL-CM:1.1.5",
            "comment" : "PayerName"
          },
          {
            "identity" : "hcim-payer-v3.1-2017EN",
            "map" : "NL-CM:1.1.5",
            "comment" : "PayerName"
          }
        ]
      },
      {
        "id" : "Patient.name.id",
        "path" : "Patient.name.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.name.extension",
        "path" : "Patient.name.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Extension",
        "definition" : "An Extension",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ]
      },
      {
        "id" : "Patient.name.extension:humannameAssemblyOrder",
        "path" : "Patient.name.extension",
        "sliceName" : "humannameAssemblyOrder",
        "short" : "Preferred display order of name parts",
        "definition" : "A code that represents the preferred display order of the components of this human name.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : "http://hl7.org/fhir/StructureDefinition/humanname-assembly-order"
          }
        ]
      },
      {
        "id" : "Patient.name.extension:humannameAssemblyOrder.id",
        "path" : "Patient.name.extension.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.name.extension:humannameAssemblyOrder.extension",
        "path" : "Patient.name.extension.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional Content defined by implementations",
        "definition" : "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" : "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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.name.extension:humannameAssemblyOrder.url",
        "path" : "Patient.name.extension.url",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "identifies the meaning of the extension",
        "definition" : "Source of the definition for the extension code - a logical name or a URL.",
        "comment" : "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" : 1,
        "max" : "1",
        "base" : {
          "path" : "Extension.url",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "fixedUri" : "http://hl7.org/fhir/StructureDefinition/humanname-assembly-order",
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.name.extension:humannameAssemblyOrder.valueCode:valueCode",
        "path" : "Patient.name.extension.valueCode",
        "sliceName" : "valueCode",
        "short" : "Value of extension",
        "definition" : "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" : 0,
        "max" : "1",
        "base" : {
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "HumanNameAssemblyOrder"
            }
          ],
          "strength" : "required",
          "description" : "A code that represents the preferred display order of the components of a human name",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/name-assembly-order"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.name.use",
        "path" : "Patient.name.use",
        "short" : "usual | official | temp | nickname | anonymous | old | maiden",
        "definition" : "Identifies the purpose for this name.",
        "comment" : "This is labeled as \"Is Modifier\" 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" : "Allows the appropriate name for a particular context of use to be selected from among a set of names.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "HumanName.use",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "isModifier" : true,
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "NameUse"
            }
          ],
          "strength" : "required",
          "description" : "The use of a human name",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/name-use"
          }
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "XPN.7, but often indicated by which field contains the name"
          },
          {
            "identity" : "rim",
            "map" : "unique(./use)"
          },
          {
            "identity" : "servd",
            "map" : "./NamePurpose"
          }
        ]
      },
      {
        "id" : "Patient.name.text",
        "path" : "Patient.name.text",
        "short" : "Text representation of the full name",
        "definition" : "A full text representation of the name.",
        "comment" : "Can provide both a text representation and structured parts.",
        "requirements" : "A renderable, unencoded form.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "HumanName.text",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "implied by XPN.11"
          },
          {
            "identity" : "rim",
            "map" : "./formatted"
          },
          {
            "identity" : "hcim-payer-v1.2-2015EN",
            "map" : "NL-CM:1.1.5",
            "comment" : "PayerName"
          },
          {
            "identity" : "hcim-payer-v3.0-2016EN",
            "map" : "NL-CM:1.1.5",
            "comment" : "PayerName"
          },
          {
            "identity" : "hcim-payer-v3.1-2017EN",
            "map" : "NL-CM:1.1.5",
            "comment" : "PayerName"
          }
        ]
      },
      {
        "id" : "Patient.name.family",
        "path" : "Patient.name.family",
        "short" : "Surname",
        "definition" : "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" : "Family Name may be decomposed into specific parts using extensions (de, nl, es related cultures).",
        "alias" : [
          "surname",
          "Achternaam"
        ],
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "HumanName.family",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "XPN.1/FN.1"
          },
          {
            "identity" : "rim",
            "map" : "./part[partType = FAM]"
          },
          {
            "identity" : "servd",
            "map" : "./FamilyName"
          }
        ]
      },
      {
        "id" : "Patient.name.family.id",
        "path" : "Patient.name.family.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references)",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "Patient.name.family.extension",
        "path" : "Patient.name.family.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "rules" : "open"
        },
        "short" : "Extension",
        "definition" : "An Extension",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ]
      },
      {
        "id" : "Patient.name.family.extension:humannameOwnPrefix",
        "path" : "Patient.name.family.extension",
        "sliceName" : "humannameOwnPrefix",
        "short" : "PrefixOwnName",
        "definition" : "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" : "An example of a voorvoegsel is the \"van\" in \"Ludwig van Beethoven\". Since the voorvoegsel doesn't sort completely alphabetically, it is reasonable to specify it as a separate sub-component.",
        "alias" : [
          "VoorvoegselGeslachtsnaam"
        ],
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "FN.2"
          },
          {
            "identity" : "rim",
            "map" : "ENXP where Qualifiers = (VV, R)"
          },
          {
            "identity" : "hcim-nameinformation-v2.0.1-2015EN",
            "map" : "NL-CM:0.1.38",
            "comment" : "Prefix"
          },
          {
            "identity" : "hcim-nameinformation-v3.0-2016EN",
            "map" : "NL-CM:0.1.38",
            "comment" : "Prefix"
          },
          {
            "identity" : "hcim-nameinformation-v1.0.1-2017EN",
            "map" : "NL-CM:20.4.11",
            "comment" : "Prefix"
          }
        ]
      },
      {
        "id" : "Patient.name.family.extension:humannameOwnPrefix.id",
        "path" : "Patient.name.family.extension.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.name.family.extension:humannameOwnPrefix.extension",
        "path" : "Patient.name.family.extension.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional Content defined by implementations",
        "definition" : "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" : "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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.name.family.extension:humannameOwnPrefix.url",
        "path" : "Patient.name.family.extension.url",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "identifies the meaning of the extension",
        "definition" : "Source of the definition for the extension code - a logical name or a URL.",
        "comment" : "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" : 1,
        "max" : "1",
        "base" : {
          "path" : "Extension.url",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "fixedUri" : "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix",
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.name.family.extension:humannameOwnPrefix.valueString:valueString",
        "path" : "Patient.name.family.extension.valueString",
        "sliceName" : "valueString",
        "short" : "Value of extension",
        "definition" : "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" : 0,
        "max" : "1",
        "base" : {
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.name.family.extension:humannameOwnName",
        "path" : "Patient.name.family.extension",
        "sliceName" : "humannameOwnName",
        "short" : "OwnName",
        "definition" : "The person’s official last name.",
        "comment" : "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 \"maiden name\".",
        "alias" : [
          "Geslachtsnaam"
        ],
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : "http://hl7.org/fhir/StructureDefinition/humanname-own-name"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "FN.3"
          },
          {
            "identity" : "rim",
            "map" : "ENXP where Qualifiers = (BR)"
          },
          {
            "identity" : "hcim-nameinformation-v2.0.1-2015EN",
            "map" : "NL-CM:0.1.24",
            "comment" : "LastName"
          },
          {
            "identity" : "hcim-nameinformation-v3.0-2016EN",
            "map" : "NL-CM:0.1.24",
            "comment" : "LastName"
          },
          {
            "identity" : "hcim-nameinformation-v1.0.1-2017EN",
            "map" : "NL-CM:20.4.10",
            "comment" : "LastName"
          }
        ]
      },
      {
        "id" : "Patient.name.family.extension:humannameOwnName.id",
        "path" : "Patient.name.family.extension.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.name.family.extension:humannameOwnName.extension",
        "path" : "Patient.name.family.extension.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional Content defined by implementations",
        "definition" : "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" : "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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.name.family.extension:humannameOwnName.url",
        "path" : "Patient.name.family.extension.url",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "identifies the meaning of the extension",
        "definition" : "Source of the definition for the extension code - a logical name or a URL.",
        "comment" : "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" : 1,
        "max" : "1",
        "base" : {
          "path" : "Extension.url",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "fixedUri" : "http://hl7.org/fhir/StructureDefinition/humanname-own-name",
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.name.family.extension:humannameOwnName.valueString:valueString",
        "path" : "Patient.name.family.extension.valueString",
        "sliceName" : "valueString",
        "short" : "Value of extension",
        "definition" : "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" : 0,
        "max" : "1",
        "base" : {
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.name.family.extension:humannamePartnerPrefix",
        "path" : "Patient.name.family.extension",
        "sliceName" : "humannamePartnerPrefix",
        "short" : "PrefixSurname",
        "definition" : "Voorvoegsel derived from person's partner's surname inclusive of the space between the prefix and the surname, if applicable.",
        "comment" : "An example of a voorvoegsel is the \"van\" in \"Ludwig van Beethoven\". Since the voorvoegsel doesn't sort completely alphabetically, it is reasonable to identify it as a separate sub-component.",
        "alias" : [
          "VoorvoegselGeslachtsnaamPartner"
        ],
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "FN.4"
          },
          {
            "identity" : "rim",
            "map" : "ENXP where Qualifiers = (VV, SP)"
          },
          {
            "identity" : "hcim-nameinformation-v2.0.1-2015EN",
            "map" : "NL-CM:0.1.39",
            "comment" : "PartnerPrefix"
          },
          {
            "identity" : "hcim-nameinformation-v3.0-2016EN",
            "map" : "NL-CM:0.1.39",
            "comment" : "PartnerPrefix"
          },
          {
            "identity" : "hcim-nameinformation-v1.0.1-2017EN",
            "map" : "NL-CM:20.4.9",
            "comment" : "PartnerPrefix"
          }
        ]
      },
      {
        "id" : "Patient.name.family.extension:humannamePartnerPrefix.id",
        "path" : "Patient.name.family.extension.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.name.family.extension:humannamePartnerPrefix.extension",
        "path" : "Patient.name.family.extension.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional Content defined by implementations",
        "definition" : "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" : "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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.name.family.extension:humannamePartnerPrefix.url",
        "path" : "Patient.name.family.extension.url",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "identifies the meaning of the extension",
        "definition" : "Source of the definition for the extension code - a logical name or a URL.",
        "comment" : "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" : 1,
        "max" : "1",
        "base" : {
          "path" : "Extension.url",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "fixedUri" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix",
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.name.family.extension:humannamePartnerPrefix.valueString:valueString",
        "path" : "Patient.name.family.extension.valueString",
        "sliceName" : "valueString",
        "short" : "Value of extension",
        "definition" : "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" : 0,
        "max" : "1",
        "base" : {
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.name.family.extension:humannamePartnerName",
        "path" : "Patient.name.family.extension",
        "sliceName" : "humannamePartnerName",
        "short" : "LastNamePartner",
        "definition" : "Partner’s official last name.",
        "comment" : "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 \"maiden name\".",
        "alias" : [
          "GeslachtsnaamPartner"
        ],
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-name"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "FN.5"
          },
          {
            "identity" : "rim",
            "map" : "ENXP where Qualifiers = (SP)"
          },
          {
            "identity" : "hcim-nameinformation-v2.0.1-2015EN",
            "map" : "NL-CM:0.1.25",
            "comment" : "PartnerLastName"
          },
          {
            "identity" : "hcim-nameinformation-v3.0-2016EN",
            "map" : "NL-CM:0.1.25",
            "comment" : "PartnerLastName"
          },
          {
            "identity" : "hcim-nameinformation-v1.0.1-2017EN",
            "map" : "NL-CM:20.4.8",
            "comment" : "PartnerLastName"
          }
        ]
      },
      {
        "id" : "Patient.name.family.extension:humannamePartnerName.id",
        "path" : "Patient.name.family.extension.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.name.family.extension:humannamePartnerName.extension",
        "path" : "Patient.name.family.extension.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional Content defined by implementations",
        "definition" : "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" : "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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.name.family.extension:humannamePartnerName.url",
        "path" : "Patient.name.family.extension.url",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "identifies the meaning of the extension",
        "definition" : "Source of the definition for the extension code - a logical name or a URL.",
        "comment" : "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" : 1,
        "max" : "1",
        "base" : {
          "path" : "Extension.url",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "fixedUri" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-name",
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.name.family.extension:humannamePartnerName.valueString:valueString",
        "path" : "Patient.name.family.extension.valueString",
        "sliceName" : "valueString",
        "short" : "Value of extension",
        "definition" : "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" : 0,
        "max" : "1",
        "base" : {
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.name.family.value",
        "path" : "Patient.name.family.value",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "Primitive value for string",
        "definition" : "The actual value",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "string.value",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "_code" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
                  "valueString" : "string"
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
                  "valueString" : "xsd:string"
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
                  "valueString" : "xsd:string"
                }
              ]
            }
          }
        ],
        "maxLength" : 1048576
      },
      {
        "id" : "Patient.name.given",
        "path" : "Patient.name.given",
        "short" : "Given",
        "definition" : "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" : "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.\r\n\r\nPlease see the compatibility note on the containing element as well!",
        "alias" : [
          "first name",
          "middle name",
          "Voornamen",
          "Initialen",
          "Roepnaam"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "HumanName.given",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "orderMeaning" : "Given Names appear in the correct order for presenting the name",
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "XPN.2 + XPN.3"
          },
          {
            "identity" : "rim",
            "map" : "./part[partType = GIV]"
          },
          {
            "identity" : "servd",
            "map" : "./GivenNames"
          },
          {
            "identity" : "hcim-nameinformation-v2.0.1-2015EN",
            "map" : "NL-CM:0.1.26",
            "comment" : "FirstNames. Qualifier 'BR'"
          },
          {
            "identity" : "hcim-nameinformation-v2.0.1-2015EN",
            "map" : "NL-CM:0.1.35",
            "comment" : "Initials. Qualifier 'IN'"
          },
          {
            "identity" : "hcim-nameinformation-v2.0.1-2015EN",
            "map" : "NL-CM:0.1.27",
            "comment" : "GivenName. Qualifier 'CL'"
          },
          {
            "identity" : "BRP",
            "map" : "02.10",
            "comment" : "Voornamen"
          },
          {
            "identity" : "hcim-nameinformation-v3.0-2016EN",
            "map" : "NL-CM:0.1.26",
            "comment" : "FirstNames. Qualifier 'BR'"
          },
          {
            "identity" : "hcim-nameinformation-v3.0-2016EN",
            "map" : "NL-CM:0.1.35",
            "comment" : "Initials. Qualifier 'IN'"
          },
          {
            "identity" : "hcim-nameinformation-v3.0-2016EN",
            "map" : "NL-CM:0.1.27",
            "comment" : "GivenName. Qualifier 'CL'"
          },
          {
            "identity" : "hcim-nameinformation-v1.0.1-2017EN",
            "map" : "NL-CM:20.4.4",
            "comment" : "FirstNames. Qualifier 'BR'"
          },
          {
            "identity" : "hcim-nameinformation-v1.0.1-2017EN",
            "map" : "NL-CM:20.4.5",
            "comment" : "Initials. Qualifier 'IN'"
          },
          {
            "identity" : "hcim-nameinformation-v1.0.1-2017EN",
            "map" : "NL-CM:20.4.6",
            "comment" : "GivenName. Qualifier 'CL'"
          }
        ]
      },
      {
        "id" : "Patient.name.given.id",
        "path" : "Patient.name.given.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references)",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "Patient.name.given.extension",
        "path" : "Patient.name.given.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "rules" : "open"
        },
        "short" : "Extension",
        "definition" : "An Extension",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ]
      },
      {
        "id" : "Patient.name.given.extension:iso21090EnQualifier",
        "path" : "Patient.name.given.extension",
        "sliceName" : "iso21090EnQualifier",
        "short" : "LS | AC | NB | PR | HON | BR | AD | SP | MID | CL | IN | VV",
        "definition" : "A set of codes each of which specifies a certain subcategory of the name part in addition to the main name part type.",
        "comment" : "Used to indicate additional information about the name part and how it should be used.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "ENXP.qualifier"
          }
        ]
      },
      {
        "id" : "Patient.name.given.extension:iso21090EnQualifier.id",
        "path" : "Patient.name.given.extension.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.name.given.extension:iso21090EnQualifier.extension",
        "path" : "Patient.name.given.extension.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional Content defined by implementations",
        "definition" : "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" : "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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.name.given.extension:iso21090EnQualifier.url",
        "path" : "Patient.name.given.extension.url",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "identifies the meaning of the extension",
        "definition" : "Source of the definition for the extension code - a logical name or a URL.",
        "comment" : "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" : 1,
        "max" : "1",
        "base" : {
          "path" : "Extension.url",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.name.given.extension:iso21090EnQualifier.valueCode:valueCode",
        "path" : "Patient.name.given.extension.valueCode",
        "sliceName" : "valueCode",
        "short" : "Value of extension",
        "definition" : "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" : 0,
        "max" : "1",
        "base" : {
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "EntityNamePartQualifier"
            }
          ],
          "strength" : "required",
          "description" : "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" : "http://hl7.org/fhir/ValueSet/name-part-qualifier"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.name.given.value",
        "path" : "Patient.name.given.value",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "Primitive value for string",
        "definition" : "The actual value",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "string.value",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "_code" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
                  "valueString" : "string"
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
                  "valueString" : "xsd:string"
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
                  "valueString" : "xsd:string"
                }
              ]
            }
          }
        ],
        "maxLength" : 1048576
      },
      {
        "id" : "Patient.name.prefix",
        "path" : "Patient.name.prefix",
        "short" : "Parts that come before the name",
        "definition" : "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" : 0,
        "max" : "*",
        "base" : {
          "path" : "HumanName.prefix",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "orderMeaning" : "Prefixes appear in the correct order for presenting the name",
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "XPN.5"
          },
          {
            "identity" : "rim",
            "map" : "./part[partType = PFX]"
          },
          {
            "identity" : "servd",
            "map" : "./TitleCode"
          }
        ]
      },
      {
        "id" : "Patient.name.suffix",
        "path" : "Patient.name.suffix",
        "short" : "Parts that come after the name",
        "definition" : "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" : 0,
        "max" : "*",
        "base" : {
          "path" : "HumanName.suffix",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "orderMeaning" : "Suffixes appear in the correct order for presenting the name",
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "XPN/4"
          },
          {
            "identity" : "rim",
            "map" : "./part[partType = SFX]"
          }
        ]
      },
      {
        "id" : "Patient.name.period",
        "path" : "Patient.name.period",
        "short" : "Time period when name was/is in use",
        "definition" : "Indicates the period of time when this name was valid for the named person.",
        "requirements" : "Allows names to be placed in historical context.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "HumanName.period",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Period"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "XPN.13 + XPN.14"
          },
          {
            "identity" : "rim",
            "map" : "./usablePeriod[type=\"IVL<TS>\"]"
          },
          {
            "identity" : "servd",
            "map" : "./StartDate and ./EndDate"
          }
        ]
      },
      {
        "id" : "Patient.telecom",
        "path" : "Patient.telecom",
        "short" : "ContactInformation",
        "definition" : "A contact detail for the individual. Note that there is no support for multiple use values like 'mobile business'.",
        "comment" : "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" : "People have (primary) ways to contact them in some way such as phone, email.",
        "alias" : [
          "Contactgegevens"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Patient.telecom",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "ContactPoint",
            "profile" : "http://fhir.nl/fhir/StructureDefinition/nl-core-contactpoint"
          }
        ],
        "example" : [
          {
            "label" : "Mobile business phone number. Note: the mobile nature stems from the number being an 06-* number.",
            "valueContactPoint" : {
              "system" : "phone",
              "value" : "+31611234567",
              "use" : "work"
            }
          },
          {
            "label" : "Mobile phone number undetermined private/business. Note: the mobile nature stems from the number being an 06-* number.",
            "valueContactPoint" : {
              "system" : "phone",
              "value" : "+31611234567",
              "use" : "mobile"
            }
          },
          {
            "label" : "Primary Home Land Line",
            "valueContactPoint" : {
              "extension" : [
                {
                  "url" : "http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType",
                  "valueCodeableConcept" : {
                    "coding" : [
                      {
                        "system" : "urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.22.1",
                        "code" : "LL",
                        "display" : "Land Line"
                      }
                    ]
                  }
                }
              ],
              "system" : "phone",
              "value" : "...",
              "use" : "home"
            }
          },
          {
            "label" : "Temporary Land Line",
            "valueContactPoint" : {
              "extension" : [
                {
                  "url" : "http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType",
                  "valueCodeableConcept" : {
                    "coding" : [
                      {
                        "system" : "urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.22.1",
                        "code" : "LL",
                        "display" : "Land Line"
                      }
                    ]
                  }
                }
              ],
              "system" : "phone",
              "value" : "...",
              "use" : "temp"
            }
          },
          {
            "label" : "Primary Work Land Line",
            "valueContactPoint" : {
              "extension" : [
                {
                  "url" : "http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType",
                  "valueCodeableConcept" : {
                    "coding" : [
                      {
                        "system" : "urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.22.1",
                        "code" : "LL",
                        "display" : "Land Line"
                      }
                    ]
                  }
                }
              ],
              "system" : "phone",
              "value" : "...",
              "use" : "work"
            }
          },
          {
            "label" : "Primary Home Fax",
            "valueContactPoint" : {
              "extension" : [
                {
                  "url" : "http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType",
                  "valueCodeableConcept" : {
                    "coding" : [
                      {
                        "system" : "urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.22.1",
                        "code" : "FAX",
                        "display" : "Fax"
                      }
                    ]
                  }
                }
              ],
              "system" : "fax",
              "value" : "...",
              "use" : "home"
            }
          },
          {
            "label" : "Temporary Fax",
            "valueContactPoint" : {
              "extension" : [
                {
                  "url" : "http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType",
                  "valueCodeableConcept" : {
                    "coding" : [
                      {
                        "system" : "urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.22.1",
                        "code" : "FAX",
                        "display" : "Fax"
                      }
                    ]
                  }
                }
              ],
              "system" : "fax",
              "value" : "...",
              "use" : "temp"
            }
          },
          {
            "label" : "Primary Work Fax",
            "valueContactPoint" : {
              "extension" : [
                {
                  "url" : "http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType",
                  "valueCodeableConcept" : {
                    "coding" : [
                      {
                        "system" : "urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.22.1",
                        "code" : "FAX",
                        "display" : "Fax"
                      }
                    ]
                  }
                }
              ],
              "system" : "fax",
              "value" : "...",
              "use" : "work"
            }
          },
          {
            "label" : "Primary Home Mobile Phone",
            "valueContactPoint" : {
              "extension" : [
                {
                  "url" : "http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType",
                  "valueCodeableConcept" : {
                    "coding" : [
                      {
                        "system" : "http://hl7.org/fhir/v3/AddressUse",
                        "code" : "MC",
                        "display" : "Mobile Phone"
                      }
                    ]
                  }
                }
              ],
              "system" : "phone",
              "value" : "...",
              "use" : "home"
            }
          },
          {
            "label" : "Temporary Mobile Phone",
            "valueContactPoint" : {
              "extension" : [
                {
                  "url" : "http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType",
                  "valueCodeableConcept" : {
                    "coding" : [
                      {
                        "system" : "http://hl7.org/fhir/v3/AddressUse",
                        "code" : "MC",
                        "display" : "Mobile Phone"
                      }
                    ]
                  }
                }
              ],
              "system" : "phone",
              "value" : "...",
              "use" : "temp"
            }
          },
          {
            "label" : "Primary Work Mobile Phone",
            "valueContactPoint" : {
              "extension" : [
                {
                  "url" : "http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType",
                  "valueCodeableConcept" : {
                    "coding" : [
                      {
                        "system" : "http://hl7.org/fhir/v3/AddressUse",
                        "code" : "MC",
                        "display" : "Mobile Phone"
                      }
                    ]
                  }
                }
              ],
              "system" : "phone",
              "value" : "...",
              "use" : "work"
            }
          },
          {
            "label" : "Primary Home Pager",
            "valueContactPoint" : {
              "extension" : [
                {
                  "url" : "http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType",
                  "valueCodeableConcept" : {
                    "coding" : [
                      {
                        "system" : "http://hl7.org/fhir/v3/AddressUse",
                        "code" : "PG",
                        "display" : "Pager"
                      }
                    ]
                  }
                }
              ],
              "system" : "pager",
              "value" : "...",
              "use" : "home"
            }
          },
          {
            "label" : "Temporary Pager",
            "valueContactPoint" : {
              "extension" : [
                {
                  "url" : "http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType",
                  "valueCodeableConcept" : {
                    "coding" : [
                      {
                        "system" : "http://hl7.org/fhir/v3/AddressUse",
                        "code" : "PG",
                        "display" : "Pager"
                      }
                    ]
                  }
                }
              ],
              "system" : "pager",
              "value" : "...",
              "use" : "temp"
            }
          },
          {
            "label" : "Primary Work Pager",
            "valueContactPoint" : {
              "extension" : [
                {
                  "url" : "http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType",
                  "valueCodeableConcept" : {
                    "coding" : [
                      {
                        "system" : "http://hl7.org/fhir/v3/AddressUse",
                        "code" : "PG",
                        "display" : "Pager"
                      }
                    ]
                  }
                }
              ],
              "system" : "pager",
              "value" : "...",
              "use" : "work"
            }
          },
          {
            "label" : "Private email address",
            "valueContactPoint" : {
              "system" : "email",
              "value" : "giesput@myweb.nl",
              "use" : "home"
            }
          },
          {
            "label" : "Work email address",
            "valueContactPoint" : {
              "system" : "email",
              "value" : "example@workplace.nl",
              "use" : "work"
            }
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "cpt-2",
            "severity" : "error",
            "human" : "A system is required if a value is provided.",
            "expression" : "value.empty() or system.exists()",
            "xpath" : "not(exists(f:value)) or exists(f:system)",
            "source" : "http://hl7.org/fhir/StructureDefinition/ContactPoint"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "v2",
            "map" : "XTN"
          },
          {
            "identity" : "rim",
            "map" : "TEL"
          },
          {
            "identity" : "servd",
            "map" : "ContactPoint"
          },
          {
            "identity" : "hcim-contactinformation-v2.0.1-2015EN",
            "map" : "NL-CM:0.1.5",
            "comment" : "ContactInformation"
          },
          {
            "identity" : "hcim-contactinformation-v3.0-2016EN",
            "map" : "NL-CM:0.1.5",
            "comment" : "ContactInformation"
          },
          {
            "identity" : "hcim-contactinformation-v1.0-2017EN",
            "map" : "NL-CM:20.6.1",
            "comment" : "ContactInformation"
          },
          {
            "identity" : "hcim-patient-v2.0.1-2015EN",
            "map" : "NL-CM:0.1.5",
            "comment" : "ContactInformation"
          },
          {
            "identity" : "hcim-patient-v3.0-2016EN",
            "map" : "NL-CM:0.1.5",
            "comment" : "ContactInformation"
          },
          {
            "identity" : "hcim-patient-v3.1-2017EN",
            "map" : "NL-CM:0.1.5",
            "comment" : "ContactInformation"
          },
          {
            "identity" : "hcim-payer-v1.2-2015EN",
            "map" : "NL-CM:1.1.12",
            "comment" : "TelephoneEmail::ContactInformation"
          },
          {
            "identity" : "hcim-payer-v3.0-2016EN",
            "map" : "NL-CM:1.1.12",
            "comment" : "TelephoneEmail::ContactInformation"
          },
          {
            "identity" : "hcim-payer-v3.1-2017EN",
            "map" : "NL-CM:1.1.12",
            "comment" : "ContactInformation"
          }
        ]
      },
      {
        "id" : "Patient.gender",
        "path" : "Patient.gender",
        "short" : "Gender",
        "definition" : "Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes.",
        "comment" : "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 \"hard\" error.",
        "requirements" : "Needed for identification of the individual, in combination with (at least) name and birth date. Gender of individual drives many clinical processes.",
        "alias" : [
          "Geslacht"
        ],
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Patient.gender",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "mustSupport" : true,
        "isSummary" : true,
        "binding" : {
          "strength" : "required",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/administrative-gender"
          }
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PID-8"
          },
          {
            "identity" : "rim",
            "map" : "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender"
          },
          {
            "identity" : "cda",
            "map" : ".patient.administrativeGenderCode"
          },
          {
            "identity" : "hcim-patient-v2.0.1-2015EN",
            "map" : "NL-CM:0.1.9",
            "comment" : "Gender. Use FHIR Core ConceptMap for HCIM mapping: http://nictiz.nl/fhir/ConceptMap/GeslachtCodelijst-to-AdministrativeGender"
          },
          {
            "identity" : "hcim-patient-v3.0-2016EN",
            "map" : "NL-CM:0.1.9",
            "comment" : "Gender. Use FHIR Core ConceptMap for HCIM mapping: http://nictiz.nl/fhir/ConceptMap/GeslachtCodelijst-to-AdministrativeGender"
          },
          {
            "identity" : "hcim-patient-v3.1-2017EN",
            "map" : "NL-CM:0.1.9",
            "comment" : "Gender. Use FHIR Core ConceptMap for HCIM mapping: http://nictiz.nl/fhir/ConceptMap/GeslachtCodelijst-to-AdministrativeGender"
          }
        ]
      },
      {
        "id" : "Patient.gender.id",
        "path" : "Patient.gender.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references)",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "Patient.gender.extension",
        "path" : "Patient.gender.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "rules" : "open"
        },
        "short" : "Extension",
        "definition" : "An Extension",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ]
      },
      {
        "id" : "Patient.gender.extension:GeslachtCodelijst",
        "path" : "Patient.gender.extension",
        "sliceName" : "GeslachtCodelijst",
        "short" : "Gender",
        "definition" : "Patient’s administrative gender.",
        "alias" : [
          "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.",
          "Geslacht"
        ],
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : "http://nictiz.nl/fhir/StructureDefinition/code-specification"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ]
      },
      {
        "id" : "Patient.gender.extension:GeslachtCodelijst.id",
        "path" : "Patient.gender.extension.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.gender.extension:GeslachtCodelijst.extension",
        "path" : "Patient.gender.extension.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional Content defined by implementations",
        "definition" : "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" : "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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.gender.extension:GeslachtCodelijst.url",
        "path" : "Patient.gender.extension.url",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "identifies the meaning of the extension",
        "definition" : "Source of the definition for the extension code - a logical name or a URL.",
        "comment" : "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" : 1,
        "max" : "1",
        "base" : {
          "path" : "Extension.url",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "fixedUri" : "http://nictiz.nl/fhir/StructureDefinition/code-specification",
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.gender.extension:GeslachtCodelijst.value[x]",
        "path" : "Patient.gender.extension.value[x]",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "type",
              "path" : "$this"
            }
          ],
          "ordered" : false,
          "rules" : "closed"
        },
        "short" : "Value of extension",
        "definition" : "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" : 1,
        "max" : "1",
        "base" : {
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.gender.extension:GeslachtCodelijst.value[x]:valueCodeableConcept",
        "path" : "Patient.gender.extension.value[x]",
        "sliceName" : "valueCodeableConcept",
        "short" : "Value of extension",
        "definition" : "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" : 1,
        "max" : "1",
        "base" : {
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "binding" : {
          "strength" : "extensible",
          "description" : "GeslachtCodelijst",
          "valueSetReference" : {
            "reference" : "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.0.1.1--20171231000000"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.gender.value",
        "path" : "Patient.gender.value",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "Primitive value for code",
        "definition" : "Primitive value for code",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "string.value",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-regex",
                "valueString" : "[^\\s]+([\\s]?[^\\s]+)*"
              }
            ],
            "_code" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
                  "valueString" : "string"
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
                  "valueString" : "xsd:token"
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
                  "valueString" : "xsd:token"
                }
              ]
            }
          }
        ]
      },
      {
        "id" : "Patient.birthDate",
        "path" : "Patient.birthDate",
        "short" : "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" : "The date of birth for the individual.",
        "comment" : "At least an estimated year should be provided as a guess if the real DOB is unknown There is a standard extension \"patient-birthTime\" available that should be used where Time is required (such as in maternaty/infant care systems).",
        "requirements" : "Age of the individual drives many clinical processes.",
        "alias" : [
          "Geboortedatum"
        ],
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Patient.birthDate",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "date"
          }
        ],
        "mustSupport" : true,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PID-7"
          },
          {
            "identity" : "rim",
            "map" : "player[classCode=PSN|ANM and determinerCode=INSTANCE]/birthTime"
          },
          {
            "identity" : "cda",
            "map" : ".patient.birthTime"
          },
          {
            "identity" : "loinc",
            "map" : "21112-8"
          },
          {
            "identity" : "hcim-patient-v2.0.1-2015EN",
            "map" : "NL-CM:0.1.10",
            "comment" : "DateOfBirth"
          },
          {
            "identity" : "hcim-patient-v3.0-2016EN",
            "map" : "NL-CM:0.1.10",
            "comment" : "DateOfBirth"
          },
          {
            "identity" : "hcim-patient-v3.1-2017EN",
            "map" : "NL-CM:0.1.10",
            "comment" : "DateOfBirth"
          }
        ]
      },
      {
        "id" : "Patient.deceased[x]",
        "path" : "Patient.deceased[x]",
        "short" : "DeathIndicator/DateOfDeath",
        "definition" : "Indicates if the individual is deceased or not.",
        "comment" : "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.\n\nThis 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" : "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" : [
          "Overlijdensindicator/DatumOverlijden"
        ],
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Patient.deceased[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "boolean"
          },
          {
            "code" : "dateTime"
          }
        ],
        "mustSupport" : true,
        "isModifier" : true,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PID-30 (bool) and PID-29 (datetime)"
          },
          {
            "identity" : "rim",
            "map" : "player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedTime"
          },
          {
            "identity" : "cda",
            "map" : "n/a"
          },
          {
            "identity" : "hcim-patient-v2.0.1-2015EN",
            "map" : "NL-CM:0.1.32",
            "comment" : "DeathIndicator"
          },
          {
            "identity" : "hcim-patient-v3.0-2016EN",
            "map" : "NL-CM:0.1.32",
            "comment" : "DeathIndicator"
          },
          {
            "identity" : "hcim-patient-v3.1-2017EN",
            "map" : "NL-CM:0.1.32",
            "comment" : "DeathIndicator"
          },
          {
            "identity" : "hcim-patient-v2.0.1-2015EN",
            "map" : "NL-CM:0.1.33",
            "comment" : "DateOfDeath"
          },
          {
            "identity" : "hcim-patient-v3.0-2016EN",
            "map" : "NL-CM:0.1.33",
            "comment" : "DateOfDeath"
          },
          {
            "identity" : "hcim-patient-v3.1-2017EN",
            "map" : "NL-CM:0.1.33",
            "comment" : "DateOfDeath"
          }
        ]
      },
      {
        "id" : "Patient.address",
        "path" : "Patient.address",
        "short" : "AddressInformation",
        "definition" : "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.\r\n\r\nTo 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.\r\n\r\n**Separate address parts**\r\n\r\nThe 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.\r\n\r\n**Custom address types**\r\n\r\nThe 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 <http://nictiz.nl/fhir/ConceptMap/AdresSoortCodelijst-to-AddressUse> and <http://nictiz.nl/fhir/ConceptMap/AdresSoortCodelijst-to-AddressType> as well). The HCIM code itself should also be included using the AddressType extension.\r\n\r\n| HCIM |` .ext:AddressType` | `.ext:official` | `.use` | `.type` |\r\n|-----------------------------------|:------------------:|:---------------:|:------:|:----------:|\r\n| Postal Address/Postadres | _PST_ | | | _postal_ |\r\n| Primary Home/Officieel adres | _HP_ | true | _home_ | |\r\n| Visit Address/Woon-/verblijfadres | _PHYS_ | | _home_ | _physical_ |\r\n| Temporary Address/Tijdelijk adres | _TMP_ | | _temp_ | |\r\n| Work Place/Werkadres | _WP_ | | _work_ | |\r\n| Vacation Home/Vakantie adres | _HV_ | | _temp_ | |\r\n\r\n 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.\r\n\r\nNOTE: 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" : "Note: address is for postal addresses, not physical locations.",
        "requirements" : "May need to keep track of patient addresses for contacting, billing or reporting requirements and also to help with identification.",
        "alias" : [
          "AdresInformatie",
          "Adresgegevens"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Patient.address",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Address",
            "profile" : "http://fhir.nl/fhir/StructureDefinition/nl-core-address"
          }
        ],
        "example" : [
          {
            "label" : "Example of a Vacation Home address",
            "valueAddress" : {
              "extension" : [
                {
                  "url" : "http://nictiz.nl/fhir/StructureDefinition/zib-AddressInformation-AddressType",
                  "valueCodeableConcept" : {
                    "coding" : [
                      {
                        "system" : "http://hl7.org/fhir/v3/AddressUse",
                        "code" : "HV",
                        "display" : "Vakantie adres"
                      }
                    ]
                  }
                }
              ],
              "use" : "temp",
              "line" : [
                "Binnenkant 12A Hoog"
              ],
              "_line" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
                      "valueString" : "Binnenkant"
                    },
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
                      "valueString" : "12"
                    },
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix",
                      "valueString" : "A"
                    },
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID",
                      "valueString" : "Hoog"
                    }
                  ]
                }
              ],
              "city" : "Amsterdam",
              "state" : "NH",
              "postalCode" : "1000AA",
              "country" : "NLD"
            }
          },
          {
            "label" : "Example of a Primary Home address",
            "valueAddress" : {
              "extension" : [
                {
                  "url" : "http://nictiz.nl/fhir/StructureDefinition/zib-AddressInformation-AddressType",
                  "valueCodeableConcept" : {
                    "coding" : [
                      {
                        "system" : "http://hl7.org/fhir/v3/AddressUse",
                        "code" : "HP",
                        "display" : "Officieel adres"
                      }
                    ]
                  }
                },
                {
                  "url" : "http://fhir.nl/fhir/StructureDefinition/nl-core-address-official",
                  "valueBoolean" : true
                }
              ],
              "use" : "home",
              "line" : [
                "Binnenkant to 10"
              ],
              "_line" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
                      "valueString" : "Binnenkant"
                    },
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
                      "valueString" : "to"
                    },
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
                      "valueString" : "10"
                    }
                  ]
                }
              ],
              "city" : "Amsterdam",
              "state" : "NH",
              "postalCode" : "1001AA",
              "country" : "NLD"
            }
          }
        ],
        "condition" : [
          "ele-1",
          "nl-streetname-if-official-and-other-line-parts"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "nl-streetname-if-official-and-other-line-parts",
            "requirements" : "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" : "error",
            "human" : "Address.streetName in an official address SHALL have a value if one of houseNumber|buildingNumberSuffix|additionalLocator has a value",
            "expression" : "(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" : "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" : "http://hl7.org/fhir/StructureDefinition/Patient"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "v2",
            "map" : "XAD"
          },
          {
            "identity" : "rim",
            "map" : "AD"
          },
          {
            "identity" : "servd",
            "map" : "Address"
          },
          {
            "identity" : "hcim-address-v2.0.1-2015EN",
            "map" : "NL-CM:0.1.4",
            "comment" : "AddressInformation"
          },
          {
            "identity" : "hcim-addressinformation-v3.0-2016EN",
            "map" : "NL-CM:0.1.4",
            "comment" : "AddressInformation"
          },
          {
            "identity" : "hcim-addressinformation-v1.0-2017EN",
            "map" : "NL-CM:20.5.1",
            "comment" : "AddressInformation"
          },
          {
            "identity" : "hcim-patient-v2.0.1-2015EN",
            "map" : "NL-CM:0.1.4",
            "comment" : "AddressInformation"
          },
          {
            "identity" : "hcim-patient-v3.0-2016EN",
            "map" : "NL-CM:0.1.4",
            "comment" : "AddressInformation"
          },
          {
            "identity" : "hcim-patient-v3.1-2017EN",
            "map" : "NL-CM:0.1.4",
            "comment" : "AddressInformation"
          },
          {
            "identity" : "hcim-payer-v1.2-2015EN",
            "map" : "NL-CM:1.1.17",
            "comment" : "AddressInformation"
          },
          {
            "identity" : "hcim-payer-v3.0-2016EN",
            "map" : "NL-CM:1.1.17",
            "comment" : "Address"
          },
          {
            "identity" : "hcim-payer-v3.1-2017EN",
            "map" : "NL-CM:1.1.17",
            "comment" : "AddressInformation"
          }
        ]
      },
      {
        "id" : "Patient.maritalStatus",
        "path" : "Patient.maritalStatus",
        "short" : "MaritalStatus",
        "definition" : "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" : "Most, if not all systems capture it.",
        "alias" : [
          "BurgerlijkeStaat"
        ],
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Patient.maritalStatus",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "binding" : {
          "strength" : "extensible",
          "valueSetReference" : {
            "reference" : "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.7.9.1--20171231000000"
          }
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PID-16"
          },
          {
            "identity" : "rim",
            "map" : "player[classCode=PSN]/maritalStatusCode"
          },
          {
            "identity" : "cda",
            "map" : ".patient.maritalStatusCode"
          },
          {
            "identity" : "hcim-maritalstatus-v1.2.1-2015EN",
            "map" : "NL-CM:7.9.2",
            "comment" : "MaritalStatus"
          },
          {
            "identity" : "hcim-maritalstatus-v3.0-2016EN",
            "map" : "NL-CM:7.9.2",
            "comment" : "MaritalStatus"
          },
          {
            "identity" : "hcim-maritalstatus-v3.0-2017EN",
            "map" : "NL-CM:7.9.2",
            "comment" : "MaritalStatus"
          },
          {
            "identity" : "hcim-familysituation-v1.0-2015EN",
            "map" : "NL-CM:7.13.7",
            "comment" : "FamilySituation"
          },
          {
            "identity" : "hcim-familysituation-v3.0-2016EN",
            "map" : "NL-CM:7.13.7",
            "comment" : "FamilySituation"
          },
          {
            "identity" : "hcim-familysituation-v3.0-2017EN",
            "map" : "NL-CM:7.13.7",
            "comment" : "FamilySituation"
          }
        ]
      },
      {
        "id" : "Patient.multipleBirth[x]",
        "path" : "Patient.multipleBirth[x]",
        "short" : "MultipleBirthIndicator",
        "definition" : "Indicates whether the patient is part of a multiple (bool) or indicates the actual birth order (integer).",
        "comment" : "Where the valueInteger is provided, the number is the birth number in the sequence.\nE.g. The middle birth in tripplets would be valueInteger=2 and the third born would have valueInteger=3\nIf a bool value was provided for this tripplets examle, then all 3 patient records would have valueBool=true (the ordering is not indicated).",
        "requirements" : "For disambiguation of multiple-birth children, especially relevant where the care provider doesn't meet the patient, such as labs.",
        "alias" : [
          "Meerlingindicator"
        ],
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Patient.multipleBirth[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "boolean"
          },
          {
            "code" : "integer"
          }
        ],
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PID-24 (bool), PID-25 (integer)"
          },
          {
            "identity" : "rim",
            "map" : "player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthOrderNumber"
          },
          {
            "identity" : "cda",
            "map" : "n/a"
          },
          {
            "identity" : "hcim-patient-v2.0.1-2015EN",
            "map" : "NL-CM:0.1.31",
            "comment" : "MultipleBirthIndicator"
          },
          {
            "identity" : "hcim-patient-v3.0-2016EN",
            "map" : "NL-CM:0.1.31",
            "comment" : "MultipleBirthIndicator"
          },
          {
            "identity" : "hcim-patient-v3.1-2017EN",
            "map" : "NL-CM:0.1.31",
            "comment" : "MultipleBirthIndicator"
          }
        ]
      },
      {
        "id" : "Patient.photo",
        "path" : "Patient.photo",
        "short" : "Image of the patient",
        "definition" : "Image of the patient.",
        "requirements" : "Many EHR systems have the capability to capture an image of the patient. Fits with newer social media usage too.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Patient.photo",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Attachment"
          }
        ],
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "OBX-5 - needs a profile"
          },
          {
            "identity" : "rim",
            "map" : "player[classCode=PSN|ANM and determinerCode=INSTANCE]/desc"
          },
          {
            "identity" : "cda",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.contact",
        "path" : "Patient.contact",
        "short" : "ContactPerson",
        "definition" : "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" : "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" : "Need to track people you can contact about the patient.",
        "alias" : [
          "Contactpersoon"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Patient.contact",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "pat-1",
            "severity" : "error",
            "human" : "SHALL at least contain a contact's details or a reference to an organization",
            "expression" : "name.exists() or telecom.exists() or address.exists() or organization.exists()",
            "xpath" : "exists(f:name) or exists(f:telecom) or exists(f:address) or exists(f:organization)",
            "source" : "http://hl7.org/fhir/StructureDefinition/Patient"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "player[classCode=PSN|ANM and determinerCode=INSTANCE]/scopedRole[classCode=CON]"
          },
          {
            "identity" : "cda",
            "map" : "n/a"
          },
          {
            "identity" : "hcim-contactperson-v1.2-2015EN",
            "map" : "NL-CM:3.1.1",
            "comment" : "Contact"
          },
          {
            "identity" : "hcim-contactperson-v3.0-2016EN",
            "map" : "NL-CM:3.1.1",
            "comment" : "Contact"
          },
          {
            "identity" : "hcim-contactperson-v3.1-2017EN",
            "map" : "NL-CM:3.1.1",
            "comment" : "Contact"
          }
        ]
      },
      {
        "id" : "Patient.contact.id",
        "path" : "Patient.contact.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.contact.extension",
        "path" : "Patient.contact.extension",
        "short" : "Additional Content defined by implementations",
        "definition" : "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" : "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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.contact.modifierExtension",
        "path" : "Patient.contact.modifierExtension",
        "short" : "Extensions that cannot be ignored",
        "definition" : "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" : "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" : [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "BackboneElement.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "isModifier" : true,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.contact.relationship",
        "path" : "Patient.contact.relationship",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "$this"
            }
          ],
          "rules" : "open"
        },
        "short" : "The kind of relationship",
        "definition" : "The nature of the relationship between the patient and the contact person.",
        "requirements" : "Used to determine which contact person is the most relevant to approach, depending on circumstances.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Patient.contact.relationship",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ContactRelationship"
            }
          ],
          "strength" : "extensible",
          "description" : "The nature of the relationship between a patient and a contact person for that patient.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/v2-0131"
          }
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "NK1-7, NK1-3"
          },
          {
            "identity" : "rim",
            "map" : "code"
          },
          {
            "identity" : "cda",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.contact.relationship:relationship",
        "path" : "Patient.contact.relationship",
        "sliceName" : "relationship",
        "short" : "Relationship",
        "definition" : "The nature of the relationship between the patient and the contact person.",
        "requirements" : "Used to determine which contact person is the most relevant to approach, depending on circumstances.",
        "alias" : [
          "Relatie"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Patient.contact.relationship",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "binding" : {
          "strength" : "required",
          "valueSetReference" : {
            "reference" : "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.3.1.1--20171231000000"
          }
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "NK1-7, NK1-3"
          },
          {
            "identity" : "rim",
            "map" : "code"
          },
          {
            "identity" : "cda",
            "map" : "n/a"
          },
          {
            "identity" : "hcim-contactperson-v1.2-2015EN",
            "map" : "NL-CM:3.1.3",
            "comment" : "Relationship"
          },
          {
            "identity" : "hcim-contactperson-v3.0-2016EN",
            "map" : "NL-CM:3.1.3",
            "comment" : "Relationship"
          },
          {
            "identity" : "hcim-contactperson-v3.1-2017EN",
            "map" : "NL-CM:3.1.3",
            "comment" : "Relationship"
          }
        ]
      },
      {
        "id" : "Patient.contact.relationship:role",
        "path" : "Patient.contact.relationship",
        "sliceName" : "role",
        "short" : "Role",
        "definition" : "Expectation is to have at least one of primary contact ('Eerste relatie/contactpersoon') or secondary contact ('Tweede relatie/contactpersoon')",
        "requirements" : "Used to determine which contact person is the most relevant to approach, depending on circumstances.",
        "alias" : [
          "Rol"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Patient.contact.relationship",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "binding" : {
          "strength" : "required",
          "valueSetReference" : {
            "reference" : "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.3.1.2--20171231000000"
          }
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "NK1-7, NK1-3"
          },
          {
            "identity" : "rim",
            "map" : "code"
          },
          {
            "identity" : "cda",
            "map" : "n/a"
          },
          {
            "identity" : "hcim-contactperson-v1.2-2015EN",
            "map" : "NL-CM:3.1.2",
            "comment" : "Role"
          },
          {
            "identity" : "hcim-contactperson-v3.0-2016EN",
            "map" : "NL-CM:3.1.2",
            "comment" : "Role"
          },
          {
            "identity" : "hcim-contactperson-v3.1-2017EN",
            "map" : "NL-CM:3.1.2",
            "comment" : "Role"
          }
        ]
      },
      {
        "id" : "Patient.contact.name",
        "path" : "Patient.contact.name",
        "short" : "NameInformation",
        "definition" : "A human's name with the ability to identify parts and usage.",
        "comment" : "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.\r\n\r\nThe 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.\r\n\r\n**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. \r\n\r\nThe 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.\r\n\r\nSince 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:\r\n\r\n* Sending and receiving systems SHOULD always use the specified extensions when using this datatype.\r\n* Sending systems are encouraged to populate the `.text` element to unambigiously communicate the person's name.\r\n* 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`.\r\n* 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.\r\n* 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:\r\n * They encounter a single instance\r\n * And the `.use` element is absent\r\n * And all the name parts are differentiated using the specified extensions\r\n* In any other circumstance, receiving systems SHOULD interpret the usage as the normal use.\r\n\r\nExample: miss Irma Jongeneel marries mister de Haas and assumes the name Irma Jongeneel-de Haas:\r\n\r\n* `.family` = \"Jongeneel-de Haas\"\r\n* `.given` = \"Irma\" (with `.given:iso21090EnQualifier` = _BR_)\r\n* `.family:humannameOwnName` = \"Jongeneel\"\r\n* `.family:humannamePartnerPrefix` = \"de \"\r\n* `.family:humannamePartnerName` = \"Haas\"",
        "requirements" : "Contact persons need to be identified by name, but it is uncommon to need details about multiple other names for that contact person.",
        "alias" : [
          "Naamgegevens"
        ],
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Patient.contact.name",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "HumanName",
            "profile" : "http://fhir.nl/fhir/StructureDefinition/nl-core-humanname"
          }
        ],
        "example" : [
          {
            "label" : "Structured HumanName (preferred above unstructured)",
            "valueHumanName" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/humanname-assembly-order",
                  "valueCode" : "NL4"
                }
              ],
              "text" : "Irma Jongeneel-de Haas",
              "family" : "Jongeneel-de Haas",
              "_family" : {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/humanname-own-name",
                    "valueString" : "Jongeneel"
                  },
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix",
                    "valueString" : "de"
                  },
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-name",
                    "valueString" : "Haas"
                  }
                ]
              },
              "given" : [
                "Irma"
              ],
              "_given" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
                      "valueCode" : "CL"
                    }
                  ]
                }
              ]
            }
          },
          {
            "label" : "Unstructured HumanName",
            "valueHumanName" : {
              "text" : "Irma Jongeneel-de Haas"
            }
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "nl-core-humanname-1",
            "severity" : "error",
            "human" : "if you specify a prefix for an own name then an own name is also expected",
            "expression" : "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" : "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" : "http://hl7.org/fhir/StructureDefinition/Patient"
          },
          {
            "key" : "nl-core-humanname-2",
            "severity" : "error",
            "human" : "if you specify a voorvoegsel for a partner name then a partner name is also expected",
            "expression" : "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" : "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" : "http://hl7.org/fhir/StructureDefinition/Patient"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "v2",
            "map" : "XPN"
          },
          {
            "identity" : "rim",
            "map" : "EN (actually, PN)"
          },
          {
            "identity" : "servd",
            "map" : "ProviderName"
          },
          {
            "identity" : "hcim-nameinformation-v2.0.1-2015EN",
            "map" : "NL-CM:0.1.6",
            "comment" : "NameInformation"
          },
          {
            "identity" : "hcim-nameinformation-v3.0-2016EN",
            "map" : "NL-CM:0.1.6",
            "comment" : "NameInformation"
          },
          {
            "identity" : "hcim-nameinformation-v1.0.1-2017EN",
            "map" : "NL-CM:20.4.1",
            "comment" : "NameInformation"
          },
          {
            "identity" : "BRP",
            "map" : "02",
            "comment" : "Naam"
          },
          {
            "identity" : "hcim-contactperson-v1.2-2015EN",
            "map" : "NL-CM:3.1.4",
            "comment" : "NameInformation"
          },
          {
            "identity" : "hcim-contactperson-v3.0-2016EN",
            "map" : "NL-CM:3.1.4",
            "comment" : "NameInformation"
          },
          {
            "identity" : "hcim-contactperson-v3.1-2017EN",
            "map" : "NL-CM:3.1.4",
            "comment" : "NameInformation"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.id",
        "path" : "Patient.contact.name.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.extension",
        "path" : "Patient.contact.name.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Extension",
        "definition" : "An Extension",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.extension:humannameAssemblyOrder",
        "path" : "Patient.contact.name.extension",
        "sliceName" : "humannameAssemblyOrder",
        "short" : "Preferred display order of name parts",
        "definition" : "A code that represents the preferred display order of the components of this human name.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : "http://hl7.org/fhir/StructureDefinition/humanname-assembly-order"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.extension:humannameAssemblyOrder.id",
        "path" : "Patient.contact.name.extension.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.extension:humannameAssemblyOrder.extension",
        "path" : "Patient.contact.name.extension.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional Content defined by implementations",
        "definition" : "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" : "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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.extension:humannameAssemblyOrder.url",
        "path" : "Patient.contact.name.extension.url",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "identifies the meaning of the extension",
        "definition" : "Source of the definition for the extension code - a logical name or a URL.",
        "comment" : "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" : 1,
        "max" : "1",
        "base" : {
          "path" : "Extension.url",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "fixedUri" : "http://hl7.org/fhir/StructureDefinition/humanname-assembly-order",
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.extension:humannameAssemblyOrder.valueCode:valueCode",
        "path" : "Patient.contact.name.extension.valueCode",
        "sliceName" : "valueCode",
        "short" : "Value of extension",
        "definition" : "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" : 0,
        "max" : "1",
        "base" : {
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "HumanNameAssemblyOrder"
            }
          ],
          "strength" : "required",
          "description" : "A code that represents the preferred display order of the components of a human name",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/name-assembly-order"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.use",
        "path" : "Patient.contact.name.use",
        "short" : "usual | official | temp | nickname | anonymous | old | maiden",
        "definition" : "Identifies the purpose for this name.",
        "comment" : "This is labeled as \"Is Modifier\" 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" : "Allows the appropriate name for a particular context of use to be selected from among a set of names.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "HumanName.use",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "isModifier" : true,
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "NameUse"
            }
          ],
          "strength" : "required",
          "description" : "The use of a human name",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/name-use"
          }
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "XPN.7, but often indicated by which field contains the name"
          },
          {
            "identity" : "rim",
            "map" : "unique(./use)"
          },
          {
            "identity" : "servd",
            "map" : "./NamePurpose"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.text",
        "path" : "Patient.contact.name.text",
        "short" : "Text representation of the full name",
        "definition" : "A full text representation of the name.",
        "comment" : "Can provide both a text representation and structured parts.",
        "requirements" : "A renderable, unencoded form.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "HumanName.text",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "implied by XPN.11"
          },
          {
            "identity" : "rim",
            "map" : "./formatted"
          },
          {
            "identity" : "hcim-payer-v1.2-2015EN",
            "map" : "NL-CM:1.1.5",
            "comment" : "PayerName"
          },
          {
            "identity" : "hcim-payer-v3.0-2016EN",
            "map" : "NL-CM:1.1.5",
            "comment" : "PayerName"
          },
          {
            "identity" : "hcim-payer-v3.1-2017EN",
            "map" : "NL-CM:1.1.5",
            "comment" : "PayerName"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.family",
        "path" : "Patient.contact.name.family",
        "short" : "Surname",
        "definition" : "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" : "Family Name may be decomposed into specific parts using extensions (de, nl, es related cultures).",
        "alias" : [
          "surname",
          "Achternaam"
        ],
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "HumanName.family",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "XPN.1/FN.1"
          },
          {
            "identity" : "rim",
            "map" : "./part[partType = FAM]"
          },
          {
            "identity" : "servd",
            "map" : "./FamilyName"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.family.id",
        "path" : "Patient.contact.name.family.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references)",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.family.extension",
        "path" : "Patient.contact.name.family.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "rules" : "open"
        },
        "short" : "Extension",
        "definition" : "An Extension",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.family.extension:humannameOwnPrefix",
        "path" : "Patient.contact.name.family.extension",
        "sliceName" : "humannameOwnPrefix",
        "short" : "PrefixOwnName",
        "definition" : "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" : "An example of a voorvoegsel is the \"van\" in \"Ludwig van Beethoven\". Since the voorvoegsel doesn't sort completely alphabetically, it is reasonable to specify it as a separate sub-component.",
        "alias" : [
          "VoorvoegselGeslachtsnaam"
        ],
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "FN.2"
          },
          {
            "identity" : "rim",
            "map" : "ENXP where Qualifiers = (VV, R)"
          },
          {
            "identity" : "hcim-nameinformation-v2.0.1-2015EN",
            "map" : "NL-CM:0.1.38",
            "comment" : "Prefix"
          },
          {
            "identity" : "hcim-nameinformation-v3.0-2016EN",
            "map" : "NL-CM:0.1.38",
            "comment" : "Prefix"
          },
          {
            "identity" : "hcim-nameinformation-v1.0.1-2017EN",
            "map" : "NL-CM:20.4.11",
            "comment" : "Prefix"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.family.extension:humannameOwnPrefix.id",
        "path" : "Patient.contact.name.family.extension.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.family.extension:humannameOwnPrefix.extension",
        "path" : "Patient.contact.name.family.extension.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional Content defined by implementations",
        "definition" : "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" : "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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.family.extension:humannameOwnPrefix.url",
        "path" : "Patient.contact.name.family.extension.url",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "identifies the meaning of the extension",
        "definition" : "Source of the definition for the extension code - a logical name or a URL.",
        "comment" : "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" : 1,
        "max" : "1",
        "base" : {
          "path" : "Extension.url",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "fixedUri" : "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix",
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.family.extension:humannameOwnPrefix.valueString:valueString",
        "path" : "Patient.contact.name.family.extension.valueString",
        "sliceName" : "valueString",
        "short" : "Value of extension",
        "definition" : "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" : 0,
        "max" : "1",
        "base" : {
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.family.extension:humannameOwnName",
        "path" : "Patient.contact.name.family.extension",
        "sliceName" : "humannameOwnName",
        "short" : "OwnName",
        "definition" : "The person’s official last name.",
        "comment" : "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 \"maiden name\".",
        "alias" : [
          "Geslachtsnaam"
        ],
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : "http://hl7.org/fhir/StructureDefinition/humanname-own-name"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "FN.3"
          },
          {
            "identity" : "rim",
            "map" : "ENXP where Qualifiers = (BR)"
          },
          {
            "identity" : "hcim-nameinformation-v2.0.1-2015EN",
            "map" : "NL-CM:0.1.24",
            "comment" : "LastName"
          },
          {
            "identity" : "hcim-nameinformation-v3.0-2016EN",
            "map" : "NL-CM:0.1.24",
            "comment" : "LastName"
          },
          {
            "identity" : "hcim-nameinformation-v1.0.1-2017EN",
            "map" : "NL-CM:20.4.10",
            "comment" : "LastName"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.family.extension:humannameOwnName.id",
        "path" : "Patient.contact.name.family.extension.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.family.extension:humannameOwnName.extension",
        "path" : "Patient.contact.name.family.extension.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional Content defined by implementations",
        "definition" : "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" : "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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.family.extension:humannameOwnName.url",
        "path" : "Patient.contact.name.family.extension.url",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "identifies the meaning of the extension",
        "definition" : "Source of the definition for the extension code - a logical name or a URL.",
        "comment" : "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" : 1,
        "max" : "1",
        "base" : {
          "path" : "Extension.url",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "fixedUri" : "http://hl7.org/fhir/StructureDefinition/humanname-own-name",
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.family.extension:humannameOwnName.valueString:valueString",
        "path" : "Patient.contact.name.family.extension.valueString",
        "sliceName" : "valueString",
        "short" : "Value of extension",
        "definition" : "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" : 0,
        "max" : "1",
        "base" : {
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.family.extension:humannamePartnerPrefix",
        "path" : "Patient.contact.name.family.extension",
        "sliceName" : "humannamePartnerPrefix",
        "short" : "PrefixSurname",
        "definition" : "Voorvoegsel derived from person's partner's surname inclusive of the space between the prefix and the surname, if applicable.",
        "comment" : "An example of a voorvoegsel is the \"van\" in \"Ludwig van Beethoven\". Since the voorvoegsel doesn't sort completely alphabetically, it is reasonable to identify it as a separate sub-component.",
        "alias" : [
          "VoorvoegselGeslachtsnaamPartner"
        ],
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "FN.4"
          },
          {
            "identity" : "rim",
            "map" : "ENXP where Qualifiers = (VV, SP)"
          },
          {
            "identity" : "hcim-nameinformation-v2.0.1-2015EN",
            "map" : "NL-CM:0.1.39",
            "comment" : "PartnerPrefix"
          },
          {
            "identity" : "hcim-nameinformation-v3.0-2016EN",
            "map" : "NL-CM:0.1.39",
            "comment" : "PartnerPrefix"
          },
          {
            "identity" : "hcim-nameinformation-v1.0.1-2017EN",
            "map" : "NL-CM:20.4.9",
            "comment" : "PartnerPrefix"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.family.extension:humannamePartnerPrefix.id",
        "path" : "Patient.contact.name.family.extension.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.family.extension:humannamePartnerPrefix.extension",
        "path" : "Patient.contact.name.family.extension.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional Content defined by implementations",
        "definition" : "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" : "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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.family.extension:humannamePartnerPrefix.url",
        "path" : "Patient.contact.name.family.extension.url",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "identifies the meaning of the extension",
        "definition" : "Source of the definition for the extension code - a logical name or a URL.",
        "comment" : "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" : 1,
        "max" : "1",
        "base" : {
          "path" : "Extension.url",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "fixedUri" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix",
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.family.extension:humannamePartnerPrefix.valueString:valueString",
        "path" : "Patient.contact.name.family.extension.valueString",
        "sliceName" : "valueString",
        "short" : "Value of extension",
        "definition" : "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" : 0,
        "max" : "1",
        "base" : {
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.family.extension:humannamePartnerName",
        "path" : "Patient.contact.name.family.extension",
        "sliceName" : "humannamePartnerName",
        "short" : "LastNamePartner",
        "definition" : "Partner’s official last name.",
        "comment" : "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 \"maiden name\".",
        "alias" : [
          "GeslachtsnaamPartner"
        ],
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-name"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "FN.5"
          },
          {
            "identity" : "rim",
            "map" : "ENXP where Qualifiers = (SP)"
          },
          {
            "identity" : "hcim-nameinformation-v2.0.1-2015EN",
            "map" : "NL-CM:0.1.25",
            "comment" : "PartnerLastName"
          },
          {
            "identity" : "hcim-nameinformation-v3.0-2016EN",
            "map" : "NL-CM:0.1.25",
            "comment" : "PartnerLastName"
          },
          {
            "identity" : "hcim-nameinformation-v1.0.1-2017EN",
            "map" : "NL-CM:20.4.8",
            "comment" : "PartnerLastName"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.family.extension:humannamePartnerName.id",
        "path" : "Patient.contact.name.family.extension.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.family.extension:humannamePartnerName.extension",
        "path" : "Patient.contact.name.family.extension.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional Content defined by implementations",
        "definition" : "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" : "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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.family.extension:humannamePartnerName.url",
        "path" : "Patient.contact.name.family.extension.url",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "identifies the meaning of the extension",
        "definition" : "Source of the definition for the extension code - a logical name or a URL.",
        "comment" : "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" : 1,
        "max" : "1",
        "base" : {
          "path" : "Extension.url",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "fixedUri" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-name",
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.family.extension:humannamePartnerName.valueString:valueString",
        "path" : "Patient.contact.name.family.extension.valueString",
        "sliceName" : "valueString",
        "short" : "Value of extension",
        "definition" : "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" : 0,
        "max" : "1",
        "base" : {
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.family.value",
        "path" : "Patient.contact.name.family.value",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "Primitive value for string",
        "definition" : "The actual value",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "string.value",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "_code" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
                  "valueString" : "string"
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
                  "valueString" : "xsd:string"
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
                  "valueString" : "xsd:string"
                }
              ]
            }
          }
        ],
        "maxLength" : 1048576
      },
      {
        "id" : "Patient.contact.name.given",
        "path" : "Patient.contact.name.given",
        "short" : "Given",
        "definition" : "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" : "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.\r\n\r\nPlease see the compatibility note on the containing element as well!",
        "alias" : [
          "first name",
          "middle name",
          "Voornamen",
          "Initialen",
          "Roepnaam"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "HumanName.given",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "orderMeaning" : "Given Names appear in the correct order for presenting the name",
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "XPN.2 + XPN.3"
          },
          {
            "identity" : "rim",
            "map" : "./part[partType = GIV]"
          },
          {
            "identity" : "servd",
            "map" : "./GivenNames"
          },
          {
            "identity" : "hcim-nameinformation-v2.0.1-2015EN",
            "map" : "NL-CM:0.1.26",
            "comment" : "FirstNames. Qualifier 'BR'"
          },
          {
            "identity" : "hcim-nameinformation-v2.0.1-2015EN",
            "map" : "NL-CM:0.1.35",
            "comment" : "Initials. Qualifier 'IN'"
          },
          {
            "identity" : "hcim-nameinformation-v2.0.1-2015EN",
            "map" : "NL-CM:0.1.27",
            "comment" : "GivenName. Qualifier 'CL'"
          },
          {
            "identity" : "BRP",
            "map" : "02.10",
            "comment" : "Voornamen"
          },
          {
            "identity" : "hcim-nameinformation-v3.0-2016EN",
            "map" : "NL-CM:0.1.26",
            "comment" : "FirstNames. Qualifier 'BR'"
          },
          {
            "identity" : "hcim-nameinformation-v3.0-2016EN",
            "map" : "NL-CM:0.1.35",
            "comment" : "Initials. Qualifier 'IN'"
          },
          {
            "identity" : "hcim-nameinformation-v3.0-2016EN",
            "map" : "NL-CM:0.1.27",
            "comment" : "GivenName. Qualifier 'CL'"
          },
          {
            "identity" : "hcim-nameinformation-v1.0.1-2017EN",
            "map" : "NL-CM:20.4.4",
            "comment" : "FirstNames. Qualifier 'BR'"
          },
          {
            "identity" : "hcim-nameinformation-v1.0.1-2017EN",
            "map" : "NL-CM:20.4.5",
            "comment" : "Initials. Qualifier 'IN'"
          },
          {
            "identity" : "hcim-nameinformation-v1.0.1-2017EN",
            "map" : "NL-CM:20.4.6",
            "comment" : "GivenName. Qualifier 'CL'"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.given.id",
        "path" : "Patient.contact.name.given.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references)",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.given.extension",
        "path" : "Patient.contact.name.given.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "rules" : "open"
        },
        "short" : "Extension",
        "definition" : "An Extension",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.given.extension:iso21090EnQualifier",
        "path" : "Patient.contact.name.given.extension",
        "sliceName" : "iso21090EnQualifier",
        "short" : "LS | AC | NB | PR | HON | BR | AD | SP | MID | CL | IN | VV",
        "definition" : "A set of codes each of which specifies a certain subcategory of the name part in addition to the main name part type.",
        "comment" : "Used to indicate additional information about the name part and how it should be used.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "ENXP.qualifier"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.given.extension:iso21090EnQualifier.id",
        "path" : "Patient.contact.name.given.extension.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.given.extension:iso21090EnQualifier.extension",
        "path" : "Patient.contact.name.given.extension.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional Content defined by implementations",
        "definition" : "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" : "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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.given.extension:iso21090EnQualifier.url",
        "path" : "Patient.contact.name.given.extension.url",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "identifies the meaning of the extension",
        "definition" : "Source of the definition for the extension code - a logical name or a URL.",
        "comment" : "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" : 1,
        "max" : "1",
        "base" : {
          "path" : "Extension.url",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.given.extension:iso21090EnQualifier.valueCode:valueCode",
        "path" : "Patient.contact.name.given.extension.valueCode",
        "sliceName" : "valueCode",
        "short" : "Value of extension",
        "definition" : "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" : 0,
        "max" : "1",
        "base" : {
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "EntityNamePartQualifier"
            }
          ],
          "strength" : "required",
          "description" : "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" : "http://hl7.org/fhir/ValueSet/name-part-qualifier"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.given.value",
        "path" : "Patient.contact.name.given.value",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "Primitive value for string",
        "definition" : "The actual value",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "string.value",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "_code" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
                  "valueString" : "string"
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
                  "valueString" : "xsd:string"
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
                  "valueString" : "xsd:string"
                }
              ]
            }
          }
        ],
        "maxLength" : 1048576
      },
      {
        "id" : "Patient.contact.name.prefix",
        "path" : "Patient.contact.name.prefix",
        "short" : "Parts that come before the name",
        "definition" : "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" : 0,
        "max" : "*",
        "base" : {
          "path" : "HumanName.prefix",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "orderMeaning" : "Prefixes appear in the correct order for presenting the name",
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "XPN.5"
          },
          {
            "identity" : "rim",
            "map" : "./part[partType = PFX]"
          },
          {
            "identity" : "servd",
            "map" : "./TitleCode"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.suffix",
        "path" : "Patient.contact.name.suffix",
        "short" : "Parts that come after the name",
        "definition" : "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" : 0,
        "max" : "*",
        "base" : {
          "path" : "HumanName.suffix",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "orderMeaning" : "Suffixes appear in the correct order for presenting the name",
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "XPN/4"
          },
          {
            "identity" : "rim",
            "map" : "./part[partType = SFX]"
          }
        ]
      },
      {
        "id" : "Patient.contact.name.period",
        "path" : "Patient.contact.name.period",
        "short" : "Time period when name was/is in use",
        "definition" : "Indicates the period of time when this name was valid for the named person.",
        "requirements" : "Allows names to be placed in historical context.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "HumanName.period",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Period"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "XPN.13 + XPN.14"
          },
          {
            "identity" : "rim",
            "map" : "./usablePeriod[type=\"IVL<TS>\"]"
          },
          {
            "identity" : "servd",
            "map" : "./StartDate and ./EndDate"
          }
        ]
      },
      {
        "id" : "Patient.contact.telecom",
        "path" : "Patient.contact.telecom",
        "short" : "ContactInformation",
        "definition" : "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.\r\n\r\n| HCIM | `.ext:TelecomType` | `.system` | `.use` |\r\n|----------------------------------------------------|:------------------:|:---------:|:--------:|\r\n| Primary Home Land Line | _LL_ | _phone_ | _home_ |\r\n| Temporary Land Line | _LL_ | _phone_ | _temp_ |\r\n| Primary Work Land Line | _LL_ | _phone_ | _work_ |\r\n| | | | |\r\n| Primary Home Fax | _FAX_ | _fax_ | _home_ |\r\n| Temporary Fax | _FAX_ | _fax_ | _temp_ |\r\n| Primary Work Fax | _FAX_ | _fax_ | _work_ |\r\n| | | | |\r\n| Primary Home Mobile Phone | _MC_ | _phone_ | _home_ |\r\n| Temporary Mobile Phone | _MC_ | _phone_ | _temp_ |\r\n| Primary Work Mobile Phone | _MC_ | _phone_ | _work_ |\r\n| | | | |\r\n| Primary Home Pager | _PG_ | _pager_ | _home_ |\r\n| Temporary Pager | _PG_ | _pager_ | _temp_ |\r\n| Primary Work Pager | _PG_ | _pager_ | _work_ |\r\n| | | | |\r\n| Private email address | | _email_ | _home_ |\r\n| Work email address | | _email_ | _work_ |\r\n| | | | |\r\n| Mobile phone number undetermined private/business | | _phone_ | _mobile_ |",
        "comment" : "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" : "People have (primary) ways to contact them in some way such as phone, email.",
        "alias" : [
          "Contactgegevens"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Patient.contact.telecom",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "ContactPoint",
            "profile" : "http://fhir.nl/fhir/StructureDefinition/nl-core-contactpoint"
          }
        ],
        "example" : [
          {
            "label" : "Mobile business phone number. Note: the mobile nature stems from the number being an 06-* number.",
            "valueContactPoint" : {
              "system" : "phone",
              "value" : "+31611234567",
              "use" : "work"
            }
          },
          {
            "label" : "Mobile phone number undetermined private/business. Note: the mobile nature stems from the number being an 06-* number.",
            "valueContactPoint" : {
              "system" : "phone",
              "value" : "+31611234567",
              "use" : "mobile"
            }
          },
          {
            "label" : "Primary Home Land Line",
            "valueContactPoint" : {
              "extension" : [
                {
                  "url" : "http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType",
                  "valueCodeableConcept" : {
                    "coding" : [
                      {
                        "system" : "urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.22.1",
                        "code" : "LL",
                        "display" : "Land Line"
                      }
                    ]
                  }
                }
              ],
              "system" : "phone",
              "value" : "...",
              "use" : "home"
            }
          },
          {
            "label" : "Temporary Land Line",
            "valueContactPoint" : {
              "extension" : [
                {
                  "url" : "http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType",
                  "valueCodeableConcept" : {
                    "coding" : [
                      {
                        "system" : "urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.22.1",
                        "code" : "LL",
                        "display" : "Land Line"
                      }
                    ]
                  }
                }
              ],
              "system" : "phone",
              "value" : "...",
              "use" : "temp"
            }
          },
          {
            "label" : "Primary Work Land Line",
            "valueContactPoint" : {
              "extension" : [
                {
                  "url" : "http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType",
                  "valueCodeableConcept" : {
                    "coding" : [
                      {
                        "system" : "urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.22.1",
                        "code" : "LL",
                        "display" : "Land Line"
                      }
                    ]
                  }
                }
              ],
              "system" : "phone",
              "value" : "...",
              "use" : "work"
            }
          },
          {
            "label" : "Primary Home Fax",
            "valueContactPoint" : {
              "extension" : [
                {
                  "url" : "http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType",
                  "valueCodeableConcept" : {
                    "coding" : [
                      {
                        "system" : "urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.22.1",
                        "code" : "FAX",
                        "display" : "Fax"
                      }
                    ]
                  }
                }
              ],
              "system" : "fax",
              "value" : "...",
              "use" : "home"
            }
          },
          {
            "label" : "Temporary Fax",
            "valueContactPoint" : {
              "extension" : [
                {
                  "url" : "http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType",
                  "valueCodeableConcept" : {
                    "coding" : [
                      {
                        "system" : "urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.22.1",
                        "code" : "FAX",
                        "display" : "Fax"
                      }
                    ]
                  }
                }
              ],
              "system" : "fax",
              "value" : "...",
              "use" : "temp"
            }
          },
          {
            "label" : "Primary Work Fax",
            "valueContactPoint" : {
              "extension" : [
                {
                  "url" : "http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType",
                  "valueCodeableConcept" : {
                    "coding" : [
                      {
                        "system" : "urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.22.1",
                        "code" : "FAX",
                        "display" : "Fax"
                      }
                    ]
                  }
                }
              ],
              "system" : "fax",
              "value" : "...",
              "use" : "work"
            }
          },
          {
            "label" : "Primary Home Mobile Phone",
            "valueContactPoint" : {
              "extension" : [
                {
                  "url" : "http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType",
                  "valueCodeableConcept" : {
                    "coding" : [
                      {
                        "system" : "http://hl7.org/fhir/v3/AddressUse",
                        "code" : "MC",
                        "display" : "Mobile Phone"
                      }
                    ]
                  }
                }
              ],
              "system" : "phone",
              "value" : "...",
              "use" : "home"
            }
          },
          {
            "label" : "Temporary Mobile Phone",
            "valueContactPoint" : {
              "extension" : [
                {
                  "url" : "http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType",
                  "valueCodeableConcept" : {
                    "coding" : [
                      {
                        "system" : "http://hl7.org/fhir/v3/AddressUse",
                        "code" : "MC",
                        "display" : "Mobile Phone"
                      }
                    ]
                  }
                }
              ],
              "system" : "phone",
              "value" : "...",
              "use" : "temp"
            }
          },
          {
            "label" : "Primary Work Mobile Phone",
            "valueContactPoint" : {
              "extension" : [
                {
                  "url" : "http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType",
                  "valueCodeableConcept" : {
                    "coding" : [
                      {
                        "system" : "http://hl7.org/fhir/v3/AddressUse",
                        "code" : "MC",
                        "display" : "Mobile Phone"
                      }
                    ]
                  }
                }
              ],
              "system" : "phone",
              "value" : "...",
              "use" : "work"
            }
          },
          {
            "label" : "Primary Home Pager",
            "valueContactPoint" : {
              "extension" : [
                {
                  "url" : "http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType",
                  "valueCodeableConcept" : {
                    "coding" : [
                      {
                        "system" : "http://hl7.org/fhir/v3/AddressUse",
                        "code" : "PG",
                        "display" : "Pager"
                      }
                    ]
                  }
                }
              ],
              "system" : "pager",
              "value" : "...",
              "use" : "home"
            }
          },
          {
            "label" : "Temporary Pager",
            "valueContactPoint" : {
              "extension" : [
                {
                  "url" : "http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType",
                  "valueCodeableConcept" : {
                    "coding" : [
                      {
                        "system" : "http://hl7.org/fhir/v3/AddressUse",
                        "code" : "PG",
                        "display" : "Pager"
                      }
                    ]
                  }
                }
              ],
              "system" : "pager",
              "value" : "...",
              "use" : "temp"
            }
          },
          {
            "label" : "Primary Work Pager",
            "valueContactPoint" : {
              "extension" : [
                {
                  "url" : "http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType",
                  "valueCodeableConcept" : {
                    "coding" : [
                      {
                        "system" : "http://hl7.org/fhir/v3/AddressUse",
                        "code" : "PG",
                        "display" : "Pager"
                      }
                    ]
                  }
                }
              ],
              "system" : "pager",
              "value" : "...",
              "use" : "work"
            }
          },
          {
            "label" : "Private email address",
            "valueContactPoint" : {
              "system" : "email",
              "value" : "giesput@myweb.nl",
              "use" : "home"
            }
          },
          {
            "label" : "Work email address",
            "valueContactPoint" : {
              "system" : "email",
              "value" : "example@workplace.nl",
              "use" : "work"
            }
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "cpt-2",
            "severity" : "error",
            "human" : "A system is required if a value is provided.",
            "expression" : "value.empty() or system.exists()",
            "xpath" : "not(exists(f:value)) or exists(f:system)",
            "source" : "http://hl7.org/fhir/StructureDefinition/ContactPoint"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "v2",
            "map" : "XTN"
          },
          {
            "identity" : "rim",
            "map" : "TEL"
          },
          {
            "identity" : "servd",
            "map" : "ContactPoint"
          },
          {
            "identity" : "hcim-contactinformation-v2.0.1-2015EN",
            "map" : "NL-CM:0.1.5",
            "comment" : "ContactInformation"
          },
          {
            "identity" : "hcim-contactinformation-v3.0-2016EN",
            "map" : "NL-CM:0.1.5",
            "comment" : "ContactInformation"
          },
          {
            "identity" : "hcim-contactinformation-v1.0-2017EN",
            "map" : "NL-CM:20.6.1",
            "comment" : "ContactInformation"
          },
          {
            "identity" : "hcim-contactperson-v1.2-2015EN",
            "map" : "NL-CM:3.1.6",
            "comment" : "TelephoneEmail::ContactInformation"
          },
          {
            "identity" : "hcim-contactperson-v3.0-2016EN",
            "map" : "NL-CM:3.1.6",
            "comment" : "TelephoneEmail::ContactInformation"
          },
          {
            "identity" : "hcim-contactperson-v3.1-2017EN",
            "map" : "NL-CM:3.1.6",
            "comment" : "ContactInformation"
          }
        ]
      },
      {
        "id" : "Patient.contact.address",
        "path" : "Patient.contact.address",
        "short" : "AddressInformation",
        "definition" : "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.\r\n\r\nTo 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.\r\n\r\n**Separate address parts**\r\n\r\nThe 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.\r\n\r\n**Custom address types**\r\n\r\nThe 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 <http://nictiz.nl/fhir/ConceptMap/AdresSoortCodelijst-to-AddressUse> and <http://nictiz.nl/fhir/ConceptMap/AdresSoortCodelijst-to-AddressType> as well). The HCIM code itself should also be included using the AddressType extension.\r\n\r\n| HCIM |` .ext:AddressType` | `.ext:official` | `.use` | `.type` |\r\n|-----------------------------------|:------------------:|:---------------:|:------:|:----------:|\r\n| Postal Address/Postadres | _PST_ | | | _postal_ |\r\n| Primary Home/Officieel adres | _HP_ | true | _home_ | |\r\n| Visit Address/Woon-/verblijfadres | _PHYS_ | | _home_ | _physical_ |\r\n| Temporary Address/Tijdelijk adres | _TMP_ | | _temp_ | |\r\n| Work Place/Werkadres | _WP_ | | _work_ | |\r\n| Vacation Home/Vakantie adres | _HV_ | | _temp_ | |\r\n\r\n 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.\r\n\r\nNOTE: 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" : "Note: address is for postal addresses, not physical locations.",
        "requirements" : "Need to keep track where the contact person can be contacted per postal mail or visited.",
        "alias" : [
          "AdresInformatie",
          "Adresgegevens"
        ],
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Patient.contact.address",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Address",
            "profile" : "http://fhir.nl/fhir/StructureDefinition/nl-core-address"
          }
        ],
        "example" : [
          {
            "label" : "Example of a Vacation Home address",
            "valueAddress" : {
              "extension" : [
                {
                  "url" : "http://nictiz.nl/fhir/StructureDefinition/zib-AddressInformation-AddressType",
                  "valueCodeableConcept" : {
                    "coding" : [
                      {
                        "system" : "http://hl7.org/fhir/v3/AddressUse",
                        "code" : "HV",
                        "display" : "Vakantie adres"
                      }
                    ]
                  }
                }
              ],
              "use" : "temp",
              "line" : [
                "Binnenkant 12A Hoog"
              ],
              "_line" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
                      "valueString" : "Binnenkant"
                    },
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
                      "valueString" : "12"
                    },
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix",
                      "valueString" : "A"
                    },
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID",
                      "valueString" : "Hoog"
                    }
                  ]
                }
              ],
              "city" : "Amsterdam",
              "state" : "NH",
              "postalCode" : "1000AA",
              "country" : "NLD"
            }
          },
          {
            "label" : "Example of a Primary Home address",
            "valueAddress" : {
              "extension" : [
                {
                  "url" : "http://nictiz.nl/fhir/StructureDefinition/zib-AddressInformation-AddressType",
                  "valueCodeableConcept" : {
                    "coding" : [
                      {
                        "system" : "http://hl7.org/fhir/v3/AddressUse",
                        "code" : "HP",
                        "display" : "Officieel adres"
                      }
                    ]
                  }
                },
                {
                  "url" : "http://fhir.nl/fhir/StructureDefinition/nl-core-address-official",
                  "valueBoolean" : true
                }
              ],
              "use" : "home",
              "line" : [
                "Binnenkant to 10"
              ],
              "_line" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
                      "valueString" : "Binnenkant"
                    },
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
                      "valueString" : "to"
                    },
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
                      "valueString" : "10"
                    }
                  ]
                }
              ],
              "city" : "Amsterdam",
              "state" : "NH",
              "postalCode" : "1001AA",
              "country" : "NLD"
            }
          }
        ],
        "condition" : [
          "ele-1",
          "nl-streetname-if-official-and-other-line-parts"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "nl-streetname-if-official-and-other-line-parts",
            "requirements" : "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" : "error",
            "human" : "Address.streetName in an official address SHALL have a value if one of houseNumber|buildingNumberSuffix|additionalLocator has a value",
            "expression" : "(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" : "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" : "http://hl7.org/fhir/StructureDefinition/Patient"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "v2",
            "map" : "XAD"
          },
          {
            "identity" : "rim",
            "map" : "AD"
          },
          {
            "identity" : "servd",
            "map" : "Address"
          },
          {
            "identity" : "hcim-address-v2.0.1-2015EN",
            "map" : "NL-CM:0.1.4",
            "comment" : "AddressInformation"
          },
          {
            "identity" : "hcim-addressinformation-v3.0-2016EN",
            "map" : "NL-CM:0.1.4",
            "comment" : "AddressInformation"
          },
          {
            "identity" : "hcim-addressinformation-v1.0-2017EN",
            "map" : "NL-CM:20.5.1",
            "comment" : "AddressInformation"
          },
          {
            "identity" : "hcim-contactperson-v1.2-2015EN",
            "map" : "NL-CM:3.1.5",
            "comment" : "AddressInformation"
          },
          {
            "identity" : "hcim-contactperson-v3.0-2016EN",
            "map" : "NL-CM:3.1.5",
            "comment" : "AddressInformation"
          },
          {
            "identity" : "hcim-contactperson-v3.1-2017EN",
            "map" : "NL-CM:3.1.5",
            "comment" : "AddressInformation"
          }
        ]
      },
      {
        "id" : "Patient.contact.gender",
        "path" : "Patient.contact.gender",
        "short" : "male | female | other | unknown",
        "definition" : "Administrative Gender - the gender that the contact person is considered to have for administration and record keeping purposes.",
        "requirements" : "Needed to address the person correctly.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Patient.contact.gender",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "AdministrativeGender"
            }
          ],
          "strength" : "required",
          "description" : "The gender of a person used for administrative purposes.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/administrative-gender"
          }
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "NK1-15"
          },
          {
            "identity" : "rim",
            "map" : "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender"
          },
          {
            "identity" : "cda",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.contact.organization",
        "path" : "Patient.contact.organization",
        "short" : "Organization that is associated with the contact",
        "definition" : "Organization on behalf of which the contact is acting or for which the contact is working.",
        "requirements" : "For guardians or business related contacts, the organization is relevant.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Patient.contact.organization",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Organization"
          }
        ],
        "condition" : [
          "pat-1"
        ],
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "NK1-13, NK1-30, NK1-31, NK1-32, NK1-41"
          },
          {
            "identity" : "rim",
            "map" : "scoper"
          },
          {
            "identity" : "cda",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.contact.period",
        "path" : "Patient.contact.period",
        "short" : "The period during which this contact person or organization is valid to be contacted relating to this patient",
        "definition" : "The period during which this contact person or organization is valid to be contacted relating to this patient.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Patient.contact.period",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Period"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "effectiveTime"
          },
          {
            "identity" : "cda",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.animal",
        "path" : "Patient.animal",
        "short" : "This patient is known to be an animal (non-human)",
        "definition" : "This patient is known to be an animal.",
        "comment" : "The animal element is labeled \"Is Modifier\" 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" : "Many clinical systems are extended to care for animal patients as well as human.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Patient.animal",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : true,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "player[classCode=ANM]"
          },
          {
            "identity" : "cda",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.animal.id",
        "path" : "Patient.animal.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.animal.extension",
        "path" : "Patient.animal.extension",
        "short" : "Additional Content defined by implementations",
        "definition" : "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" : "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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.animal.modifierExtension",
        "path" : "Patient.animal.modifierExtension",
        "short" : "Extensions that cannot be ignored",
        "definition" : "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" : "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" : [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "BackboneElement.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "isModifier" : true,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.animal.species",
        "path" : "Patient.animal.species",
        "short" : "E.g. Dog, Cow",
        "definition" : "Identifies the high level taxonomic categorization of the kind of animal.",
        "comment" : "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 \"Hereford\" does not allow inference of the species Bos taurus, because there is a Hereford pig breed, but the SNOMED CT code for \"Hereford Cattle Breed\" does.).",
        "requirements" : "Need to know what kind of animal.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Patient.animal.species",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "AnimalSpecies"
            }
          ],
          "strength" : "example",
          "description" : "The species of an animal.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/animal-species"
          }
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PID-35"
          },
          {
            "identity" : "rim",
            "map" : "code"
          },
          {
            "identity" : "cda",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.animal.breed",
        "path" : "Patient.animal.breed",
        "short" : "E.g. Poodle, Angus",
        "definition" : "Identifies the detailed categorization of the kind of animal.",
        "comment" : "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" : "May need to know the specific kind within the species.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Patient.animal.breed",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "AnimalBreed"
            }
          ],
          "strength" : "example",
          "description" : "The breed of an animal.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/animal-breeds"
          }
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PID-37"
          },
          {
            "identity" : "rim",
            "map" : "playedRole[classCode=GEN]/scoper[classCode=ANM, determinerCode=KIND]/code"
          },
          {
            "identity" : "cda",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.animal.genderStatus",
        "path" : "Patient.animal.genderStatus",
        "short" : "E.g. Neutered, Intact",
        "definition" : "Indicates the current state of the animal's reproductive organs.",
        "requirements" : "Gender status can affect housing and animal behavior.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Patient.animal.genderStatus",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "AnimalGenderStatus"
            }
          ],
          "strength" : "example",
          "description" : "The state of the animal's reproductive organs.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/animal-genderstatus"
          }
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "genderStatusCode"
          },
          {
            "identity" : "cda",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.communication",
        "path" : "Patient.communication",
        "short" : "A list of Languages which may be used to communicate with the patient about his or her health",
        "definition" : "Languages which may be used to communicate with the patient about his or her health.",
        "comment" : "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" : "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" : [
          "Taalvaardigheid"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Patient.communication",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "LanguageCommunication"
          },
          {
            "identity" : "cda",
            "map" : "patient.languageCommunication"
          },
          {
            "identity" : "hcim-languageproficiency-v3.1-2017EN",
            "map" : "NL-CM:7.12.1",
            "comment" : "LanguageProficiency"
          }
        ]
      },
      {
        "id" : "Patient.communication.id",
        "path" : "Patient.communication.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.communication.extension",
        "path" : "Patient.communication.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "rules" : "open"
        },
        "short" : "Extension",
        "definition" : "An Extension",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ]
      },
      {
        "id" : "Patient.communication.extension:languageProficiency",
        "path" : "Patient.communication.extension",
        "sliceName" : "languageProficiency",
        "short" : "Proficiency level of the communication",
        "definition" : "Proficiency level of the communication.",
        "comment" : "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:\r\n* LanguaneControlListening maps to code 'RSP' (Received spoken)\r\n* LanguageControlReading maps to code 'RWR' (Received written)\r\n* LanguageControlSpeaking maps to code 'ESP' (Expressed spoken)",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : "http://nictiz.nl/fhir/StructureDefinition/patient-proficiency"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "hcim-languageproficiency-v3.1-2017EN",
            "map" : "NL-CM:7.12.6",
            "comment" : "LanguageControlListening"
          },
          {
            "identity" : "hcim-languageproficiency-v3.1-2017EN",
            "map" : "NL-CM:7.12.7",
            "comment" : "LanguageControlSpeaking"
          },
          {
            "identity" : "hcim-languageproficiency-v3.1-2017EN",
            "map" : "NL-CM:7.12.8",
            "comment" : "LanguageControlReading"
          }
        ]
      },
      {
        "id" : "Patient.communication.extension:languageProficiency.id",
        "path" : "Patient.communication.extension.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.communication.extension:languageProficiency.extension",
        "path" : "Patient.communication.extension.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Extension",
        "definition" : "An Extension",
        "min" : 2,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ]
      },
      {
        "id" : "Patient.communication.extension:languageProficiency.extension:type",
        "path" : "Patient.communication.extension.extension",
        "sliceName" : "type",
        "short" : "Extension",
        "definition" : "An Extension",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ]
      },
      {
        "id" : "Patient.communication.extension:languageProficiency.extension:type.id",
        "path" : "Patient.communication.extension.extension.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.communication.extension:languageProficiency.extension:type.extension",
        "path" : "Patient.communication.extension.extension.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional Content defined by implementations",
        "definition" : "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" : "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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.communication.extension:languageProficiency.extension:type.url",
        "path" : "Patient.communication.extension.extension.url",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "identifies the meaning of the extension",
        "definition" : "Source of the definition for the extension code - a logical name or a URL.",
        "comment" : "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" : 1,
        "max" : "1",
        "base" : {
          "path" : "Extension.url",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "fixedUri" : "type",
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.communication.extension:languageProficiency.extension:type.value[x]",
        "path" : "Patient.communication.extension.extension.value[x]",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "type",
              "path" : "$this"
            }
          ],
          "ordered" : false,
          "rules" : "closed"
        },
        "short" : "Value of extension",
        "definition" : "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" : 1,
        "max" : "1",
        "base" : {
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Coding"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.communication.extension:languageProficiency.extension:type.value[x]:valueCoding",
        "path" : "Patient.communication.extension.extension.value[x]",
        "sliceName" : "valueCoding",
        "short" : "Value of extension",
        "definition" : "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" : 1,
        "max" : "1",
        "base" : {
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Coding"
          }
        ],
        "binding" : {
          "strength" : "extensible",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/v3-LanguageAbilityMode"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.communication.extension:languageProficiency.extension:level",
        "path" : "Patient.communication.extension.extension",
        "sliceName" : "level",
        "short" : "Extension",
        "definition" : "An Extension",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ]
      },
      {
        "id" : "Patient.communication.extension:languageProficiency.extension:level.id",
        "path" : "Patient.communication.extension.extension.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.communication.extension:languageProficiency.extension:level.extension",
        "path" : "Patient.communication.extension.extension.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional Content defined by implementations",
        "definition" : "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" : "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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Patient.communication.extension:languageProficiency.extension:level.url",
        "path" : "Patient.communication.extension.extension.url",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "identifies the meaning of the extension",
        "definition" : "Source of the definition for the extension code - a logical name or a URL.",
        "comment" : "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" : 1,
        "max" : "1",
        "base" : {
          "path" : "Extension.url",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "fixedUri" : "level",
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.communication.extension:languageProficiency.extension:level.value[x]",
        "path" : "Patient.communication.extension.extension.value[x]",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "type",
              "path" : "$this"
            }
          ],
          "ordered" : false,
          "rules" : "closed"
        },
        "short" : "Value of extension",
        "definition" : "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" : 1,
        "max" : "1",
        "base" : {
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Coding"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.communication.extension:languageProficiency.extension:level.value[x]:valueCoding",
        "path" : "Patient.communication.extension.extension.value[x]",
        "sliceName" : "valueCoding",
        "short" : "Value of extension",
        "definition" : "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" : 1,
        "max" : "1",
        "base" : {
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Coding"
          }
        ],
        "binding" : {
          "strength" : "extensible",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/v3-LanguageAbilityProficiency"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.communication.extension:languageProficiency.url",
        "path" : "Patient.communication.extension.url",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "identifies the meaning of the extension",
        "definition" : "Source of the definition for the extension code - a logical name or a URL.",
        "comment" : "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" : 1,
        "max" : "1",
        "base" : {
          "path" : "Extension.url",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "fixedUri" : "http://nictiz.nl/fhir/StructureDefinition/patient-proficiency",
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.communication.extension:languageProficiency.value[x]",
        "path" : "Patient.communication.extension.value[x]",
        "short" : "Value of extension",
        "definition" : "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" : 0,
        "max" : "0",
        "base" : {
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "Meta"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Patient.communication.extension:comment",
        "path" : "Patient.communication.extension",
        "sliceName" : "comment",
        "short" : "Comment",
        "definition" : "An Extension",
        "alias" : [
          "Toelichting"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
  &n