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/main and changes regularly. See the Directory of published versions

Logical Model: EHDSInpatientEncounter - TTL Profile

Draft as of 2025-06-13

TTL representation of the EHDSInpatientEncounter logical model.

Raw ttl | Download

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:StructureDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "EHDSInpatientEncounter"] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition EHDSInpatientEncounter</b></p><a name=\"EHDSInpatientEncounter\"> </a><a name=\"hcEHDSInpatientEncounter\"> </a><a name=\"EHDSInpatientEncounter-en-US\"> </a><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top\"><th style=\"vertical-align: top; text-align : 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,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC\" alt=\"doco\" style=\"background-color: inherit\"/></a></span></th></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : 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-EHDSInpatientEncounter-definitions.html#EHDSInpatientEncounter\" title=\"C.23 - EHDS refined base model for Inpatient encounter\">EHDSInpatientEncounter</a><a name=\"EHDSInpatientEncounter\"> </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=\"StructureDefinition-EHDSEncounter.html\">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\"><br/>Elements defined in Ancestors:<a href=\"StructureDefinition-EHDSEncounter.html\" title=\"Encounter identifier (Business identifiers assigned to this encounter).\">identifier</a>, <a href=\"StructureDefinition-EHDSEncounter.html\" title=\"Indicates the urgency of the encounter.\">priority</a>, <a href=\"StructureDefinition-EHDSEncounter.html\" title=\"The type of the encounter whether inpatient or short stay encounter.\">encounterType</a>, <a href=\"StructureDefinition-EHDSEncounter.html\" title=\"A narrative description of the encounter course.\">encounterNote</a>, <a href=\"StructureDefinition-EHDSEncounter.html\" title=\"The patient related to this encounter.\">patient</a>, <a href=\"StructureDefinition-EHDSEncounter.html\" title=\"Episode(s) of care that this encounter should be recorded against\">episodeOfCare</a>, <a href=\"StructureDefinition-EHDSEncounter.html\" title=\"The request that initiated this encounter\">basedOn</a>, <a href=\"StructureDefinition-EHDSEncounter.html\" title=\"Another Encounter this encounter is part of\">partOf</a>, <a href=\"StructureDefinition-EHDSEncounter.html\" title=\"The organization (facility) responsible for this encounter\">serviceProvider</a>, <a href=\"StructureDefinition-EHDSEncounter.html\" title=\"The appointment that scheduled this encounter\">appointment</a>, <a href=\"StructureDefinition-EHDSEncounter.html\" title=\"The actual start and end time of the encounter\">actualPeriod</a>, <a href=\"StructureDefinition-EHDSEncounter.html\" title=\"The planned start date/time (or admission date) of the encounter\">plannedStartDate</a>, <a href=\"StructureDefinition-EHDSEncounter.html\" title=\"The planned end date/time (or discharge date) of the encounter\">plannedEndDate</a>, <a href=\"StructureDefinition-EHDSEncounter.html\" title=\"Details about the admission to a healthcare service\">admission</a>, <a href=\"StructureDefinition-EHDSEncounter.html\" title=\"Discharge details\">discharge</a>, <a href=\"StructureDefinition-EHDSEncounter.html\" title=\"List of locations where the patient has been.\">location</a><br/>Inpatient 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_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSInpatientEncounter-definitions.html#EHDSInpatientEncounter.priority\" title=\"Admission urgency, either emergency or planned\">priority</a><a name=\"EHDSInpatientEncounter.priority\"> </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\"><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 : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" 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\"><span style=\"opacity: 0.5\">C.30.3 - Priority</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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSInpatientEncounter-definitions.html#EHDSInpatientEncounter.actualPeriod\">actualPeriod</a><a name=\"EHDSInpatientEncounter.actualPeriod\"> </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..<span style=\"opacity: 0.5\">1</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 style=\"opacity: 0.5; opacity: 0.5\" 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: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">C.30.11 - Actual period</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_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSInpatientEncounter-definitions.html#EHDSInpatientEncounter.admission\">admission</a><a name=\"EHDSInpatientEncounter.admission\"> </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..<span style=\"opacity: 0.5\">1</span></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\"><span style=\"opacity: 0.5\">Base</span></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\"><span style=\"opacity: 0.5\">C.30.14 - Admission</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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSInpatientEncounter-definitions.html#EHDSInpatientEncounter.discharge\">discharge</a><a name=\"EHDSInpatientEncounter.discharge\"> </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..<span style=\"opacity: 0.5\">1</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\"><span style=\"opacity: 0.5\">Base</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\"><span style=\"opacity: 0.5\">C.30.15 - Discharge</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_bck01.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSInpatientEncounter-definitions.html#EHDSInpatientEncounter.location\">location</a><a name=\"EHDSInpatientEncounter.location\"> </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\"/><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\"/></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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSInpatientEncounter-definitions.html#EHDSInpatientEncounter.location.organizationPart\" title=\"Organization or organization part (hospital department) where the patient was present.\">organizationPart</a><a name=\"EHDSInpatientEncounter.location.organizationPart\"> </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\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</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 style=\"opacity: 0.5; opacity: 0.5\" 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\"><span style=\"opacity: 0.5\">C.30.16.2 - Organization part</span></td></tr>\r\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC\" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "can-be-target"     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "can-be-target"     ]
  ] ) ; # 
  fhir:url [ fhir:v "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSInpatientEncounter"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "EHDSInpatientEncounter"] ; # 
  fhir:title [ fhir:v "Inpatient encounter model"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:date [ fhir:v "2025-06-13T05:31:43+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Xt-EHR"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "Xt-EHR" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://Xt-EHR.eu" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "C.23 - EHDS refined base model for Inpatient encounter"] ; # 
  fhir:fhirVersion [ fhir:v "5.0.0"] ; # 
  fhir:mapping ( [
fhir:identity [ fhir:v "rim" ] ;
fhir:uri [ fhir:v "http://hl7.org/v3"^^xsd:anyURI ] ;
fhir:name [ fhir:v "RIM Mapping" ]
  ] ) ; # 
  fhir:kind [ fhir:v "logical"] ; # 
  fhir:abstract [ fhir:v false] ; # 
  fhir:type [ fhir:v "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSInpatientEncounter"^^xsd:anyURI] ; # 
  fhir:baseDefinition [
fhir:v "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSEncounter"^^xsd:anyURI ;
fhir:link <https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSEncounter>
  ] ; # 
  fhir:derivation [ fhir:v "specialization"] ; # 
  fhir:snapshot [
    ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "0.1.0"       ]     ] ) ;
    ( fhir:element [
fhir:id [ fhir:v "EHDSInpatientEncounter" ] ;
fhir:path [ fhir:v "EHDSInpatientEncounter" ] ;
fhir:short [ fhir:v "Inpatient encounter model" ] ;
fhir:definition [ fhir:v "C.23 - EHDS refined base model for Inpatient encounter" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Base" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
fhir:isModifier [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "EHDSInpatientEncounter.identifier" ] ;
fhir:path [ fhir:v "EHDSInpatientEncounter.identifier" ] ;
fhir:short [ fhir:v "C.30.1 - Identifier" ] ;
fhir:definition [ fhir:v "Encounter identifier (Business identifiers assigned to this encounter)." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "EHDSEncounter.identifier" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Identifier"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "EHDSInpatientEncounter.priority" ] ;
fhir:path [ fhir:v "EHDSInpatientEncounter.priority" ] ;
fhir:short [ fhir:v "C.30.3 - Priority" ] ;
fhir:definition [ fhir:v "Admission urgency, either emergency or planned" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EHDSEncounter.priority" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ]       ] ) ;
fhir:binding [
fhir:strength [ fhir:v "preferred" ] ;
fhir:description [ fhir:v "hl7:v3-xEncounterAdmissionUrgency" ]       ]     ] [
fhir:id [ fhir:v "EHDSInpatientEncounter.encounterType" ] ;
fhir:path [ fhir:v "EHDSInpatientEncounter.encounterType" ] ;
fhir:short [ fhir:v "C.30.2 - Encounter type" ] ;
fhir:definition [ fhir:v "The type of the encounter whether inpatient or short stay encounter." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EHDSEncounter.encounterType" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ]       ] ) ;
fhir:binding [
fhir:strength [ fhir:v "preferred" ] ;
fhir:description [ fhir:v "hl7v3:ActEncounterCode" ]       ]     ] [
fhir:id [ fhir:v "EHDSInpatientEncounter.encounterNote" ] ;
fhir:path [ fhir:v "EHDSInpatientEncounter.encounterNote" ] ;
fhir:short [ fhir:v "C.30.4 - Encounter note" ] ;
fhir:definition [ fhir:v "A narrative description of the encounter course." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EHDSEncounter.encounterNote" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "EHDSInpatientEncounter.patient" ] ;
fhir:path [ fhir:v "EHDSInpatientEncounter.patient" ] ;
fhir:short [ fhir:v "C.30.5 - Patient" ] ;
fhir:definition [ fhir:v "The patient related to this encounter." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EHDSEncounter.patient" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPatient"^^xsd:anyURI ;
fhir:link <https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPatient>         ] )       ] )     ] [
fhir:id [ fhir:v "EHDSInpatientEncounter.episodeOfCare" ] ;
fhir:path [ fhir:v "EHDSInpatientEncounter.episodeOfCare" ] ;
fhir:short [ fhir:v "C.30.6 - Episode of care" ] ;
fhir:definition [ fhir:v "Episode(s) of care that this encounter should be recorded against" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "EHDSEncounter.episodeOfCare" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSEpisodeOfCare"^^xsd:anyURI ;
fhir:link <https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSEpisodeOfCare>         ] )       ] )     ] [
fhir:id [ fhir:v "EHDSInpatientEncounter.basedOn" ] ;
fhir:path [ fhir:v "EHDSInpatientEncounter.basedOn" ] ;
fhir:short [ fhir:v "C.30.7 - Based on" ] ;
fhir:definition [ fhir:v "The request that initiated this encounter" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "EHDSEncounter.basedOn" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCarePlan"^^xsd:anyURI ;
fhir:link <https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCarePlan>         ] [
fhir:v "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSServiceRequest"^^xsd:anyURI ;
fhir:link <https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSServiceRequest>         ] )       ] )     ] [
fhir:id [ fhir:v "EHDSInpatientEncounter.partOf" ] ;
fhir:path [ fhir:v "EHDSInpatientEncounter.partOf" ] ;
fhir:short [ fhir:v "C.30.8 - Part of" ] ;
fhir:definition [ fhir:v "Another Encounter this encounter is part of" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EHDSEncounter.partOf" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSEncounter"^^xsd:anyURI ;
fhir:link <https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSEncounter>         ] )       ] )     ] [
fhir:id [ fhir:v "EHDSInpatientEncounter.serviceProvider" ] ;
fhir:path [ fhir:v "EHDSInpatientEncounter.serviceProvider" ] ;
fhir:short [ fhir:v "C.30.9 - Service provider" ] ;
fhir:definition [ fhir:v "The organization (facility) responsible for this encounter" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EHDSEncounter.serviceProvider" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganization"^^xsd:anyURI ;
fhir:link <https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganization>         ] )       ] )     ] [
fhir:id [ fhir:v "EHDSInpatientEncounter.appointment" ] ;
fhir:path [ fhir:v "EHDSInpatientEncounter.appointment" ] ;
fhir:short [ fhir:v "C.30.10 - Appointment" ] ;
fhir:definition [ fhir:v "The appointment that scheduled this encounter" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "EHDSEncounter.appointment" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSAppointment"^^xsd:anyURI ;
fhir:link <https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSAppointment>         ] )       ] )     ] [
fhir:id [ fhir:v "EHDSInpatientEncounter.actualPeriod" ] ;
fhir:path [ fhir:v "EHDSInpatientEncounter.actualPeriod" ] ;
fhir:short [ fhir:v "C.30.11 - Actual period" ] ;
fhir:definition [ fhir:v "The actual start and end time of the encounter" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EHDSEncounter.actualPeriod" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Period"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "EHDSInpatientEncounter.plannedStartDate" ] ;
fhir:path [ fhir:v "EHDSInpatientEncounter.plannedStartDate" ] ;
fhir:short [ fhir:v "C.30.12 - Planned start date" ] ;
fhir:definition [ fhir:v "The planned start date/time (or admission date) of the encounter" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EHDSEncounter.plannedStartDate" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "dateTime"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "EHDSInpatientEncounter.plannedEndDate" ] ;
fhir:path [ fhir:v "EHDSInpatientEncounter.plannedEndDate" ] ;
fhir:short [ fhir:v "C.30.13 - Planned end date" ] ;
fhir:definition [ fhir:v "The planned end date/time (or discharge date) of the encounter" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EHDSEncounter.plannedEndDate" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "dateTime"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "EHDSInpatientEncounter.admission" ] ;
fhir:path [ fhir:v "EHDSInpatientEncounter.admission" ] ;
fhir:short [ fhir:v "C.30.14 - Admission" ] ;
fhir:definition [ fhir:v "Details about the admission to a healthcare service" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EHDSEncounter.admission" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Base"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "EHDSInpatientEncounter.admission.admitter" ] ;
fhir:path [ fhir:v "EHDSInpatientEncounter.admission.admitter" ] ;
fhir:short [ fhir:v "C.30.14.1 - Admitter" ] ;
fhir:definition [ fhir:v "Admitting Healthcare Professional" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EHDSEncounter.admission.admitter" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional"^^xsd:anyURI ;
fhir:link <https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional>         ] )       ] )     ] [
fhir:id [ fhir:v "EHDSInpatientEncounter.admission.admitSource" ] ;
fhir:path [ fhir:v "EHDSInpatientEncounter.admission.admitSource" ] ;
fhir:short [ fhir:v "C.30.14.2 - Admit Source" ] ;
fhir:definition [ fhir:v "From where the patient was admitted (e.g. physician referral, transfer)." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EHDSEncounter.admission.admitSource" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ]       ] ) ;
fhir:binding [
fhir:strength [ fhir:v "preferred" ] ;
fhir:description [ fhir:v "hl7:admit-source" ]       ]     ] [
fhir:id [ fhir:v "EHDSInpatientEncounter.admission.referringProfessional" ] ;
fhir:path [ fhir:v "EHDSInpatientEncounter.admission.referringProfessional" ] ;
fhir:short [ fhir:v "C.30.14.3 - Referring professional" ] ;
fhir:definition [ fhir:v "Referring Healthcare Professional" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EHDSEncounter.admission.referringProfessional" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional"^^xsd:anyURI ;
fhir:link <https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional>         ] )       ] )     ] [
fhir:id [ fhir:v "EHDSInpatientEncounter.admission.admissionReason" ] ;
fhir:path [ fhir:v "EHDSInpatientEncounter.admission.admissionReason" ] ;
fhir:short [ fhir:v "C.30.14.4 - Admission reason" ] ;
fhir:definition [ fhir:v "Reason or reasons for admission, e.g. Problem, procedure or finding." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "EHDSEncounter.admission.admissionReason" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCondition"^^xsd:anyURI ;
fhir:link <https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCondition>         ] [
fhir:v "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSProcedure"^^xsd:anyURI ;
fhir:link <https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSProcedure>         ] [
fhir:v "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSObservation"^^xsd:anyURI ;
fhir:link <https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSObservation>         ] )       ] )     ] [
fhir:id [ fhir:v "EHDSInpatientEncounter.admission.admissionReasonComment" ] ;
fhir:path [ fhir:v "EHDSInpatientEncounter.admission.admissionReasonComment" ] ;
fhir:short [ fhir:v "C.30.14.5 - Admission reason comment" ] ;
fhir:definition [ fhir:v "Explanation of the reason for the encounter." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EHDSEncounter.admission.admissionReasonComment" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "EHDSInpatientEncounter.admission.admissionLegalStatus" ] ;
fhir:path [ fhir:v "EHDSInpatientEncounter.admission.admissionLegalStatus" ] ;
fhir:short [ fhir:v "C.30.14.6 - Admission legal status" ] ;
fhir:definition [ fhir:v "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)." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EHDSEncounter.admission.admissionLegalStatus" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ]       ] ) ;
fhir:binding [
fhir:strength [ fhir:v "preferred" ] ;
fhir:description [ fhir:v "SNOMED CT" ]       ]     ] [
fhir:id [ fhir:v "EHDSInpatientEncounter.discharge" ] ;
fhir:path [ fhir:v "EHDSInpatientEncounter.discharge" ] ;
fhir:short [ fhir:v "C.30.15 - Discharge" ] ;
fhir:definition [ fhir:v "Discharge details" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EHDSEncounter.discharge" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Base"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "EHDSInpatientEncounter.discharge.destinationType" ] ;
fhir:path [ fhir:v "EHDSInpatientEncounter.discharge.destinationType" ] ;
fhir:short [ fhir:v "C.30.15.1 - Destination type" ] ;
fhir:definition [ fhir:v "Type of location to which the patient will go after the encounter. E.g. home, hospital, nursing home, left against medical advice etc." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EHDSEncounter.discharge.destinationType" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ]       ] ) ;
fhir:binding [
fhir:strength [ fhir:v "preferred" ] ;
fhir:description [ fhir:v "hl7.discharge-disposition" ]       ]     ] [
fhir:id [ fhir:v "EHDSInpatientEncounter.discharge.destinationLocation" ] ;
fhir:path [ fhir:v "EHDSInpatientEncounter.discharge.destinationLocation" ] ;
fhir:short [ fhir:v "C.30.15.2 - Destination location" ] ;
fhir:definition [ fhir:v "The location/organisation to which the patient will go after the encounter. Name, address and telecommunication contact." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EHDSEncounter.discharge.destinationLocation" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganization"^^xsd:anyURI ;
fhir:link <https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganization>         ] [
fhir:v "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSLocation"^^xsd:anyURI ;
fhir:link <https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSLocation>         ] )       ] )     ] [
fhir:id [ fhir:v "EHDSInpatientEncounter.location" ] ;
fhir:path [ fhir:v "EHDSInpatientEncounter.location" ] ;
fhir:short [ fhir:v "C.30.16 - Location" ] ;
fhir:definition [ fhir:v "List of locations where the patient has been." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "EHDSEncounter.location" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Base"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "EHDSInpatientEncounter.location.period" ] ;
fhir:path [ fhir:v "EHDSInpatientEncounter.location.period" ] ;
fhir:short [ fhir:v "C.30.16.1 - Period" ] ;
fhir:definition [ fhir:v "Time period during which the patient was present at the location" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EHDSEncounter.location.period" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Period"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "EHDSInpatientEncounter.location.organizationPart" ] ;
fhir:path [ fhir:v "EHDSInpatientEncounter.location.organizationPart" ] ;
fhir:short [ fhir:v "C.30.16.2 - Organization part" ] ;
fhir:definition [ fhir:v "Organization or organization part (hospital department) where the patient was present." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EHDSEncounter.location.organizationPart" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSLocation"^^xsd:anyURI ]       ] )     ] )
  ] ; # 
  fhir:differential [
    ( fhir:element [
fhir:id [ fhir:v "EHDSInpatientEncounter" ] ;
fhir:path [ fhir:v "EHDSInpatientEncounter" ] ;
fhir:short [ fhir:v "Inpatient encounter model" ] ;
fhir:definition [ fhir:v "C.23 - EHDS refined base model for Inpatient encounter" ]     ] [
fhir:id [ fhir:v "EHDSInpatientEncounter.priority" ] ;
fhir:path [ fhir:v "EHDSInpatientEncounter.priority" ] ;
fhir:definition [ fhir:v "Admission urgency, either emergency or planned" ]     ] [
fhir:id [ fhir:v "EHDSInpatientEncounter.actualPeriod" ] ;
fhir:path [ fhir:v "EHDSInpatientEncounter.actualPeriod" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ]     ] [
fhir:id [ fhir:v "EHDSInpatientEncounter.admission" ] ;
fhir:path [ fhir:v "EHDSInpatientEncounter.admission" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ]     ] [
fhir:id [ fhir:v "EHDSInpatientEncounter.discharge" ] ;
fhir:path [ fhir:v "EHDSInpatientEncounter.discharge" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ]     ] [
fhir:id [ fhir:v "EHDSInpatientEncounter.location.organizationPart" ] ;
fhir:path [ fhir:v "EHDSInpatientEncounter.location.organizationPart" ] ;
fhir:definition [ fhir:v "Organization or organization part (hospital department) where the patient was present." ]     ] )
  ] . #