EHDS Logical Information Models
0.1.0 - ci-build

EHDS Logical Information Models, published by Xt-EHR. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/Xt-EHR/xt-ehr-common/tree/stakeholder-consultation-D6-1 and changes regularly. See the Directory of published versions

## Logical Model: EHDSEncounter - JSON Profile

Draft as of 2025-07-08

JSON representation of the EHDSEncounter logical model.

Raw json | Download

    {
      "resourceType" : "StructureDefinition",
      "id" : "EHDSEncounter",
      "text" : {
        "status" : "extensions",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition EHDSEncounter</b></p><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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" 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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" 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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Minimum and Maximum # of times the element can appear in the instance\">Card.</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px; 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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Additional information about the element\">Description &amp; Constraints</a><span style=\"float: right\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64, \" 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 : var(--ig-left,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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSEncounter-definitions.html#EHDSEncounter\" title=\"C.30 - EHDS refined base model for Encounter\">EHDSEncounter</a><a name=\"EHDSEncounter\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/types.html#Base\">Base</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Encounter model<br/><span style=\"font-weight:bold\">Instances of this logical model can be the target of a Reference</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 : var(--ig-left,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_datatype.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSEncounter-definitions.html#EHDSEncounter.identifier\" title=\"Encounter identifier (Business identifiers assigned to this encounter).\">identifier</a><a name=\"EHDSEncounter.identifier\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#Identifier\">Identifier</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">C.30.1 - Identifier<br/></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 : var(--ig-left,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_datatype.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSEncounter-definitions.html#EHDSEncounter.priority\" title=\"Indicates the urgency of the encounter.\">priority</a><a name=\"EHDSEncounter.priority\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">C.30.3 - Priority<br class=\"binding\"/><span style=\"font-weight:bold\" title=\"null\" class=\"binding\">Binding Description: </span><span title=\"null\" class=\"binding\"> (</span><a href=\"http://hl7.org/fhir/R5/terminologies.html#preferred\" title=\"Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.\" class=\"binding\">preferred</a><span title=\"null\" class=\"binding\">)</span><span title=\"null\" class=\"binding\">: </span><span title=\"null\" class=\"binding\">hl7:v3-xEncounterAdmissionUrgency</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 : var(--ig-left,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_datatype.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSEncounter-definitions.html#EHDSEncounter.encounterType\" title=\"The type of the encounter whether inpatient or short stay encounter.\">encounterType</a><a name=\"EHDSEncounter.encounterType\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">C.30.2 - Encounter type<br class=\"binding\"/><span style=\"font-weight:bold\" title=\"null\" class=\"binding\">Binding Description: </span><span title=\"null\" class=\"binding\"> (</span><a href=\"http://hl7.org/fhir/R5/terminologies.html#preferred\" title=\"Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.\" class=\"binding\">preferred</a><span title=\"null\" class=\"binding\">)</span><span title=\"null\" class=\"binding\">: </span><span title=\"null\" class=\"binding\">hl7v3:ActEncounterCode</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 : var(--ig-left,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_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSEncounter-definitions.html#EHDSEncounter.encounterNote\" title=\"A narrative description of the encounter course.\">encounterNote</a><a name=\"EHDSEncounter.encounterNote\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">C.30.4 - Encounter note</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 : var(--ig-left,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_reference.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSEncounter-definitions.html#EHDSEncounter.patient\" title=\"The patient related to this encounter.\">patient</a><a name=\"EHDSEncounter.patient\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/references.html\">Reference</a>(<a href=\"StructureDefinition-EHDSPatient.html\">Patient model</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">C.30.5 - Patient</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 : var(--ig-left,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_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSEncounter-definitions.html#EHDSEncounter.episodeOfCare\" title=\"Episode(s) of care that this encounter should be recorded against\">episodeOfCare</a><a name=\"EHDSEncounter.episodeOfCare\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/references.html\">Reference</a>(<a href=\"StructureDefinition-EHDSEpisodeOfCare.html\">Episode of care model</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">C.30.6 - Episode of care<br/></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 : var(--ig-left,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_reference.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSEncounter-definitions.html#EHDSEncounter.basedOn\" title=\"The request that initiated this encounter\">basedOn</a><a name=\"EHDSEncounter.basedOn\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/references.html\">Reference</a>(<a href=\"StructureDefinition-EHDSCarePlan.html\">Care plan model</a> | <a href=\"StructureDefinition-EHDSServiceRequest.html\">Service request model</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">C.30.7 - Based on<br/></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 : var(--ig-left,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_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSEncounter-definitions.html#EHDSEncounter.partOf\" title=\"Another Encounter this encounter is part of\">partOf</a><a name=\"EHDSEncounter.partOf\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/references.html\">Reference</a>(<a href=\"StructureDefinition-EHDSEncounter.html\">Encounter model</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">C.30.8 - Part of</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 : var(--ig-left,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_reference.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSEncounter-definitions.html#EHDSEncounter.serviceProvider\" title=\"The organisation (facility) responsible for this encounter\">serviceProvider</a><a name=\"EHDSEncounter.serviceProvider\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/references.html\">Reference</a>(<a href=\"StructureDefinition-EHDSOrganisation.html\">Organisation model</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">C.30.9 - Service provider</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 : var(--ig-left,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_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSEncounter-definitions.html#EHDSEncounter.appointment\" title=\"The appointment that scheduled this encounter\">appointment</a><a name=\"EHDSEncounter.appointment\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/references.html\">Reference</a>(<a href=\"StructureDefinition-EHDSAppointment.html\">Appointment model</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">C.30.10 - Appointment<br/></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 : var(--ig-left,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_datatype.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSEncounter-definitions.html#EHDSEncounter.actualPeriod\" title=\"The actual start and end time of the encounter\">actualPeriod</a><a name=\"EHDSEncounter.actualPeriod\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#Period\">Period</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">C.30.11 - Actual period</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 : var(--ig-left,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_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSEncounter-definitions.html#EHDSEncounter.plannedStartDate\" title=\"The planned start date/time (or admission date) of the encounter\">plannedStartDate</a><a name=\"EHDSEncounter.plannedStartDate\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#dateTime\">dateTime</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">C.30.12 - Planned start date</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 : var(--ig-left,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_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSEncounter-definitions.html#EHDSEncounter.plannedEndDate\" title=\"The planned end date/time (or discharge date) of the encounter\">plannedEndDate</a><a name=\"EHDSEncounter.plannedEndDate\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#dateTime\">dateTime</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">C.30.13 - Planned end date</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 : var(--ig-left,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_datatype.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSEncounter-definitions.html#EHDSEncounter.admission\" title=\"Details about the admission to a healthcare service\">admission</a><a name=\"EHDSEncounter.admission\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Base</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">C.30.14 - Admission</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 : var(--ig-left,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_reference.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSEncounter-definitions.html#EHDSEncounter.admission.admitter\" title=\"Admitting Healthcare Professional\">admitter</a><a name=\"EHDSEncounter.admission.admitter\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/references.html\">Reference</a>(<a href=\"StructureDefinition-EHDSHealthProfessional.html\">Health professional model</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">C.30.14.1 - Admitter</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 : var(--ig-left,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_datatype.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSEncounter-definitions.html#EHDSEncounter.admission.admitSource\" title=\"From where the patient was admitted (e.g. physician referral, transfer).\">admitSource</a><a name=\"EHDSEncounter.admission.admitSource\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">C.30.14.2 - Admit Source<br class=\"binding\"/><span style=\"font-weight:bold\" title=\"null\" class=\"binding\">Binding Description: </span><span title=\"null\" class=\"binding\"> (</span><a href=\"http://hl7.org/fhir/R5/terminologies.html#preferred\" title=\"Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.\" class=\"binding\">preferred</a><span title=\"null\" class=\"binding\">)</span><span title=\"null\" class=\"binding\">: </span><span title=\"null\" class=\"binding\">hl7:admit-source</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 : var(--ig-left,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_reference.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSEncounter-definitions.html#EHDSEncounter.admission.referringProfessional\" title=\"Referring Healthcare Professional\">referringProfessional</a><a name=\"EHDSEncounter.admission.referringProfessional\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/references.html\">Reference</a>(<a href=\"StructureDefinition-EHDSHealthProfessional.html\">Health professional model</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">C.30.14.3 - Referring professional</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 : var(--ig-left,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_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSEncounter-definitions.html#EHDSEncounter.admission.admissionReason\" title=\"Reason or reasons for admission, e.g. Problem, procedure or finding.\">admissionReason</a><a name=\"EHDSEncounter.admission.admissionReason\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/references.html\">Reference</a>(<a href=\"StructureDefinition-EHDSCondition.html\">Condition model</a> | <a href=\"StructureDefinition-EHDSProcedure.html\">Procedure model</a> | <a href=\"StructureDefinition-EHDSObservation.html\">Observation model</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">C.30.14.4 - Admission reason<br/></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 : var(--ig-left,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_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSEncounter-definitions.html#EHDSEncounter.admission.admissionReasonComment\" title=\"Explanation of the reason for the encounter.\">admissionReasonComment</a><a name=\"EHDSEncounter.admission.admissionReasonComment\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">C.30.14.5 - Admission reason comment</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 : var(--ig-left,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_datatype.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSEncounter-definitions.html#EHDSEncounter.admission.admissionLegalStatus\" title=\"Legal status/situation at admission. The legal status indicates the basis on which the patient is staying in a healthcare organisation. This can be either voluntary or involuntary, however the legal status is always determined by a court. A patient can also receive healthcare based on a forensic status. (voluntary, involuntary, admission by legal authority).\">admissionLegalStatus</a><a name=\"EHDSEncounter.admission.admissionLegalStatus\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">C.30.14.6 - Admission legal status<br class=\"binding\"/><span style=\"font-weight:bold\" title=\"null\" class=\"binding\">Binding Description: </span><span title=\"null\" class=\"binding\"> (</span><a href=\"http://hl7.org/fhir/R5/terminologies.html#preferred\" title=\"Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.\" class=\"binding\">preferred</a><span title=\"null\" class=\"binding\">)</span><span title=\"null\" class=\"binding\">: </span><span title=\"null\" class=\"binding\">SNOMED CT</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 : var(--ig-left,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_datatype.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSEncounter-definitions.html#EHDSEncounter.discharge\" title=\"Discharge details\">discharge</a><a name=\"EHDSEncounter.discharge\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Base</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">C.30.15 - Discharge</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 : var(--ig-left,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_datatype.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSEncounter-definitions.html#EHDSEncounter.discharge.destinationType\" title=\"Type of location to which the patient will go after the encounter. E.g. home, hospital, nursing home, left against medical advice etc.  \">destinationType</a><a name=\"EHDSEncounter.discharge.destinationType\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">C.30.15.1 - Destination type<br class=\"binding\"/><span style=\"font-weight:bold\" title=\"null\" class=\"binding\">Binding Description: </span><span title=\"null\" class=\"binding\"> (</span><a href=\"http://hl7.org/fhir/R5/terminologies.html#preferred\" title=\"Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.\" class=\"binding\">preferred</a><span title=\"null\" class=\"binding\">)</span><span title=\"null\" class=\"binding\">: </span><span title=\"null\" class=\"binding\">hl7.discharge-disposition</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 : var(--ig-left,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_reference.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSEncounter-definitions.html#EHDSEncounter.discharge.destinationLocation\" title=\"The location/organisation to which the patient will go after the encounter. Name, address and telecommunication contact.\">destinationLocation</a><a name=\"EHDSEncounter.discharge.destinationLocation\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/references.html\">Reference</a>(<a href=\"StructureDefinition-EHDSOrganisation.html\">Organisation model</a> | <a href=\"StructureDefinition-EHDSLocation.html\">Location model</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">C.30.15.2 - Destination location</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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck01.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSEncounter-definitions.html#EHDSEncounter.location\" title=\"List of locations where the patient has been.\">location</a><a name=\"EHDSEncounter.location\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Base</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">C.30.16 - Location<br/></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 : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSEncounter-definitions.html#EHDSEncounter.location.period\" title=\"Time period during which the patient was present at the location\">period</a><a name=\"EHDSEncounter.location.period\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#Period\">Period</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">C.30.16.1 - Period</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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck000.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSEncounter-definitions.html#EHDSEncounter.location.organisationPart\" title=\"organisation or organisation part (department) where the patient was present.\">organisationPart</a><a name=\"EHDSEncounter.location.organisationPart\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-EHDSLocation.html\">EHDSLocation</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">C.30.16.2 - organisation part</td></tr>\r\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64, \" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"
      },
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics",
          "valueCode" : "can-be-target"
        }
      ],
      "url" : "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSEncounter",
      "version" : "0.1.0",
      "name" : "EHDSEncounter",
      "title" : "Encounter model",
      "status" : "draft",
      "date" : "2025-07-08T13:43:56+00:00",
      "publisher" : "Xt-EHR",
      "contact" : [
        {
          "name" : "Xt-EHR",
          "telecom" : [
            {
              "system" : "url",
              "value" : "http://Xt-EHR.eu"
            }
          ]
        }
      ],
      "description" : "C.30 - EHDS refined base model for Encounter",
      "fhirVersion" : "5.0.0",
      "mapping" : [
        {
          "identity" : "rim",
          "uri" : "http://hl7.org/v3",
          "name" : "RIM Mapping"
        }
      ],
      "kind" : "logical",
      "abstract" : false,
      "type" : "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSEncounter",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Base",
      "derivation" : "specialization",
      "snapshot" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
            "valueString" : "5.0.0"
          }
        ],
        "element" : [
          {
            "id" : "EHDSEncounter",
            "path" : "EHDSEncounter",
            "short" : "Encounter model",
            "definition" : "C.30 - EHDS refined base model for Encounter",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Base",
              "min" : 0,
              "max" : "*"
            },
            "isModifier" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "EHDSEncounter.identifier",
            "path" : "EHDSEncounter.identifier",
            "short" : "C.30.1 - Identifier",
            "definition" : "Encounter identifier (Business identifiers assigned to this encounter).",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "EHDSEncounter.identifier",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Identifier"
              }
            ]
          },
          {
            "id" : "EHDSEncounter.priority",
            "path" : "EHDSEncounter.priority",
            "short" : "C.30.3 - Priority",
            "definition" : "Indicates the urgency of the encounter.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSEncounter.priority",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "strength" : "preferred",
              "description" : "hl7:v3-xEncounterAdmissionUrgency"
            }
          },
          {
            "id" : "EHDSEncounter.encounterType",
            "path" : "EHDSEncounter.encounterType",
            "short" : "C.30.2 - Encounter type",
            "definition" : "The type of the encounter whether inpatient or short stay encounter.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "EHDSEncounter.encounterType",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "strength" : "preferred",
              "description" : "hl7v3:ActEncounterCode"
            }
          },
          {
            "id" : "EHDSEncounter.encounterNote",
            "path" : "EHDSEncounter.encounterNote",
            "short" : "C.30.4 - Encounter note",
            "definition" : "A narrative description of the encounter course.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSEncounter.encounterNote",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "EHDSEncounter.patient",
            "path" : "EHDSEncounter.patient",
            "short" : "C.30.5 - Patient",
            "definition" : "The patient related to this encounter.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSEncounter.patient",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  🔗 "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPatient"
                ]
              }
            ]
          },
          {
            "id" : "EHDSEncounter.episodeOfCare",
            "path" : "EHDSEncounter.episodeOfCare",
            "short" : "C.30.6 - Episode of care",
            "definition" : "Episode(s) of care that this encounter should be recorded against",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "EHDSEncounter.episodeOfCare",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  🔗 "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSEpisodeOfCare"
                ]
              }
            ]
          },
          {
            "id" : "EHDSEncounter.basedOn",
            "path" : "EHDSEncounter.basedOn",
            "short" : "C.30.7 - Based on",
            "definition" : "The request that initiated this encounter",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "EHDSEncounter.basedOn",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  🔗 "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCarePlan"🔗 ,
                  "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSServiceRequest"
                ]
              }
            ]
          },
          {
            "id" : "EHDSEncounter.partOf",
            "path" : "EHDSEncounter.partOf",
            "short" : "C.30.8 - Part of",
            "definition" : "Another Encounter this encounter is part of",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSEncounter.partOf",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  🔗 "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSEncounter"
                ]
              }
            ]
          },
          {
            "id" : "EHDSEncounter.serviceProvider",
            "path" : "EHDSEncounter.serviceProvider",
            "short" : "C.30.9 - Service provider",
            "definition" : "The organisation (facility) responsible for this encounter",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSEncounter.serviceProvider",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  🔗 "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganisation"
                ]
              }
            ]
          },
          {
            "id" : "EHDSEncounter.appointment",
            "path" : "EHDSEncounter.appointment",
            "short" : "C.30.10 - Appointment",
            "definition" : "The appointment that scheduled this encounter",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "EHDSEncounter.appointment",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  🔗 "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSAppointment"
                ]
              }
            ]
          },
          {
            "id" : "EHDSEncounter.actualPeriod",
            "path" : "EHDSEncounter.actualPeriod",
            "short" : "C.30.11 - Actual period",
            "definition" : "The actual start and end time of the encounter",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSEncounter.actualPeriod",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Period"
              }
            ]
          },
          {
            "id" : "EHDSEncounter.plannedStartDate",
            "path" : "EHDSEncounter.plannedStartDate",
            "short" : "C.30.12 - Planned start date",
            "definition" : "The planned start date/time (or admission date) of the encounter",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSEncounter.plannedStartDate",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "dateTime"
              }
            ]
          },
          {
            "id" : "EHDSEncounter.plannedEndDate",
            "path" : "EHDSEncounter.plannedEndDate",
            "short" : "C.30.13 - Planned end date",
            "definition" : "The planned end date/time (or discharge date) of the encounter",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSEncounter.plannedEndDate",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "dateTime"
              }
            ]
          },
          {
            "id" : "EHDSEncounter.admission",
            "path" : "EHDSEncounter.admission",
            "short" : "C.30.14 - Admission",
            "definition" : "Details about the admission to a healthcare service",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSEncounter.admission",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Base"
              }
            ]
          },
          {
            "id" : "EHDSEncounter.admission.admitter",
            "path" : "EHDSEncounter.admission.admitter",
            "short" : "C.30.14.1 - Admitter",
            "definition" : "Admitting Healthcare Professional",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSEncounter.admission.admitter",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  🔗 "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional"
                ]
              }
            ]
          },
          {
            "id" : "EHDSEncounter.admission.admitSource",
            "path" : "EHDSEncounter.admission.admitSource",
            "short" : "C.30.14.2 - Admit Source",
            "definition" : "From where the patient was admitted (e.g. physician referral, transfer).",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSEncounter.admission.admitSource",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "strength" : "preferred",
              "description" : "hl7:admit-source"
            }
          },
          {
            "id" : "EHDSEncounter.admission.referringProfessional",
            "path" : "EHDSEncounter.admission.referringProfessional",
            "short" : "C.30.14.3 - Referring professional",
            "definition" : "Referring Healthcare Professional",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSEncounter.admission.referringProfessional",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  🔗 "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional"
                ]
              }
            ]
          },
          {
            "id" : "EHDSEncounter.admission.admissionReason",
            "path" : "EHDSEncounter.admission.admissionReason",
            "short" : "C.30.14.4 - Admission reason",
            "definition" : "Reason or reasons for admission, e.g. Problem, procedure or finding.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "EHDSEncounter.admission.admissionReason",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  🔗 "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCondition"🔗 ,
                  "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSProcedure"🔗 ,
                  "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSObservation"
                ]
              }
            ]
          },
          {
            "id" : "EHDSEncounter.admission.admissionReasonComment",
            "path" : "EHDSEncounter.admission.admissionReasonComment",
            "short" : "C.30.14.5 - Admission reason comment",
            "definition" : "Explanation of the reason for the encounter.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSEncounter.admission.admissionReasonComment",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "EHDSEncounter.admission.admissionLegalStatus",
            "path" : "EHDSEncounter.admission.admissionLegalStatus",
            "short" : "C.30.14.6 - Admission legal status",
            "definition" : "Legal status/situation at admission. The legal status indicates the basis on which the patient is staying in a healthcare organisation. This can be either voluntary or involuntary, however the legal status is always determined by a court. A patient can also receive healthcare based on a forensic status. (voluntary, involuntary, admission by legal authority).",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSEncounter.admission.admissionLegalStatus",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "strength" : "preferred",
              "description" : "SNOMED CT"
            }
          },
          {
            "id" : "EHDSEncounter.discharge",
            "path" : "EHDSEncounter.discharge",
            "short" : "C.30.15 - Discharge",
            "definition" : "Discharge details",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSEncounter.discharge",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Base"
              }
            ]
          },
          {
            "id" : "EHDSEncounter.discharge.destinationType",
            "path" : "EHDSEncounter.discharge.destinationType",
            "short" : "C.30.15.1 - Destination type",
            "definition" : "Type of location to which the patient will go after the encounter. E.g. home, hospital, nursing home, left against medical advice etc.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSEncounter.discharge.destinationType",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "strength" : "preferred",
              "description" : "hl7.discharge-disposition"
            }
          },
          {
            "id" : "EHDSEncounter.discharge.destinationLocation",
            "path" : "EHDSEncounter.discharge.destinationLocation",
            "short" : "C.30.15.2 - Destination location",
            "definition" : "The location/organisation to which the patient will go after the encounter. Name, address and telecommunication contact.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSEncounter.discharge.destinationLocation",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  🔗 "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganisation"🔗 ,
                  "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSLocation"
                ]
              }
            ]
          },
          {
            "id" : "EHDSEncounter.location",
            "path" : "EHDSEncounter.location",
            "short" : "C.30.16 - Location",
            "definition" : "List of locations where the patient has been.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "EHDSEncounter.location",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Base"
              }
            ]
          },
          {
            "id" : "EHDSEncounter.location.period",
            "path" : "EHDSEncounter.location.period",
            "short" : "C.30.16.1 - Period",
            "definition" : "Time period during which the patient was present at the location",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSEncounter.location.period",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Period"
              }
            ]
          },
          {
            "id" : "EHDSEncounter.location.organisationPart",
            "path" : "EHDSEncounter.location.organisationPart",
            "short" : "C.30.16.2 - organisation part",
            "definition" : "organisation or organisation part (department) where the patient was present.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "EHDSEncounter.location.organisationPart",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSLocation"
              }
            ]
          }
        ]
      },
      "differential" : {
        "element" : [
          {
            "id" : "EHDSEncounter",
            "path" : "EHDSEncounter",
            "short" : "Encounter model",
            "definition" : "C.30 - EHDS refined base model for Encounter"
          },
          {
            "id" : "EHDSEncounter.identifier",
            "path" : "EHDSEncounter.identifier",
            "short" : "C.30.1 - Identifier",
            "definition" : "Encounter identifier (Business identifiers assigned to this encounter).",
            "min" : 0,
            "max" : "*",
            "type" : [
              {
                "code" : "Identifier"
              }
            ]
          },
          {
            "id" : "EHDSEncounter.priority",
            "path" : "EHDSEncounter.priority",
            "short" : "C.30.3 - Priority",
            "definition" : "Indicates the urgency of the encounter.",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "strength" : "preferred",
              "description" : "hl7:v3-xEncounterAdmissionUrgency"
            }
          },
          {
            "id" : "EHDSEncounter.encounterType",
            "path" : "EHDSEncounter.encounterType",
            "short" : "C.30.2 - Encounter type",
            "definition" : "The type of the encounter whether inpatient or short stay encounter.",
            "min" : 1,
            "max" : "1",
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "strength" : "preferred",
              "description" : "hl7v3:ActEncounterCode"
            }
          },
          {
            "id" : "EHDSEncounter.encounterNote",
            "path" : "EHDSEncounter.encounterNote",
            "short" : "C.30.4 - Encounter note",
            "definition" : "A narrative description of the encounter course.",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "EHDSEncounter.patient",
            "path" : "EHDSEncounter.patient",
            "short" : "C.30.5 - Patient",
            "definition" : "The patient related to this encounter.",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  🔗 "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPatient"
                ]
              }
            ]
          },
          {
            "id" : "EHDSEncounter.episodeOfCare",
            "path" : "EHDSEncounter.episodeOfCare",
            "short" : "C.30.6 - Episode of care",
            "definition" : "Episode(s) of care that this encounter should be recorded against",
            "min" : 0,
            "max" : "*",
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  🔗 "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSEpisodeOfCare"
                ]
              }
            ]
          },
          {
            "id" : "EHDSEncounter.basedOn",
            "path" : "EHDSEncounter.basedOn",
            "short" : "C.30.7 - Based on",
            "definition" : "The request that initiated this encounter",
            "min" : 0,
            "max" : "*",
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  🔗 "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCarePlan"🔗 ,
                  "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSServiceRequest"
                ]
              }
            ]
          },
          {
            "id" : "EHDSEncounter.partOf",
            "path" : "EHDSEncounter.partOf",
            "short" : "C.30.8 - Part of",
            "definition" : "Another Encounter this encounter is part of",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  🔗 "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSEncounter"
                ]
              }
            ]
          },
          {
            "id" : "EHDSEncounter.serviceProvider",
            "path" : "EHDSEncounter.serviceProvider",
            "short" : "C.30.9 - Service provider",
            "definition" : "The organisation (facility) responsible for this encounter",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  🔗 "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganisation"
                ]
              }
            ]
          },
          {
            "id" : "EHDSEncounter.appointment",
            "path" : "EHDSEncounter.appointment",
            "short" : "C.30.10 - Appointment",
            "definition" : "The appointment that scheduled this encounter",
            "min" : 0,
            "max" : "*",
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  🔗 "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSAppointment"
                ]
              }
            ]
          },
          {
            "id" : "EHDSEncounter.actualPeriod",
            "path" : "EHDSEncounter.actualPeriod",
            "short" : "C.30.11 - Actual period",
            "definition" : "The actual start and end time of the encounter",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "Period"
              }
            ]
          },
          {
            "id" : "EHDSEncounter.plannedStartDate",
            "path" : "EHDSEncounter.plannedStartDate",
            "short" : "C.30.12 - Planned start date",
            "definition" : "The planned start date/time (or admission date) of the encounter",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "dateTime"
              }
            ]
          },
          {
            "id" : "EHDSEncounter.plannedEndDate",
            "path" : "EHDSEncounter.plannedEndDate",
            "short" : "C.30.13 - Planned end date",
            "definition" : "The planned end date/time (or discharge date) of the encounter",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "dateTime"
              }
            ]
          },
          {
            "id" : "EHDSEncounter.admission",
            "path" : "EHDSEncounter.admission",
            "short" : "C.30.14 - Admission",
            "definition" : "Details about the admission to a healthcare service",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "Base"
              }
            ]
          },
          {
            "id" : "EHDSEncounter.admission.admitter",
            "path" : "EHDSEncounter.admission.admitter",
            "short" : "C.30.14.1 - Admitter",
            "definition" : "Admitting Healthcare Professional",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  🔗 "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional"
                ]
              }
            ]
          },
          {
            "id" : "EHDSEncounter.admission.admitSource",
            "path" : "EHDSEncounter.admission.admitSource",
            "short" : "C.30.14.2 - Admit Source",
            "definition" : "From where the patient was admitted (e.g. physician referral, transfer).",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "strength" : "preferred",
              "description" : "hl7:admit-source"
            }
          },
          {
            "id" : "EHDSEncounter.admission.referringProfessional",
            "path" : "EHDSEncounter.admission.referringProfessional",
            "short" : "C.30.14.3 - Referring professional",
            "definition" : "Referring Healthcare Professional",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  🔗 "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional"
                ]
              }
            ]
          },
          {
            "id" : "EHDSEncounter.admission.admissionReason",
            "path" : "EHDSEncounter.admission.admissionReason",
            "short" : "C.30.14.4 - Admission reason",
            "definition" : "Reason or reasons for admission, e.g. Problem, procedure or finding.",
            "min" : 0,
            "max" : "*",
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  🔗 "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCondition"🔗 ,
                  "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSProcedure"🔗 ,
                  "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSObservation"
                ]
              }
            ]
          },
          {
            "id" : "EHDSEncounter.admission.admissionReasonComment",
            "path" : "EHDSEncounter.admission.admissionReasonComment",
            "short" : "C.30.14.5 - Admission reason comment",
            "definition" : "Explanation of the reason for the encounter.",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "EHDSEncounter.admission.admissionLegalStatus",
            "path" : "EHDSEncounter.admission.admissionLegalStatus",
            "short" : "C.30.14.6 - Admission legal status",
            "definition" : "Legal status/situation at admission. The legal status indicates the basis on which the patient is staying in a healthcare organisation. This can be either voluntary or involuntary, however the legal status is always determined by a court. A patient can also receive healthcare based on a forensic status. (voluntary, involuntary, admission by legal authority).",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "strength" : "preferred",
              "description" : "SNOMED CT"
            }
          },
          {
            "id" : "EHDSEncounter.discharge",
            "path" : "EHDSEncounter.discharge",
            "short" : "C.30.15 - Discharge",
            "definition" : "Discharge details",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "Base"
              }
            ]
          },
          {
            "id" : "EHDSEncounter.discharge.destinationType",
            "path" : "EHDSEncounter.discharge.destinationType",
            "short" : "C.30.15.1 - Destination type",
            "definition" : "Type of location to which the patient will go after the encounter. E.g. home, hospital, nursing home, left against medical advice etc.  ",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "strength" : "preferred",
              "description" : "hl7.discharge-disposition"
            }
          },
          {
            "id" : "EHDSEncounter.discharge.destinationLocation",
            "path" : "EHDSEncounter.discharge.destinationLocation",
            "short" : "C.30.15.2 - Destination location",
            "definition" : "The location/organisation to which the patient will go after the encounter. Name, address and telecommunication contact.",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  🔗 "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganisation"🔗 ,
                  "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSLocation"
                ]
              }
            ]
          },
          {
            "id" : "EHDSEncounter.location",
            "path" : "EHDSEncounter.location",
            "short" : "C.30.16 - Location",
            "definition" : "List of locations where the patient has been.",
            "min" : 0,
            "max" : "*",
            "type" : [
              {
                "code" : "Base"
              }
            ]
          },
          {
            "id" : "EHDSEncounter.location.period",
            "path" : "EHDSEncounter.location.period",
            "short" : "C.30.16.1 - Period",
            "definition" : "Time period during which the patient was present at the location",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "Period"
              }
            ]
          },
          {
            "id" : "EHDSEncounter.location.organisationPart",
            "path" : "EHDSEncounter.location.organisationPart",
            "short" : "C.30.16.2 - organisation part",
            "definition" : "organisation or organisation part (department) where the patient was present.",
            "min" : 1,
            "max" : "1",
            "type" : [
              {
                "code" : "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSLocation"
              }
            ]
          }
        ]
      }
    }