Moderne Patient:innenabrechnung und Datenkommunikation on FHIR (MOPED)
0.1.0 - ci-build
Moderne Patient:innenabrechnung und Datenkommunikation on FHIR (MOPED) - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
Draft as of 2024-10-31 |
TTL representation of the MOPEDPatientSV resource profile.
@prefix fhir: <http://hl7.org/fhir/> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . # - resource ------------------------------------------------------------------- a fhir:StructureDefinition ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "MOPEDPatientSV"] ; # fhir:text [ fhir:status [ fhir:v "extensions" ] ; fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition MOPEDPatientSV</b></p><a name=\"MOPEDPatientSV\"> </a><a name=\"hcMOPEDPatientSV\"> </a><a name=\"MOPEDPatientSV-en-US\"> </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=\"The logical name of the element\">Name</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=\"Information about the use of the element\">Flags</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 and Maximum # of times the element can appear in the instance\">Card.</a></th><th style=\"width: 100px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Reference to the type of the 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=\"Additional information about the element\">Description & 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-MOPEDPatientSV-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://build.fhir.org/ig/HL7Austria/HL7-AT-FHIR-Core-R5/StructureDefinition-at-core-patient.html\">HL7ATCorePatient</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\">Information about an individual or animal receiving health care services</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_bck11.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-MOPEDPatientSV-definitions.html#Patient.address\">address</a><a name=\"Patient.address\"> </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\"/></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_bck103.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.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Definition\" class=\"hierarchy\"/> Slices for extension<a name=\"Patient.address.extension\"> </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\"/><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\">Content/Rules for all slices</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_bck1024.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_blank.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: #F7F7F7; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <span style=\"text-decoration:line-through\" title=\"Slice municipalityCode\">extension:municipalityCode</span><a name=\"Patient.address.extension.2\"> </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\"><span style=\"text-decoration:line-through\"/><span style=\"text-decoration:line-through\">0</span><span style=\"text-decoration:line-through\">..</span><span style=\"text-decoration:line-through\">0</span></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\"/></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_bck01.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: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-MOPEDPatientSV-definitions.html#Patient.contact\">contact</a><a name=\"Patient.contact\"> </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\"/><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\"/></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_bck001.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.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-MOPEDPatientSV-definitions.html#Patient.contact.address\">address</a><a name=\"Patient.contact.address\"> </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\"/></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_bck0003.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Definition\" class=\"hierarchy\"/> Slices for extension<a name=\"Patient.contact.address.extension\"> </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\"/><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\">Content/Rules for all slices</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_bck00024.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.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: #F7F7F7; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <span style=\"text-decoration:line-through\" title=\"Slice municipalityCode\">extension:municipalityCode</span><a name=\"Patient.contact.address.extension.2\"> </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\"><span style=\"text-decoration:line-through\"/><span style=\"text-decoration:line-through\">0</span><span style=\"text-decoration:line-through\">..</span><span style=\"text-decoration:line-through\">0</span></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\"/></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=\"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\"/> Documentation for this format</a></td></tr></table></div>" ] ; # fhir:url [ fhir:v "http://example.org/StructureDefinition/MOPEDPatientSV"^^xsd:anyURI] ; # fhir:version [ fhir:v "0.1.0"] ; # fhir:name [ fhir:v "MOPEDPatientSV"] ; # fhir:title [ fhir:v "MOPED Patient SV"] ; # fhir:status [ fhir:v "draft"] ; # fhir:date [ fhir:v "2024-10-31T13:02:31+00:00"^^xsd:dateTime] ; # fhir:publisher [ fhir:v "Example Publisher"] ; # fhir:contact ( [ fhir:name [ fhir:v "Example Publisher" ] ; ( fhir:telecom [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://example.org/example-publisher" ] ] ) ] ) ; # fhir:description [ fhir:v "MOPED Profil der Patient Ressource aus der Sicht der Rolle: SV"] ; # fhir:fhirVersion [ fhir:v "5.0.0"] ; # fhir:mapping ( [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:uri [ fhir:v "https://wiki.hl7.at/index.php?title=ILF:Allgemeiner_Implementierungsleitfaden_(Version_3)"^^xsd:anyURI ] ; fhir:name [ fhir:v "Allgemeiner Implementierungsleitfaden v3" ] ] [ fhir:identity [ fhir:v "w5" ] ; fhir:uri [ fhir:v "http://hl7.org/fhir/fivews"^^xsd:anyURI ] ; fhir:name [ fhir:v "FiveWs Pattern Mapping" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:uri [ fhir:v "http://hl7.org/v3"^^xsd:anyURI ] ; fhir:name [ fhir:v "RIM Mapping" ] ] [ fhir:identity [ fhir:v "interface" ] ; fhir:uri [ fhir:v "http://hl7.org/fhir/interface"^^xsd:anyURI ] ; fhir:name [ fhir:v "Interface Pattern" ] ] [ fhir:identity [ fhir:v "cda" ] ; fhir:uri [ fhir:v "http://hl7.org/v3/cda"^^xsd:anyURI ] ; fhir:name [ fhir:v "CDA (R2)" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:uri [ fhir:v "http://hl7.org/v2"^^xsd:anyURI ] ; fhir:name [ fhir:v "HL7 V2 Mapping" ] ] [ fhir:identity [ fhir:v "loinc" ] ; fhir:uri [ fhir:v "http://loinc.org"^^xsd:anyURI ] ; fhir:name [ fhir:v "LOINC code for the element" ] ] ) ; # fhir:kind [ fhir:v "resource"] ; # fhir:abstract [ fhir:v "false"^^xsd:boolean] ; # fhir:type [ fhir:v "Patient"^^xsd:anyURI] ; # fhir:baseDefinition [ fhir:v "http://hl7.at/fhir/HL7ATCoreProfiles/5.0.0/StructureDefinition/at-core-patient"^^xsd:anyURI ; fhir:link <http://hl7.at/fhir/HL7ATCoreProfiles/5.0.0/StructureDefinition/at-core-patient> ] ; # fhir:derivation [ fhir:v "constraint"] ; # fhir:snapshot [ ( fhir:element [ fhir:id [ fhir:v "Patient" ] ; fhir:path [ fhir:v "Patient" ] ; fhir:short [ fhir:v "Information about an individual or animal receiving health care services" ] ; fhir:definition [ fhir:v "Demographics and other administrative information about an individual or animal receiving care or other health-related services." ] ; ( fhir:alias [ fhir:v "SubjectOfCare Client Resident" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Patient" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:constraint [ fhir:key [ fhir:v "dom-2" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "If the resource is contained in another resource, it SHALL NOT contain nested Resources" ] ; fhir:expression [ fhir:v "contained.contained.empty()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource> ] ] [ fhir:key [ fhir:v "dom-3" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource" ] ; fhir:expression [ fhir:v "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource> ] ] [ fhir:key [ fhir:v "dom-4" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" ] ; fhir:expression [ fhir:v "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource> ] ] [ fhir:key [ fhir:v "dom-5" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "If a resource is contained in another resource, it SHALL NOT have a security label" ] ; fhir:expression [ fhir:v "contained.meta.security.empty()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource> ] ] [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice"^^xsd:anyURI ] ; fhir:value [ fhir:v "true"^^xsd:boolean ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation"^^xsd:anyURI ] ; fhir:value [ fhir:v "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." ] ] ) ; fhir:key [ fhir:v "dom-6" ] ; fhir:severity [ fhir:v "warning" ] ; fhir:human [ fhir:v "A resource should have narrative for robust management" ] ; fhir:expression [ fhir:v "text.`div`.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v "ClinicalDocument.recordTarget.patientRole" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "Entity, Role, or Act,Patient[classCode=PAT]" ] ] [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "administrative.individual" ] ] [ fhir:identity [ fhir:v "interface" ] ; fhir:map [ fhir:v "ParticipantLiving" ] ] [ fhir:identity [ fhir:v "cda" ] ; fhir:map [ fhir:v "ClinicalDocument.recordTarget.patientRole" ] ] ) ] [ fhir:id [ fhir:v "Patient.id" ] ; fhir:path [ fhir:v "Patient.id" ] ; fhir:short [ fhir:v "Logical id of this artifact" ] ; fhir:definition [ fhir:v "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." ] ; fhir:comment [ fhir:v "Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Resource.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "id"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Patient.meta" ] ; fhir:path [ fhir:v "Patient.meta" ] ; fhir:short [ fhir:v "Metadata about the resource" ] ; fhir:definition [ fhir:v "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Resource.meta" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Meta"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Patient.implicitRules" ] ; fhir:path [ fhir:v "Patient.implicitRules" ] ; fhir:short [ fhir:v "A set of rules under which this content was created" ] ; fhir:definition [ fhir:v "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc." ] ; fhir:comment [ fhir:v "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. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of its narrative along with other profiles, value sets, etc." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Resource.implicitRules" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "uri"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifierReason [ fhir:v "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies its meaning or interpretation" ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Patient.language" ] ; fhir:path [ fhir:v "Patient.language" ] ; fhir:short [ fhir:v "Language of the resource content" ] ; fhir:definition [ fhir:v "The base language in which the resource is written." ] ; fhir:comment [ fhir:v "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)." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Resource.language" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "code"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:binding [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "Language" ] ] ) ; fhir:strength [ fhir:v "required" ] ; fhir:description [ fhir:v "IETF language tag for a human language" ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/all-languages|5.0.0"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/ValueSet/all-languages|5.0.0> ] ; ( fhir:additional [ fhir:purpose [ fhir:v "starter" ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/languages"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/ValueSet/languages> ] ] ) ] ] [ fhir:id [ fhir:v "Patient.text" ] ; fhir:path [ fhir:v "Patient.text" ] ; fhir:short [ fhir:v "Text summary of the resource, for human interpretation" ] ; fhir:definition [ fhir:v "A human-readable narrative that contains a summary of the resource and can 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." ] ; fhir:comment [ fhir:v "Contained resources do not have a 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 information is added later." ] ; ( fhir:alias [ fhir:v "narrative" ] [ fhir:v "html" ] [ fhir:v "xhtml" ] [ fhir:v "display" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "DomainResource.text" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Narrative"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "dom-6" ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "Act.text?" ] ] ) ] [ fhir:id [ fhir:v "Patient.contained" ] ; fhir:path [ fhir:v "Patient.contained" ] ; fhir:short [ fhir:v "Contained, inline Resources" ] ; fhir:definition [ fhir:v "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning." ] ; fhir:comment [ fhir:v "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. Contained resources may have profiles and tags in their meta elements, but SHALL NOT have security labels." ] ; ( fhir:alias [ fhir:v "inline resources" ] [ fhir:v "anonymous resources" ] [ fhir:v "contained resources" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "DomainResource.contained" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Resource"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "dom-2" ] [ fhir:v "dom-4" ] [ fhir:v "dom-3" ] [ fhir:v "dom-5" ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "Patient.extension" ] ; fhir:path [ fhir:v "Patient.extension" ] ; fhir:slicing [ ( fhir:discriminator [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:ordered [ fhir:v "false"^^xsd:boolean ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Extension" ] ; fhir:definition [ fhir:v "An Extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "DomainResource.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Patient.extension:citizenship" ] ; fhir:path [ fhir:v "Patient.extension" ] ; fhir:sliceName [ fhir:v "citizenship" ] ; fhir:short [ fhir:v "Nation(s) where the patient claims citizenship" ] ; fhir:definition [ fhir:v "The patient's legal status as citizen of a country." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "DomainResource.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/patient-citizenship"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/patient-citizenship> ] ) ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Patient.extension:citizenship.id" ] ; fhir:path [ fhir:v "Patient.extension.id" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "id"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "ele-1" ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.extension:citizenship.extension" ] ; fhir:path [ fhir:v "Patient.extension.extension" ] ; fhir:slicing [ ( fhir:discriminator [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "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." ] ; ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.extension:citizenship.extension:code" ] ; fhir:path [ fhir:v "Patient.extension.extension" ] ; fhir:sliceName [ fhir:v "code" ] ; fhir:short [ fhir:v "Extension" ] ; fhir:definition [ fhir:v "An Extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Patient.extension:citizenship.extension:code.id" ] ; fhir:path [ fhir:v "Patient.extension.extension.id" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "id"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "ele-1" ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.extension:citizenship.extension:code.extension" ] ; fhir:path [ fhir:v "Patient.extension.extension.extension" ] ; fhir:slicing [ ( fhir:discriminator [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Extension" ] ; fhir:definition [ fhir:v "An Extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "0" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Patient.extension:citizenship.extension:code.url" ] ; fhir:path [ fhir:v "Patient.extension.extension.url" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "identifies the meaning of the extension" ] ; fhir:definition [ fhir:v "Source of the definition for the extension code - a logical name or a URL." ] ; fhir:comment [ fhir:v "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." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Extension.url" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "uri"^^xsd:anyURI ] ] ) ; fhir:fixed [ fhir:v "code"^^xsd:anyURI ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "Patient.extension:citizenship.extension:code.value[x]" ] ; fhir:path [ fhir:v "Patient.extension.extension.value[x]" ] ; fhir:short [ fhir:v "Value of extension" ] ; fhir:definition [ fhir:v "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list)." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Extension.value[x]" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "ext-1" ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:binding [ fhir:strength [ fhir:v "extensible" ] ; fhir:valueSet [ fhir:v "https://termgit.elga.gv.at/ValueSet/elga-laendercodes"^^xsd:anyURI ; fhir:link <https://termgit.elga.gv.at/ValueSet/elga-laendercodes> ] ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "Patient.extension:citizenship.extension:period" ] ; fhir:path [ fhir:v "Patient.extension.extension" ] ; fhir:sliceName [ fhir:v "period" ] ; fhir:short [ fhir:v "Time period of citizenship" ] ; fhir:definition [ fhir:v "Period when citizenship was effective." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Patient.extension:citizenship.extension:period.id" ] ; fhir:path [ fhir:v "Patient.extension.extension.id" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "id"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "ele-1" ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.extension:citizenship.extension:period.extension" ] ; fhir:path [ fhir:v "Patient.extension.extension.extension" ] ; fhir:slicing [ ( fhir:discriminator [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Extension" ] ; fhir:definition [ fhir:v "An Extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "0" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Patient.extension:citizenship.extension:period.url" ] ; fhir:path [ fhir:v "Patient.extension.extension.url" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "identifies the meaning of the extension" ] ; fhir:definition [ fhir:v "Source of the definition for the extension code - a logical name or a URL." ] ; fhir:comment [ fhir:v "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." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Extension.url" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "uri"^^xsd:anyURI ] ] ) ; fhir:fixed [ fhir:v "period"^^xsd:anyURI ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "Patient.extension:citizenship.extension:period.value[x]" ] ; fhir:path [ fhir:v "Patient.extension.extension.value[x]" ] ; fhir:short [ fhir:v "Value of extension" ] ; fhir:definition [ fhir:v "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list)." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Extension.value[x]" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Period"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "ext-1" ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "Patient.extension:citizenship.url" ] ; fhir:path [ fhir:v "Patient.extension.url" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "identifies the meaning of the extension" ] ; fhir:definition [ fhir:v "Source of the definition for the extension code - a logical name or a URL." ] ; fhir:comment [ fhir:v "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." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Extension.url" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "uri"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; fhir:fixed [ fhir:v "http://hl7.org/fhir/StructureDefinition/patient-citizenship"^^xsd:anyURI ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "Patient.extension:citizenship.value[x]" ] ; fhir:path [ fhir:v "Patient.extension.value[x]" ] ; fhir:short [ fhir:v "Value of extension" ] ; fhir:definition [ fhir:v "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list)." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "0" ] ; fhir:base [ fhir:path [ fhir:v "Extension.value[x]" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "base64Binary"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "canonical"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "code"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "date"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "dateTime"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "decimal"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "id"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "instant"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "integer"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "integer64"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "markdown"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "oid"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "positiveInt"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "time"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "unsignedInt"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "uri"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "url"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "uuid"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "Address"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "Age"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "Annotation"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "Attachment"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "CodeableReference"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "Coding"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "ContactPoint"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "Count"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "Distance"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "Duration"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "HumanName"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "Identifier"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "Money"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "Period"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "Quantity"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "Range"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "Ratio"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "RatioRange"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "SampledData"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "Signature"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "Timing"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "ContactDetail"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "DataRequirement"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "Expression"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "ParameterDefinition"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "RelatedArtifact"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "TriggerDefinition"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "UsageContext"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "Availability"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "ExtendedContactDetail"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "Dosage"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "Meta"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "ext-1" ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "Patient.extension:PatientReligion" ] ; fhir:path [ fhir:v "Patient.extension" ] ; fhir:sliceName [ fhir:v "PatientReligion" ] ; fhir:short [ fhir:v "Patient Religion" ] ; fhir:definition [ fhir:v "HL7® Austria FHIR® Core Extension for the religion (registered in Austria) of a patient.\r\nThe extension is used to encode the religious confession of a patient (only confessions registered in Austria). Furthermore, it uses the official [HL7 AT CodeSystem](https://build.fhir.org/ig/HL7Austria/HL7-AT-FHIR-Core-R5/https://termpub.gesundheit.gv.at:443/TermBrowser/gui/main/main.zul?loadType=CodeSystem&loadName=HL7 AT ReligionAustria) for religion and is therefore aligned with the ELGA ValueSet, respectively." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "DomainResource.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ; ( fhir:profile [ fhir:v "http://hl7.at/fhir/HL7ATCoreProfiles/5.0.0/StructureDefinition/at-core-ext-patient-religion"^^xsd:anyURI ; fhir:link <http://hl7.at/fhir/HL7ATCoreProfiles/5.0.0/StructureDefinition/at-core-ext-patient-religion> ] ) ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Patient.modifierExtension" ] ; fhir:path [ fhir:v "Patient.modifierExtension" ] ; fhir:short [ fhir:v "Extensions that cannot be ignored" ] ; fhir:definition [ fhir:v "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 and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:comment [ fhir:v "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." ] ; fhir:requirements [ fhir:v "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension)." ] ; ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "DomainResource.modifierExtension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them" ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier" ] ; fhir:path [ fhir:v "Patient.identifier" ] ; fhir:slicing [ ( fhir:discriminator [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "type.coding.code" ] ] ) ; fhir:ordered [ fhir:v "false"^^xsd:boolean ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "An identifier for this patient" ] ; fhir:definition [ fhir:v "An identifier for this patient." ] ; fhir:requirements [ fhir:v "Patients are almost always assigned specific numerical identifiers." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Patient.identifier" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Identifier"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.identifier" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "PID-3" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "id" ] ] [ fhir:identity [ fhir:v "interface" ] ; fhir:map [ fhir:v "Participant.identifier" ] ] [ fhir:identity [ fhir:v "cda" ] ; fhir:map [ fhir:v ".id" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier.id" ] ; fhir:path [ fhir:v "Patient.identifier.id" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "id"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "ele-1" ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier.extension" ] ; fhir:path [ fhir:v "Patient.identifier.extension" ] ; fhir:slicing [ ( fhir:discriminator [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "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." ] ; ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier.use" ] ; fhir:path [ fhir:v "Patient.identifier.use" ] ; fhir:short [ fhir:v "usual | official | temp | secondary | old (If known)" ] ; fhir:definition [ fhir:v "The purpose of this identifier." ] ; fhir:comment [ fhir:v "Applications can assume that an identifier is permanent unless it explicitly says that it is temporary." ] ; fhir:requirements [ fhir:v "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Identifier.use" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "code"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifierReason [ fhir:v "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one." ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "IdentifierUse" ] ] ) ; fhir:strength [ fhir:v "required" ] ; fhir:description [ fhir:v "Identifies the purpose for this identifier, if known ." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/identifier-use|5.0.0"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/ValueSet/identifier-use|5.0.0> ] ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "N/A" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "Role.code or implied by context" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier.type" ] ; fhir:path [ fhir:v "Patient.identifier.type" ] ; fhir:short [ fhir:v "Description of identifier" ] ; fhir:definition [ fhir:v "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose." ] ; fhir:comment [ fhir:v "This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type." ] ; fhir:requirements [ fhir:v "Allows users to make use of identifiers when the identifier system is not known." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Identifier.type" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ fhir:strength [ fhir:v "extensible" ] ; fhir:valueSet [ fhir:v "https://termgit.elga.gv.at/ValueSet/hl7-at-patientidentifier"^^xsd:anyURI ; fhir:link <https://termgit.elga.gv.at/ValueSet/hl7-at-patientidentifier> ] ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "CX.5" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "Role.code or implied by context" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier.system" ] ; fhir:path [ fhir:v "Patient.identifier.system" ] ; fhir:short [ fhir:v "The namespace for the identifier value" ] ; fhir:definition [ fhir:v "Establishes the namespace for the value - that is, an absolute URL that describes a set values that are unique." ] ; fhir:comment [ fhir:v "Identifier.system is always case sensitive." ] ; fhir:requirements [ fhir:v "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." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Identifier.system" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "uri"^^xsd:anyURI ] ] ) ; ( fhir:example [ fhir:label [ fhir:v "General" ] ; fhir:value [ fhir:v "http://www.acme.com/identifiers/patient"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "CX.4 / EI-2-4" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "II.root or Role.id.root" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./IdentifierType" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier.value" ] ; fhir:path [ fhir:v "Patient.identifier.value" ] ; fhir:short [ fhir:v "The value that is unique" ] ; fhir:definition [ fhir:v "The portion of the identifier typically relevant to the user and which is unique within the context of the system." ] ; fhir:comment [ fhir:v "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the [http://hl7.org/fhir/StructureDefinition/rendered-value](http://hl7.org/fhir/extensions/StructureDefinition-rendered-value.html)). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Identifier.value" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:example [ fhir:label [ fhir:v "General" ] ; fhir:value [ fhir:v "123456" ] ] ) ; ( fhir:condition [ fhir:v "ident-1" ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "CX.1 / EI.1" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./Value" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier.period" ] ; fhir:path [ fhir:v "Patient.identifier.period" ] ; fhir:short [ fhir:v "Time period when id is/was valid for use" ] ; fhir:definition [ fhir:v "Time period during which identifier is/was valid for use." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Identifier.period" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Period"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "CX.7 + CX.8" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "Role.effectiveTime or implied by context" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./StartDate and ./EndDate" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier.assigner" ] ; fhir:path [ fhir:v "Patient.identifier.assigner" ] ; fhir:short [ fhir:v "Organization that issued id (may be just text)" ] ; fhir:definition [ fhir:v "Organization that issued/manages the identifier." ] ; fhir:comment [ fhir:v "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." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Identifier.assigner" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ; ( fhir:targetProfile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Organization"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Organization> ] ) ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "CX.4 / (CX.4,CX.9,CX.10)" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./IdentifierIssuingAuthority" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:socialSecurityNumber" ] ; fhir:path [ fhir:v "Patient.identifier" ] ; fhir:sliceName [ fhir:v "socialSecurityNumber" ] ; fhir:short [ fhir:v "An identifier for this patient" ] ; fhir:definition [ fhir:v "An identifier for this patient." ] ; fhir:requirements [ fhir:v "Patients are almost always assigned specific numerical identifiers." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Patient.identifier" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Identifier"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.identifier" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "PID-3" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "id" ] ] [ fhir:identity [ fhir:v "interface" ] ; fhir:map [ fhir:v "Participant.identifier" ] ] [ fhir:identity [ fhir:v "cda" ] ; fhir:map [ fhir:v ".id" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:socialSecurityNumber.id" ] ; fhir:path [ fhir:v "Patient.identifier.id" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "id"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "ele-1" ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:socialSecurityNumber.extension" ] ; fhir:path [ fhir:v "Patient.identifier.extension" ] ; fhir:slicing [ ( fhir:discriminator [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "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." ] ; ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:socialSecurityNumber.use" ] ; fhir:path [ fhir:v "Patient.identifier.use" ] ; fhir:short [ fhir:v "usual | official | temp | secondary | old (If known)" ] ; fhir:definition [ fhir:v "The purpose of this identifier." ] ; fhir:comment [ fhir:v "Applications can assume that an identifier is permanent unless it explicitly says that it is temporary." ] ; fhir:requirements [ fhir:v "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Identifier.use" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "code"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifierReason [ fhir:v "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one." ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "IdentifierUse" ] ] ) ; fhir:strength [ fhir:v "required" ] ; fhir:description [ fhir:v "Identifies the purpose for this identifier, if known ." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/identifier-use|5.0.0"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/ValueSet/identifier-use|5.0.0> ] ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "N/A" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "Role.code or implied by context" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:socialSecurityNumber.type" ] ; fhir:path [ fhir:v "Patient.identifier.type" ] ; fhir:short [ fhir:v "Description of identifier" ] ; fhir:definition [ fhir:v "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose." ] ; fhir:comment [ fhir:v "This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type." ] ; fhir:requirements [ fhir:v "Allows users to make use of identifiers when the identifier system is not known." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Identifier.type" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ fhir:strength [ fhir:v "required" ] ; fhir:valueSet [ fhir:v "https://termgit.elga.gv.at/ValueSet/hl7-at-patientidentifier"^^xsd:anyURI ; fhir:link <https://termgit.elga.gv.at/ValueSet/hl7-at-patientidentifier> ] ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "CX.5" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "Role.code or implied by context" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:socialSecurityNumber.type.id" ] ; fhir:path [ fhir:v "Patient.identifier.type.id" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "id"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "ele-1" ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:socialSecurityNumber.type.extension" ] ; fhir:path [ fhir:v "Patient.identifier.type.extension" ] ; fhir:slicing [ ( fhir:discriminator [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "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." ] ; ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:socialSecurityNumber.type.coding" ] ; fhir:path [ fhir:v "Patient.identifier.type.coding" ] ; fhir:short [ fhir:v "Code defined by a terminology system" ] ; fhir:definition [ fhir:v "A reference to a code defined by a terminology system." ] ; fhir:comment [ fhir:v "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." ] ; fhir:requirements [ fhir:v "Allows for alternative encodings within a code system, and translations to other code systems." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "CodeableConcept.coding" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Coding"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "C*E.1-8, C*E.10-22" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "union(., ./translation)" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:socialSecurityNumber.type.coding.id" ] ; fhir:path [ fhir:v "Patient.identifier.type.coding.id" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "id"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "ele-1" ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:socialSecurityNumber.type.coding.extension" ] ; fhir:path [ fhir:v "Patient.identifier.type.coding.extension" ] ; fhir:slicing [ ( fhir:discriminator [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "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." ] ; ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:socialSecurityNumber.type.coding.system" ] ; fhir:path [ fhir:v "Patient.identifier.type.coding.system" ] ; fhir:short [ fhir:v "Identity of the terminology system" ] ; fhir:definition [ fhir:v "The identification of the code system that defines the meaning of the symbol in the code." ] ; fhir:comment [ fhir:v "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 be an absolute reference to some definition that establishes the system clearly and unambiguously." ] ; fhir:requirements [ fhir:v "Need to be unambiguous about the source of the definition of the symbol." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Coding.system" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "uri"^^xsd:anyURI ] ] ) ; fhir:fixed [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "C*E.3" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./codeSystem" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:socialSecurityNumber.type.coding.version" ] ; fhir:path [ fhir:v "Patient.identifier.type.coding.version" ] ; fhir:short [ fhir:v "Version of the system - if relevant" ] ; fhir:definition [ fhir:v "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." ] ; fhir:comment [ fhir:v "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." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Coding.version" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "C*E.7" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./codeSystemVersion" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:socialSecurityNumber.type.coding.code" ] ; fhir:path [ fhir:v "Patient.identifier.type.coding.code" ] ; fhir:short [ fhir:v "Symbol in syntax defined by the system" ] ; fhir:definition [ fhir:v "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)." ] ; fhir:requirements [ fhir:v "Need to refer to a particular code in the system." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Coding.code" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "code"^^xsd:anyURI ] ] ) ; fhir:fixed [ fhir:v "SS" ] ; ( fhir:condition [ fhir:v "cod-1" ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "C*E.1" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./code" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:socialSecurityNumber.type.coding.display" ] ; ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ] ; fhir:value [ fhir:v "true"^^xsd:boolean ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ] ; fhir:value [ fhir:v "true"^^xsd:boolean ] ] ) ; fhir:path [ fhir:v "Patient.identifier.type.coding.display" ] ; fhir:short [ fhir:v "Representation defined by the system" ] ; fhir:definition [ fhir:v "A representation of the meaning of the code in the system, following the rules of the system." ] ; fhir:requirements [ fhir:v "Need to be able to carry a human-readable meaning of the code for readers that do not know the system." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Coding.display" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "cod-1" ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "C*E.2 - but note this is not well followed" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "CV.displayName" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:socialSecurityNumber.type.coding.userSelected" ] ; fhir:path [ fhir:v "Patient.identifier.type.coding.userSelected" ] ; fhir:short [ fhir:v "If this coding was chosen directly by the user" ] ; fhir:definition [ fhir:v "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)." ] ; fhir:comment [ fhir:v "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." ] ; fhir:requirements [ fhir:v "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." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Coding.userSelected" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "Sometimes implied by being first" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "CD.codingRationale" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "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 ]" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:socialSecurityNumber.type.text" ] ; ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ] ; fhir:value [ fhir:v "true"^^xsd:boolean ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ] ; fhir:value [ fhir:v "true"^^xsd:boolean ] ] ) ; fhir:path [ fhir:v "Patient.identifier.type.text" ] ; fhir:short [ fhir:v "Plain text representation of the concept" ] ; fhir:definition [ fhir:v "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." ] ; fhir:comment [ fhir:v "Very often the text is the same as a displayName of one of the codings." ] ; fhir:requirements [ fhir:v "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." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "CodeableConcept.text" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "C*E.9. But note many systems use C*E.2 for this" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./originalText[mediaType/code=\"text/plain\"]/data" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:socialSecurityNumber.system" ] ; fhir:path [ fhir:v "Patient.identifier.system" ] ; fhir:short [ fhir:v "OID for the Social Security Number in Austria" ] ; fhir:definition [ fhir:v "Establishes the namespace for the value - that is, an absolute URL that describes a set values that are unique." ] ; fhir:comment [ fhir:v "Identifier.system is always case sensitive." ] ; fhir:requirements [ fhir:v "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." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Identifier.system" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "uri"^^xsd:anyURI ] ] ) ; fhir:fixed [ fhir:v "urn:oid:1.2.40.0.10.1.4.3.1"^^xsd:anyURI ] ; ( fhir:example [ fhir:label [ fhir:v "General" ] ; fhir:value [ fhir:v "http://www.acme.com/identifiers/patient"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v ".id[1].root" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "CX.4 / EI-2-4" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "II.root or Role.id.root" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./IdentifierType" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:socialSecurityNumber.value" ] ; fhir:path [ fhir:v "Patient.identifier.value" ] ; fhir:short [ fhir:v "The value that is unique" ] ; fhir:definition [ fhir:v "The portion of the identifier typically relevant to the user and which is unique within the context of the system." ] ; fhir:comment [ fhir:v "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the [http://hl7.org/fhir/StructureDefinition/rendered-value](http://hl7.org/fhir/extensions/StructureDefinition-rendered-value.html)). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Identifier.value" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:example [ fhir:label [ fhir:v "General" ] ; fhir:value [ fhir:v "123456" ] ] ) ; ( fhir:condition [ fhir:v "ident-1" ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v ".id[1].extension" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "CX.1 / EI.1" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./Value" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:socialSecurityNumber.period" ] ; fhir:path [ fhir:v "Patient.identifier.period" ] ; fhir:short [ fhir:v "Time period when id is/was valid for use" ] ; fhir:definition [ fhir:v "Time period during which identifier is/was valid for use." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Identifier.period" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Period"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "CX.7 + CX.8" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "Role.effectiveTime or implied by context" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./StartDate and ./EndDate" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:socialSecurityNumber.assigner" ] ; fhir:path [ fhir:v "Patient.identifier.assigner" ] ; fhir:short [ fhir:v "Organization that issued id (may be just text)" ] ; fhir:definition [ fhir:v "Organization that issued/manages the identifier." ] ; fhir:comment [ fhir:v "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." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Identifier.assigner" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ; ( fhir:targetProfile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Organization"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Organization> ] ) ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "CX.4 / (CX.4,CX.9,CX.10)" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./IdentifierIssuingAuthority" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:socialSecurityNumber.assigner.id" ] ; fhir:path [ fhir:v "Patient.identifier.assigner.id" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "id"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "ele-1" ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:socialSecurityNumber.assigner.extension" ] ; fhir:path [ fhir:v "Patient.identifier.assigner.extension" ] ; fhir:slicing [ ( fhir:discriminator [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "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." ] ; ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:socialSecurityNumber.assigner.reference" ] ; fhir:path [ fhir:v "Patient.identifier.assigner.reference" ] ; fhir:short [ fhir:v "Literal reference, Relative, internal or absolute URL" ] ; fhir:definition [ fhir:v "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources." ] ; fhir:comment [ fhir:v "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Reference.reference" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "ref-2" ] [ fhir:v "ref-1" ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:socialSecurityNumber.assigner.type" ] ; fhir:path [ fhir:v "Patient.identifier.assigner.type" ] ; fhir:short [ fhir:v "Type the reference refers to (e.g. \"Patient\") - must be a resource in resources" ] ; fhir:definition [ fhir:v "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources)." ] ; fhir:comment [ fhir:v "This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a known RESTful URL) or by resolving the target of the reference." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Reference.type" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "uri"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "FHIRResourceTypeExt" ] ] ) ; fhir:strength [ fhir:v "extensible" ] ; fhir:description [ fhir:v "Aa resource (or, for logical models, the URI of the logical model)." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/resource-types"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/ValueSet/resource-types> ] ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:socialSecurityNumber.assigner.identifier" ] ; fhir:path [ fhir:v "Patient.identifier.assigner.identifier" ] ; fhir:short [ fhir:v "Logical reference, when literal reference is not known" ] ; fhir:definition [ fhir:v "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference." ] ; fhir:comment [ fhir:v "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).\n\nThis element only allows for a single identifier. In the case where additional identifers are required, use the [http://hl7.org/fhir/StructureDefinition/additionalIdentifier](http://hl7.org/fhir/extensions/StructureDefinition-additionalIdentifier.html) extension." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Reference.identifier" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Identifier"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "ref-2" ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".identifier" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:socialSecurityNumber.assigner.display" ] ; ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ] ; fhir:value [ fhir:v "true"^^xsd:boolean ] ] ) ; fhir:path [ fhir:v "Patient.identifier.assigner.display" ] ; fhir:short [ fhir:v "Text alternative for the resource" ] ; fhir:definition [ fhir:v "Plain text narrative that identifies the resource in addition to the resource reference." ] ; fhir:comment [ fhir:v "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Reference.display" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:fixed [ fhir:v "Dachverband der österreichischen Sozialversicherungsträger" ] ; ( fhir:condition [ fhir:v "ref-2" ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:bPK" ] ; fhir:path [ fhir:v "Patient.identifier" ] ; fhir:sliceName [ fhir:v "bPK" ] ; fhir:short [ fhir:v "An identifier for this patient" ] ; fhir:definition [ fhir:v "An identifier for this patient." ] ; fhir:requirements [ fhir:v "Patients are almost always assigned specific numerical identifiers." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Patient.identifier" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Identifier"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.identifier" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "PID-3" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "id" ] ] [ fhir:identity [ fhir:v "interface" ] ; fhir:map [ fhir:v "Participant.identifier" ] ] [ fhir:identity [ fhir:v "cda" ] ; fhir:map [ fhir:v ".id" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:bPK.id" ] ; fhir:path [ fhir:v "Patient.identifier.id" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "id"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "ele-1" ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:bPK.extension" ] ; fhir:path [ fhir:v "Patient.identifier.extension" ] ; fhir:slicing [ ( fhir:discriminator [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "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." ] ; ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:bPK.use" ] ; fhir:path [ fhir:v "Patient.identifier.use" ] ; fhir:short [ fhir:v "usual | official | temp | secondary | old (If known)" ] ; fhir:definition [ fhir:v "The purpose of this identifier." ] ; fhir:comment [ fhir:v "Applications can assume that an identifier is permanent unless it explicitly says that it is temporary." ] ; fhir:requirements [ fhir:v "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Identifier.use" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "code"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifierReason [ fhir:v "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one." ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "IdentifierUse" ] ] ) ; fhir:strength [ fhir:v "required" ] ; fhir:description [ fhir:v "Identifies the purpose for this identifier, if known ." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/identifier-use|5.0.0"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/ValueSet/identifier-use|5.0.0> ] ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "N/A" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "Role.code or implied by context" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:bPK.type" ] ; fhir:path [ fhir:v "Patient.identifier.type" ] ; fhir:short [ fhir:v "Description of identifier" ] ; fhir:definition [ fhir:v "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose." ] ; fhir:comment [ fhir:v "This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type." ] ; fhir:requirements [ fhir:v "Allows users to make use of identifiers when the identifier system is not known." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Identifier.type" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ fhir:strength [ fhir:v "required" ] ; fhir:valueSet [ fhir:v "https://termgit.elga.gv.at/ValueSet/hl7-at-patientidentifier"^^xsd:anyURI ; fhir:link <https://termgit.elga.gv.at/ValueSet/hl7-at-patientidentifier> ] ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "CX.5" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "Role.code or implied by context" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:bPK.type.id" ] ; fhir:path [ fhir:v "Patient.identifier.type.id" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "id"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "ele-1" ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:bPK.type.extension" ] ; fhir:path [ fhir:v "Patient.identifier.type.extension" ] ; fhir:slicing [ ( fhir:discriminator [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "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." ] ; ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:bPK.type.coding" ] ; fhir:path [ fhir:v "Patient.identifier.type.coding" ] ; fhir:short [ fhir:v "Code defined by a terminology system" ] ; fhir:definition [ fhir:v "A reference to a code defined by a terminology system." ] ; fhir:comment [ fhir:v "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." ] ; fhir:requirements [ fhir:v "Allows for alternative encodings within a code system, and translations to other code systems." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "CodeableConcept.coding" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Coding"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "C*E.1-8, C*E.10-22" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "union(., ./translation)" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:bPK.type.coding.id" ] ; fhir:path [ fhir:v "Patient.identifier.type.coding.id" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "id"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "ele-1" ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:bPK.type.coding.extension" ] ; fhir:path [ fhir:v "Patient.identifier.type.coding.extension" ] ; fhir:slicing [ ( fhir:discriminator [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "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." ] ; ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:bPK.type.coding.system" ] ; fhir:path [ fhir:v "Patient.identifier.type.coding.system" ] ; fhir:short [ fhir:v "Identity of the terminology system" ] ; fhir:definition [ fhir:v "The identification of the code system that defines the meaning of the symbol in the code." ] ; fhir:comment [ fhir:v "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 be an absolute reference to some definition that establishes the system clearly and unambiguously." ] ; fhir:requirements [ fhir:v "Need to be unambiguous about the source of the definition of the symbol." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Coding.system" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "uri"^^xsd:anyURI ] ] ) ; fhir:fixed [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "C*E.3" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./codeSystem" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:bPK.type.coding.version" ] ; fhir:path [ fhir:v "Patient.identifier.type.coding.version" ] ; fhir:short [ fhir:v "Version of the system - if relevant" ] ; fhir:definition [ fhir:v "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." ] ; fhir:comment [ fhir:v "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." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Coding.version" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "C*E.7" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./codeSystemVersion" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:bPK.type.coding.code" ] ; fhir:path [ fhir:v "Patient.identifier.type.coding.code" ] ; fhir:short [ fhir:v "Symbol in syntax defined by the system" ] ; fhir:definition [ fhir:v "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)." ] ; fhir:requirements [ fhir:v "Need to refer to a particular code in the system." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Coding.code" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "code"^^xsd:anyURI ] ] ) ; fhir:fixed [ fhir:v "NI" ] ; ( fhir:condition [ fhir:v "cod-1" ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "C*E.1" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./code" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:bPK.type.coding.display" ] ; ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ] ; fhir:value [ fhir:v "true"^^xsd:boolean ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ] ; fhir:value [ fhir:v "true"^^xsd:boolean ] ] ) ; fhir:path [ fhir:v "Patient.identifier.type.coding.display" ] ; fhir:short [ fhir:v "Representation defined by the system" ] ; fhir:definition [ fhir:v "A representation of the meaning of the code in the system, following the rules of the system." ] ; fhir:requirements [ fhir:v "Need to be able to carry a human-readable meaning of the code for readers that do not know the system." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Coding.display" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "cod-1" ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "C*E.2 - but note this is not well followed" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "CV.displayName" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:bPK.type.coding.userSelected" ] ; fhir:path [ fhir:v "Patient.identifier.type.coding.userSelected" ] ; fhir:short [ fhir:v "If this coding was chosen directly by the user" ] ; fhir:definition [ fhir:v "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)." ] ; fhir:comment [ fhir:v "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." ] ; fhir:requirements [ fhir:v "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." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Coding.userSelected" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "Sometimes implied by being first" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "CD.codingRationale" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "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 ]" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:bPK.type.text" ] ; ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ] ; fhir:value [ fhir:v "true"^^xsd:boolean ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ] ; fhir:value [ fhir:v "true"^^xsd:boolean ] ] ) ; fhir:path [ fhir:v "Patient.identifier.type.text" ] ; fhir:short [ fhir:v "Plain text representation of the concept" ] ; fhir:definition [ fhir:v "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." ] ; fhir:comment [ fhir:v "Very often the text is the same as a displayName of one of the codings." ] ; fhir:requirements [ fhir:v "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." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "CodeableConcept.text" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "C*E.9. But note many systems use C*E.2 for this" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./originalText[mediaType/code=\"text/plain\"]/data" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:bPK.system" ] ; fhir:path [ fhir:v "Patient.identifier.system" ] ; fhir:short [ fhir:v "OID for the bPK in Austria" ] ; fhir:definition [ fhir:v "Establishes the namespace for the value - that is, an absolute URL that describes a set values that are unique." ] ; fhir:comment [ fhir:v "Identifier.system is always case sensitive." ] ; fhir:requirements [ fhir:v "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." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Identifier.system" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "uri"^^xsd:anyURI ] ] ) ; fhir:fixed [ fhir:v "urn:oid:1.2.40.0.10.2.1.1.149"^^xsd:anyURI ] ; ( fhir:example [ fhir:label [ fhir:v "General" ] ; fhir:value [ fhir:v "http://www.acme.com/identifiers/patient"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v ".id.where(root='1.2.40.0.10.2.1.1.149').root" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "CX.4 / EI-2-4" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "II.root or Role.id.root" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./IdentifierType" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:bPK.value" ] ; fhir:path [ fhir:v "Patient.identifier.value" ] ; fhir:short [ fhir:v "The value that is unique" ] ; fhir:definition [ fhir:v "The portion of the identifier typically relevant to the user and which is unique within the context of the system." ] ; fhir:comment [ fhir:v "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the [http://hl7.org/fhir/StructureDefinition/rendered-value](http://hl7.org/fhir/extensions/StructureDefinition-rendered-value.html)). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Identifier.value" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:example [ fhir:label [ fhir:v "General" ] ; fhir:value [ fhir:v "123456" ] ] ) ; ( fhir:condition [ fhir:v "ident-1" ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v ".id.where(root='1.2.40.0.10.2.1.1.149').extension" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "CX.1 / EI.1" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./Value" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:bPK.period" ] ; fhir:path [ fhir:v "Patient.identifier.period" ] ; fhir:short [ fhir:v "Time period when id is/was valid for use" ] ; fhir:definition [ fhir:v "Time period during which identifier is/was valid for use." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Identifier.period" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Period"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "CX.7 + CX.8" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "Role.effectiveTime or implied by context" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./StartDate and ./EndDate" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:bPK.assigner" ] ; fhir:path [ fhir:v "Patient.identifier.assigner" ] ; fhir:short [ fhir:v "Organization that issued id (may be just text)" ] ; fhir:definition [ fhir:v "Organization that issued/manages the identifier." ] ; fhir:comment [ fhir:v "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." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Identifier.assigner" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ; ( fhir:targetProfile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Organization"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Organization> ] ) ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "CX.4 / (CX.4,CX.9,CX.10)" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./IdentifierIssuingAuthority" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:bPK.assigner.id" ] ; fhir:path [ fhir:v "Patient.identifier.assigner.id" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "id"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "ele-1" ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:bPK.assigner.extension" ] ; fhir:path [ fhir:v "Patient.identifier.assigner.extension" ] ; fhir:slicing [ ( fhir:discriminator [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "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." ] ; ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:bPK.assigner.reference" ] ; fhir:path [ fhir:v "Patient.identifier.assigner.reference" ] ; fhir:short [ fhir:v "Literal reference, Relative, internal or absolute URL" ] ; fhir:definition [ fhir:v "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources." ] ; fhir:comment [ fhir:v "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Reference.reference" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "ref-2" ] [ fhir:v "ref-1" ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:bPK.assigner.type" ] ; fhir:path [ fhir:v "Patient.identifier.assigner.type" ] ; fhir:short [ fhir:v "Type the reference refers to (e.g. \"Patient\") - must be a resource in resources" ] ; fhir:definition [ fhir:v "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources)." ] ; fhir:comment [ fhir:v "This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a known RESTful URL) or by resolving the target of the reference." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Reference.type" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "uri"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "FHIRResourceTypeExt" ] ] ) ; fhir:strength [ fhir:v "extensible" ] ; fhir:description [ fhir:v "Aa resource (or, for logical models, the URI of the logical model)." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/resource-types"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/ValueSet/resource-types> ] ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:bPK.assigner.identifier" ] ; fhir:path [ fhir:v "Patient.identifier.assigner.identifier" ] ; fhir:short [ fhir:v "Logical reference, when literal reference is not known" ] ; fhir:definition [ fhir:v "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference." ] ; fhir:comment [ fhir:v "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).\n\nThis element only allows for a single identifier. In the case where additional identifers are required, use the [http://hl7.org/fhir/StructureDefinition/additionalIdentifier](http://hl7.org/fhir/extensions/StructureDefinition-additionalIdentifier.html) extension." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Reference.identifier" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Identifier"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "ref-2" ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".identifier" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:bPK.assigner.display" ] ; ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ] ; fhir:value [ fhir:v "true"^^xsd:boolean ] ] ) ; fhir:path [ fhir:v "Patient.identifier.assigner.display" ] ; fhir:short [ fhir:v "Text alternative for the resource" ] ; fhir:definition [ fhir:v "Plain text narrative that identifies the resource in addition to the resource reference." ] ; fhir:comment [ fhir:v "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Reference.display" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:fixed [ fhir:v "Bundesministerium für Inneres" ] ; ( fhir:condition [ fhir:v "ref-2" ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:localPatientId" ] ; fhir:path [ fhir:v "Patient.identifier" ] ; fhir:sliceName [ fhir:v "localPatientId" ] ; fhir:short [ fhir:v "An identifier for this patient" ] ; fhir:definition [ fhir:v "An identifier for this patient." ] ; fhir:requirements [ fhir:v "Patients are almost always assigned specific numerical identifiers." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Patient.identifier" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Identifier"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.identifier" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "PID-3" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "id" ] ] [ fhir:identity [ fhir:v "interface" ] ; fhir:map [ fhir:v "Participant.identifier" ] ] [ fhir:identity [ fhir:v "cda" ] ; fhir:map [ fhir:v ".id" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:localPatientId.id" ] ; fhir:path [ fhir:v "Patient.identifier.id" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "id"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "ele-1" ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:localPatientId.extension" ] ; fhir:path [ fhir:v "Patient.identifier.extension" ] ; fhir:slicing [ ( fhir:discriminator [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "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." ] ; ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:localPatientId.use" ] ; fhir:path [ fhir:v "Patient.identifier.use" ] ; fhir:short [ fhir:v "usual | official | temp | secondary | old (If known)" ] ; fhir:definition [ fhir:v "The purpose of this identifier." ] ; fhir:comment [ fhir:v "Applications can assume that an identifier is permanent unless it explicitly says that it is temporary." ] ; fhir:requirements [ fhir:v "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Identifier.use" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "code"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifierReason [ fhir:v "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one." ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "IdentifierUse" ] ] ) ; fhir:strength [ fhir:v "required" ] ; fhir:description [ fhir:v "Identifies the purpose for this identifier, if known ." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/identifier-use|5.0.0"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/ValueSet/identifier-use|5.0.0> ] ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "N/A" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "Role.code or implied by context" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:localPatientId.type" ] ; fhir:path [ fhir:v "Patient.identifier.type" ] ; fhir:short [ fhir:v "Description of identifier" ] ; fhir:definition [ fhir:v "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose." ] ; fhir:comment [ fhir:v "This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type." ] ; fhir:requirements [ fhir:v "Allows users to make use of identifiers when the identifier system is not known." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Identifier.type" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ fhir:strength [ fhir:v "required" ] ; fhir:valueSet [ fhir:v "https://termgit.elga.gv.at/ValueSet/hl7-at-patientidentifier"^^xsd:anyURI ; fhir:link <https://termgit.elga.gv.at/ValueSet/hl7-at-patientidentifier> ] ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "CX.5" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "Role.code or implied by context" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:localPatientId.type.id" ] ; fhir:path [ fhir:v "Patient.identifier.type.id" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "id"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "ele-1" ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:localPatientId.type.extension" ] ; fhir:path [ fhir:v "Patient.identifier.type.extension" ] ; fhir:slicing [ ( fhir:discriminator [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "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." ] ; ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:localPatientId.type.coding" ] ; fhir:path [ fhir:v "Patient.identifier.type.coding" ] ; fhir:short [ fhir:v "Code defined by a terminology system" ] ; fhir:definition [ fhir:v "A reference to a code defined by a terminology system." ] ; fhir:comment [ fhir:v "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." ] ; fhir:requirements [ fhir:v "Allows for alternative encodings within a code system, and translations to other code systems." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "CodeableConcept.coding" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Coding"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "C*E.1-8, C*E.10-22" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "union(., ./translation)" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:localPatientId.type.coding.id" ] ; fhir:path [ fhir:v "Patient.identifier.type.coding.id" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "id"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "ele-1" ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:localPatientId.type.coding.extension" ] ; fhir:path [ fhir:v "Patient.identifier.type.coding.extension" ] ; fhir:slicing [ ( fhir:discriminator [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "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." ] ; ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:localPatientId.type.coding.system" ] ; fhir:path [ fhir:v "Patient.identifier.type.coding.system" ] ; fhir:short [ fhir:v "Identity of the terminology system" ] ; fhir:definition [ fhir:v "The identification of the code system that defines the meaning of the symbol in the code." ] ; fhir:comment [ fhir:v "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 be an absolute reference to some definition that establishes the system clearly and unambiguously." ] ; fhir:requirements [ fhir:v "Need to be unambiguous about the source of the definition of the symbol." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Coding.system" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "uri"^^xsd:anyURI ] ] ) ; fhir:fixed [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "C*E.3" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./codeSystem" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:localPatientId.type.coding.version" ] ; fhir:path [ fhir:v "Patient.identifier.type.coding.version" ] ; fhir:short [ fhir:v "Version of the system - if relevant" ] ; fhir:definition [ fhir:v "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." ] ; fhir:comment [ fhir:v "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." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Coding.version" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "C*E.7" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./codeSystemVersion" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:localPatientId.type.coding.code" ] ; fhir:path [ fhir:v "Patient.identifier.type.coding.code" ] ; fhir:short [ fhir:v "Symbol in syntax defined by the system" ] ; fhir:definition [ fhir:v "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)." ] ; fhir:requirements [ fhir:v "Need to refer to a particular code in the system." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Coding.code" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "code"^^xsd:anyURI ] ] ) ; fhir:fixed [ fhir:v "PI" ] ; ( fhir:condition [ fhir:v "cod-1" ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "C*E.1" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./code" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:localPatientId.type.coding.display" ] ; ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ] ; fhir:value [ fhir:v "true"^^xsd:boolean ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ] ; fhir:value [ fhir:v "true"^^xsd:boolean ] ] ) ; fhir:path [ fhir:v "Patient.identifier.type.coding.display" ] ; fhir:short [ fhir:v "Representation defined by the system" ] ; fhir:definition [ fhir:v "A representation of the meaning of the code in the system, following the rules of the system." ] ; fhir:requirements [ fhir:v "Need to be able to carry a human-readable meaning of the code for readers that do not know the system." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Coding.display" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "cod-1" ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "C*E.2 - but note this is not well followed" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "CV.displayName" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:localPatientId.type.coding.userSelected" ] ; fhir:path [ fhir:v "Patient.identifier.type.coding.userSelected" ] ; fhir:short [ fhir:v "If this coding was chosen directly by the user" ] ; fhir:definition [ fhir:v "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)." ] ; fhir:comment [ fhir:v "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." ] ; fhir:requirements [ fhir:v "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." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Coding.userSelected" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "Sometimes implied by being first" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "CD.codingRationale" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "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 ]" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:localPatientId.type.text" ] ; ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ] ; fhir:value [ fhir:v "true"^^xsd:boolean ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ] ; fhir:value [ fhir:v "true"^^xsd:boolean ] ] ) ; fhir:path [ fhir:v "Patient.identifier.type.text" ] ; fhir:short [ fhir:v "Plain text representation of the concept" ] ; fhir:definition [ fhir:v "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." ] ; fhir:comment [ fhir:v "Very often the text is the same as a displayName of one of the codings." ] ; fhir:requirements [ fhir:v "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." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "CodeableConcept.text" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "C*E.9. But note many systems use C*E.2 for this" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./originalText[mediaType/code=\"text/plain\"]/data" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:localPatientId.system" ] ; fhir:path [ fhir:v "Patient.identifier.system" ] ; fhir:short [ fhir:v "Namespace that assigned the localPatientId." ] ; fhir:definition [ fhir:v "Establishes the namespace for the value - that is, an absolute URL that describes a set values that are unique." ] ; fhir:comment [ fhir:v "Identifier.system is always case sensitive." ] ; fhir:requirements [ fhir:v "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." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Identifier.system" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "uri"^^xsd:anyURI ] ] ) ; ( fhir:example [ fhir:label [ fhir:v "General" ] ; fhir:value [ fhir:v "http://www.acme.com/identifiers/patient"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v ".id[0].root" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "CX.4 / EI-2-4" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "II.root or Role.id.root" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./IdentifierType" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:localPatientId.value" ] ; fhir:path [ fhir:v "Patient.identifier.value" ] ; fhir:short [ fhir:v "The value that is unique" ] ; fhir:definition [ fhir:v "The portion of the identifier typically relevant to the user and which is unique within the context of the system." ] ; fhir:comment [ fhir:v "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the [http://hl7.org/fhir/StructureDefinition/rendered-value](http://hl7.org/fhir/extensions/StructureDefinition-rendered-value.html)). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Identifier.value" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:example [ fhir:label [ fhir:v "General" ] ; fhir:value [ fhir:v "123456" ] ] ) ; ( fhir:condition [ fhir:v "ident-1" ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v ".id[0].extension" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "CX.1 / EI.1" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./Value" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:localPatientId.period" ] ; fhir:path [ fhir:v "Patient.identifier.period" ] ; fhir:short [ fhir:v "Time period when id is/was valid for use" ] ; fhir:definition [ fhir:v "Time period during which identifier is/was valid for use." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Identifier.period" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Period"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "CX.7 + CX.8" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "Role.effectiveTime or implied by context" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./StartDate and ./EndDate" ] ] ) ] [ fhir:id [ fhir:v "Patient.identifier:localPatientId.assigner" ] ; fhir:path [ fhir:v "Patient.identifier.assigner" ] ; fhir:short [ fhir:v "Organization that issued id (may be just text)" ] ; fhir:definition [ fhir:v "Organization that issued/manages the identifier." ] ; fhir:comment [ fhir:v "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." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Identifier.assigner" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ; ( fhir:targetProfile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Organization"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Organization> ] ) ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "CX.4 / (CX.4,CX.9,CX.10)" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./IdentifierIssuingAuthority" ] ] ) ] [ fhir:id [ fhir:v "Patient.active" ] ; fhir:path [ fhir:v "Patient.active" ] ; fhir:short [ fhir:v "Whether this patient's record is in active use" ] ; fhir:definition [ fhir:v "Whether this patient record is in active use. \nMany systems use this property to mark as non-current patients, such as those that have not been seen for a period of time based on an organization's business rules.\n\nIt is often used to filter patient lists to exclude inactive patients\n\nDeceased patients may also be marked as inactive for the same reasons, but may be active for some time after death." ] ; fhir:comment [ fhir:v "If a record is inactive, and linked to an active record, then future patient/record updates should occur on the other patient." ] ; fhir:requirements [ fhir:v "Need to be able to mark a patient record as not to be used because it was created in error." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Patient.active" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ] ) ; fhir:meaningWhenMissing [ fhir:v "This resource is generally assumed to be active if no value is provided for the active element" ] ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifierReason [ fhir:v "This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid" ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v "n/a" ] ] [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.status" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "statusCode" ] ] [ fhir:identity [ fhir:v "interface" ] ; fhir:map [ fhir:v "Participant.active" ] ] [ fhir:identity [ fhir:v "cda" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.name" ] ; fhir:path [ fhir:v "Patient.name" ] ; fhir:short [ fhir:v "A name associated with the patient" ] ; fhir:definition [ fhir:v "A name associated with the individual." ] ; fhir:comment [ fhir:v "A patient may have multiple names with different uses or applicable periods. For animals, the name is a \"HumanName\" in the sense that is assigned and used by humans and has the same patterns. Animal names may be communicated as given names, and optionally may include a family name." ] ; fhir:requirements [ fhir:v "Need to be able to track the patient by multiple names. Examples are your official name and a partner name." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Patient.name" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "HumanName"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v ".patient.name" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "PID-5, PID-9" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "name" ] ] [ fhir:identity [ fhir:v "interface" ] ; fhir:map [ fhir:v "Participant.name" ] ] [ fhir:identity [ fhir:v "cda" ] ; fhir:map [ fhir:v ".patient.name" ] ] ) ] [ fhir:id [ fhir:v "Patient.name.id" ] ; fhir:path [ fhir:v "Patient.name.id" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "id"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "ele-1" ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.name.extension" ] ; fhir:path [ fhir:v "Patient.name.extension" ] ; fhir:slicing [ ( fhir:discriminator [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "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." ] ; ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.name.use" ] ; fhir:path [ fhir:v "Patient.name.use" ] ; fhir:short [ fhir:v "usual | official | temp | nickname | anonymous | old | maiden" ] ; fhir:definition [ fhir:v "Identifies the purpose for this name." ] ; fhir:comment [ fhir:v "Applications can assume that a name is current unless it explicitly says that it is temporary or old." ] ; fhir:requirements [ fhir:v "Allows the appropriate name for a particular context of use to be selected from among a set of names." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "HumanName.use" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "code"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifierReason [ fhir:v "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old name etc.for a current/permanent one" ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "NameUse" ] ] ) ; fhir:strength [ fhir:v "required" ] ; fhir:description [ fhir:v "The use of a human name." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/name-use|5.0.0"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/ValueSet/name-use|5.0.0> ] ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XPN.7, but often indicated by which field contains the name" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "unique(./use)" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./NamePurpose" ] ] ) ] [ fhir:id [ fhir:v "Patient.name.text" ] ; fhir:path [ fhir:v "Patient.name.text" ] ; fhir:short [ fhir:v "Text representation of the full name" ] ; fhir:definition [ fhir:v "Specifies the entire name as it should be displayed e.g. on an application UI. This may be provided instead of or as well as the specific parts." ] ; fhir:comment [ fhir:v "Can provide both a text representation and parts. Applications updating a name SHALL ensure that when both text and parts are present, no content is included in the text that isn't found in a part." ] ; fhir:requirements [ fhir:v "A renderable, unencoded form." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "HumanName.text" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "implied by XPN.11" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./formatted" ] ] ) ] [ fhir:id [ fhir:v "Patient.name.family" ] ; fhir:path [ fhir:v "Patient.name.family" ] ; fhir:short [ fhir:v "Family name (often called 'Surname')" ] ; fhir:definition [ fhir:v "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." ] ; fhir:comment [ fhir:v "Family Name may be decomposed into specific parts using extensions (de, nl, es related cultures)." ] ; ( fhir:alias [ fhir:v "surname" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "HumanName.family" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v ".patient.name.family.dataString" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XPN.1/FN.1" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./part[partType = FAM]" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./FamilyName" ] ] ) ] [ fhir:id [ fhir:v "Patient.name.given" ] ; fhir:path [ fhir:v "Patient.name.given" ] ; fhir:short [ fhir:v "Given names (not always 'first'). Includes middle names" ] ; fhir:definition [ fhir:v "Given name." ] ; fhir:comment [ fhir:v "If only initials are recorded, they may be used in place of the full name parts. Initials may be separated into multiple given names but often aren't due to paractical limitations. This element is not called \"first name\" since given names do not always come first." ] ; ( fhir:alias [ fhir:v "first name" ] [ fhir:v "middle name" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "HumanName.given" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:orderMeaning [ fhir:v "Given Names appear in the correct order for presenting the name" ] ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v ".patient.name.given.dataString" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XPN.2 + XPN.3" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./part[partType = GIV]" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./GivenNames" ] ] ) ] [ fhir:id [ fhir:v "Patient.name.prefix" ] ; fhir:path [ fhir:v "Patient.name.prefix" ] ; fhir:short [ fhir:v "Parts that come before the name" ] ; fhir:definition [ fhir:v "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." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "HumanName.prefix" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:orderMeaning [ fhir:v "Prefixes appear in the correct order for presenting the name" ] ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v ".patient.name.prefix.dataString" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XPN.5" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./part[partType = PFX]" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./TitleCode" ] ] ) ] [ fhir:id [ fhir:v "Patient.name.suffix" ] ; fhir:path [ fhir:v "Patient.name.suffix" ] ; fhir:short [ fhir:v "Parts that come after the name" ] ; fhir:definition [ fhir:v "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." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "HumanName.suffix" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:orderMeaning [ fhir:v "Suffixes appear in the correct order for presenting the name" ] ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v ".patient.name.suffix.dataString" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XPN/4" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./part[partType = SFX]" ] ] ) ] [ fhir:id [ fhir:v "Patient.name.period" ] ; fhir:path [ fhir:v "Patient.name.period" ] ; fhir:short [ fhir:v "Time period when name was/is in use" ] ; fhir:definition [ fhir:v "Indicates the period of time when this name was valid for the named person." ] ; fhir:requirements [ fhir:v "Allows names to be placed in historical context." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "HumanName.period" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Period"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XPN.13 + XPN.14" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./usablePeriod[type=\"IVL<TS>\"]" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./StartDate and ./EndDate" ] ] ) ] [ fhir:id [ fhir:v "Patient.telecom" ] ; fhir:path [ fhir:v "Patient.telecom" ] ; fhir:short [ fhir:v "A contact detail for the individual" ] ; fhir:definition [ fhir:v "A contact detail (e.g. a telephone number or an email address) by which the individual may be contacted." ] ; fhir:comment [ fhir:v "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 might 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)." ] ; fhir:requirements [ fhir:v "People have (primary) ways to contact them in some way such as phone, email." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Patient.telecom" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "ContactPoint"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "PID-13, PID-14, PID-40" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "telecom" ] ] [ fhir:identity [ fhir:v "interface" ] ; fhir:map [ fhir:v "ParticipantContactable.telecom" ] ] [ fhir:identity [ fhir:v "cda" ] ; fhir:map [ fhir:v ".telecom" ] ] ) ] [ fhir:id [ fhir:v "Patient.telecom.id" ] ; fhir:path [ fhir:v "Patient.telecom.id" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "id"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "ele-1" ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.telecom.extension" ] ; fhir:path [ fhir:v "Patient.telecom.extension" ] ; fhir:slicing [ ( fhir:discriminator [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "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." ] ; ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.telecom.system" ] ; fhir:path [ fhir:v "Patient.telecom.system" ] ; fhir:short [ fhir:v "phone | fax | email | pager | url | sms | other" ] ; fhir:definition [ fhir:v "Telecommunications form for contact point - what communications system is required to make use of the contact." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "ContactPoint.system" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "code"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "cpt-2" ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "ContactPointSystem" ] ] ) ; fhir:strength [ fhir:v "required" ] ; fhir:description [ fhir:v "Telecommunications form for contact point." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/contact-point-system|5.0.0"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/ValueSet/contact-point-system|5.0.0> ] ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v ".telecom.value" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XTN.3" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./scheme" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./ContactPointType" ] ] ) ] [ fhir:id [ fhir:v "Patient.telecom.value" ] ; fhir:path [ fhir:v "Patient.telecom.value" ] ; fhir:short [ fhir:v "The actual contact point details" ] ; fhir:definition [ fhir:v "The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address)." ] ; fhir:comment [ fhir:v "Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value." ] ; fhir:requirements [ fhir:v "Need to support legacy numbers that are not in a tightly controlled format." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "ContactPoint.value" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "cpt-2" ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v ".telecom.value" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XTN.1 (or XTN.12)" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./url" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./Value" ] ] ) ] [ fhir:id [ fhir:v "Patient.telecom.use" ] ; fhir:path [ fhir:v "Patient.telecom.use" ] ; fhir:short [ fhir:v "home | work | temp | old | mobile - purpose of this contact point" ] ; fhir:definition [ fhir:v "Identifies the purpose for the contact point." ] ; fhir:comment [ fhir:v "Applications can assume that a contact is current unless it explicitly says that it is temporary or old." ] ; fhir:requirements [ fhir:v "Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "ContactPoint.use" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "code"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifierReason [ fhir:v "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old contact etc.for a current/permanent one" ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "ContactPointUse" ] ] ) ; fhir:strength [ fhir:v "required" ] ; fhir:description [ fhir:v "Use of contact point." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/contact-point-use|5.0.0"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/ValueSet/contact-point-use|5.0.0> ] ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v ".telecom.use" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XTN.2 - but often indicated by field" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "unique(./use)" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./ContactPointPurpose" ] ] ) ] [ fhir:id [ fhir:v "Patient.telecom.rank" ] ; fhir:path [ fhir:v "Patient.telecom.rank" ] ; fhir:short [ fhir:v "Specify preferred order of use (1 = highest)" ] ; fhir:definition [ fhir:v "Specifies a preferred order in which to use a set of contacts. ContactPoints with lower rank values are more preferred than those with higher rank values." ] ; fhir:comment [ fhir:v "Note that rank does not necessarily follow the order in which the contacts are represented in the instance.\n\nRanks need not be unique. E.g. it's possible to have multiple contacts with rank=1. If the ranks have different systems or uses, this would be interpreted to mean \"X is my most preferred phone number, Y is my most preferred email address\" or \"X is my preferred home email and Y is my preferred work email\". If the system and use for equally-ranked contacts are the same, then the level of preference is equivalent for both repetitions. \n\nRanks need not be sequential and not all repetitions must have a rank. For example, it's possible to have 4 contacts with ranks of 2, 5 and two with no rank specified. That would be interpreted to mean the first is preferred over the second and no preference stated for the remaining contacts." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "ContactPoint.rank" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "positiveInt"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "n/a" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.telecom.period" ] ; fhir:path [ fhir:v "Patient.telecom.period" ] ; fhir:short [ fhir:v "Time period when the contact point was/is in use" ] ; fhir:definition [ fhir:v "Time period when the contact point was/is in use." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "ContactPoint.period" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Period"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "N/A" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./usablePeriod[type=\"IVL<TS>\"]" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./StartDate and ./EndDate" ] ] ) ] [ fhir:id [ fhir:v "Patient.gender" ] ; fhir:path [ fhir:v "Patient.gender" ] ; fhir:short [ fhir:v "male | female | other | unknown" ] ; fhir:definition [ fhir:v "Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes." ] ; fhir:comment [ fhir:v "The gender might 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 male and female, though the vast majority of systems and contexts only support male and female. Systems providing decision support or enforcing business rules should ideally do this on the basis of Observations dealing with the specific sex or gender aspect of interest (anatomical, chromosomal, 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, chromosomal and other gender aspects. For example, an alert about a hysterectomy on a male should be handled as a warning or overridable error, not a \"hard\" error. See the Patient Gender and Sex section for additional information about communicating patient gender and sex." ] ; fhir:requirements [ fhir:v "Needed for identification of the individual, in combination with (at least) name and birth date." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Patient.gender" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "code"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "AdministrativeGender" ] ] ) ; fhir:strength [ fhir:v "required" ] ; fhir:description [ fhir:v "The gender of a person used for administrative purposes." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/administrative-gender|5.0.0"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/ValueSet/administrative-gender|5.0.0> ] ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v ".patient.administrativeGenderCode.displayName" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "PID-8" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender" ] ] [ fhir:identity [ fhir:v "interface" ] ; fhir:map [ fhir:v "ParticipantLiving.gender" ] ] [ fhir:identity [ fhir:v "cda" ] ; fhir:map [ fhir:v ".patient.administrativeGenderCode" ] ] ) ] [ fhir:id [ fhir:v "Patient.gender.id" ] ; fhir:path [ fhir:v "Patient.gender.id" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "xml:id (or equivalent in JSON)" ] ; fhir:definition [ fhir:v "unique id for the element within a resource (for internal references)" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Patient.gender.extension" ] ; fhir:path [ fhir:v "Patient.gender.extension" ] ; fhir:slicing [ ( fhir:discriminator [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:ordered [ fhir:v "false"^^xsd:boolean ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Extension" ] ; fhir:definition [ fhir:v "An Extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Patient.gender.extension:AdministrativeGenderAddition" ] ; fhir:path [ fhir:v "Patient.gender.extension" ] ; fhir:sliceName [ fhir:v "AdministrativeGenderAddition" ] ; fhir:short [ fhir:v "Administrative Gender Addition" ] ; fhir:definition [ fhir:v "HL7® Austria FHIR® Core Extension for the administrative gender of a person (Patient, Practitioner, ...). \r\nThe extension is used to add the missing codes and is applied in case the code for administrative gender itself is set to 'other'." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ; ( fhir:profile [ fhir:v "http://hl7.at/fhir/HL7ATCoreProfiles/5.0.0/StructureDefinition/at-core-ext-gender-administrativeGenderAddition"^^xsd:anyURI ; fhir:link <http://hl7.at/fhir/HL7ATCoreProfiles/5.0.0/StructureDefinition/at-core-ext-gender-administrativeGenderAddition> ] ) ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Patient.gender.value" ] ; fhir:path [ fhir:v "Patient.gender.value" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Primitive value for code" ] ; fhir:definition [ fhir:v "Primitive value for code" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "string.value" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "code"^^xsd:anyURI ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/regex"^^xsd:anyURI ] ; fhir:value [ fhir:v "[^\\s]+( [^\\s]+)*" ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Patient.birthDate" ] ; fhir:path [ fhir:v "Patient.birthDate" ] ; fhir:short [ fhir:v "The date of birth for the individual" ] ; fhir:definition [ fhir:v "The date of birth for the individual." ] ; fhir:comment [ fhir:v "Partial dates are allowed if the specific date of birth is unknown. There is a standard extension \"patient-birthTime\" available that should be used where Time is required (such as in maternity/infant care systems)." ] ; fhir:requirements [ fhir:v "Age of the individual drives many clinical processes." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Patient.birthDate" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "date"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v ".patient.birthTime.value" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "PID-7" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "player[classCode=PSN|ANM and determinerCode=INSTANCE]/birthTime" ] ] [ fhir:identity [ fhir:v "interface" ] ; fhir:map [ fhir:v "ParticipantLiving.birthDate" ] ] [ fhir:identity [ fhir:v "cda" ] ; fhir:map [ fhir:v ".patient.birthTime" ] ] [ fhir:identity [ fhir:v "loinc" ] ; fhir:map [ fhir:v "21112-8" ] ] ) ] [ fhir:id [ fhir:v "Patient.deceased[x]" ] ; fhir:path [ fhir:v "Patient.deceased[x]" ] ; fhir:slicing [ ( fhir:discriminator [ fhir:type [ fhir:v "type" ] ; fhir:path [ fhir:v "$this" ] ] ) ; fhir:ordered [ fhir:v "false"^^xsd:boolean ] ; fhir:rules [ fhir:v "closed" ] ] ; fhir:short [ fhir:v "Indicates if the individual is deceased or not" ] ; fhir:definition [ fhir:v "Indicates if the individual is deceased or not." ] ; fhir:comment [ fhir:v "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." ] ; fhir:requirements [ fhir:v "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." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Patient.deceased[x]" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "dateTime"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifierReason [ fhir:v "This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different." ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "PID-30 (bool) and PID-29 (datetime)" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedTime" ] ] [ fhir:identity [ fhir:v "cda" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.deceased[x]:deceasedBoolean" ] ; fhir:path [ fhir:v "Patient.deceased[x]" ] ; fhir:sliceName [ fhir:v "deceasedBoolean" ] ; fhir:short [ fhir:v "Indicates if the individual is deceased or not" ] ; fhir:definition [ fhir:v "Indicates if the individual is deceased or not." ] ; fhir:comment [ fhir:v "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." ] ; fhir:requirements [ fhir:v "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." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Patient.deceased[x]" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifierReason [ fhir:v "This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different." ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v ".patient.deceasedInd" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "PID-30 (bool) and PID-29 (datetime)" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedTime" ] ] [ fhir:identity [ fhir:v "cda" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.deceased[x]:deceasedDateTime" ] ; fhir:path [ fhir:v "Patient.deceased[x]" ] ; fhir:sliceName [ fhir:v "deceasedDateTime" ] ; fhir:short [ fhir:v "Indicates if the individual is deceased or not" ] ; fhir:definition [ fhir:v "Indicates if the individual is deceased or not." ] ; fhir:comment [ fhir:v "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." ] ; fhir:requirements [ fhir:v "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." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Patient.deceased[x]" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "dateTime"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifierReason [ fhir:v "This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different." ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v ".patient.deceasedTime" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "PID-30 (bool) and PID-29 (datetime)" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedTime" ] ] [ fhir:identity [ fhir:v "cda" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.address" ] ; fhir:path [ fhir:v "Patient.address" ] ; fhir:short [ fhir:v "An address expressed using postal conventions (as opposed to GPS or other location definition formats)" ] ; fhir:definition [ fhir:v "An address expressed using postal conventions (as opposed to GPS or other location definition formats). This data type may be used to convey addresses for use in delivering mail as well as for visiting locations which might not be valid for mail delivery. There are a variety of postal address formats defined around the world.\nThe ISO21090-codedString may be used to provide a coded representation of the contents of strings in an Address." ] ; fhir:comment [ fhir:v "Note: address is intended to describe postal addresses for administrative purposes, not to describe absolute geographical coordinates. Postal addresses are often used as proxies for physical locations (also see the [Location](http://hl7.org/fhir/R5/location.html#) resource)." ] ; fhir:requirements [ fhir:v "May need to keep track of patient addresses for contacting, billing or reporting requirements and also to help with identification." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Patient.address" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Address"^^xsd:anyURI ] ; ( fhir:profile [ fhir:v "http://hl7.at/fhir/HL7ATCoreProfiles/5.0.0/StructureDefinition/at-core-address"^^xsd:anyURI ; fhir:link <http://hl7.at/fhir/HL7ATCoreProfiles/5.0.0/StructureDefinition/at-core-address> ] ) ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "at-addr-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "If the extension for street name is used then the value for line must not be empty" ] ; fhir:expression [ fhir:v "line.all($this.extension('http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName').empty() or $this.hasValue())" ] ; fhir:source [ fhir:v "http://hl7.at/fhir/HL7ATCoreProfiles/5.0.0/StructureDefinition/at-core-address"^^xsd:anyURI ; fhir:link <http://hl7.at/fhir/HL7ATCoreProfiles/5.0.0/StructureDefinition/at-core-address> ] ] [ fhir:key [ fhir:v "at-addr-2" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "If the extension for street number is used then the value for line must not be empty" ] ; fhir:expression [ fhir:v "line.all($this.extension('http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber').empty() or $this.hasValue())" ] ; fhir:source [ fhir:v "http://hl7.at/fhir/HL7ATCoreProfiles/5.0.0/StructureDefinition/at-core-address"^^xsd:anyURI ; fhir:link <http://hl7.at/fhir/HL7ATCoreProfiles/5.0.0/StructureDefinition/at-core-address> ] ] [ fhir:key [ fhir:v "at-addr-3" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "If the extension for floor/door number is used then the value for line must not be empty" ] ; fhir:expression [ fhir:v "line.all($this.extension('http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator').empty() or $this.hasValue())" ] ; fhir:source [ fhir:v "http://hl7.at/fhir/HL7ATCoreProfiles/5.0.0/StructureDefinition/at-core-address"^^xsd:anyURI ; fhir:link <http://hl7.at/fhir/HL7ATCoreProfiles/5.0.0/StructureDefinition/at-core-address> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a,AD" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XAD" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "Address" ] ] ) ] [ fhir:id [ fhir:v "Patient.address.id" ] ; fhir:path [ fhir:v "Patient.address.id" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "id"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "ele-1" ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.address.extension" ] ; fhir:path [ fhir:v "Patient.address.extension" ] ; fhir:slicing [ ( fhir:discriminator [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "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." ] ; ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.address.extension:municipalityCode" ] ; fhir:path [ fhir:v "Patient.address.extension" ] ; fhir:sliceName [ fhir:v "municipalityCode" ] ; fhir:short [ fhir:v "Address Municipality Code" ] ; fhir:definition [ fhir:v "HL7® Austria FHIR® Core Extension for the municipality code part of the Austrian address" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "0" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ; ( fhir:profile [ fhir:v "http://hl7.at/fhir/HL7ATCoreProfiles/5.0.0/StructureDefinition/at-core-ext-address-municipalityCode"^^xsd:anyURI ; fhir:link <http://hl7.at/fhir/HL7ATCoreProfiles/5.0.0/StructureDefinition/at-core-ext-address-municipalityCode> ] ) ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Patient.address.use" ] ; fhir:path [ fhir:v "Patient.address.use" ] ; fhir:short [ fhir:v "home | work | temp | old | billing - purpose of this address" ] ; fhir:definition [ fhir:v "The purpose of this address." ] ; fhir:comment [ fhir:v "Applications can assume that an address is current unless it explicitly says that it is temporary or old." ] ; fhir:requirements [ fhir:v "Allows an appropriate address to be chosen from a list of many." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Address.use" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "code"^^xsd:anyURI ] ] ) ; ( fhir:example [ fhir:label [ fhir:v "General" ] ; fhir:value [ fhir:v "home" ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifierReason [ fhir:v "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old address etc.for a current/permanent one" ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "AddressUse" ] ] ) ; fhir:strength [ fhir:v "required" ] ; fhir:description [ fhir:v "The use of an address (home / work / etc.)." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/address-use|5.0.0"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/ValueSet/address-use|5.0.0> ] ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v ".addr.use" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XAD.7" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "unique(./use)" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./AddressPurpose" ] ] ) ] [ fhir:id [ fhir:v "Patient.address.type" ] ; fhir:path [ fhir:v "Patient.address.type" ] ; fhir:short [ fhir:v "postal | physical | both" ] ; fhir:definition [ fhir:v "Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both." ] ; fhir:comment [ fhir:v "The definition of Address states that \"address is intended to describe postal addresses, not physical locations\". However, many applications track whether an address has a dual purpose of being a location that can be visited as well as being a valid delivery destination, and Postal addresses are often used as proxies for physical locations (also see the [Location](http://hl7.org/fhir/R5/location.html#) resource)." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Address.type" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "code"^^xsd:anyURI ] ] ) ; ( fhir:example [ fhir:label [ fhir:v "General" ] ; fhir:value [ fhir:v "both" ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "AddressType" ] ] ) ; fhir:strength [ fhir:v "required" ] ; fhir:description [ fhir:v "The type of an address (physical / postal)." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/address-type|5.0.0"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/ValueSet/address-type|5.0.0> ] ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XAD.18" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "unique(./use)" ] ] [ fhir:identity [ fhir:v "vcard" ] ; fhir:map [ fhir:v "address type parameter" ] ] ) ] [ fhir:id [ fhir:v "Patient.address.text" ] ; fhir:path [ fhir:v "Patient.address.text" ] ; fhir:short [ fhir:v "Text representation of the address" ] ; fhir:definition [ fhir:v "Specifies the entire address as it should be displayed e.g. on a postal label. This may be provided instead of or as well as the specific parts." ] ; fhir:comment [ fhir:v "Can provide both a text representation and parts. Applications updating an address SHALL ensure that when both text and parts are present, no content is included in the text that isn't found in a part." ] ; fhir:requirements [ fhir:v "A renderable, unencoded form." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Address.text" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:example [ fhir:label [ fhir:v "General" ] ; fhir:value [ fhir:v "137 Nowhere Street, Erewhon 9132" ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v ".addr.select(streetAddressLine.dataString + ' ' + postalCode.dataString + ' ' + city.dataString + ' ' + country.dataString)" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./formatted" ] ] [ fhir:identity [ fhir:v "vcard" ] ; fhir:map [ fhir:v "address label parameter" ] ] ) ] [ fhir:id [ fhir:v "Patient.address.line" ] ; fhir:path [ fhir:v "Patient.address.line" ] ; fhir:short [ fhir:v "Street name, number, direction & P.O. Box etc." ] ; fhir:definition [ fhir:v "This component contains the street name, street number, floor and/or door number or additonal information (e.g. street direction, P.O. Box number, delivery hints, and similar address information). This information can be split into structured values in the line-components each defined by international ISO extensions. If these extensions are used then the information they contain has to be written in a concatenated way in the line element itself as well. This makes the usage easier for systems which don't use address data in a structured way." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Address.line" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:orderMeaning [ fhir:v "The order in which lines should appear in an address label" ] ; ( fhir:example [ fhir:label [ fhir:v "General" ] ; fhir:value [ fhir:v "137 Nowhere Street" ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v ".addr.streetAddressLine" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address)" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "AD.part[parttype = AL]" ] ] [ fhir:identity [ fhir:v "vcard" ] ; fhir:map [ fhir:v "street" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./StreetAddress (newline delimitted)" ] ] ) ] [ fhir:id [ fhir:v "Patient.address.line.id" ] ; fhir:path [ fhir:v "Patient.address.line.id" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "xml:id (or equivalent in JSON)" ] ; fhir:definition [ fhir:v "unique id for the element within a resource (for internal references)" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Patient.address.line.extension" ] ; fhir:path [ fhir:v "Patient.address.line.extension" ] ; fhir:slicing [ ( fhir:discriminator [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:ordered [ fhir:v "false"^^xsd:boolean ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Extension" ] ; fhir:definition [ fhir:v "An Extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Patient.address.line.extension:street" ] ; fhir:path [ fhir:v "Patient.address.line.extension" ] ; fhir:sliceName [ fhir:v "street" ] ; fhir:short [ fhir:v "Name of the street" ] ; fhir:definition [ fhir:v "Name of the street without the street number" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName> ] ) ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "ADXP[partType=STR]" ] ] ) ] [ fhir:id [ fhir:v "Patient.address.line.extension:streetNumber" ] ; fhir:path [ fhir:v "Patient.address.line.extension" ] ; fhir:sliceName [ fhir:v "streetNumber" ] ; fhir:short [ fhir:v "Number of the street" ] ; fhir:definition [ fhir:v "Number of the street without the street name" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber> ] ) ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "ADXP[partType=BNR]" ] ] ) ] [ fhir:id [ fhir:v "Patient.address.line.extension:floorDoorNumber" ] ; fhir:path [ fhir:v "Patient.address.line.extension" ] ; fhir:sliceName [ fhir:v "floorDoorNumber" ] ; fhir:short [ fhir:v "Floor and/or door number" ] ; fhir:definition [ fhir:v "Floor and/or door number" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator> ] ) ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "ADXP[partType=ADL]" ] ] ) ] [ fhir:id [ fhir:v "Patient.address.line.extension:additionalInformation" ] ; fhir:path [ fhir:v "Patient.address.line.extension" ] ; fhir:sliceName [ fhir:v "additionalInformation" ] ; fhir:short [ fhir:v "Additional Information" ] ; fhir:definition [ fhir:v "Additional information about the street address" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ; ( fhir:profile [ fhir:v "http://hl7.at/fhir/HL7ATCoreProfiles/5.0.0/StructureDefinition/at-core-ext-address-additionalInformation"^^xsd:anyURI ; fhir:link <http://hl7.at/fhir/HL7ATCoreProfiles/5.0.0/StructureDefinition/at-core-ext-address-additionalInformation> ] ) ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Patient.address.line.value" ] ; fhir:path [ fhir:v "Patient.address.line.value" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Primitive value for string" ] ; fhir:definition [ fhir:v "The actual value" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "string.value" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "string"^^xsd:anyURI ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/regex"^^xsd:anyURI ] ; fhir:value [ fhir:v "^[\\s\\S]+$" ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; fhir:maxLength [ fhir:v "1048576"^^xsd:integer ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Patient.address.city" ] ; fhir:path [ fhir:v "Patient.address.city" ] ; fhir:short [ fhir:v "Name of city, town etc." ] ; fhir:definition [ fhir:v "The name of the city, town, suburb, village or other community or delivery center." ] ; ( fhir:alias [ fhir:v "Municpality" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Address.city" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:example [ fhir:label [ fhir:v "General" ] ; fhir:value [ fhir:v "Erewhon" ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v ".addr.city.dataString" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XAD.3" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "AD.part[parttype = CTY]" ] ] [ fhir:identity [ fhir:v "vcard" ] ; fhir:map [ fhir:v "locality" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./Jurisdiction" ] ] ) ] [ fhir:id [ fhir:v "Patient.address.district" ] ; fhir:path [ fhir:v "Patient.address.district" ] ; fhir:short [ fhir:v "District name (aka county)" ] ; fhir:definition [ fhir:v "The name of the administrative area (county)." ] ; fhir:comment [ fhir:v "District is sometimes known as county, but in some regions 'county' is used in place of city (municipality), so county name should be conveyed in city instead." ] ; ( fhir:alias [ fhir:v "County" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "0" ] ; fhir:base [ fhir:path [ fhir:v "Address.district" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:example [ fhir:label [ fhir:v "General" ] ; fhir:value [ fhir:v "Madison" ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XAD.9" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "AD.part[parttype = CNT | CPA]" ] ] ) ] [ fhir:id [ fhir:v "Patient.address.state" ] ; fhir:path [ fhir:v "Patient.address.state" ] ; fhir:short [ fhir:v "Sub-unit of country (abbreviations ok)" ] ; fhir:definition [ fhir:v "Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (e.g. US 2 letter state codes)." ] ; ( fhir:alias [ fhir:v "Province" ] [ fhir:v "Territory" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Address.state" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v ".addr.state.dataString" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XAD.4" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "AD.part[parttype = STA]" ] ] [ fhir:identity [ fhir:v "vcard" ] ; fhir:map [ fhir:v "region" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./Region" ] ] ) ] [ fhir:id [ fhir:v "Patient.address.postalCode" ] ; fhir:path [ fhir:v "Patient.address.postalCode" ] ; fhir:short [ fhir:v "Postal code for area" ] ; fhir:definition [ fhir:v "A postal code designating a region defined by the postal service." ] ; ( fhir:alias [ fhir:v "Zip" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Address.postalCode" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:example [ fhir:label [ fhir:v "General" ] ; fhir:value [ fhir:v "9132" ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v ".addr.postalCode.dataString" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XAD.5" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "AD.part[parttype = ZIP]" ] ] [ fhir:identity [ fhir:v "vcard" ] ; fhir:map [ fhir:v "code" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./PostalIdentificationCode" ] ] ) ] [ fhir:id [ fhir:v "Patient.address.country" ] ; fhir:path [ fhir:v "Patient.address.country" ] ; fhir:short [ fhir:v "Country (e.g. may be ISO 3166 2 or 3 letter code)" ] ; fhir:definition [ fhir:v "Country - a nation as commonly understood or generally accepted." ] ; fhir:comment [ fhir:v "ISO 3166 2- or 3- letter codes MAY be used in place of a human readable country name." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Address.country" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v ".addr.country.dataString" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XAD.6" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "AD.part[parttype = CNT]" ] ] [ fhir:identity [ fhir:v "vcard" ] ; fhir:map [ fhir:v "country" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./Country" ] ] ) ] [ fhir:id [ fhir:v "Patient.address.period" ] ; fhir:path [ fhir:v "Patient.address.period" ] ; fhir:short [ fhir:v "Time period when address was/is in use" ] ; fhir:definition [ fhir:v "Time period when address was/is in use." ] ; fhir:requirements [ fhir:v "Allows addresses to be placed in historical context." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "0" ] ; fhir:base [ fhir:path [ fhir:v "Address.period" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Period"^^xsd:anyURI ] ] ) ; ( fhir:example [ fhir:label [ fhir:v "General" ] ; fhir:value [ a fhir:Period ; fhir:start [ fhir:v "2010-03-23"^^xsd:date ] ; fhir:end [ fhir:v "2010-07-01"^^xsd:date ] ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XAD.12 / XAD.13 + XAD.14" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./usablePeriod[type=\"IVL<TS>\"]" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./StartDate and ./EndDate" ] ] ) ] [ fhir:id [ fhir:v "Patient.maritalStatus" ] ; fhir:path [ fhir:v "Patient.maritalStatus" ] ; fhir:short [ fhir:v "Marital (civil) status of a patient" ] ; fhir:definition [ fhir:v "This field contains a patient's most recent marital (civil) status." ] ; fhir:requirements [ fhir:v "Most, if not all systems capture it." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Patient.maritalStatus" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:binding [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "MaritalStatus" ] ] ) ; fhir:strength [ fhir:v "extensible" ] ; fhir:description [ fhir:v "The domestic partnership status of a person." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/marital-status"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/ValueSet/marital-status> ] ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "PID-16" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "player[classCode=PSN]/maritalStatusCode" ] ] [ fhir:identity [ fhir:v "cda" ] ; fhir:map [ fhir:v ".patient.maritalStatusCode" ] ] ) ] [ fhir:id [ fhir:v "Patient.maritalStatus.id" ] ; fhir:path [ fhir:v "Patient.maritalStatus.id" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "id"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "ele-1" ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.maritalStatus.extension" ] ; fhir:path [ fhir:v "Patient.maritalStatus.extension" ] ; fhir:slicing [ ( fhir:discriminator [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "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." ] ; ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.maritalStatus.coding" ] ; fhir:path [ fhir:v "Patient.maritalStatus.coding" ] ; fhir:short [ fhir:v "Code defined by a terminology system" ] ; fhir:definition [ fhir:v "A reference to a code defined by a terminology system." ] ; fhir:comment [ fhir:v "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." ] ; fhir:requirements [ fhir:v "Allows for alternative encodings within a code system, and translations to other code systems." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "CodeableConcept.coding" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Coding"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "C*E.1-8, C*E.10-22" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "union(., ./translation)" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" ] ] ) ] [ fhir:id [ fhir:v "Patient.maritalStatus.coding.id" ] ; fhir:path [ fhir:v "Patient.maritalStatus.coding.id" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "id"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "ele-1" ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.maritalStatus.coding.extension" ] ; fhir:path [ fhir:v "Patient.maritalStatus.coding.extension" ] ; fhir:slicing [ ( fhir:discriminator [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "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." ] ; ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.maritalStatus.coding.system" ] ; fhir:path [ fhir:v "Patient.maritalStatus.coding.system" ] ; fhir:short [ fhir:v "Identity of the terminology system" ] ; fhir:definition [ fhir:v "The identification of the code system that defines the meaning of the symbol in the code." ] ; fhir:comment [ fhir:v "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 be an absolute reference to some definition that establishes the system clearly and unambiguously." ] ; fhir:requirements [ fhir:v "Need to be unambiguous about the source of the definition of the symbol." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Coding.system" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "uri"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v ".patient.maritalStatusCode.codeSystem" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "C*E.3" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./codeSystem" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" ] ] ) ] [ fhir:id [ fhir:v "Patient.maritalStatus.coding.version" ] ; fhir:path [ fhir:v "Patient.maritalStatus.coding.version" ] ; fhir:short [ fhir:v "Version of the system - if relevant" ] ; fhir:definition [ fhir:v "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." ] ; fhir:comment [ fhir:v "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." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Coding.version" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "C*E.7" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./codeSystemVersion" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" ] ] ) ] [ fhir:id [ fhir:v "Patient.maritalStatus.coding.code" ] ; fhir:path [ fhir:v "Patient.maritalStatus.coding.code" ] ; fhir:short [ fhir:v "Symbol in syntax defined by the system" ] ; fhir:definition [ fhir:v "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)." ] ; fhir:requirements [ fhir:v "Need to refer to a particular code in the system." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Coding.code" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "code"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "cod-1" ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v ".patient.maritalStatusCode.code" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "C*E.1" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./code" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" ] ] ) ] [ fhir:id [ fhir:v "Patient.maritalStatus.coding.display" ] ; ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ] ; fhir:value [ fhir:v "true"^^xsd:boolean ] ] ) ; fhir:path [ fhir:v "Patient.maritalStatus.coding.display" ] ; fhir:short [ fhir:v "Representation defined by the system" ] ; fhir:definition [ fhir:v "A representation of the meaning of the code in the system, following the rules of the system." ] ; fhir:requirements [ fhir:v "Need to be able to carry a human-readable meaning of the code for readers that do not know the system." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Coding.display" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "cod-1" ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v ".patient.maritalStatusCode.displayName" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "C*E.2 - but note this is not well followed" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "CV.displayName" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" ] ] ) ] [ fhir:id [ fhir:v "Patient.maritalStatus.coding.userSelected" ] ; fhir:path [ fhir:v "Patient.maritalStatus.coding.userSelected" ] ; fhir:short [ fhir:v "If this coding was chosen directly by the user" ] ; fhir:definition [ fhir:v "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)." ] ; fhir:comment [ fhir:v "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." ] ; fhir:requirements [ fhir:v "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." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Coding.userSelected" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "Sometimes implied by being first" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "CD.codingRationale" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "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 ]" ] ] ) ] [ fhir:id [ fhir:v "Patient.maritalStatus.text" ] ; ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ] ; fhir:value [ fhir:v "true"^^xsd:boolean ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ] ; fhir:value [ fhir:v "true"^^xsd:boolean ] ] ) ; fhir:path [ fhir:v "Patient.maritalStatus.text" ] ; fhir:short [ fhir:v "Plain text representation of the concept" ] ; fhir:definition [ fhir:v "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." ] ; fhir:comment [ fhir:v "Very often the text is the same as a displayName of one of the codings." ] ; fhir:requirements [ fhir:v "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." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "CodeableConcept.text" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "C*E.9. But note many systems use C*E.2 for this" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./originalText[mediaType/code=\"text/plain\"]/data" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" ] ] ) ] [ fhir:id [ fhir:v "Patient.multipleBirth[x]" ] ; fhir:path [ fhir:v "Patient.multipleBirth[x]" ] ; fhir:slicing [ ( fhir:discriminator [ fhir:type [ fhir:v "type" ] ; fhir:path [ fhir:v "$this" ] ] ) ; fhir:ordered [ fhir:v "false"^^xsd:boolean ] ; fhir:rules [ fhir:v "closed" ] ] ; fhir:short [ fhir:v "Whether patient is part of a multiple birth" ] ; fhir:definition [ fhir:v "Indicates whether the patient is part of a multiple (boolean) or indicates the actual birth order (integer)." ] ; fhir:comment [ fhir:v "Where the valueInteger is provided, the number is the birth number in the sequence. E.g. The middle birth in triplets would be valueInteger=2 and the third born would have valueInteger=3 If a boolean value was provided for this triplets example, then all 3 patient records would have valueBoolean=true (the ordering is not indicated)." ] ; fhir:requirements [ fhir:v "For disambiguation of multiple-birth children, especially relevant where the care provider doesn't meet the patient, such as labs." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Patient.multipleBirth[x]" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "integer"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "PID-24 (bool), PID-25 (integer)" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthOrderNumber" ] ] [ fhir:identity [ fhir:v "cda" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.multipleBirth[x]:multipleBirthBoolean" ] ; fhir:path [ fhir:v "Patient.multipleBirth[x]" ] ; fhir:sliceName [ fhir:v "multipleBirthBoolean" ] ; fhir:short [ fhir:v "Whether patient is part of a multiple birth" ] ; fhir:definition [ fhir:v "Indicates whether the patient is part of a multiple (boolean) or indicates the actual birth order (integer)." ] ; fhir:comment [ fhir:v "Where the valueInteger is provided, the number is the birth number in the sequence. E.g. The middle birth in triplets would be valueInteger=2 and the third born would have valueInteger=3 If a boolean value was provided for this triplets example, then all 3 patient records would have valueBoolean=true (the ordering is not indicated)." ] ; fhir:requirements [ fhir:v "For disambiguation of multiple-birth children, especially relevant where the care provider doesn't meet the patient, such as labs." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Patient.multipleBirth[x]" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v "n/a" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "PID-24 (bool), PID-25 (integer)" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthOrderNumber" ] ] [ fhir:identity [ fhir:v "cda" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.multipleBirth[x]:multipleBirthInteger" ] ; fhir:path [ fhir:v "Patient.multipleBirth[x]" ] ; fhir:sliceName [ fhir:v "multipleBirthInteger" ] ; fhir:short [ fhir:v "Whether patient is part of a multiple birth" ] ; fhir:definition [ fhir:v "Indicates whether the patient is part of a multiple (boolean) or indicates the actual birth order (integer)." ] ; fhir:comment [ fhir:v "Where the valueInteger is provided, the number is the birth number in the sequence. E.g. The middle birth in triplets would be valueInteger=2 and the third born would have valueInteger=3 If a boolean value was provided for this triplets example, then all 3 patient records would have valueBoolean=true (the ordering is not indicated)." ] ; fhir:requirements [ fhir:v "For disambiguation of multiple-birth children, especially relevant where the care provider doesn't meet the patient, such as labs." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Patient.multipleBirth[x]" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "integer"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v "n/a" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "PID-24 (bool), PID-25 (integer)" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthOrderNumber" ] ] [ fhir:identity [ fhir:v "cda" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.photo" ] ; fhir:path [ fhir:v "Patient.photo" ] ; fhir:short [ fhir:v "Image of the patient" ] ; fhir:definition [ fhir:v "Image of the patient." ] ; fhir:comment [ fhir:v "Guidelines:\n* Use id photos, not clinical photos.\n* Limit dimensions to thumbnail.\n* Keep byte count low to ease resource updates." ] ; fhir:requirements [ fhir:v "Many EHR systems have the capability to capture an image of the patient. Fits with newer social media usage too." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Patient.photo" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Attachment"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v "n/a" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "OBX-5 - needs a profile" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "player[classCode=PSN|ANM and determinerCode=INSTANCE]/desc" ] ] [ fhir:identity [ fhir:v "interface" ] ; fhir:map [ fhir:v "ParticipantLiving.photo" ] ] [ fhir:identity [ fhir:v "cda" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact" ] ; fhir:path [ fhir:v "Patient.contact" ] ; fhir:short [ fhir:v "A contact party (e.g. guardian, partner, friend) for the patient" ] ; fhir:definition [ fhir:v "A contact party (e.g. guardian, partner, friend) for the patient." ] ; fhir:comment [ fhir:v "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." ] ; fhir:requirements [ fhir:v "Need to track people you can contact about the patient." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Patient.contact" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "BackboneElement"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "pat-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "SHALL at least contain a contact's details or a reference to an organization" ] ; fhir:expression [ fhir:v "name.exists() or telecom.exists() or address.exists() or organization.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Patient"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Patient> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "player[classCode=PSN|ANM and determinerCode=INSTANCE]/scopedRole[classCode=CON]" ] ] [ fhir:identity [ fhir:v "cda" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.id" ] ; fhir:path [ fhir:v "Patient.contact.id" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "ele-1" ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.extension" ] ; fhir:path [ fhir:v "Patient.contact.extension" ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "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." ] ; ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.modifierExtension" ] ; fhir:path [ fhir:v "Patient.contact.modifierExtension" ] ; fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ; fhir:definition [ fhir:v "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:comment [ fhir:v "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." ] ; fhir:requirements [ fhir:v "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension)." ] ; ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.relationship" ] ; fhir:path [ fhir:v "Patient.contact.relationship" ] ; fhir:short [ fhir:v "The kind of relationship" ] ; fhir:definition [ fhir:v "The nature of the relationship between the patient and the contact person." ] ; fhir:requirements [ fhir:v "Used to determine which contact person is the most relevant to approach, depending on circumstances." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Patient.contact.relationship" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:binding [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "ContactRelationship" ] ] ) ; fhir:strength [ fhir:v "extensible" ] ; fhir:description [ fhir:v "The nature of the relationship between a patient and a contact person for that patient." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/patient-contactrelationship"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/ValueSet/patient-contactrelationship> ] ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "NK1-7, NK1-3" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "code" ] ] [ fhir:identity [ fhir:v "cda" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.relationship.id" ] ; fhir:path [ fhir:v "Patient.contact.relationship.id" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "id"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "ele-1" ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.relationship.extension" ] ; fhir:path [ fhir:v "Patient.contact.relationship.extension" ] ; fhir:slicing [ ( fhir:discriminator [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "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." ] ; ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.relationship.coding" ] ; fhir:path [ fhir:v "Patient.contact.relationship.coding" ] ; fhir:short [ fhir:v "Code defined by a terminology system" ] ; fhir:definition [ fhir:v "A reference to a code defined by a terminology system." ] ; fhir:comment [ fhir:v "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." ] ; fhir:requirements [ fhir:v "Allows for alternative encodings within a code system, and translations to other code systems." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "CodeableConcept.coding" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Coding"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "C*E.1-8, C*E.10-22" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "union(., ./translation)" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.relationship.coding.id" ] ; fhir:path [ fhir:v "Patient.contact.relationship.coding.id" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "id"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "ele-1" ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.relationship.coding.extension" ] ; fhir:path [ fhir:v "Patient.contact.relationship.coding.extension" ] ; fhir:slicing [ ( fhir:discriminator [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "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." ] ; ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.relationship.coding.system" ] ; fhir:path [ fhir:v "Patient.contact.relationship.coding.system" ] ; fhir:short [ fhir:v "Identity of the terminology system" ] ; fhir:definition [ fhir:v "The identification of the code system that defines the meaning of the symbol in the code." ] ; fhir:comment [ fhir:v "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 be an absolute reference to some definition that establishes the system clearly and unambiguously." ] ; fhir:requirements [ fhir:v "Need to be unambiguous about the source of the definition of the symbol." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Coding.system" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "uri"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v "ClinicalDocument.participant.where(associatedEntity.classCode='ECON').associatedEntity.code.codeSystem" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "C*E.3" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./codeSystem" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.relationship.coding.version" ] ; fhir:path [ fhir:v "Patient.contact.relationship.coding.version" ] ; fhir:short [ fhir:v "Version of the system - if relevant" ] ; fhir:definition [ fhir:v "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." ] ; fhir:comment [ fhir:v "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." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Coding.version" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "C*E.7" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./codeSystemVersion" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.relationship.coding.code" ] ; fhir:path [ fhir:v "Patient.contact.relationship.coding.code" ] ; fhir:short [ fhir:v "Symbol in syntax defined by the system" ] ; fhir:definition [ fhir:v "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)." ] ; fhir:requirements [ fhir:v "Need to refer to a particular code in the system." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Coding.code" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "code"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "cod-1" ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v "ClinicalDocument.participant.where(associatedEntity.classCode='ECON').associatedEntity.code.code" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "C*E.1" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./code" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.relationship.coding.display" ] ; ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ] ; fhir:value [ fhir:v "true"^^xsd:boolean ] ] ) ; fhir:path [ fhir:v "Patient.contact.relationship.coding.display" ] ; fhir:short [ fhir:v "Representation defined by the system" ] ; fhir:definition [ fhir:v "A representation of the meaning of the code in the system, following the rules of the system." ] ; fhir:requirements [ fhir:v "Need to be able to carry a human-readable meaning of the code for readers that do not know the system." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Coding.display" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "cod-1" ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v "ClinicalDocument.participant.where(associatedEntity.classCode='ECON').associatedEntity.code.displayName" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "C*E.2 - but note this is not well followed" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "CV.displayName" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.relationship.coding.userSelected" ] ; fhir:path [ fhir:v "Patient.contact.relationship.coding.userSelected" ] ; fhir:short [ fhir:v "If this coding was chosen directly by the user" ] ; fhir:definition [ fhir:v "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)." ] ; fhir:comment [ fhir:v "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." ] ; fhir:requirements [ fhir:v "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." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Coding.userSelected" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "Sometimes implied by being first" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "CD.codingRationale" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "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 ]" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.relationship.text" ] ; ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ] ; fhir:value [ fhir:v "true"^^xsd:boolean ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ] ; fhir:value [ fhir:v "true"^^xsd:boolean ] ] ) ; fhir:path [ fhir:v "Patient.contact.relationship.text" ] ; fhir:short [ fhir:v "Plain text representation of the concept" ] ; fhir:definition [ fhir:v "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." ] ; fhir:comment [ fhir:v "Very often the text is the same as a displayName of one of the codings." ] ; fhir:requirements [ fhir:v "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." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "CodeableConcept.text" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "C*E.9. But note many systems use C*E.2 for this" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./originalText[mediaType/code=\"text/plain\"]/data" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.name" ] ; fhir:path [ fhir:v "Patient.contact.name" ] ; fhir:short [ fhir:v "A name associated with the contact person" ] ; fhir:definition [ fhir:v "A name associated with the contact person." ] ; fhir:requirements [ fhir:v "Contact persons need to be identified by name, but it is uncommon to need details about multiple other names for that contact person." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Patient.contact.name" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "HumanName"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "pat-1" ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "NK1-2" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "name" ] ] [ fhir:identity [ fhir:v "cda" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.name.id" ] ; fhir:path [ fhir:v "Patient.contact.name.id" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "id"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "ele-1" ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.name.extension" ] ; fhir:path [ fhir:v "Patient.contact.name.extension" ] ; fhir:slicing [ ( fhir:discriminator [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "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." ] ; ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.name.use" ] ; fhir:path [ fhir:v "Patient.contact.name.use" ] ; fhir:short [ fhir:v "usual | official | temp | nickname | anonymous | old | maiden" ] ; fhir:definition [ fhir:v "Identifies the purpose for this name." ] ; fhir:comment [ fhir:v "Applications can assume that a name is current unless it explicitly says that it is temporary or old." ] ; fhir:requirements [ fhir:v "Allows the appropriate name for a particular context of use to be selected from among a set of names." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "HumanName.use" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "code"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifierReason [ fhir:v "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old name etc.for a current/permanent one" ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "NameUse" ] ] ) ; fhir:strength [ fhir:v "required" ] ; fhir:description [ fhir:v "The use of a human name." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/name-use|5.0.0"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/ValueSet/name-use|5.0.0> ] ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XPN.7, but often indicated by which field contains the name" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "unique(./use)" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./NamePurpose" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.name.text" ] ; fhir:path [ fhir:v "Patient.contact.name.text" ] ; fhir:short [ fhir:v "Text representation of the full name" ] ; fhir:definition [ fhir:v "Specifies the entire name as it should be displayed e.g. on an application UI. This may be provided instead of or as well as the specific parts." ] ; fhir:comment [ fhir:v "Can provide both a text representation and parts. Applications updating a name SHALL ensure that when both text and parts are present, no content is included in the text that isn't found in a part." ] ; fhir:requirements [ fhir:v "A renderable, unencoded form." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "HumanName.text" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "implied by XPN.11" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./formatted" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.name.family" ] ; fhir:path [ fhir:v "Patient.contact.name.family" ] ; fhir:short [ fhir:v "Family name (often called 'Surname')" ] ; fhir:definition [ fhir:v "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." ] ; fhir:comment [ fhir:v "Family Name may be decomposed into specific parts using extensions (de, nl, es related cultures)." ] ; ( fhir:alias [ fhir:v "surname" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "HumanName.family" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v "ClinicalDocument.participant.where(associatedEntity.classCode='ECON').associatedEntity.associatedPerson.name.family" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XPN.1/FN.1" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./part[partType = FAM]" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./FamilyName" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.name.given" ] ; fhir:path [ fhir:v "Patient.contact.name.given" ] ; fhir:short [ fhir:v "Given names (not always 'first'). Includes middle names" ] ; fhir:definition [ fhir:v "Given name." ] ; fhir:comment [ fhir:v "If only initials are recorded, they may be used in place of the full name parts. Initials may be separated into multiple given names but often aren't due to paractical limitations. This element is not called \"first name\" since given names do not always come first." ] ; ( fhir:alias [ fhir:v "first name" ] [ fhir:v "middle name" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "HumanName.given" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:orderMeaning [ fhir:v "Given Names appear in the correct order for presenting the name" ] ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v "ClinicalDocument.participant.where(associatedEntity.classCode='ECON').associatedEntity.associatedPerson.name.given" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XPN.2 + XPN.3" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./part[partType = GIV]" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./GivenNames" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.name.prefix" ] ; fhir:path [ fhir:v "Patient.contact.name.prefix" ] ; fhir:short [ fhir:v "Parts that come before the name" ] ; fhir:definition [ fhir:v "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." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "HumanName.prefix" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:orderMeaning [ fhir:v "Prefixes appear in the correct order for presenting the name" ] ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XPN.5" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./part[partType = PFX]" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./TitleCode" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.name.suffix" ] ; fhir:path [ fhir:v "Patient.contact.name.suffix" ] ; fhir:short [ fhir:v "Parts that come after the name" ] ; fhir:definition [ fhir:v "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." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "HumanName.suffix" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:orderMeaning [ fhir:v "Suffixes appear in the correct order for presenting the name" ] ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XPN/4" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./part[partType = SFX]" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.name.period" ] ; fhir:path [ fhir:v "Patient.contact.name.period" ] ; fhir:short [ fhir:v "Time period when name was/is in use" ] ; fhir:definition [ fhir:v "Indicates the period of time when this name was valid for the named person." ] ; fhir:requirements [ fhir:v "Allows names to be placed in historical context." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "HumanName.period" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Period"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XPN.13 + XPN.14" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./usablePeriod[type=\"IVL<TS>\"]" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./StartDate and ./EndDate" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.telecom" ] ; fhir:path [ fhir:v "Patient.contact.telecom" ] ; fhir:short [ fhir:v "A contact detail for the person" ] ; fhir:definition [ fhir:v "A contact detail for the person, e.g. a telephone number or an email address." ] ; fhir:comment [ fhir:v "Contact 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." ] ; fhir:requirements [ fhir:v "People have (primary) ways to contact them in some way such as phone, email." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Patient.contact.telecom" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "ContactPoint"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "pat-1" ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "NK1-5, NK1-6, NK1-40" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "telecom" ] ] [ fhir:identity [ fhir:v "cda" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.telecom.id" ] ; fhir:path [ fhir:v "Patient.contact.telecom.id" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "id"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "ele-1" ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.telecom.extension" ] ; fhir:path [ fhir:v "Patient.contact.telecom.extension" ] ; fhir:slicing [ ( fhir:discriminator [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "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." ] ; ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.telecom.system" ] ; fhir:path [ fhir:v "Patient.contact.telecom.system" ] ; fhir:short [ fhir:v "phone | fax | email | pager | url | sms | other" ] ; fhir:definition [ fhir:v "Telecommunications form for contact point - what communications system is required to make use of the contact." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "ContactPoint.system" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "code"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "cpt-2" ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "ContactPointSystem" ] ] ) ; fhir:strength [ fhir:v "required" ] ; fhir:description [ fhir:v "Telecommunications form for contact point." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/contact-point-system|5.0.0"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/ValueSet/contact-point-system|5.0.0> ] ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v "ClinicalDocument.participant.where(associatedEntity.classCode='ECON').associatedEntity.telecom.system" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XTN.3" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./scheme" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./ContactPointType" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.telecom.value" ] ; fhir:path [ fhir:v "Patient.contact.telecom.value" ] ; fhir:short [ fhir:v "The actual contact point details" ] ; fhir:definition [ fhir:v "The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address)." ] ; fhir:comment [ fhir:v "Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value." ] ; fhir:requirements [ fhir:v "Need to support legacy numbers that are not in a tightly controlled format." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "ContactPoint.value" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "cpt-2" ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v "ClinicalDocument.participant.where(associatedEntity.classCode='ECON').associatedEntity.telecom.value" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XTN.1 (or XTN.12)" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./url" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./Value" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.telecom.use" ] ; fhir:path [ fhir:v "Patient.contact.telecom.use" ] ; fhir:short [ fhir:v "home | work | temp | old | mobile - purpose of this contact point" ] ; fhir:definition [ fhir:v "Identifies the purpose for the contact point." ] ; fhir:comment [ fhir:v "Applications can assume that a contact is current unless it explicitly says that it is temporary or old." ] ; fhir:requirements [ fhir:v "Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "ContactPoint.use" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "code"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifierReason [ fhir:v "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old contact etc.for a current/permanent one" ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "ContactPointUse" ] ] ) ; fhir:strength [ fhir:v "required" ] ; fhir:description [ fhir:v "Use of contact point." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/contact-point-use|5.0.0"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/ValueSet/contact-point-use|5.0.0> ] ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v "ClinicalDocument.participant.where(associatedEntity.classCode='ECON').associatedEntity.telecom.use" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XTN.2 - but often indicated by field" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "unique(./use)" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./ContactPointPurpose" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.telecom.rank" ] ; fhir:path [ fhir:v "Patient.contact.telecom.rank" ] ; fhir:short [ fhir:v "Specify preferred order of use (1 = highest)" ] ; fhir:definition [ fhir:v "Specifies a preferred order in which to use a set of contacts. ContactPoints with lower rank values are more preferred than those with higher rank values." ] ; fhir:comment [ fhir:v "Note that rank does not necessarily follow the order in which the contacts are represented in the instance.\n\nRanks need not be unique. E.g. it's possible to have multiple contacts with rank=1. If the ranks have different systems or uses, this would be interpreted to mean \"X is my most preferred phone number, Y is my most preferred email address\" or \"X is my preferred home email and Y is my preferred work email\". If the system and use for equally-ranked contacts are the same, then the level of preference is equivalent for both repetitions. \n\nRanks need not be sequential and not all repetitions must have a rank. For example, it's possible to have 4 contacts with ranks of 2, 5 and two with no rank specified. That would be interpreted to mean the first is preferred over the second and no preference stated for the remaining contacts." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "ContactPoint.rank" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "positiveInt"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "n/a" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.telecom.period" ] ; fhir:path [ fhir:v "Patient.contact.telecom.period" ] ; fhir:short [ fhir:v "Time period when the contact point was/is in use" ] ; fhir:definition [ fhir:v "Time period when the contact point was/is in use." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "ContactPoint.period" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Period"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "N/A" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./usablePeriod[type=\"IVL<TS>\"]" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./StartDate and ./EndDate" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.address" ] ; fhir:path [ fhir:v "Patient.contact.address" ] ; fhir:short [ fhir:v "An address expressed using postal conventions (as opposed to GPS or other location definition formats)" ] ; fhir:definition [ fhir:v "An address expressed using postal conventions (as opposed to GPS or other location definition formats). This data type may be used to convey addresses for use in delivering mail as well as for visiting locations which might not be valid for mail delivery. There are a variety of postal address formats defined around the world.\nThe ISO21090-codedString may be used to provide a coded representation of the contents of strings in an Address." ] ; fhir:comment [ fhir:v "Note: address is intended to describe postal addresses for administrative purposes, not to describe absolute geographical coordinates. Postal addresses are often used as proxies for physical locations (also see the [Location](http://hl7.org/fhir/R5/location.html#) resource)." ] ; fhir:requirements [ fhir:v "Need to keep track where the contact person can be contacted per postal mail or visited." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Patient.contact.address" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Address"^^xsd:anyURI ] ; ( fhir:profile [ fhir:v "http://hl7.at/fhir/HL7ATCoreProfiles/5.0.0/StructureDefinition/at-core-address"^^xsd:anyURI ; fhir:link <http://hl7.at/fhir/HL7ATCoreProfiles/5.0.0/StructureDefinition/at-core-address> ] ) ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "at-addr-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "If the extension for street name is used then the value for line must not be empty" ] ; fhir:expression [ fhir:v "line.all($this.extension('http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName').empty() or $this.hasValue())" ] ; fhir:source [ fhir:v "http://hl7.at/fhir/HL7ATCoreProfiles/5.0.0/StructureDefinition/at-core-address"^^xsd:anyURI ; fhir:link <http://hl7.at/fhir/HL7ATCoreProfiles/5.0.0/StructureDefinition/at-core-address> ] ] [ fhir:key [ fhir:v "at-addr-2" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "If the extension for street number is used then the value for line must not be empty" ] ; fhir:expression [ fhir:v "line.all($this.extension('http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber').empty() or $this.hasValue())" ] ; fhir:source [ fhir:v "http://hl7.at/fhir/HL7ATCoreProfiles/5.0.0/StructureDefinition/at-core-address"^^xsd:anyURI ; fhir:link <http://hl7.at/fhir/HL7ATCoreProfiles/5.0.0/StructureDefinition/at-core-address> ] ] [ fhir:key [ fhir:v "at-addr-3" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "If the extension for floor/door number is used then the value for line must not be empty" ] ; fhir:expression [ fhir:v "line.all($this.extension('http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator').empty() or $this.hasValue())" ] ; fhir:source [ fhir:v "http://hl7.at/fhir/HL7ATCoreProfiles/5.0.0/StructureDefinition/at-core-address"^^xsd:anyURI ; fhir:link <http://hl7.at/fhir/HL7ATCoreProfiles/5.0.0/StructureDefinition/at-core-address> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a,AD" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XAD" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "Address" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.address.id" ] ; fhir:path [ fhir:v "Patient.contact.address.id" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "id"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "ele-1" ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.address.extension" ] ; fhir:path [ fhir:v "Patient.contact.address.extension" ] ; fhir:slicing [ ( fhir:discriminator [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "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." ] ; ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.address.extension:municipalityCode" ] ; fhir:path [ fhir:v "Patient.contact.address.extension" ] ; fhir:sliceName [ fhir:v "municipalityCode" ] ; fhir:short [ fhir:v "Address Municipality Code" ] ; fhir:definition [ fhir:v "HL7® Austria FHIR® Core Extension for the municipality code part of the Austrian address" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "0" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ; ( fhir:profile [ fhir:v "http://hl7.at/fhir/HL7ATCoreProfiles/5.0.0/StructureDefinition/at-core-ext-address-municipalityCode"^^xsd:anyURI ; fhir:link <http://hl7.at/fhir/HL7ATCoreProfiles/5.0.0/StructureDefinition/at-core-ext-address-municipalityCode> ] ) ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Patient.contact.address.use" ] ; fhir:path [ fhir:v "Patient.contact.address.use" ] ; fhir:short [ fhir:v "home | work | temp | old | billing - purpose of this address" ] ; fhir:definition [ fhir:v "The purpose of this address." ] ; fhir:comment [ fhir:v "Applications can assume that an address is current unless it explicitly says that it is temporary or old." ] ; fhir:requirements [ fhir:v "Allows an appropriate address to be chosen from a list of many." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Address.use" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "code"^^xsd:anyURI ] ] ) ; ( fhir:example [ fhir:label [ fhir:v "General" ] ; fhir:value [ fhir:v "home" ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifierReason [ fhir:v "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old address etc.for a current/permanent one" ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "AddressUse" ] ] ) ; fhir:strength [ fhir:v "required" ] ; fhir:description [ fhir:v "The use of an address (home / work / etc.)." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/address-use|5.0.0"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/ValueSet/address-use|5.0.0> ] ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v "ClinicalDocument.participant.where(associatedEntity.classCode='ECON').associatedEntity.addr.use" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XAD.7" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "unique(./use)" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./AddressPurpose" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.address.type" ] ; fhir:path [ fhir:v "Patient.contact.address.type" ] ; fhir:short [ fhir:v "postal | physical | both" ] ; fhir:definition [ fhir:v "Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both." ] ; fhir:comment [ fhir:v "The definition of Address states that \"address is intended to describe postal addresses, not physical locations\". However, many applications track whether an address has a dual purpose of being a location that can be visited as well as being a valid delivery destination, and Postal addresses are often used as proxies for physical locations (also see the [Location](http://hl7.org/fhir/R5/location.html#) resource)." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Address.type" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "code"^^xsd:anyURI ] ] ) ; ( fhir:example [ fhir:label [ fhir:v "General" ] ; fhir:value [ fhir:v "both" ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "AddressType" ] ] ) ; fhir:strength [ fhir:v "required" ] ; fhir:description [ fhir:v "The type of an address (physical / postal)." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/address-type|5.0.0"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/ValueSet/address-type|5.0.0> ] ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XAD.18" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "unique(./use)" ] ] [ fhir:identity [ fhir:v "vcard" ] ; fhir:map [ fhir:v "address type parameter" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.address.text" ] ; fhir:path [ fhir:v "Patient.contact.address.text" ] ; fhir:short [ fhir:v "Text representation of the address" ] ; fhir:definition [ fhir:v "Specifies the entire address as it should be displayed e.g. on a postal label. This may be provided instead of or as well as the specific parts." ] ; fhir:comment [ fhir:v "Can provide both a text representation and parts. Applications updating an address SHALL ensure that when both text and parts are present, no content is included in the text that isn't found in a part." ] ; fhir:requirements [ fhir:v "A renderable, unencoded form." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Address.text" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:example [ fhir:label [ fhir:v "General" ] ; fhir:value [ fhir:v "137 Nowhere Street, Erewhon 9132" ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v "ClinicalDocument.participant.where(associatedEntity.classCode='ECON').associatedEntity.addr.select(streetAddressLine.dataString + ' ' + postalCode.dataString + ' ' + city.dataString + ' ' + country.dataString)" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./formatted" ] ] [ fhir:identity [ fhir:v "vcard" ] ; fhir:map [ fhir:v "address label parameter" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.address.line" ] ; fhir:path [ fhir:v "Patient.contact.address.line" ] ; fhir:short [ fhir:v "Street name, number, direction & P.O. Box etc." ] ; fhir:definition [ fhir:v "This component contains the street name, street number, floor and/or door number or additonal information (e.g. street direction, P.O. Box number, delivery hints, and similar address information). This information can be split into structured values in the line-components each defined by international ISO extensions. If these extensions are used then the information they contain has to be written in a concatenated way in the line element itself as well. This makes the usage easier for systems which don't use address data in a structured way." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Address.line" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:orderMeaning [ fhir:v "The order in which lines should appear in an address label" ] ; ( fhir:example [ fhir:label [ fhir:v "General" ] ; fhir:value [ fhir:v "137 Nowhere Street" ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v "ClinicalDocument.participant.where(associatedEntity.classCode='ECON').associatedEntity.addr.streetAddressLine" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address)" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "AD.part[parttype = AL]" ] ] [ fhir:identity [ fhir:v "vcard" ] ; fhir:map [ fhir:v "street" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./StreetAddress (newline delimitted)" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.address.line.id" ] ; fhir:path [ fhir:v "Patient.contact.address.line.id" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "xml:id (or equivalent in JSON)" ] ; fhir:definition [ fhir:v "unique id for the element within a resource (for internal references)" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Patient.contact.address.line.extension" ] ; fhir:path [ fhir:v "Patient.contact.address.line.extension" ] ; fhir:slicing [ ( fhir:discriminator [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:ordered [ fhir:v "false"^^xsd:boolean ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Extension" ] ; fhir:definition [ fhir:v "An Extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Patient.contact.address.line.extension:street" ] ; fhir:path [ fhir:v "Patient.contact.address.line.extension" ] ; fhir:sliceName [ fhir:v "street" ] ; fhir:short [ fhir:v "Name of the street" ] ; fhir:definition [ fhir:v "Name of the street without the street number" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName> ] ) ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "ADXP[partType=STR]" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.address.line.extension:streetNumber" ] ; fhir:path [ fhir:v "Patient.contact.address.line.extension" ] ; fhir:sliceName [ fhir:v "streetNumber" ] ; fhir:short [ fhir:v "Number of the street" ] ; fhir:definition [ fhir:v "Number of the street without the street name" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber> ] ) ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "ADXP[partType=BNR]" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.address.line.extension:floorDoorNumber" ] ; fhir:path [ fhir:v "Patient.contact.address.line.extension" ] ; fhir:sliceName [ fhir:v "floorDoorNumber" ] ; fhir:short [ fhir:v "Floor and/or door number" ] ; fhir:definition [ fhir:v "Floor and/or door number" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator> ] ) ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "ADXP[partType=ADL]" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.address.line.extension:additionalInformation" ] ; fhir:path [ fhir:v "Patient.contact.address.line.extension" ] ; fhir:sliceName [ fhir:v "additionalInformation" ] ; fhir:short [ fhir:v "Additional Information" ] ; fhir:definition [ fhir:v "Additional information about the street address" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ; ( fhir:profile [ fhir:v "http://hl7.at/fhir/HL7ATCoreProfiles/5.0.0/StructureDefinition/at-core-ext-address-additionalInformation"^^xsd:anyURI ; fhir:link <http://hl7.at/fhir/HL7ATCoreProfiles/5.0.0/StructureDefinition/at-core-ext-address-additionalInformation> ] ) ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Patient.contact.address.line.value" ] ; fhir:path [ fhir:v "Patient.contact.address.line.value" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Primitive value for string" ] ; fhir:definition [ fhir:v "The actual value" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "string.value" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "string"^^xsd:anyURI ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/regex"^^xsd:anyURI ] ; fhir:value [ fhir:v "^[\\s\\S]+$" ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; fhir:maxLength [ fhir:v "1048576"^^xsd:integer ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Patient.contact.address.city" ] ; fhir:path [ fhir:v "Patient.contact.address.city" ] ; fhir:short [ fhir:v "Name of city, town etc." ] ; fhir:definition [ fhir:v "The name of the city, town, suburb, village or other community or delivery center." ] ; ( fhir:alias [ fhir:v "Municpality" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Address.city" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:example [ fhir:label [ fhir:v "General" ] ; fhir:value [ fhir:v "Erewhon" ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v "ClinicalDocument.participant.where(associatedEntity.classCode='ECON').associatedEntity.addr.city.dataString" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XAD.3" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "AD.part[parttype = CTY]" ] ] [ fhir:identity [ fhir:v "vcard" ] ; fhir:map [ fhir:v "locality" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./Jurisdiction" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.address.district" ] ; fhir:path [ fhir:v "Patient.contact.address.district" ] ; fhir:short [ fhir:v "District name (aka county)" ] ; fhir:definition [ fhir:v "The name of the administrative area (county)." ] ; fhir:comment [ fhir:v "District is sometimes known as county, but in some regions 'county' is used in place of city (municipality), so county name should be conveyed in city instead." ] ; ( fhir:alias [ fhir:v "County" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "0" ] ; fhir:base [ fhir:path [ fhir:v "Address.district" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:example [ fhir:label [ fhir:v "General" ] ; fhir:value [ fhir:v "Madison" ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XAD.9" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "AD.part[parttype = CNT | CPA]" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.address.state" ] ; fhir:path [ fhir:v "Patient.contact.address.state" ] ; fhir:short [ fhir:v "Sub-unit of country (abbreviations ok)" ] ; fhir:definition [ fhir:v "Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (e.g. US 2 letter state codes)." ] ; ( fhir:alias [ fhir:v "Province" ] [ fhir:v "Territory" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Address.state" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v "ClinicalDocument.participant.where(associatedEntity.classCode='ECON').associatedEntity.addr.state.dataString" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XAD.4" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "AD.part[parttype = STA]" ] ] [ fhir:identity [ fhir:v "vcard" ] ; fhir:map [ fhir:v "region" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./Region" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.address.postalCode" ] ; fhir:path [ fhir:v "Patient.contact.address.postalCode" ] ; fhir:short [ fhir:v "Postal code for area" ] ; fhir:definition [ fhir:v "A postal code designating a region defined by the postal service." ] ; ( fhir:alias [ fhir:v "Zip" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Address.postalCode" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:example [ fhir:label [ fhir:v "General" ] ; fhir:value [ fhir:v "9132" ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v "ClinicalDocument.participant.where(associatedEntity.classCode='ECON').associatedEntity.addr.postalCode.dataString" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XAD.5" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "AD.part[parttype = ZIP]" ] ] [ fhir:identity [ fhir:v "vcard" ] ; fhir:map [ fhir:v "code" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./PostalIdentificationCode" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.address.country" ] ; fhir:path [ fhir:v "Patient.contact.address.country" ] ; fhir:short [ fhir:v "Country (e.g. may be ISO 3166 2 or 3 letter code)" ] ; fhir:definition [ fhir:v "Country - a nation as commonly understood or generally accepted." ] ; fhir:comment [ fhir:v "ISO 3166 2- or 3- letter codes MAY be used in place of a human readable country name." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Address.country" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v "ClinicalDocument.participant.where(associatedEntity.classCode='ECON').associatedEntity.addr.country.dataString" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XAD.6" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "AD.part[parttype = CNT]" ] ] [ fhir:identity [ fhir:v "vcard" ] ; fhir:map [ fhir:v "country" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./Country" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.address.period" ] ; fhir:path [ fhir:v "Patient.contact.address.period" ] ; fhir:short [ fhir:v "Time period when address was/is in use" ] ; fhir:definition [ fhir:v "Time period when address was/is in use." ] ; fhir:requirements [ fhir:v "Allows addresses to be placed in historical context." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "0" ] ; fhir:base [ fhir:path [ fhir:v "Address.period" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Period"^^xsd:anyURI ] ] ) ; ( fhir:example [ fhir:label [ fhir:v "General" ] ; fhir:value [ a fhir:Period ; fhir:start [ fhir:v "2010-03-23"^^xsd:date ] ; fhir:end [ fhir:v "2010-07-01"^^xsd:date ] ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XAD.12 / XAD.13 + XAD.14" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./usablePeriod[type=\"IVL<TS>\"]" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./StartDate and ./EndDate" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.gender" ] ; fhir:path [ fhir:v "Patient.contact.gender" ] ; fhir:short [ fhir:v "male | female | other | unknown" ] ; fhir:definition [ fhir:v "Administrative Gender - the gender that the contact person is considered to have for administration and record keeping purposes." ] ; fhir:requirements [ fhir:v "Needed to address the person correctly." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Patient.contact.gender" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "code"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:binding [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "AdministrativeGender" ] ] ) ; fhir:strength [ fhir:v "required" ] ; fhir:description [ fhir:v "The gender of a person used for administrative purposes." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/administrative-gender|5.0.0"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/ValueSet/administrative-gender|5.0.0> ] ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v "n/a" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "NK1-15" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender" ] ] [ fhir:identity [ fhir:v "cda" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.gender.id" ] ; fhir:path [ fhir:v "Patient.contact.gender.id" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "xml:id (or equivalent in JSON)" ] ; fhir:definition [ fhir:v "unique id for the element within a resource (for internal references)" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Patient.contact.gender.extension" ] ; fhir:path [ fhir:v "Patient.contact.gender.extension" ] ; fhir:slicing [ ( fhir:discriminator [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:ordered [ fhir:v "false"^^xsd:boolean ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Extension" ] ; fhir:definition [ fhir:v "An Extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Patient.contact.gender.extension:AdministrativeGenderAddition" ] ; fhir:path [ fhir:v "Patient.contact.gender.extension" ] ; fhir:sliceName [ fhir:v "AdministrativeGenderAddition" ] ; fhir:short [ fhir:v "Administrative Gender Addition" ] ; fhir:definition [ fhir:v "HL7® Austria FHIR® Core Extension for the administrative gender of a person (Patient, Practitioner, ...). \r\nThe extension is used to add the missing codes and is applied in case the code for administrative gender itself is set to 'other'." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ; ( fhir:profile [ fhir:v "http://hl7.at/fhir/HL7ATCoreProfiles/5.0.0/StructureDefinition/at-core-ext-gender-administrativeGenderAddition"^^xsd:anyURI ; fhir:link <http://hl7.at/fhir/HL7ATCoreProfiles/5.0.0/StructureDefinition/at-core-ext-gender-administrativeGenderAddition> ] ) ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Patient.contact.gender.value" ] ; fhir:path [ fhir:v "Patient.contact.gender.value" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Primitive value for code" ] ; fhir:definition [ fhir:v "Primitive value for code" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "string.value" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "code"^^xsd:anyURI ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/regex"^^xsd:anyURI ] ; fhir:value [ fhir:v "[^\\s]+( [^\\s]+)*" ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Patient.contact.organization" ] ; fhir:path [ fhir:v "Patient.contact.organization" ] ; fhir:short [ fhir:v "Organization that is associated with the contact" ] ; fhir:definition [ fhir:v "Organization on behalf of which the contact is acting or for which the contact is working." ] ; fhir:requirements [ fhir:v "For guardians or business related contacts, the organization is relevant." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Patient.contact.organization" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ; ( fhir:targetProfile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Organization"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Organization> ] ) ] ) ; ( fhir:condition [ fhir:v "pat-1" ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v "ClinicalDocument.participant.where(associatedEntity.classCode='ECON').associatedEntity.scopingOrganization.id[0]" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "NK1-13, NK1-30, NK1-31, NK1-32, NK1-41" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "scoper" ] ] [ fhir:identity [ fhir:v "cda" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.contact.period" ] ; fhir:path [ fhir:v "Patient.contact.period" ] ; fhir:short [ fhir:v "The period during which this contact person or organization is valid to be contacted relating to this patient" ] ; fhir:definition [ fhir:v "The period during which this contact person or organization is valid to be contacted relating to this patient." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Patient.contact.period" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Period"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v "n/a" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "effectiveTime" ] ] [ fhir:identity [ fhir:v "cda" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.communication" ] ; fhir:path [ fhir:v "Patient.communication" ] ; fhir:short [ fhir:v "A language which may be used to communicate with the patient about his or her health" ] ; fhir:definition [ fhir:v "A language which may be used to communicate with the patient about his or her health." ] ; fhir:comment [ fhir:v "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." ] ; fhir:requirements [ fhir:v "If a patient does not speak the local language, interpreters may be required, so languages spoken and proficiency are important things to keep track of both for patient and other persons of interest." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Patient.communication" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "BackboneElement"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "LanguageCommunication" ] ] [ fhir:identity [ fhir:v "interface" ] ; fhir:map [ fhir:v "ParticipantLiving.communication" ] ] [ fhir:identity [ fhir:v "cda" ] ; fhir:map [ fhir:v "patient.languageCommunication" ] ] ) ] [ fhir:id [ fhir:v "Patient.communication.id" ] ; fhir:path [ fhir:v "Patient.communication.id" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "ele-1" ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.communication.extension" ] ; fhir:path [ fhir:v "Patient.communication.extension" ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "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." ] ; ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.communication.modifierExtension" ] ; fhir:path [ fhir:v "Patient.communication.modifierExtension" ] ; fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ; fhir:definition [ fhir:v "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:comment [ fhir:v "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." ] ; fhir:requirements [ fhir:v "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension)." ] ; ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "Patient.communication.language" ] ; fhir:path [ fhir:v "Patient.communication.language" ] ; fhir:short [ fhir:v "The language which can be used to communicate with the patient about his or her health" ] ; fhir:definition [ fhir:v "The ISO-639-1 alpha 2 code in lower case for the language, optionally followed by a hyphen and the ISO-3166-1 alpha 2 code for the region in upper case; e.g. \"en\" for English, or \"en-US\" for American English versus \"en-AU\" for Australian English." ] ; fhir:comment [ fhir:v "The structure aa-BB with this exact casing is one the most widely used notations for locale. However not all systems actually code this but instead have it as free text. Hence CodeableConcept instead of code as the data type." ] ; fhir:requirements [ fhir:v "Most systems in multilingual countries will want to convey language. Not all systems actually need the regional dialect." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Patient.communication.language" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:binding [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "Language" ] ] ) ; fhir:strength [ fhir:v "required" ] ; fhir:description [ fhir:v "IETF language tag for a human language" ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/all-languages|5.0.0"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/ValueSet/all-languages|5.0.0> ] ; ( fhir:additional [ fhir:purpose [ fhir:v "starter" ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/languages"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/ValueSet/languages> ] ] ) ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v ".patient.languageCommunication.languageCode.code" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "PID-15, LAN-2" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "player[classCode=PSN|ANM and determinerCode=INSTANCE]/languageCommunication/code" ] ] [ fhir:identity [ fhir:v "cda" ] ; fhir:map [ fhir:v ".languageCode" ] ] ) ] [ fhir:id [ fhir:v "Patient.communication.preferred" ] ; fhir:path [ fhir:v "Patient.communication.preferred" ] ; fhir:short [ fhir:v "Language preference indicator" ] ; fhir:definition [ fhir:v "Indicates whether or not the patient prefers this language (over other languages he masters up a certain level)." ] ; fhir:comment [ fhir:v "This language is specifically identified for communicating healthcare information." ] ; fhir:requirements [ fhir:v "People that master multiple languages up to certain level may prefer one or more, i.e. feel more confident in communicating in a particular language making other languages sort of a fall back method." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Patient.communication.preferred" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v ".patient.languageCommunication.preferenceInd.value" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "PID-15" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "preferenceInd" ] ] [ fhir:identity [ fhir:v "cda" ] ; fhir:map [ fhir:v ".preferenceInd" ] ] ) ] [ fhir:id [ fhir:v "Patient.generalPractitioner" ] ; fhir:path [ fhir:v "Patient.generalPractitioner" ] ; fhir:short [ fhir:v "Patient's nominated primary care provider" ] ; fhir:definition [ fhir:v "Patient's nominated care provider." ] ; fhir:comment [ fhir:v "This may be the primary care provider (in a GP context), or it may be a patient nominated care manager in a community/disability setting, or even organization that will provide people to perform the care provider roles. It is not to be used to record Care Teams, these should be in a CareTeam resource that may be linked to the CarePlan or EpisodeOfCare resources.\nMultiple GPs may be recorded against the patient for various reasons, such as a student that has his home GP listed along with the GP at university during the school semesters, or a \"fly-in/fly-out\" worker that has the onsite GP also included with his home GP to remain aware of medical issues.\n\nJurisdictions may decide that they can profile this down to 1 if desired, or 1 per type." ] ; ( fhir:alias [ fhir:v "careProvider" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Patient.generalPractitioner" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ; ( fhir:targetProfile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Organization"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Organization> ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Practitioner"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Practitioner> ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/PractitionerRole"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/PractitionerRole> ] ) ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v "ClinicalDocument.participant.where(functionCode='PCP').associatedEntity.id" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "PD1-4" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "subjectOf.CareEvent.performer.AssignedEntity" ] ] [ fhir:identity [ fhir:v "cda" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.managingOrganization" ] ; fhir:path [ fhir:v "Patient.managingOrganization" ] ; fhir:short [ fhir:v "Organization that is the custodian of the patient record" ] ; fhir:definition [ fhir:v "Organization that is the custodian of the patient record." ] ; fhir:comment [ fhir:v "There is only one managing organization for a specific patient record. Other organizations will have their own Patient record, and may use the Link property to join the records together (or a Person resource which can include confidence ratings for the association)." ] ; fhir:requirements [ fhir:v "Need to know who recognizes this patient record, manages and updates it." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Patient.managingOrganization" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ; ( fhir:targetProfile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Organization"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Organization> ] ) ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v "ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.id" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "scoper" ] ] [ fhir:identity [ fhir:v "cda" ] ; fhir:map [ fhir:v ".providerOrganization" ] ] ) ] [ fhir:id [ fhir:v "Patient.link" ] ; fhir:path [ fhir:v "Patient.link" ] ; fhir:short [ fhir:v "Link to a Patient or RelatedPerson resource that concerns the same actual individual" ] ; fhir:definition [ fhir:v "Link to a Patient or RelatedPerson resource that concerns the same actual individual." ] ; fhir:comment [ fhir:v "There is no assumption that linked patient records have mutual links." ] ; fhir:requirements [ fhir:v "There are multiple use cases: \n\n* Duplicate patient records due to the clerical errors associated with the difficulties of identifying humans consistently, and \n* Distribution of patient information across multiple servers." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Patient.link" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "BackboneElement"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifierReason [ fhir:v "This element is labeled as a modifier because it might not be the main Patient resource, and the referenced patient should be used instead of this Patient record. This is when the link.type value is 'replaced-by'" ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "outboundLink" ] ] [ fhir:identity [ fhir:v "cda" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.link.id" ] ; fhir:path [ fhir:v "Patient.link.id" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; ( fhir:condition [ fhir:v "ele-1" ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.link.extension" ] ; fhir:path [ fhir:v "Patient.link.extension" ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "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." ] ; ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.link.modifierExtension" ] ; fhir:path [ fhir:v "Patient.link.modifierExtension" ] ; fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ; fhir:definition [ fhir:v "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:comment [ fhir:v "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." ] ; fhir:requirements [ fhir:v "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension)." ] ; ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "Patient.link.other" ] ; fhir:path [ fhir:v "Patient.link.other" ] ; fhir:short [ fhir:v "The other patient or related person resource that the link refers to" ] ; fhir:definition [ fhir:v "Link to a Patient or RelatedPerson resource that concerns the same actual individual." ] ; fhir:comment [ fhir:v "Referencing a RelatedPerson here removes the need to use a Person record to associate a Patient and RelatedPerson as the same individual." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Patient.link.other" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy"^^xsd:anyURI ] ; fhir:value [ fhir:v "false"^^xsd:boolean ] ] ) ; fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ; ( fhir:targetProfile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Patient"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Patient> ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/RelatedPerson"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/RelatedPerson> ] ) ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v "n/a" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "PID-3, MRG-1" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "id" ] ] [ fhir:identity [ fhir:v "cda" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Patient.link.type" ] ; fhir:path [ fhir:v "Patient.link.type" ] ; fhir:short [ fhir:v "replaced-by | replaces | refer | seealso" ] ; fhir:definition [ fhir:v "The type of link between this patient resource and another patient resource." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Patient.link.type" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "code"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "LinkType" ] ] ) ; fhir:strength [ fhir:v "required" ] ; fhir:description [ fhir:v "The type of link between this patient resource and another Patient resource, or Patient/RelatedPerson when using the `seealso` code" ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/link-type|5.0.0"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/ValueSet/link-type|5.0.0> ] ] ; ( fhir:mapping [ fhir:identity [ fhir:v "at-core-mapping-patient2cdaatv3" ] ; fhir:map [ fhir:v "n/a" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "typeCode" ] ] [ fhir:identity [ fhir:v "cda" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] ) ] ; # fhir:differential [ ( fhir:element [ fhir:id [ fhir:v "Patient" ] ; fhir:path [ fhir:v "Patient" ] ] [ fhir:id [ fhir:v "Patient.address.extension:municipalityCode" ] ; fhir:path [ fhir:v "Patient.address.extension" ] ; fhir:sliceName [ fhir:v "municipalityCode" ] ; fhir:max [ fhir:v "0" ] ] [ fhir:id [ fhir:v "Patient.contact.address.extension:municipalityCode" ] ; fhir:path [ fhir:v "Patient.contact.address.extension" ] ; fhir:sliceName [ fhir:v "municipalityCode" ] ; fhir:max [ fhir:v "0" ] ] ) ] . #
IG © 2024+ Example Publisher. Package fhir.example#0.1.0 based on FHIR® 5.0.0. Generated 2024-10-31
Links: Table of Contents |
QA Report