This page is part of the DK MedCom HospitalNotification (v3.0.1: Release) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
Active as of 2023-03-02 |
TTL representation of the medcom-hospitalNotification-encounter 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:Resource.id [ fhir:value "medcom-hospitalNotification-encounter"]; #
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "extensions" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><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 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=\"http://hl7.org/fhir/R4/help16.png\" 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-medcom-hospitalNotification-encounter-definitions.html#Encounter\">Encounter</a><a name=\"Encounter\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;\" href=\"http://hl7.org/fhir/R4/conformance-rules.html#constraints\" title=\"This element has or is affected by constraints (medcom-hospitalNotification-6)\">C</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\">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=\"http://medcomfhir.dk/ig/core/2.1.0/StructureDefinition-medcom-core-encounter.html\">MedComCoreEncounter</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\">An interaction during which services are provided to the patient</span><br/><span style=\"font-weight:bold\">medcom-hospitalNotification-6: </span>When the status = 'onleave', the timestamp for beginning of a leave (extension.valuePeriod.start) shall be present.</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_bck12.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_extension_simple.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Simple Extension\" class=\"hierarchy\"/> <a href=\"StructureDefinition-medcom-hospitalNotification-encounter-definitions.html#Encounter.extension\">Slices for extension</a><a name=\"Encounter.extension\"> </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=\"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: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/extensibility.html#Extension\">Extension</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Extension</span><br/><span style=\"font-weight:bold\">Slice: </span>Unordered, Open by value:url</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck14.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-medcom-hospitalNotification-encounter-definitions.html#Encounter.extension:leavePeriod\" title=\"Extension URL = http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-hospitalnotifiation-leave-period-extension\">leavePeriod</a><a name=\"Encounter.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\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span><span style=\"padding-left: 3px; padding-right: 3px; color: black; null\" title=\"This element is included in summaries\">Σ</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</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=\"http://hl7.org/fhir/R4/datatypes.html#Period\">Period</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\">MedComHospitalNotificationLeavePeriodExtension</span><br/><span style=\"font-weight:bold\">URL: </span><a href=\"http://hl7.org/fhir/R4/StructureDefinition-medcom-hospitalnotifiation-leave-period-extension.html\">http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-hospitalnotifiation-leave-period-extension</a></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-medcom-hospitalNotification-encounter-definitions.html#Encounter.status\">status</a><a name=\"Encounter.status\"> </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=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">in-progress | onleave | finished | entered-in-error<br/><span style=\"font-weight:bold\">Binding: </span><a href=\"http://medcomfhir.dk/ig/terminology/1.1.1/ValueSet-medcom-hospitalNotification-encounterStatus.html\">MedComHospitalNotificationEncounterStatusCodes</a> (<a href=\"http://hl7.org/fhir/R4/terminologies.html#required\" title=\"To be conformant, the concept in this element SHALL be from the specified value set.\">required</a>)</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-medcom-hospitalNotification-encounter-definitions.html#Encounter.class\">class</a><a name=\"Encounter.class\"> </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\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#Coding\">Coding</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">inpatient | emergency | other<br/><span style=\"font-weight:bold\">Binding: </span><a href=\"http://medcomfhir.dk/ig/terminology/1.1.1/ValueSet-medcom-hospitalNotification-encounterClass.html\">MedComHospitalNotificationEncounterClassCodes</a> (<a href=\"http://hl7.org/fhir/R4/terminologies.html#required\" title=\"To be conformant, the concept in this element SHALL be from the specified value set.\">required</a>)</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <span style=\"text-decoration:line-through\">type</span><a name=\"Encounter.type\"> </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_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <span style=\"text-decoration:line-through\">serviceType</span><a name=\"Encounter.serviceType\"> </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=\"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: 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_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <span style=\"text-decoration:line-through\">priority</span><a name=\"Encounter.priority\"> </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_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: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-medcom-hospitalNotification-encounter-definitions.html#Encounter.episodeOfCare\" title=\"Shall contain an episode of care identifier for the entire hospitalisation\">episodeOfCare</a><a name=\"Encounter.episodeOfCare\"> </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\">1..<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=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/episodeofcare.html\">EpisodeOfCare</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\">Episode(s) of care that this encounter should be recorded against</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_bck110.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.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\"/> <span style=\"text-decoration:line-through\">reference</span><a name=\"Encounter.episodeOfCare.reference\"> </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_bck100.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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-medcom-hospitalNotification-encounter-definitions.html#Encounter.episodeOfCare.identifier\">identifier</a><a name=\"Encounter.episodeOfCare.identifier\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#Identifier\">Identifier</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Logical reference, when literal reference is not known</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_bck15.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-medcom-hospitalNotification-encounter-definitions.html#Encounter.episodeOfCare:lpr3identifier\" title=\"Slice lpr3identifier\">episodeOfCare:lpr3identifier</a><a name=\"Encounter.episodeOfCare\"> </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=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/episodeofcare.html\">EpisodeOfCare</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Episode(s) of care that this encounter should be recorded against</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck150.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_slice.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\"/> <span style=\"text-decoration:line-through\">reference</span><a name=\"Encounter.episodeOfCare.reference\"> </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=\"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: 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_bck140.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_slice.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-medcom-hospitalNotification-encounter-definitions.html#Encounter.episodeOfCare:lpr3identifier.identifier\">identifier</a><a name=\"Encounter.episodeOfCare.identifier\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: black; null\" title=\"This element is included in summaries\">Σ</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://medcomfhir.dk/ig/core/2.1.0/StructureDefinition-lpr3-Identifier.html\" title=\"Identifier\">Lpr3Identifier</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">An identifier intended for computation</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <span style=\"text-decoration:line-through\">basedOn</span><a name=\"Encounter.basedOn\"> </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=\"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: 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_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <span style=\"text-decoration:line-through\">participant</span><a name=\"Encounter.participant\"> </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_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <span style=\"text-decoration:line-through\">appointment</span><a name=\"Encounter.appointment\"> </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=\"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: 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_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-medcom-hospitalNotification-encounter-definitions.html#Encounter.period\" title=\"The start and end time of the encounter. For notification of hospitalisation an start interval is always known as the notification of adminssion is trigged by the arrival of a patient. There a period will always exist as the notification of admission always starts the communication flow. Please that the encounter.period values always referes to the encounter start and end. The period of the leave of absence is not part of the notification of hospitalization FHIR resource .\">period</a><a name=\"Encounter.period\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#Period\">Period</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">The start and end time of the encounter</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.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.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-medcom-hospitalNotification-encounter-definitions.html#Encounter.period.start\" title=\"In HospitalNotification a start time is the timestamp that is registered by the hospital at patient physical attendance at the hospital.\">start</a><a name=\"Encounter.period.start\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#dateTime\">dateTime</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Encounter start time.</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_bck100.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_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-medcom-hospitalNotification-encounter-definitions.html#Encounter.period.end\" title=\"In HospitalNotification a end time is the timestamp that is registered by the hospital when the patient leaves the hospital after discharge.\">end</a><a name=\"Encounter.period.end\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#dateTime\">dateTime</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Encounter end time.</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <span style=\"text-decoration:line-through\">length</span><a name=\"Encounter.length\"> </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=\"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: 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_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <span style=\"text-decoration:line-through\">reasonCode</span><a name=\"Encounter.reasonCode\"> </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_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <span style=\"text-decoration:line-through\">reasonReference</span><a name=\"Encounter.reasonReference\"> </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=\"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: 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_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <span style=\"text-decoration:line-through\">diagnosis</span><a name=\"Encounter.diagnosis\"> </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_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <span style=\"text-decoration:line-through\" title=\"The set of accounts and issurance information that may be used for billing for this Encounter. The account element shall not be used in NotificationOfHospitalStayEncounter\">account</span><a name=\"Encounter.account\"> </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=\"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: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"text-decoration:line-through\">Reference</span><span style=\"text-decoration:line-through\">(</span><span style=\"text-decoration:line-through\">Account</span><span style=\"text-decoration:line-through\">)</span></td><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_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <span style=\"text-decoration:line-through\">hospitalization</span><a name=\"Encounter.hospitalization\"> </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_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <span style=\"text-decoration:line-through\">location</span><a name=\"Encounter.location\"> </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=\"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: 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_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-medcom-hospitalNotification-encounter-definitions.html#Encounter.serviceProvider\">serviceProvider</a><a name=\"Encounter.serviceProvider\"> </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\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a style=\"opacity: 0.5\" href=\"http://medcomfhir.dk/ig/core/2.1.0/StructureDefinition-medcom-core-organization.html\">MedComCoreOrganization</a>)<a href=\"http://hl7.org/fhir/R4/valueset-resource-aggregation-mode.html\"> {</a><a href=\"http://hl7.org/fhir/R4/valueset-resource-aggregation-mode.html\" title=\"The resource the reference points to will be found in the same bundle as the resource that includes the reference.\">b</a><a href=\"http://hl7.org/fhir/R4/valueset-resource-aggregation-mode.html\">}</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">The organization (facility) responsible for this encounter</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <span style=\"text-decoration:line-through\">partOf</span><a name=\"Encounter.partOf\"> </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=\"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: 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><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=\"http://hl7.org/fhir/R4/help16.png\" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"
]; #
fhir:StructureDefinition.url [ fhir:value "http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-hospitalNotification-encounter"]; #
fhir:StructureDefinition.version [ fhir:value "3.0.1"]; #
fhir:StructureDefinition.name [ fhir:value "MedComHospitalNotificationEncounter"]; #
fhir:StructureDefinition.status [ fhir:value "active"]; #
fhir:StructureDefinition.date [ fhir:value "2023-03-02T09:53:14+01:00"^^xsd:dateTime]; #
fhir:StructureDefinition.publisher [ fhir:value "MedCom"]; #
fhir:StructureDefinition.contact [
fhir:index 0;
fhir:ContactDetail.name [ fhir:value "MedCom" ];
fhir:ContactDetail.telecom [
fhir:index 0;
fhir:ContactPoint.system [ fhir:value "url" ];
fhir:ContactPoint.value [ fhir:value "http://www.medcom.dk" ] ]
]; #
fhir:StructureDefinition.description [ fhir:value "Encounter derivation that handles hospital notification when a patient is admitted to a hospital. The hospital notification is always send from a hospital. The receiver of the message is the patients home municipalicy. The hospital notification is send for example when patient is admitted, on leave, returned from leave, finished hospital stay."]; #
fhir:StructureDefinition.jurisdiction [
fhir:index 0;
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ];
fhir:Coding.code [ fhir:value "DK" ];
fhir:Coding.display [ fhir:value "Denmark" ] ]
]; #
fhir:StructureDefinition.fhirVersion [ fhir:value "4.0.1"]; #
fhir:StructureDefinition.mapping [
fhir:index 0;
fhir:StructureDefinition.mapping.identity [ fhir:value "workflow" ];
fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/fhir/workflow" ];
fhir:StructureDefinition.mapping.name [ fhir:value "Workflow Pattern" ]
], [
fhir:index 1;
fhir:StructureDefinition.mapping.identity [ fhir:value "rim" ];
fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v3" ];
fhir:StructureDefinition.mapping.name [ fhir:value "RIM Mapping" ]
], [
fhir:index 2;
fhir:StructureDefinition.mapping.identity [ fhir:value "w5" ];
fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/fhir/fivews" ];
fhir:StructureDefinition.mapping.name [ fhir:value "FiveWs Pattern Mapping" ]
], [
fhir:index 3;
fhir:StructureDefinition.mapping.identity [ fhir:value "v2" ];
fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v2" ];
fhir:StructureDefinition.mapping.name [ fhir:value "HL7 v2 Mapping" ]
]; #
fhir:StructureDefinition.kind [ fhir:value "resource"]; #
fhir:StructureDefinition.abstract [ fhir:value "false"^^xsd:boolean]; #
fhir:StructureDefinition.type [ fhir:value "Encounter"]; #
fhir:StructureDefinition.baseDefinition [
fhir:value "http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-encounter";
fhir:link <http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-encounter>
]; #
fhir:StructureDefinition.derivation [ fhir:value "constraint"]; #
fhir:StructureDefinition.snapshot [
fhir:StructureDefinition.snapshot.element [
fhir:index 0;
fhir:Element.id [ fhir:value "Encounter" ];
fhir:ElementDefinition.path [ fhir:value "Encounter" ];
fhir:ElementDefinition.short [ fhir:value "An interaction during which services are provided to the patient" ];
fhir:ElementDefinition.definition [ fhir:value "An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient." ];
fhir:ElementDefinition.alias [
fhir:value "Visit";
fhir:index 0 ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "dom-2" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "If the resource is contained in another resource, it SHALL NOT contain nested Resources" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "contained.contained.empty()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "not(parent::f:contained and f:contained)" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource";
fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource> ] ], [
fhir:index 1;
fhir:ElementDefinition.constraint.key [ fhir:value "dom-3" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "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:ElementDefinition.constraint.expression [ fhir:value "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource";
fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource> ] ], [
fhir:index 2;
fhir:ElementDefinition.constraint.key [ fhir:value "dom-4" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource";
fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource> ] ], [
fhir:index 3;
fhir:ElementDefinition.constraint.key [ fhir:value "dom-5" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "If a resource is contained in another resource, it SHALL NOT have a security label" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "contained.meta.security.empty()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:contained/*/f:meta/f:security))" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource";
fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource> ] ], [
fhir:index 4;
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice" ];
fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ] ], [
fhir:index 1;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation" ];
fhir:Extension.valueMarkdown [ fhir:value "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:ElementDefinition.constraint.key [ fhir:value "dom-6" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "warning" ];
fhir:ElementDefinition.constraint.human [ fhir:value "A resource should have narrative for robust management" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "text.`div`.exists()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:text/h:div)" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource";
fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource> ] ], [
fhir:index 5;
fhir:ElementDefinition.constraint.key [ fhir:value "medcom-hospitalNotification-6" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "When the status = 'onleave', the timestamp for beginning of a leave (extension.valuePeriod.start) shall be present." ];
fhir:ElementDefinition.constraint.expression [ fhir:value "where(status = 'onleave').extension.value.start.exists() or status != 'onleave'" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-hospitalNotification-encounter";
fhir:link <http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-hospitalNotification-encounter> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Entity. Role, or Act" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Event" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Encounter[@moodCode='EVN']" ] ] ], [
fhir:index 1;
fhir:Element.id [ fhir:value "Encounter.id" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.id" ];
fhir:ElementDefinition.short [ fhir:value "Logical id of this artifact" ];
fhir:ElementDefinition.definition [ fhir:value "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." ];
fhir:ElementDefinition.comment [ fhir:value "The only time that a resource does not have an id is when it is being submitted to the server using a create operation." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Resource.id" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
fhir:Extension.valueUrl [ fhir:value "id" ] ];
fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ], [
fhir:index 2;
fhir:Element.id [ fhir:value "Encounter.meta" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.meta" ];
fhir:ElementDefinition.short [ fhir:value "Metadata about the resource" ];
fhir:ElementDefinition.definition [ fhir:value "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:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Resource.meta" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Meta" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ], [
fhir:index 3;
fhir:Element.id [ fhir:value "Encounter.implicitRules" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.implicitRules" ];
fhir:ElementDefinition.short [ fhir:value "A set of rules under which this content was created" ];
fhir:ElementDefinition.definition [ fhir:value "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc." ];
fhir:ElementDefinition.comment [ fhir:value "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Resource.implicitRules" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "uri" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.isModifierReason [ fhir:value "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation" ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ], [
fhir:index 4;
fhir:Element.id [ fhir:value "Encounter.language" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.language" ];
fhir:ElementDefinition.short [ fhir:value "Language of the resource content" ];
fhir:ElementDefinition.definition [ fhir:value "The base language in which the resource is written." ];
fhir:ElementDefinition.comment [ fhir:value "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Resource.language" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "code" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.binding [
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet" ];
fhir:Extension.valueCanonical [
fhir:value "http://hl7.org/fhir/ValueSet/all-languages";
fhir:link <http://hl7.org/fhir/ValueSet/all-languages> ] ], [
fhir:index 1;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
fhir:Extension.valueString [ fhir:value "Language" ] ], [
fhir:index 2;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ];
fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ] ];
fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ];
fhir:ElementDefinition.binding.description [ fhir:value "A human language." ];
fhir:ElementDefinition.binding.valueSet [
fhir:value "http://hl7.org/fhir/ValueSet/languages";
fhir:link <http://hl7.org/fhir/ValueSet/languages> ] ] ], [
fhir:index 5;
fhir:Element.id [ fhir:value "Encounter.text" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.text" ];
fhir:ElementDefinition.short [ fhir:value "Text summary of the resource, for human interpretation" ];
fhir:ElementDefinition.definition [ fhir:value "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:ElementDefinition.comment [ fhir:value "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later." ];
fhir:ElementDefinition.alias [
fhir:value "narrative";
fhir:index 0 ], [
fhir:value "html";
fhir:index 1 ], [
fhir:value "xhtml";
fhir:index 2 ], [
fhir:value "display";
fhir:index 3 ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "DomainResource.text" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Narrative" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Act.text?" ] ] ], [
fhir:index 6;
fhir:Element.id [ fhir:value "Encounter.contained" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.contained" ];
fhir:ElementDefinition.short [ fhir:value "Contained, inline Resources" ];
fhir:ElementDefinition.definition [ fhir:value "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope." ];
fhir:ElementDefinition.comment [ fhir:value "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels." ];
fhir:ElementDefinition.alias [
fhir:value "inline resources";
fhir:index 0 ], [
fhir:value "anonymous resources";
fhir:index 1 ], [
fhir:value "contained resources";
fhir:index 2 ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "DomainResource.contained" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Resource" ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [
fhir:index 7;
fhir:Element.id [ fhir:value "Encounter.extension" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.extension" ];
fhir:ElementDefinition.slicing [
fhir:ElementDefinition.slicing.discriminator [
fhir:index 0;
fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "value" ];
fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "url" ] ];
fhir:ElementDefinition.slicing.ordered [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.slicing.rules [ fhir:value "open" ] ];
fhir:ElementDefinition.short [ fhir:value "Extension" ];
fhir:ElementDefinition.definition [ fhir:value "An Extension" ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "DomainResource.extension" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [
fhir:index 1;
fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ], [
fhir:index 8;
fhir:Element.id [ fhir:value "Encounter.extension:leavePeriod" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.extension" ];
fhir:ElementDefinition.sliceName [ fhir:value "leavePeriod" ];
fhir:ElementDefinition.short [ fhir:value "MedComHospitalNotificationLeavePeriodExtension" ];
fhir:ElementDefinition.definition [ fhir:value "Includes timestamps for start and end of leave of a hospitalization." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "DomainResource.extension" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Extension" ];
fhir:ElementDefinition.type.profile [
fhir:value "http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-hospitalnotifiation-leave-period-extension";
fhir:index 0;
fhir:link <http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-hospitalnotifiation-leave-period-extension> ] ];
fhir:ElementDefinition.condition [
fhir:value "ele-1";
fhir:index 0 ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [
fhir:index 1;
fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ];
fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ], [
fhir:index 9;
fhir:Element.id [ fhir:value "Encounter.modifierExtension" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.modifierExtension" ];
fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ];
fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it 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 manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ];
fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
fhir:ElementDefinition.requirements [ fhir:value "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/R4/extensibility.html#modifierExtension)." ];
fhir:ElementDefinition.alias [
fhir:value "extensions";
fhir:index 0 ], [
fhir:value "user content";
fhir:index 1 ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "DomainResource.modifierExtension" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [
fhir:index 1;
fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them" ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [
fhir:index 10;
fhir:Element.id [ fhir:value "Encounter.identifier" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.identifier" ];
fhir:ElementDefinition.short [ fhir:value "Identifier(s) by which this encounter is known" ];
fhir:ElementDefinition.definition [ fhir:value "Identifier(s) by which this encounter is known." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.identifier" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Identifier" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Event.identifier" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.identifier" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "PV1-19" ] ], [
fhir:index 3;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".id" ] ] ], [
fhir:index 11;
fhir:Element.id [ fhir:value "Encounter.status" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.status" ];
fhir:ElementDefinition.short [ fhir:value "in-progress | onleave | finished | entered-in-error" ];
fhir:ElementDefinition.definition [ fhir:value "planned | arrived | triaged | in-progress | onleave | finished | cancelled +." ];
fhir:ElementDefinition.comment [ fhir:value "Note that internal business rules will determine the appropriate transitions that may occur between statuses (and also classes)." ];
fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.status" ];
fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "code" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.isModifierReason [ fhir:value "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid" ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.binding [
fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
fhir:ElementDefinition.binding.valueSet [
fhir:value "http://medcomfhir.dk/ig/terminology/ValueSet/medcom-hospitalNotification-encounterStatus";
fhir:link <http://medcomfhir.dk/ig/terminology/ValueSet/medcom-hospitalNotification-encounterStatus> ] ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Event.status" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.status" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "No clear equivalent in HL7 v2; active/finished could be inferred from PV1-44, PV1-45, PV2-24; inactive could be inferred from PV2-16" ] ], [
fhir:index 3;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".statusCode" ] ] ], [
fhir:index 12;
fhir:Element.id [ fhir:value "Encounter.statusHistory" ];
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ];
fhir:Extension.valueString [ fhir:value "StatusHistory" ] ];
fhir:ElementDefinition.path [ fhir:value "Encounter.statusHistory" ];
fhir:ElementDefinition.short [ fhir:value "List of past encounter statuses" ];
fhir:ElementDefinition.definition [ fhir:value "The status history permits the encounter resource to contain the status history without needing to read through the historical versions of the resource, or even have the server store them." ];
fhir:ElementDefinition.comment [ fhir:value "The current status is always found in the current version of the resource, not the status history." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.statusHistory" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [
fhir:index 13;
fhir:Element.id [ fhir:value "Encounter.statusHistory.id" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.statusHistory.id" ];
fhir:ElementDefinition.representation [
fhir:value "xmlAttr";
fhir:index 0 ];
fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
fhir:Extension.valueUrl [ fhir:value "string" ] ];
fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [
fhir:index 14;
fhir:Element.id [ fhir:value "Encounter.statusHistory.extension" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.statusHistory.extension" ];
fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
fhir:ElementDefinition.definition [ fhir:value "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 manageable, 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:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
fhir:ElementDefinition.alias [
fhir:value "extensions";
fhir:index 0 ], [
fhir:value "user content";
fhir:index 1 ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [
fhir:index 1;
fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [
fhir:index 15;
fhir:Element.id [ fhir:value "Encounter.statusHistory.modifierExtension" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.statusHistory.modifierExtension" ];
fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ];
fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element 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 manageable, 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:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
fhir:ElementDefinition.requirements [ fhir:value "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/R4/extensibility.html#modifierExtension)." ];
fhir:ElementDefinition.alias [
fhir:value "extensions";
fhir:index 0 ], [
fhir:value "user content";
fhir:index 1 ], [
fhir:value "modifiers";
fhir:index 2 ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [
fhir:index 1;
fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [
fhir:index 16;
fhir:Element.id [ fhir:value "Encounter.statusHistory.status" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.statusHistory.status" ];
fhir:ElementDefinition.short [ fhir:value "planned | arrived | triaged | in-progress | onleave | finished | cancelled +" ];
fhir:ElementDefinition.definition [ fhir:value "planned | arrived | triaged | in-progress | onleave | finished | cancelled +." ];
fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.statusHistory.status" ];
fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "code" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.binding [
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
fhir:Extension.valueString [ fhir:value "EncounterStatus" ] ];
fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
fhir:ElementDefinition.binding.description [ fhir:value "Current state of the encounter." ];
fhir:ElementDefinition.binding.valueSet [
fhir:value "http://hl7.org/fhir/ValueSet/encounter-status|4.0.1";
fhir:link <http://hl7.org/fhir/ValueSet/encounter-status|4.0.1> ] ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [
fhir:index 17;
fhir:Element.id [ fhir:value "Encounter.statusHistory.period" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.statusHistory.period" ];
fhir:ElementDefinition.short [ fhir:value "The time that the episode was in the specified status" ];
fhir:ElementDefinition.definition [ fhir:value "The time that the episode was in the specified status." ];
fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.statusHistory.period" ];
fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Period" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [
fhir:index 18;
fhir:Element.id [ fhir:value "Encounter.class" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.class" ];
fhir:ElementDefinition.short [ fhir:value "inpatient | emergency | other" ];
fhir:ElementDefinition.definition [ fhir:value "Concepts representing classification of patient encounter such as ambulatory (outpatient), inpatient, emergency, home health or others due to local variations." ];
fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.class" ];
fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Coding" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.binding [
fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
fhir:ElementDefinition.binding.valueSet [
fhir:value "http://medcomfhir.dk/ig/terminology/ValueSet/medcom-hospitalNotification-encounterClass";
fhir:link <http://medcomfhir.dk/ig/terminology/ValueSet/medcom-hospitalNotification-encounterClass> ] ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.class" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "PV1-2" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".inboundRelationship[typeCode=SUBJ].source[classCode=LIST].code" ] ] ], [
fhir:index 19;
fhir:Element.id [ fhir:value "Encounter.classHistory" ];
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ];
fhir:Extension.valueString [ fhir:value "ClassHistory" ] ];
fhir:ElementDefinition.path [ fhir:value "Encounter.classHistory" ];
fhir:ElementDefinition.short [ fhir:value "List of past encounter classes" ];
fhir:ElementDefinition.definition [ fhir:value "The class history permits the tracking of the encounters transitions without needing to go through the resource history. This would be used for a case where an admission starts of as an emergency encounter, then transitions into an inpatient scenario. Doing this and not restarting a new encounter ensures that any lab/diagnostic results can more easily follow the patient and not require re-processing and not get lost or cancelled during a kind of discharge from emergency to inpatient." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.classHistory" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [
fhir:index 20;
fhir:Element.id [ fhir:value "Encounter.classHistory.id" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.classHistory.id" ];
fhir:ElementDefinition.representation [
fhir:value "xmlAttr";
fhir:index 0 ];
fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
fhir:Extension.valueUrl [ fhir:value "string" ] ];
fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [
fhir:index 21;
fhir:Element.id [ fhir:value "Encounter.classHistory.extension" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.classHistory.extension" ];
fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
fhir:ElementDefinition.definition [ fhir:value "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 manageable, 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:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
fhir:ElementDefinition.alias [
fhir:value "extensions";
fhir:index 0 ], [
fhir:value "user content";
fhir:index 1 ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [
fhir:index 1;
fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [
fhir:index 22;
fhir:Element.id [ fhir:value "Encounter.classHistory.modifierExtension" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.classHistory.modifierExtension" ];
fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ];
fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element 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 manageable, 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:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
fhir:ElementDefinition.requirements [ fhir:value "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/R4/extensibility.html#modifierExtension)." ];
fhir:ElementDefinition.alias [
fhir:value "extensions";
fhir:index 0 ], [
fhir:value "user content";
fhir:index 1 ], [
fhir:value "modifiers";
fhir:index 2 ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [
fhir:index 1;
fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [
fhir:index 23;
fhir:Element.id [ fhir:value "Encounter.classHistory.class" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.classHistory.class" ];
fhir:ElementDefinition.short [ fhir:value "inpatient | outpatient | ambulatory | emergency +" ];
fhir:ElementDefinition.definition [ fhir:value "inpatient | outpatient | ambulatory | emergency +." ];
fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.classHistory.class" ];
fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Coding" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.binding [
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
fhir:Extension.valueString [ fhir:value "EncounterClass" ] ];
fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ];
fhir:ElementDefinition.binding.description [ fhir:value "Classification of the encounter." ];
fhir:ElementDefinition.binding.valueSet [
fhir:value "http://terminology.hl7.org/ValueSet/v3-ActEncounterCode";
fhir:link <http://terminology.hl7.org/ValueSet/v3-ActEncounterCode> ] ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [
fhir:index 24;
fhir:Element.id [ fhir:value "Encounter.classHistory.period" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.classHistory.period" ];
fhir:ElementDefinition.short [ fhir:value "The time that the episode was in the specified class" ];
fhir:ElementDefinition.definition [ fhir:value "The time that the episode was in the specified class." ];
fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.classHistory.period" ];
fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Period" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [
fhir:index 25;
fhir:Element.id [ fhir:value "Encounter.type" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.type" ];
fhir:ElementDefinition.short [ fhir:value "Specific type of encounter" ];
fhir:ElementDefinition.definition [ fhir:value "Specific type of encounter (e.g. e-mail consultation, surgical day-care, skilled nursing, rehabilitation)." ];
fhir:ElementDefinition.comment [ fhir:value "Since there are many ways to further classify encounters, this element is 0..*." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "0" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.type" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.binding [
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
fhir:Extension.valueString [ fhir:value "EncounterType" ] ];
fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
fhir:ElementDefinition.binding.description [ fhir:value "The type of encounter." ];
fhir:ElementDefinition.binding.valueSet [
fhir:value "http://hl7.org/fhir/ValueSet/encounter-type";
fhir:link <http://hl7.org/fhir/ValueSet/encounter-type> ] ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Event.code" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.class" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "PV1-4 / PV1-18" ] ], [
fhir:index 3;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".code" ] ] ], [
fhir:index 26;
fhir:Element.id [ fhir:value "Encounter.serviceType" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.serviceType" ];
fhir:ElementDefinition.short [ fhir:value "Specific type of service" ];
fhir:ElementDefinition.definition [ fhir:value "Broad categorization of the service that is to be provided (e.g. cardiology)." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "0" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.serviceType" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.binding [
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
fhir:Extension.valueString [ fhir:value "EncounterServiceType" ] ];
fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
fhir:ElementDefinition.binding.description [ fhir:value "Broad categorization of the service that is to be provided." ];
fhir:ElementDefinition.binding.valueSet [
fhir:value "http://hl7.org/fhir/ValueSet/service-type";
fhir:link <http://hl7.org/fhir/ValueSet/service-type> ] ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Event.code" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "PV1-10" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [
fhir:index 27;
fhir:Element.id [ fhir:value "Encounter.priority" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.priority" ];
fhir:ElementDefinition.short [ fhir:value "Indicates the urgency of the encounter" ];
fhir:ElementDefinition.definition [ fhir:value "Indicates the urgency of the encounter." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "0" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.priority" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.binding [
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
fhir:Extension.valueString [ fhir:value "Priority" ] ];
fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
fhir:ElementDefinition.binding.description [ fhir:value "Indicates the urgency of the encounter." ];
fhir:ElementDefinition.binding.valueSet [
fhir:value "http://terminology.hl7.org/ValueSet/v3-ActPriority";
fhir:link <http://terminology.hl7.org/ValueSet/v3-ActPriority> ] ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.grade" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "PV2-25" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".priorityCode" ] ] ], [
fhir:index 28;
fhir:Element.id [ fhir:value "Encounter.subject" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.subject" ];
fhir:ElementDefinition.short [ fhir:value "The patient or group present at the encounter" ];
fhir:ElementDefinition.definition [ fhir:value "The patient or group present at the encounter." ];
fhir:ElementDefinition.comment [ fhir:value "While the encounter is always about the patient, the patient might not actually be known in all contexts of use, and there may be a group of patients that could be anonymous (such as in a group therapy for Alcoholics Anonymous - where the recording of the encounter could be used for billing on the number of people/staff and not important to the context of the specific patients) or alternately in veterinary care a herd of sheep receiving treatment (where the animals are not individually tracked)." ];
fhir:ElementDefinition.alias [
fhir:value "patient";
fhir:index 0 ];
fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.subject" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
fhir:ElementDefinition.type.targetProfile [
fhir:value "http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-patient";
fhir:index 0;
fhir:link <http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-patient> ];
fhir:ElementDefinition.type.aggregation [
fhir:value "bundled";
fhir:index 0 ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Event.subject" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.subject[x]" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "PID-3" ] ], [
fhir:index 3;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=SBJ]/role[classCode=PAT]" ] ], [
fhir:index 4;
fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.subject" ] ] ], [
fhir:index 29;
fhir:Element.id [ fhir:value "Encounter.episodeOfCare" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.episodeOfCare" ];
fhir:ElementDefinition.slicing [
fhir:ElementDefinition.slicing.discriminator [
fhir:index 0;
fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "value" ];
fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "identifier.system" ] ];
fhir:ElementDefinition.slicing.rules [ fhir:value "open" ] ];
fhir:ElementDefinition.short [ fhir:value "Episode(s) of care that this encounter should be recorded against" ];
fhir:ElementDefinition.definition [ fhir:value "Shall contain an episode of care identifier for the entire hospitalisation" ];
fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.episodeOfCare" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
fhir:ElementDefinition.type.targetProfile [
fhir:value "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare";
fhir:index 0;
fhir:link <http://hl7.org/fhir/StructureDefinition/EpisodeOfCare> ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Event.context" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.context" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "PV1-54, PV1-53" ] ], [
fhir:index 3;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [
fhir:index 30;
fhir:Element.id [ fhir:value "Encounter.episodeOfCare.id" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.episodeOfCare.id" ];
fhir:ElementDefinition.representation [
fhir:value "xmlAttr";
fhir:index 0 ];
fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
fhir:Extension.valueUrl [ fhir:value "string" ] ];
fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [
fhir:index 31;
fhir:Element.id [ fhir:value "Encounter.episodeOfCare.extension" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.episodeOfCare.extension" ];
fhir:ElementDefinition.slicing [
fhir:ElementDefinition.slicing.discriminator [
fhir:index 0;
fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "value" ];
fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "url" ] ];
fhir:ElementDefinition.slicing.description [ fhir:value "Extensions are always sliced by (at least) url" ];
fhir:ElementDefinition.slicing.rules [ fhir:value "open" ] ];
fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
fhir:ElementDefinition.definition [ fhir:value "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 manageable, 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:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
fhir:ElementDefinition.alias [
fhir:value "extensions";
fhir:index 0 ], [
fhir:value "user content";
fhir:index 1 ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [
fhir:index 1;
fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [
fhir:index 32;
fhir:Element.id [ fhir:value "Encounter.episodeOfCare.reference" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.episodeOfCare.reference" ];
fhir:ElementDefinition.short [ fhir:value "Literal reference, Relative, internal or absolute URL" ];
fhir:ElementDefinition.definition [ fhir:value "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources." ];
fhir:ElementDefinition.comment [ fhir:value "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "0" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Reference.reference" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "string" ] ];
fhir:ElementDefinition.condition [
fhir:value "ref-1";
fhir:index 0 ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [
fhir:index 33;
fhir:Element.id [ fhir:value "Encounter.episodeOfCare.type" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.episodeOfCare.type" ];
fhir:ElementDefinition.short [ fhir:value "Type the reference refers to (e.g. \"Patient\")" ];
fhir:ElementDefinition.definition [ fhir:value "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:ElementDefinition.comment [ fhir:value "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 RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Reference.type" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "uri" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.binding [
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
fhir:Extension.valueString [ fhir:value "FHIRResourceTypeExt" ] ];
fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ];
fhir:ElementDefinition.binding.description [ fhir:value "Aa resource (or, for logical models, the URI of the logical model)." ];
fhir:ElementDefinition.binding.valueSet [
fhir:value "http://hl7.org/fhir/ValueSet/resource-types";
fhir:link <http://hl7.org/fhir/ValueSet/resource-types> ] ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [
fhir:index 34;
fhir:Element.id [ fhir:value "Encounter.episodeOfCare.identifier" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.episodeOfCare.identifier" ];
fhir:ElementDefinition.short [ fhir:value "Logical reference, when literal reference is not known" ];
fhir:ElementDefinition.definition [ fhir:value "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:ElementDefinition.comment [ fhir:value "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \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)." ];
fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Reference.identifier" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Identifier" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".identifier" ] ] ], [
fhir:index 35;
fhir:Element.id [ fhir:value "Encounter.episodeOfCare.display" ];
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" ];
fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ] ];
fhir:ElementDefinition.path [ fhir:value "Encounter.episodeOfCare.display" ];
fhir:ElementDefinition.short [ fhir:value "Text alternative for the resource" ];
fhir:ElementDefinition.definition [ fhir:value "Plain text narrative that identifies the resource in addition to the resource reference." ];
fhir:ElementDefinition.comment [ fhir:value "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Reference.display" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "string" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [
fhir:index 36;
fhir:Element.id [ fhir:value "Encounter.episodeOfCare:lpr3identifier" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.episodeOfCare" ];
fhir:ElementDefinition.sliceName [ fhir:value "lpr3identifier" ];
fhir:ElementDefinition.short [ fhir:value "Episode(s) of care that this encounter should be recorded against" ];
fhir:ElementDefinition.definition [ fhir:value "Shall contain the episode of care if reported to the Danish National Patient Registry" ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.episodeOfCare" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
fhir:ElementDefinition.type.targetProfile [
fhir:value "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare";
fhir:index 0;
fhir:link <http://hl7.org/fhir/StructureDefinition/EpisodeOfCare> ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Event.context" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.context" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "PV1-54, PV1-53" ] ], [
fhir:index 3;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [
fhir:index 37;
fhir:Element.id [ fhir:value "Encounter.episodeOfCare:lpr3identifier.id" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.episodeOfCare.id" ];
fhir:ElementDefinition.representation [
fhir:value "xmlAttr";
fhir:index 0 ];
fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
fhir:Extension.valueUrl [ fhir:value "string" ] ];
fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [
fhir:index 38;
fhir:Element.id [ fhir:value "Encounter.episodeOfCare:lpr3identifier.extension" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.episodeOfCare.extension" ];
fhir:ElementDefinition.slicing [
fhir:ElementDefinition.slicing.discriminator [
fhir:index 0;
fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "value" ];
fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "url" ] ];
fhir:ElementDefinition.slicing.description [ fhir:value "Extensions are always sliced by (at least) url" ];
fhir:ElementDefinition.slicing.rules [ fhir:value "open" ] ];
fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
fhir:ElementDefinition.definition [ fhir:value "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 manageable, 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:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
fhir:ElementDefinition.alias [
fhir:value "extensions";
fhir:index 0 ], [
fhir:value "user content";
fhir:index 1 ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [
fhir:index 1;
fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [
fhir:index 39;
fhir:Element.id [ fhir:value "Encounter.episodeOfCare:lpr3identifier.reference" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.episodeOfCare.reference" ];
fhir:ElementDefinition.short [ fhir:value "Literal reference, Relative, internal or absolute URL" ];
fhir:ElementDefinition.definition [ fhir:value "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources." ];
fhir:ElementDefinition.comment [ fhir:value "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "0" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Reference.reference" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "string" ] ];
fhir:ElementDefinition.condition [
fhir:value "ref-1";
fhir:index 0 ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [
fhir:index 40;
fhir:Element.id [ fhir:value "Encounter.episodeOfCare:lpr3identifier.type" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.episodeOfCare.type" ];
fhir:ElementDefinition.short [ fhir:value "Type the reference refers to (e.g. \"Patient\")" ];
fhir:ElementDefinition.definition [ fhir:value "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:ElementDefinition.comment [ fhir:value "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 RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Reference.type" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "uri" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.binding [
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
fhir:Extension.valueString [ fhir:value "FHIRResourceTypeExt" ] ];
fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ];
fhir:ElementDefinition.binding.description [ fhir:value "Aa resource (or, for logical models, the URI of the logical model)." ];
fhir:ElementDefinition.binding.valueSet [
fhir:value "http://hl7.org/fhir/ValueSet/resource-types";
fhir:link <http://hl7.org/fhir/ValueSet/resource-types> ] ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [
fhir:index 41;
fhir:Element.id [ fhir:value "Encounter.episodeOfCare:lpr3identifier.identifier" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.episodeOfCare.identifier" ];
fhir:ElementDefinition.short [ fhir:value "An identifier intended for computation" ];
fhir:ElementDefinition.definition [ fhir:value "Shall contain the id of the episode of care reported to the Danish National Patient Registry if known" ];
fhir:ElementDefinition.comment [ fhir:value "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \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)." ];
fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Reference.identifier" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Identifier" ];
fhir:ElementDefinition.type.profile [
fhir:value "http://medcomfhir.dk/ig/core/StructureDefinition/lpr3-Identifier";
fhir:index 0;
fhir:link <http://medcomfhir.dk/ig/core/StructureDefinition/lpr3-Identifier> ] ];
fhir:ElementDefinition.condition [
fhir:value "ele-1";
fhir:index 0 ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "CX / EI (occasionally, more often EI maps to a resource id or a URL)" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]" ] ], [
fhir:index 3;
fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Identifier" ] ] ], [
fhir:index 42;
fhir:Element.id [ fhir:value "Encounter.episodeOfCare:lpr3identifier.display" ];
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" ];
fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ] ];
fhir:ElementDefinition.path [ fhir:value "Encounter.episodeOfCare.display" ];
fhir:ElementDefinition.short [ fhir:value "Text alternative for the resource" ];
fhir:ElementDefinition.definition [ fhir:value "Plain text narrative that identifies the resource in addition to the resource reference." ];
fhir:ElementDefinition.comment [ fhir:value "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Reference.display" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "string" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [
fhir:index 43;
fhir:Element.id [ fhir:value "Encounter.basedOn" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.basedOn" ];
fhir:ElementDefinition.short [ fhir:value "The ServiceRequest that initiated this encounter" ];
fhir:ElementDefinition.definition [ fhir:value "The request this encounter satisfies (e.g. incoming referral or procedure request)." ];
fhir:ElementDefinition.alias [
fhir:value "incomingReferral";
fhir:index 0 ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "0" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.basedOn" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
fhir:ElementDefinition.type.targetProfile [
fhir:value "http://hl7.org/fhir/StructureDefinition/ServiceRequest";
fhir:index 0;
fhir:link <http://hl7.org/fhir/StructureDefinition/ServiceRequest> ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Event.basedOn" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".reason.ClinicalDocument" ] ] ], [
fhir:index 44;
fhir:Element.id [ fhir:value "Encounter.participant" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.participant" ];
fhir:ElementDefinition.short [ fhir:value "List of participants involved in the encounter" ];
fhir:ElementDefinition.definition [ fhir:value "The list of people responsible for providing the service." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "0" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.participant" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Event.performer" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "ROL" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=PFM]" ] ] ], [
fhir:index 45;
fhir:Element.id [ fhir:value "Encounter.participant.id" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.participant.id" ];
fhir:ElementDefinition.representation [
fhir:value "xmlAttr";
fhir:index 0 ];
fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
fhir:Extension.valueUrl [ fhir:value "string" ] ];
fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [
fhir:index 46;
fhir:Element.id [ fhir:value "Encounter.participant.extension" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.participant.extension" ];
fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
fhir:ElementDefinition.definition [ fhir:value "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 manageable, 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:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
fhir:ElementDefinition.alias [
fhir:value "extensions";
fhir:index 0 ], [
fhir:value "user content";
fhir:index 1 ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [
fhir:index 1;
fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [
fhir:index 47;
fhir:Element.id [ fhir:value "Encounter.participant.modifierExtension" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.participant.modifierExtension" ];
fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ];
fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element 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 manageable, 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:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
fhir:ElementDefinition.requirements [ fhir:value "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/R4/extensibility.html#modifierExtension)." ];
fhir:ElementDefinition.alias [
fhir:value "extensions";
fhir:index 0 ], [
fhir:value "user content";
fhir:index 1 ], [
fhir:value "modifiers";
fhir:index 2 ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [
fhir:index 1;
fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [
fhir:index 48;
fhir:Element.id [ fhir:value "Encounter.participant.type" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.participant.type" ];
fhir:ElementDefinition.short [ fhir:value "Role of participant in encounter" ];
fhir:ElementDefinition.definition [ fhir:value "Role of participant in encounter." ];
fhir:ElementDefinition.comment [ fhir:value "The participant type indicates how an individual participates in an encounter. It includes non-practitioner participants, and for practitioners this is to describe the action type in the context of this encounter (e.g. Admitting Dr, Attending Dr, Translator, Consulting Dr). This is different to the practitioner roles which are functional roles, derived from terms of employment, education, licensing, etc." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.participant.type" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.binding [
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
fhir:Extension.valueString [ fhir:value "ParticipantType" ] ];
fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ];
fhir:ElementDefinition.binding.description [ fhir:value "Role of participant in encounter." ];
fhir:ElementDefinition.binding.valueSet [
fhir:value "http://hl7.org/fhir/ValueSet/encounter-participant-type";
fhir:link <http://hl7.org/fhir/ValueSet/encounter-participant-type> ] ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Event.performer.function" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "ROL-3 (or maybe PRT-4)" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".functionCode" ] ] ], [
fhir:index 49;
fhir:Element.id [ fhir:value "Encounter.participant.period" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.participant.period" ];
fhir:ElementDefinition.short [ fhir:value "Period of time during the encounter that the participant participated" ];
fhir:ElementDefinition.definition [ fhir:value "The period of time that the specified participant participated in the encounter. These can overlap or be sub-sets of the overall encounter's period." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.participant.period" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Period" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "ROL-5, ROL-6 (or maybe PRT-5)" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".time" ] ] ], [
fhir:index 50;
fhir:Element.id [ fhir:value "Encounter.participant.individual" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.participant.individual" ];
fhir:ElementDefinition.short [ fhir:value "Persons involved in the encounter other than the patient" ];
fhir:ElementDefinition.definition [ fhir:value "Persons involved in the encounter other than the patient." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.participant.individual" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
fhir:ElementDefinition.type.targetProfile [
fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner";
fhir:index 0;
fhir:link <http://hl7.org/fhir/StructureDefinition/Practitioner> ], [
fhir:value "http://hl7.org/fhir/StructureDefinition/PractitionerRole";
fhir:index 1;
fhir:link <http://hl7.org/fhir/StructureDefinition/PractitionerRole> ], [
fhir:value "http://hl7.org/fhir/StructureDefinition/RelatedPerson";
fhir:index 2;
fhir:link <http://hl7.org/fhir/StructureDefinition/RelatedPerson> ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Event.performer.actor" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.who" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "ROL-4" ] ], [
fhir:index 3;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".role" ] ] ], [
fhir:index 51;
fhir:Element.id [ fhir:value "Encounter.appointment" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.appointment" ];
fhir:ElementDefinition.short [ fhir:value "The appointment that scheduled this encounter" ];
fhir:ElementDefinition.definition [ fhir:value "The appointment that scheduled this encounter." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "0" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.appointment" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
fhir:ElementDefinition.type.targetProfile [
fhir:value "http://hl7.org/fhir/StructureDefinition/Appointment";
fhir:index 0;
fhir:link <http://hl7.org/fhir/StructureDefinition/Appointment> ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Event.basedOn" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "SCH-1 / SCH-2" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=FLFS].target[classCode=ENC, moodCode=APT]" ] ] ], [
fhir:index 52;
fhir:Element.id [ fhir:value "Encounter.period" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.period" ];
fhir:ElementDefinition.short [ fhir:value "The start and end time of the encounter" ];
fhir:ElementDefinition.definition [ fhir:value "The start and end time of the encounter. For notification of hospitalisation an start interval is always known as the notification of adminssion is trigged by the arrival of a patient. There a period will always exist as the notification of admission always starts the communication flow. Please that the encounter.period values always referes to the encounter start and end. The period of the leave of absence is not part of the notification of hospitalization FHIR resource ." ];
fhir:ElementDefinition.comment [ fhir:value "If not (yet) known, the end of the Period may be omitted." ];
fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.period" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Period" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Event.occurrence[x]" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.done[x]" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "PV1-44, PV1-45" ] ], [
fhir:index 3;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".effectiveTime (low & high)" ] ] ], [
fhir:index 53;
fhir:Element.id [ fhir:value "Encounter.period.id" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.period.id" ];
fhir:ElementDefinition.representation [
fhir:value "xmlAttr";
fhir:index 0 ];
fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
fhir:Extension.valueUrl [ fhir:value "string" ] ];
fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [
fhir:index 54;
fhir:Element.id [ fhir:value "Encounter.period.extension" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.period.extension" ];
fhir:ElementDefinition.slicing [
fhir:ElementDefinition.slicing.discriminator [
fhir:index 0;
fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "value" ];
fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "url" ] ];
fhir:ElementDefinition.slicing.description [ fhir:value "Extensions are always sliced by (at least) url" ];
fhir:ElementDefinition.slicing.rules [ fhir:value "open" ] ];
fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
fhir:ElementDefinition.definition [ fhir:value "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 manageable, 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:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
fhir:ElementDefinition.alias [
fhir:value "extensions";
fhir:index 0 ], [
fhir:value "user content";
fhir:index 1 ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [
fhir:index 1;
fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [
fhir:index 55;
fhir:Element.id [ fhir:value "Encounter.period.start" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.period.start" ];
fhir:ElementDefinition.short [ fhir:value "Encounter start time." ];
fhir:ElementDefinition.definition [ fhir:value "In HospitalNotification a start time is the timestamp that is registered by the hospital at patient physical attendance at the hospital." ];
fhir:ElementDefinition.comment [ fhir:value "If the low element is missing, the meaning is that the low boundary is not known." ];
fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Period.start" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "dateTime" ] ];
fhir:ElementDefinition.condition [
fhir:value "per-1";
fhir:index 0 ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "DR.1" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "./low" ] ] ], [
fhir:index 56;
fhir:Element.id [ fhir:value "Encounter.period.end" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.period.end" ];
fhir:ElementDefinition.short [ fhir:value "Encounter end time." ];
fhir:ElementDefinition.definition [ fhir:value "In HospitalNotification a end time is the timestamp that is registered by the hospital when the patient leaves the hospital after discharge." ];
fhir:ElementDefinition.comment [ fhir:value "The high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has an end value of 2012-02-03." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Period.end" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "dateTime" ] ];
fhir:ElementDefinition.meaningWhenMissing [ fhir:value "If the end of the period is missing, it means that the period is ongoing" ];
fhir:ElementDefinition.condition [
fhir:value "per-1";
fhir:index 0 ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "DR.2" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "./high" ] ] ], [
fhir:index 57;
fhir:Element.id [ fhir:value "Encounter.length" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.length" ];
fhir:ElementDefinition.short [ fhir:value "Quantity of time the encounter lasted (less time absent)" ];
fhir:ElementDefinition.definition [ fhir:value "Quantity of time the encounter lasted. This excludes the time during leaves of absence." ];
fhir:ElementDefinition.comment [ fhir:value "May differ from the time the Encounter.period lasted because of leave of absence." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "0" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.length" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Duration" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Event.occurrence[x]" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "(PV1-45 less PV1-44) iff ( (PV1-44 not empty) and (PV1-45 not empty) ); units in minutes" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".lengthOfStayQuantity" ] ] ], [
fhir:index 58;
fhir:Element.id [ fhir:value "Encounter.reasonCode" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.reasonCode" ];
fhir:ElementDefinition.short [ fhir:value "Coded reason the encounter takes place" ];
fhir:ElementDefinition.definition [ fhir:value "Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis." ];
fhir:ElementDefinition.comment [ fhir:value "For systems that need to know which was the primary diagnosis, these will be marked with the standard extension primaryDiagnosis (which is a sequence value rather than a flag, 1 = primary diagnosis)." ];
fhir:ElementDefinition.alias [
fhir:value "Indication";
fhir:index 0 ], [
fhir:value "Admission diagnosis";
fhir:index 1 ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "0" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.reasonCode" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.binding [
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
fhir:Extension.valueString [ fhir:value "EncounterReason" ] ];
fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ];
fhir:ElementDefinition.binding.description [ fhir:value "Reason why the encounter takes place." ];
fhir:ElementDefinition.binding.valueSet [
fhir:value "http://hl7.org/fhir/ValueSet/encounter-reason";
fhir:link <http://hl7.org/fhir/ValueSet/encounter-reason> ] ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Event.reasonCode" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.why[x]" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "EVN-4 / PV2-3 (note: PV2-3 is nominally constrained to inpatient admissions; HL7 v2 makes no vocabulary suggestions for PV2-3; would not expect PV2 segment or PV2-3 to be in use in all implementations )" ] ], [
fhir:index 3;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".reasonCode" ] ] ], [
fhir:index 59;
fhir:Element.id [ fhir:value "Encounter.reasonReference" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.reasonReference" ];
fhir:ElementDefinition.short [ fhir:value "Reason the encounter takes place (reference)" ];
fhir:ElementDefinition.definition [ fhir:value "Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis." ];
fhir:ElementDefinition.comment [ fhir:value "For systems that need to know which was the primary diagnosis, these will be marked with the standard extension primaryDiagnosis (which is a sequence value rather than a flag, 1 = primary diagnosis)." ];
fhir:ElementDefinition.alias [
fhir:value "Indication";
fhir:index 0 ], [
fhir:value "Admission diagnosis";
fhir:index 1 ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "0" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.reasonReference" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
fhir:ElementDefinition.type.targetProfile [
fhir:value "http://hl7.org/fhir/StructureDefinition/Condition";
fhir:index 0;
fhir:link <http://hl7.org/fhir/StructureDefinition/Condition> ], [
fhir:value "http://hl7.org/fhir/StructureDefinition/Procedure";
fhir:index 1;
fhir:link <http://hl7.org/fhir/StructureDefinition/Procedure> ], [
fhir:value "http://hl7.org/fhir/StructureDefinition/Observation";
fhir:index 2;
fhir:link <http://hl7.org/fhir/StructureDefinition/Observation> ], [
fhir:value "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation";
fhir:index 3;
fhir:link <http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation> ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Event.reasonCode" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.why[x]" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "EVN-4 / PV2-3 (note: PV2-3 is nominally constrained to inpatient admissions; HL7 v2 makes no vocabulary suggestions for PV2-3; would not expect PV2 segment or PV2-3 to be in use in all implementations )" ] ], [
fhir:index 3;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".reasonCode" ] ] ], [
fhir:index 60;
fhir:Element.id [ fhir:value "Encounter.diagnosis" ];
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ];
fhir:Extension.valueString [ fhir:value "Diagnosis" ] ];
fhir:ElementDefinition.path [ fhir:value "Encounter.diagnosis" ];
fhir:ElementDefinition.short [ fhir:value "The list of diagnosis relevant to this encounter" ];
fhir:ElementDefinition.definition [ fhir:value "The list of diagnosis relevant to this encounter." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "0" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.diagnosis" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=RSON]" ] ] ], [
fhir:index 61;
fhir:Element.id [ fhir:value "Encounter.diagnosis.id" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.diagnosis.id" ];
fhir:ElementDefinition.representation [
fhir:value "xmlAttr";
fhir:index 0 ];
fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
fhir:Extension.valueUrl [ fhir:value "string" ] ];
fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [
fhir:index 62;
fhir:Element.id [ fhir:value "Encounter.diagnosis.extension" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.diagnosis.extension" ];
fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
fhir:ElementDefinition.definition [ fhir:value "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 manageable, 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:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
fhir:ElementDefinition.alias [
fhir:value "extensions";
fhir:index 0 ], [
fhir:value "user content";
fhir:index 1 ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [
fhir:index 1;
fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [
fhir:index 63;
fhir:Element.id [ fhir:value "Encounter.diagnosis.modifierExtension" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.diagnosis.modifierExtension" ];
fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ];
fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element 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 manageable, 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:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
fhir:ElementDefinition.requirements [ fhir:value "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/R4/extensibility.html#modifierExtension)." ];
fhir:ElementDefinition.alias [
fhir:value "extensions";
fhir:index 0 ], [
fhir:value "user content";
fhir:index 1 ], [
fhir:value "modifiers";
fhir:index 2 ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [
fhir:index 1;
fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [
fhir:index 64;
fhir:Element.id [ fhir:value "Encounter.diagnosis.condition" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.diagnosis.condition" ];
fhir:ElementDefinition.short [ fhir:value "The diagnosis or procedure relevant to the encounter" ];
fhir:ElementDefinition.definition [ fhir:value "Reason the encounter takes place, as specified using information from another resource. For admissions, this is the admission diagnosis. The indication will typically be a Condition (with other resources referenced in the evidence.detail), or a Procedure." ];
fhir:ElementDefinition.comment [ fhir:value "For systems that need to know which was the primary diagnosis, these will be marked with the standard extension primaryDiagnosis (which is a sequence value rather than a flag, 1 = primary diagnosis)." ];
fhir:ElementDefinition.alias [
fhir:value "Admission diagnosis";
fhir:index 0 ], [
fhir:value "discharge diagnosis";
fhir:index 1 ], [
fhir:value "indication";
fhir:index 2 ];
fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.diagnosis.condition" ];
fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
fhir:ElementDefinition.type.targetProfile [
fhir:value "http://hl7.org/fhir/StructureDefinition/Condition";
fhir:index 0;
fhir:link <http://hl7.org/fhir/StructureDefinition/Condition> ], [
fhir:value "http://hl7.org/fhir/StructureDefinition/Procedure";
fhir:index 1;
fhir:link <http://hl7.org/fhir/StructureDefinition/Procedure> ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Event.reasonReference" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.why[x]" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Resources that would commonly referenced at Encounter.indication would be Condition and/or Procedure. These most closely align with DG1/PRB and PR1 respectively." ] ], [
fhir:index 3;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=RSON].target" ] ] ], [
fhir:index 65;
fhir:Element.id [ fhir:value "Encounter.diagnosis.use" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.diagnosis.use" ];
fhir:ElementDefinition.short [ fhir:value "Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …)" ];
fhir:ElementDefinition.definition [ fhir:value "Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …)." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.diagnosis.use" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.binding [
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
fhir:Extension.valueString [ fhir:value "DiagnosisRole" ] ], [
fhir:index 1;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ];
fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ] ];
fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ];
fhir:ElementDefinition.binding.description [ fhir:value "The type of diagnosis this condition represents." ];
fhir:ElementDefinition.binding.valueSet [
fhir:value "http://hl7.org/fhir/ValueSet/diagnosis-role";
fhir:link <http://hl7.org/fhir/ValueSet/diagnosis-role> ] ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [
fhir:index 66;
fhir:Element.id [ fhir:value "Encounter.diagnosis.rank" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.diagnosis.rank" ];
fhir:ElementDefinition.short [ fhir:value "Ranking of the diagnosis (for each role type)" ];
fhir:ElementDefinition.definition [ fhir:value "Ranking of the diagnosis (for each role type)." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.diagnosis.rank" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "positiveInt" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=RSON].priority" ] ] ], [
fhir:index 67;
fhir:Element.id [ fhir:value "Encounter.account" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.account" ];
fhir:ElementDefinition.short [ fhir:value "The set of accounts that may be used for billing for this Encounter" ];
fhir:ElementDefinition.definition [ fhir:value "The set of accounts and issurance information that may be used for billing for this Encounter. The account element shall not be used in NotificationOfHospitalStayEncounter" ];
fhir:ElementDefinition.comment [ fhir:value "The billing system may choose to allocate billable items associated with the Encounter to different referenced Accounts based on internal business rules." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "0" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.account" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
fhir:ElementDefinition.type.targetProfile [
fhir:value "http://hl7.org/fhir/StructureDefinition/Account";
fhir:index 0;
fhir:link <http://hl7.org/fhir/StructureDefinition/Account> ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".pertains.A_Account" ] ] ], [
fhir:index 68;
fhir:Element.id [ fhir:value "Encounter.hospitalization" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.hospitalization" ];
fhir:ElementDefinition.short [ fhir:value "Details about the admission to a healthcare service" ];
fhir:ElementDefinition.definition [ fhir:value "Details about the admission to a healthcare service." ];
fhir:ElementDefinition.comment [ fhir:value "An Encounter may cover more than just the inpatient stay. Contexts such as outpatients, community clinics, and aged care facilities are also included.\r\rThe duration recorded in the period of this encounter covers the entire scope of this hospitalization record." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "0" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.hospitalization" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=COMP].target[classCode=ENC, moodCode=EVN]" ] ] ], [
fhir:index 69;
fhir:Element.id [ fhir:value "Encounter.hospitalization.id" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.hospitalization.id" ];
fhir:ElementDefinition.representation [
fhir:value "xmlAttr";
fhir:index 0 ];
fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
fhir:Extension.valueUrl [ fhir:value "string" ] ];
fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [
fhir:index 70;
fhir:Element.id [ fhir:value "Encounter.hospitalization.extension" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.hospitalization.extension" ];
fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
fhir:ElementDefinition.definition [ fhir:value "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 manageable, 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:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
fhir:ElementDefinition.alias [
fhir:value "extensions";
fhir:index 0 ], [
fhir:value "user content";
fhir:index 1 ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [
fhir:index 1;
fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [
fhir:index 71;
fhir:Element.id [ fhir:value "Encounter.hospitalization.modifierExtension" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.hospitalization.modifierExtension" ];
fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ];
fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element 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 manageable, 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:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
fhir:ElementDefinition.requirements [ fhir:value "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/R4/extensibility.html#modifierExtension)." ];
fhir:ElementDefinition.alias [
fhir:value "extensions";
fhir:index 0 ], [
fhir:value "user content";
fhir:index 1 ], [
fhir:value "modifiers";
fhir:index 2 ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [
fhir:index 1;
fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [
fhir:index 72;
fhir:Element.id [ fhir:value "Encounter.hospitalization.preAdmissionIdentifier" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.hospitalization.preAdmissionIdentifier" ];
fhir:ElementDefinition.short [ fhir:value "Pre-admission identifier" ];
fhir:ElementDefinition.definition [ fhir:value "Pre-admission identifier." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.hospitalization.preAdmissionIdentifier" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Identifier" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "PV1-5" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".id" ] ] ], [
fhir:index 73;
fhir:Element.id [ fhir:value "Encounter.hospitalization.origin" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.hospitalization.origin" ];
fhir:ElementDefinition.short [ fhir:value "The location/organization from which the patient came before admission" ];
fhir:ElementDefinition.definition [ fhir:value "The location/organization from which the patient came before admission." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.hospitalization.origin" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
fhir:ElementDefinition.type.targetProfile [
fhir:value "http://hl7.org/fhir/StructureDefinition/Location";
fhir:index 0;
fhir:link <http://hl7.org/fhir/StructureDefinition/Location> ], [
fhir:value "http://hl7.org/fhir/StructureDefinition/Organization";
fhir:index 1;
fhir:link <http://hl7.org/fhir/StructureDefinition/Organization> ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=ORG].role" ] ] ], [
fhir:index 74;
fhir:Element.id [ fhir:value "Encounter.hospitalization.admitSource" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.hospitalization.admitSource" ];
fhir:ElementDefinition.short [ fhir:value "From where patient was admitted (physician referral, transfer)" ];
fhir:ElementDefinition.definition [ fhir:value "From where patient was admitted (physician referral, transfer)." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.hospitalization.admitSource" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.binding [
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
fhir:Extension.valueString [ fhir:value "AdmitSource" ] ];
fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ];
fhir:ElementDefinition.binding.description [ fhir:value "From where the patient was admitted." ];
fhir:ElementDefinition.binding.valueSet [
fhir:value "http://hl7.org/fhir/ValueSet/encounter-admit-source";
fhir:link <http://hl7.org/fhir/ValueSet/encounter-admit-source> ] ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "PV1-14" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".admissionReferralSourceCode" ] ] ], [
fhir:index 75;
fhir:Element.id [ fhir:value "Encounter.hospitalization.reAdmission" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.hospitalization.reAdmission" ];
fhir:ElementDefinition.short [ fhir:value "The type of hospital re-admission that has occurred (if any). If the value is absent, then this is not identified as a readmission" ];
fhir:ElementDefinition.definition [ fhir:value "Whether this hospitalization is a readmission and why if known." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.hospitalization.reAdmission" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.binding [
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
fhir:Extension.valueString [ fhir:value "ReAdmissionType" ] ];
fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
fhir:ElementDefinition.binding.description [ fhir:value "The reason for re-admission of this hospitalization encounter." ];
fhir:ElementDefinition.binding.valueSet [
fhir:value "http://terminology.hl7.org/ValueSet/v2-0092";
fhir:link <http://terminology.hl7.org/ValueSet/v2-0092> ] ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "PV1-13" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [
fhir:index 76;
fhir:Element.id [ fhir:value "Encounter.hospitalization.dietPreference" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.hospitalization.dietPreference" ];
fhir:ElementDefinition.short [ fhir:value "Diet preferences reported by the patient" ];
fhir:ElementDefinition.definition [ fhir:value "Diet preferences reported by the patient." ];
fhir:ElementDefinition.comment [ fhir:value "For example, a patient may request both a dairy-free and nut-free diet preference (not mutually exclusive)." ];
fhir:ElementDefinition.requirements [ fhir:value "Used to track patient's diet restrictions and/or preference. For a complete description of the nutrition needs of a patient during their stay, one should use the nutritionOrder resource which links to Encounter." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.hospitalization.dietPreference" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.binding [
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
fhir:Extension.valueString [ fhir:value "PatientDiet" ] ];
fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
fhir:ElementDefinition.binding.description [ fhir:value "Medical, cultural or ethical food preferences to help with catering requirements." ];
fhir:ElementDefinition.binding.valueSet [
fhir:value "http://hl7.org/fhir/ValueSet/encounter-diet";
fhir:link <http://hl7.org/fhir/ValueSet/encounter-diet> ] ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "PV1-38" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=COMP].target[classCode=SBADM, moodCode=EVN, code=\"diet\"]" ] ] ], [
fhir:index 77;
fhir:Element.id [ fhir:value "Encounter.hospitalization.specialCourtesy" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.hospitalization.specialCourtesy" ];
fhir:ElementDefinition.short [ fhir:value "Special courtesies (VIP, board member)" ];
fhir:ElementDefinition.definition [ fhir:value "Special courtesies (VIP, board member)." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.hospitalization.specialCourtesy" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.binding [
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
fhir:Extension.valueString [ fhir:value "Courtesies" ] ];
fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ];
fhir:ElementDefinition.binding.description [ fhir:value "Special courtesies." ];
fhir:ElementDefinition.binding.valueSet [
fhir:value "http://hl7.org/fhir/ValueSet/encounter-special-courtesy";
fhir:link <http://hl7.org/fhir/ValueSet/encounter-special-courtesy> ] ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "PV1-16" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".specialCourtesiesCode" ] ] ], [
fhir:index 78;
fhir:Element.id [ fhir:value "Encounter.hospitalization.specialArrangement" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.hospitalization.specialArrangement" ];
fhir:ElementDefinition.short [ fhir:value "Wheelchair, translator, stretcher, etc." ];
fhir:ElementDefinition.definition [ fhir:value "Any special requests that have been made for this hospitalization encounter, such as the provision of specific equipment or other things." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.hospitalization.specialArrangement" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.binding [
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
fhir:Extension.valueString [ fhir:value "Arrangements" ] ];
fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ];
fhir:ElementDefinition.binding.description [ fhir:value "Special arrangements." ];
fhir:ElementDefinition.binding.valueSet [
fhir:value "http://hl7.org/fhir/ValueSet/encounter-special-arrangements";
fhir:link <http://hl7.org/fhir/ValueSet/encounter-special-arrangements> ] ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "PV1-15 / OBR-30 / OBR-43" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".specialArrangementCode" ] ] ], [
fhir:index 79;
fhir:Element.id [ fhir:value "Encounter.hospitalization.destination" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.hospitalization.destination" ];
fhir:ElementDefinition.short [ fhir:value "Location/organization to which the patient is discharged" ];
fhir:ElementDefinition.definition [ fhir:value "Location/organization to which the patient is discharged." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.hospitalization.destination" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
fhir:ElementDefinition.type.targetProfile [
fhir:value "http://hl7.org/fhir/StructureDefinition/Location";
fhir:index 0;
fhir:link <http://hl7.org/fhir/StructureDefinition/Location> ], [
fhir:value "http://hl7.org/fhir/StructureDefinition/Organization";
fhir:index 1;
fhir:link <http://hl7.org/fhir/StructureDefinition/Organization> ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "PV1-37" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=DST]" ] ] ], [
fhir:index 80;
fhir:Element.id [ fhir:value "Encounter.hospitalization.dischargeDisposition" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.hospitalization.dischargeDisposition" ];
fhir:ElementDefinition.short [ fhir:value "Category or kind of location after discharge" ];
fhir:ElementDefinition.definition [ fhir:value "Category or kind of location after discharge." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.hospitalization.dischargeDisposition" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.binding [
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
fhir:Extension.valueString [ fhir:value "DischargeDisp" ] ];
fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
fhir:ElementDefinition.binding.description [ fhir:value "Discharge Disposition." ];
fhir:ElementDefinition.binding.valueSet [
fhir:value "http://hl7.org/fhir/ValueSet/encounter-discharge-disposition";
fhir:link <http://hl7.org/fhir/ValueSet/encounter-discharge-disposition> ] ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "PV1-36" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".dischargeDispositionCode" ] ] ], [
fhir:index 81;
fhir:Element.id [ fhir:value "Encounter.location" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.location" ];
fhir:ElementDefinition.short [ fhir:value "List of locations where the patient has been" ];
fhir:ElementDefinition.definition [ fhir:value "List of locations where the patient has been during this encounter." ];
fhir:ElementDefinition.comment [ fhir:value "Virtual encounters can be recorded in the Encounter by specifying a location reference to a location of type \"kind\" such as \"client's home\" and an encounter.class = \"virtual\"." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "0" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.location" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=LOC]" ] ] ], [
fhir:index 82;
fhir:Element.id [ fhir:value "Encounter.location.id" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.location.id" ];
fhir:ElementDefinition.representation [
fhir:value "xmlAttr";
fhir:index 0 ];
fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
fhir:Extension.valueUrl [ fhir:value "string" ] ];
fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [
fhir:index 83;
fhir:Element.id [ fhir:value "Encounter.location.extension" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.location.extension" ];
fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
fhir:ElementDefinition.definition [ fhir:value "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 manageable, 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:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
fhir:ElementDefinition.alias [
fhir:value "extensions";
fhir:index 0 ], [
fhir:value "user content";
fhir:index 1 ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [
fhir:index 1;
fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [
fhir:index 84;
fhir:Element.id [ fhir:value "Encounter.location.modifierExtension" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.location.modifierExtension" ];
fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ];
fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element 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 manageable, 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:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
fhir:ElementDefinition.requirements [ fhir:value "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/R4/extensibility.html#modifierExtension)." ];
fhir:ElementDefinition.alias [
fhir:value "extensions";
fhir:index 0 ], [
fhir:value "user content";
fhir:index 1 ], [
fhir:value "modifiers";
fhir:index 2 ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [
fhir:index 1;
fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [
fhir:index 85;
fhir:Element.id [ fhir:value "Encounter.location.location" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.location.location" ];
fhir:ElementDefinition.short [ fhir:value "Location the encounter takes place" ];
fhir:ElementDefinition.definition [ fhir:value "The location where the encounter takes place." ];
fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.location.location" ];
fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
fhir:ElementDefinition.type.targetProfile [
fhir:value "http://hl7.org/fhir/StructureDefinition/Location";
fhir:index 0;
fhir:link <http://hl7.org/fhir/StructureDefinition/Location> ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Event.location" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.where[x]" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "PV1-3 / PV1-6 / PV1-11 / PV1-42 / PV1-43" ] ], [
fhir:index 3;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".role" ] ] ], [
fhir:index 86;
fhir:Element.id [ fhir:value "Encounter.location.status" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.location.status" ];
fhir:ElementDefinition.short [ fhir:value "planned | active | reserved | completed" ];
fhir:ElementDefinition.definition [ fhir:value "The status of the participants' presence at the specified location during the period specified. If the participant is no longer at the location, then the period will have an end date/time." ];
fhir:ElementDefinition.comment [ fhir:value "When the patient is no longer active at a location, then the period end date is entered, and the status may be changed to completed." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.location.status" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "code" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.binding [
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
fhir:Extension.valueString [ fhir:value "EncounterLocationStatus" ] ];
fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
fhir:ElementDefinition.binding.description [ fhir:value "The status of the location." ];
fhir:ElementDefinition.binding.valueSet [
fhir:value "http://hl7.org/fhir/ValueSet/encounter-location-status|4.0.1";
fhir:link <http://hl7.org/fhir/ValueSet/encounter-location-status|4.0.1> ] ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".role.statusCode" ] ] ], [
fhir:index 87;
fhir:Element.id [ fhir:value "Encounter.location.physicalType" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.location.physicalType" ];
fhir:ElementDefinition.short [ fhir:value "The physical type of the location (usually the level in the location hierachy - bed room ward etc.)" ];
fhir:ElementDefinition.definition [ fhir:value "This will be used to specify the required levels (bed/ward/room/etc.) desired to be recorded to simplify either messaging or query." ];
fhir:ElementDefinition.comment [ fhir:value "This information is de-normalized from the Location resource to support the easier understanding of the encounter resource and processing in messaging or query.\n\nThere may be many levels in the hierachy, and this may only pic specific levels that are required for a specific usage scenario." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.location.physicalType" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.binding [
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
fhir:Extension.valueString [ fhir:value "PhysicalType" ] ];
fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
fhir:ElementDefinition.binding.description [ fhir:value "Physical form of the location." ];
fhir:ElementDefinition.binding.valueSet [
fhir:value "http://hl7.org/fhir/ValueSet/location-physical-type";
fhir:link <http://hl7.org/fhir/ValueSet/location-physical-type> ] ] ], [
fhir:index 88;
fhir:Element.id [ fhir:value "Encounter.location.period" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.location.period" ];
fhir:ElementDefinition.short [ fhir:value "Time period during which the patient was present at the location" ];
fhir:ElementDefinition.definition [ fhir:value "Time period during which the patient was present at the location." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.location.period" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Period" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".time" ] ] ], [
fhir:index 89;
fhir:Element.id [ fhir:value "Encounter.serviceProvider" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.serviceProvider" ];
fhir:ElementDefinition.short [ fhir:value "The organization (facility) responsible for this encounter" ];
fhir:ElementDefinition.definition [ fhir:value "The organization that is primarily responsible for this Encounter's services. This MAY be the same as the organization on the Patient record, however it could be different, such as if the actor performing the services was from an external organization (which may be billed seperately) for an external consultation. Refer to the example bundle showing an abbreviated set of Encounters for a colonoscopy." ];
fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.serviceProvider" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
fhir:ElementDefinition.type.targetProfile [
fhir:value "http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-organization";
fhir:index 0;
fhir:link <http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-organization> ];
fhir:ElementDefinition.type.aggregation [
fhir:value "bundled";
fhir:index 0 ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Event.performer.actor" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "PL.6 & PL.1" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".particiaption[typeCode=PFM].role" ] ] ], [
fhir:index 90;
fhir:Element.id [ fhir:value "Encounter.partOf" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.partOf" ];
fhir:ElementDefinition.short [ fhir:value "Another Encounter this encounter is part of" ];
fhir:ElementDefinition.definition [ fhir:value "Another Encounter of which this encounter is a part of (administratively or in time)." ];
fhir:ElementDefinition.comment [ fhir:value "This is also used for associating a child's encounter back to the mother's encounter.\r\rRefer to the Notes section in the Patient resource for further details." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "0" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Encounter.partOf" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy" ];
fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ] ];
fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
fhir:ElementDefinition.type.targetProfile [
fhir:value "http://hl7.org/fhir/StructureDefinition/Encounter";
fhir:index 0;
fhir:link <http://hl7.org/fhir/StructureDefinition/Encounter> ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Event.partOf" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".inboundRelationship[typeCode=COMP].source[classCode=COMP, moodCode=EVN]" ] ] ]
]; #
fhir:StructureDefinition.differential [
fhir:StructureDefinition.differential.element [
fhir:index 0;
fhir:Element.id [ fhir:value "Encounter" ];
fhir:ElementDefinition.path [ fhir:value "Encounter" ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "medcom-hospitalNotification-6" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "When the status = 'onleave', the timestamp for beginning of a leave (extension.valuePeriod.start) shall be present." ];
fhir:ElementDefinition.constraint.expression [ fhir:value "where(status = 'onleave').extension.value.start.exists() or status != 'onleave'" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-hospitalNotification-encounter";
fhir:link <http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-hospitalNotification-encounter> ] ] ], [
fhir:index 1;
fhir:Element.id [ fhir:value "Encounter.extension" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.extension" ];
fhir:ElementDefinition.slicing [
fhir:ElementDefinition.slicing.discriminator [
fhir:index 0;
fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "value" ];
fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "url" ] ];
fhir:ElementDefinition.slicing.ordered [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.slicing.rules [ fhir:value "open" ] ] ], [
fhir:index 2;
fhir:Element.id [ fhir:value "Encounter.extension:leavePeriod" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.extension" ];
fhir:ElementDefinition.sliceName [ fhir:value "leavePeriod" ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Extension" ];
fhir:ElementDefinition.type.profile [
fhir:value "http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-hospitalnotifiation-leave-period-extension";
fhir:index 0;
fhir:link <http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-hospitalnotifiation-leave-period-extension> ] ];
fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ], [
fhir:index 3;
fhir:Element.id [ fhir:value "Encounter.status" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.status" ];
fhir:ElementDefinition.short [ fhir:value "in-progress | onleave | finished | entered-in-error" ];
fhir:ElementDefinition.binding [
fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
fhir:ElementDefinition.binding.valueSet [
fhir:value "http://medcomfhir.dk/ig/terminology/ValueSet/medcom-hospitalNotification-encounterStatus";
fhir:link <http://medcomfhir.dk/ig/terminology/ValueSet/medcom-hospitalNotification-encounterStatus> ] ] ], [
fhir:index 4;
fhir:Element.id [ fhir:value "Encounter.class" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.class" ];
fhir:ElementDefinition.short [ fhir:value "inpatient | emergency | other" ];
fhir:ElementDefinition.binding [
fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
fhir:ElementDefinition.binding.valueSet [
fhir:value "http://medcomfhir.dk/ig/terminology/ValueSet/medcom-hospitalNotification-encounterClass";
fhir:link <http://medcomfhir.dk/ig/terminology/ValueSet/medcom-hospitalNotification-encounterClass> ] ] ], [
fhir:index 5;
fhir:Element.id [ fhir:value "Encounter.type" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.type" ];
fhir:ElementDefinition.max [ fhir:value "0" ] ], [
fhir:index 6;
fhir:Element.id [ fhir:value "Encounter.serviceType" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.serviceType" ];
fhir:ElementDefinition.max [ fhir:value "0" ] ], [
fhir:index 7;
fhir:Element.id [ fhir:value "Encounter.priority" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.priority" ];
fhir:ElementDefinition.max [ fhir:value "0" ] ], [
fhir:index 8;
fhir:Element.id [ fhir:value "Encounter.episodeOfCare" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.episodeOfCare" ];
fhir:ElementDefinition.definition [ fhir:value "Shall contain an episode of care identifier for the entire hospitalisation" ];
fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ], [
fhir:index 9;
fhir:Element.id [ fhir:value "Encounter.episodeOfCare.reference" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.episodeOfCare.reference" ];
fhir:ElementDefinition.max [ fhir:value "0" ] ], [
fhir:index 10;
fhir:Element.id [ fhir:value "Encounter.episodeOfCare.identifier" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.episodeOfCare.identifier" ];
fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ], [
fhir:index 11;
fhir:Element.id [ fhir:value "Encounter.episodeOfCare:lpr3identifier" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.episodeOfCare" ];
fhir:ElementDefinition.sliceName [ fhir:value "lpr3identifier" ] ], [
fhir:index 12;
fhir:Element.id [ fhir:value "Encounter.episodeOfCare:lpr3identifier.reference" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.episodeOfCare.reference" ];
fhir:ElementDefinition.max [ fhir:value "0" ] ], [
fhir:index 13;
fhir:Element.id [ fhir:value "Encounter.episodeOfCare:lpr3identifier.identifier" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.episodeOfCare.identifier" ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ], [
fhir:index 14;
fhir:Element.id [ fhir:value "Encounter.basedOn" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.basedOn" ];
fhir:ElementDefinition.max [ fhir:value "0" ] ], [
fhir:index 15;
fhir:Element.id [ fhir:value "Encounter.participant" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.participant" ];
fhir:ElementDefinition.max [ fhir:value "0" ] ], [
fhir:index 16;
fhir:Element.id [ fhir:value "Encounter.appointment" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.appointment" ];
fhir:ElementDefinition.max [ fhir:value "0" ] ], [
fhir:index 17;
fhir:Element.id [ fhir:value "Encounter.period" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.period" ];
fhir:ElementDefinition.definition [ fhir:value "The start and end time of the encounter. For notification of hospitalisation an start interval is always known as the notification of adminssion is trigged by the arrival of a patient. There a period will always exist as the notification of admission always starts the communication flow. Please that the encounter.period values always referes to the encounter start and end. The period of the leave of absence is not part of the notification of hospitalization FHIR resource ." ];
fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [
fhir:index 18;
fhir:Element.id [ fhir:value "Encounter.period.start" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.period.start" ];
fhir:ElementDefinition.short [ fhir:value "Encounter start time." ];
fhir:ElementDefinition.definition [ fhir:value "In HospitalNotification a start time is the timestamp that is registered by the hospital at patient physical attendance at the hospital." ];
fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [
fhir:index 19;
fhir:Element.id [ fhir:value "Encounter.period.end" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.period.end" ];
fhir:ElementDefinition.short [ fhir:value "Encounter end time." ];
fhir:ElementDefinition.definition [ fhir:value "In HospitalNotification a end time is the timestamp that is registered by the hospital when the patient leaves the hospital after discharge." ];
fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [
fhir:index 20;
fhir:Element.id [ fhir:value "Encounter.length" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.length" ];
fhir:ElementDefinition.max [ fhir:value "0" ] ], [
fhir:index 21;
fhir:Element.id [ fhir:value "Encounter.reasonCode" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.reasonCode" ];
fhir:ElementDefinition.max [ fhir:value "0" ] ], [
fhir:index 22;
fhir:Element.id [ fhir:value "Encounter.reasonReference" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.reasonReference" ];
fhir:ElementDefinition.max [ fhir:value "0" ] ], [
fhir:index 23;
fhir:Element.id [ fhir:value "Encounter.diagnosis" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.diagnosis" ];
fhir:ElementDefinition.max [ fhir:value "0" ] ], [
fhir:index 24;
fhir:Element.id [ fhir:value "Encounter.account" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.account" ];
fhir:ElementDefinition.definition [ fhir:value "The set of accounts and issurance information that may be used for billing for this Encounter. The account element shall not be used in NotificationOfHospitalStayEncounter" ] ], [
fhir:index 25;
fhir:Element.id [ fhir:value "Encounter.hospitalization" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.hospitalization" ];
fhir:ElementDefinition.max [ fhir:value "0" ] ], [
fhir:index 26;
fhir:Element.id [ fhir:value "Encounter.location" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.location" ];
fhir:ElementDefinition.max [ fhir:value "0" ] ], [
fhir:index 27;
fhir:Element.id [ fhir:value "Encounter.serviceProvider" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.serviceProvider" ];
fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ], [
fhir:index 28;
fhir:Element.id [ fhir:value "Encounter.partOf" ];
fhir:ElementDefinition.path [ fhir:value "Encounter.partOf" ];
fhir:ElementDefinition.max [ fhir:value "0" ] ]
]. #
# - ontology header ------------------------------------------------------------
a owl:Ontology;
owl:imports fhir:fhir.ttl.
IG © 2021+ MedCom. Package medcom.fhir.dk.hospitalnotification#3.0.1 based on FHIR 4.0.1. Generated 2023-03-02
Links: Table of Contents |
QA Report