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

Logical Model: EHDSInpatientEncounter - XML Profile

Draft as of 2024-12-16

XML representation of the EHDSInpatientEncounter logical model.

Raw xml | Download


<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="EHDSInpatientEncounter"/>
  <text>
    <status value="extensions"/>
    <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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="The logical name of the element">Name</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Information about the use of the element">Flags</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Minimum and Maximum # of times the element can appear in the instance">Card.</a></th><th style="width: 100px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Reference to the type of the element">Type</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Additional information about the element">Description &amp; Constraints</a><span style="float: right"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC" alt="doco" style="background-color: inherit"/></a></span></th></tr><tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/types.html#Base">Base</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Inpatient encounter<br/><span style="font-weight:bold">Instances of this logical model are not marked to be the target of a Reference</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSInpatientEncounter-definitions.html#EHDSInpatientEncounter.encounterType" title="The type of the encounter whether inpatient or short stay encounter.">encounterType</a><a name="EHDSInpatientEncounter.encounterType"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">C.23.1 - Encounter type<br/><span style="font-weight:bold">Binding Description (No ValueSet): </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.">preferred</a>): hl7v3:ActEncounterCode<br/><br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-EHDSInpatientEncounter-definitions.html#EHDSInpatientEncounter.encounterNote" title="A narrative description of the encounter course.">encounterNote</a><a name="EHDSInpatientEncounter.encounterNote"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/narrative.html#Narrative">Narrative</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">C.23.2 - Encounter note</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSInpatientEncounter-definitions.html#EHDSInpatientEncounter.admission" title="Admission details">admission</a><a name="EHDSInpatientEncounter.admission"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Base</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">C.23.3 - Admission</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-EHDSInpatientEncounter-definitions.html#EHDSInpatientEncounter.admission.urgency" title="Admission type, either emergency or planned">urgency</a><a name="EHDSInpatientEncounter.admission.urgency"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">C.23.3.1 - Urgency<br/><span style="font-weight:bold">Binding Description (No ValueSet): </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.">preferred</a>): hl7:v3-xEncounterAdmissionUrgency<br/><br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSInpatientEncounter-definitions.html#EHDSInpatientEncounter.admission.date" title="Admission date and time.">date</a><a name="EHDSInpatientEncounter.admission.date"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : 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 : 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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">C.23.3.2 - Date</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-EHDSInpatientEncounter-definitions.html#EHDSInpatientEncounter.admission.admitter" title="Admitting Healthcare Professional">admitter</a><a name="EHDSInpatientEncounter.admission.admitter"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/references.html">Reference</a>(<a href="StructureDefinition-EHDSHealthProfessional.html">Health professional</a>)</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">C.23.3.3 - Admitter</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSInpatientEncounter-definitions.html#EHDSInpatientEncounter.admission.admitSource" title="From where the patient was admitted (e.g. physician referral, transfer).">admitSource</a><a name="EHDSInpatientEncounter.admission.admitSource"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">C.23.3.4 - Admit Source<br/><span style="font-weight:bold">Binding Description (No ValueSet): </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.">preferred</a>): hl7:admit-source<br/><br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-EHDSInpatientEncounter-definitions.html#EHDSInpatientEncounter.admission.referringProfessional" title="Referring Healthcare Professional">referringProfessional</a><a name="EHDSInpatientEncounter.admission.referringProfessional"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/references.html">Reference</a>(<a href="StructureDefinition-EHDSHealthProfessional.html">Health professional</a>)</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">C.23.3.5 - Referring professional</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_reference.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Reference to another Resource" class="hierarchy"/> <a href="StructureDefinition-EHDSInpatientEncounter-definitions.html#EHDSInpatientEncounter.admission.admissionReason" title="Reason or reasons for admission, e.g. Problem, procedure or finding.">admissionReason</a><a name="EHDSInpatientEncounter.admission.admissionReason"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">C.23.3.6 - Admission reason<br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-EHDSInpatientEncounter-definitions.html#EHDSInpatientEncounter.admission.admissionReasonComment" title="Explanation of the reason for the encounter.">admissionReasonComment</a><a name="EHDSInpatientEncounter.admission.admissionReasonComment"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/narrative.html#Narrative">Narrative</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">C.23.3.7 - Admission reason comment</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSInpatientEncounter-definitions.html#EHDSInpatientEncounter.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="EHDSInpatientEncounter.admission.admissionLegalStatus"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">C.23.3.8 - Admission legal status<br/><span style="font-weight:bold">Binding Description (No ValueSet): </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.">preferred</a>): SNOMED CT<br/><br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-EHDSInpatientEncounter-definitions.html#EHDSInpatientEncounter.discharge" title="Discharge details">discharge</a><a name="EHDSInpatientEncounter.discharge"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Base</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">C.23.4 - Discharge</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSInpatientEncounter-definitions.html#EHDSInpatientEncounter.discharge.date" title="Discharge date and time">date</a><a name="EHDSInpatientEncounter.discharge.date"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : 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 : 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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">C.23.4.1 - Date</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-EHDSInpatientEncounter-definitions.html#EHDSInpatientEncounter.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="EHDSInpatientEncounter.discharge.destinationType"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">C.23.4.2 - Destination type<br/><span style="font-weight:bold">Binding Description (No ValueSet): </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.">preferred</a>): hl7.discharge-disposition<br/><br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_reference.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Reference to another Resource" class="hierarchy"/> <a href="StructureDefinition-EHDSInpatientEncounter-definitions.html#EHDSInpatientEncounter.discharge.destinationLocation" title="The location/organisation to which the patient will go after the encounter. Name, address and telecommunication contact.">destinationLocation</a><a name="EHDSInpatientEncounter.discharge.destinationLocation"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/references.html">Reference</a>(<a href="StructureDefinition-EHDSOrganization.html">Organization (model)</a> | <a href="StructureDefinition-EHDSLocation.html">Location (model)</a>)</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">C.23.4.3 - Destination location</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-EHDSInpatientEncounter-definitions.html#EHDSInpatientEncounter.location" title="All locations/departments where the patient stayed (was boarded) within the hospital.">location</a><a name="EHDSInpatientEncounter.location"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Base</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">C.23.5 - Location<br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-EHDSInpatientEncounter-definitions.html#EHDSInpatientEncounter.location.period" title="Time period during which the patient was present at the location">period</a><a name="EHDSInpatientEncounter.location.period"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : 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 : 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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">C.23.5.1 - Period</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-EHDSLocation.html">EHDSLocation</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">C.23.5.2 - Organization part</td></tr>
<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>
  </text>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics">
    <valueCode value="can-be-target"/>
  </extension>
  <url
       value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSInpatientEncounter"/>
  <version value="0.1.0"/>
  <name value="EHDSInpatientEncounter"/>
  <title value="Inpatient encounter"/>
  <status value="draft"/>
  <date value="2024-12-16T17:20:39+00:00"/>
  <publisher value="Xt-EHR"/>
  <contact>
    <name value="Xt-EHR"/>
    <telecom>
      <system value="url"/>
      <value value="http://Xt-EHR.eu"/>
    </telecom>
  </contact>
  <description
               value="C.23 - EHDS refined base model for Inpatient encounter"/>
  <fhirVersion value="5.0.0"/>
  <mapping>
    <identity value="rim"/>
    <uri value="http://hl7.org/v3"/>
    <name value="RIM Mapping"/>
  </mapping>
  <kind value="logical"/>
  <abstract value="false"/>
  <type
        value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSInpatientEncounter"/>
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Base"/>
  <derivation value="specialization"/>
  <snapshot>
    <element id="EHDSInpatientEncounter">
      <path value="EHDSInpatientEncounter"/>
      <short value="Inpatient encounter"/>
      <definition
                  value="C.23 - EHDS refined base model for Inpatient encounter"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Base"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <isModifier value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="EHDSInpatientEncounter.encounterType">
      <path value="EHDSInpatientEncounter.encounterType"/>
      <short value="C.23.1 - Encounter type"/>
      <definition
                  value="The type of the encounter whether inpatient or short stay encounter."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="EHDSInpatientEncounter.encounterType"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="preferred"/>
        <description value="hl7v3:ActEncounterCode"/>
      </binding>
    </element>
    <element id="EHDSInpatientEncounter.encounterNote">
      <path value="EHDSInpatientEncounter.encounterNote"/>
      <short value="C.23.2 - Encounter note"/>
      <definition value="A narrative description of the encounter course."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="EHDSInpatientEncounter.encounterNote"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Narrative"/>
      </type>
    </element>
    <element id="EHDSInpatientEncounter.admission">
      <path value="EHDSInpatientEncounter.admission"/>
      <short value="C.23.3 - Admission"/>
      <definition value="Admission details"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="EHDSInpatientEncounter.admission"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Base"/>
      </type>
    </element>
    <element id="EHDSInpatientEncounter.admission.urgency">
      <path value="EHDSInpatientEncounter.admission.urgency"/>
      <short value="C.23.3.1 - Urgency"/>
      <definition value="Admission type, either emergency or planned"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="EHDSInpatientEncounter.admission.urgency"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="preferred"/>
        <description value="hl7:v3-xEncounterAdmissionUrgency"/>
      </binding>
    </element>
    <element id="EHDSInpatientEncounter.admission.date">
      <path value="EHDSInpatientEncounter.admission.date"/>
      <short value="C.23.3.2 - Date"/>
      <definition value="Admission date and time."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="EHDSInpatientEncounter.admission.date"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
    <element id="EHDSInpatientEncounter.admission.admitter">
      <path value="EHDSInpatientEncounter.admission.admitter"/>
      <short value="C.23.3.3 - Admitter"/>
      <definition value="Admitting Healthcare Professional"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="EHDSInpatientEncounter.admission.admitter"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional"/>
      </type>
    </element>
    <element id="EHDSInpatientEncounter.admission.admitSource">
      <path value="EHDSInpatientEncounter.admission.admitSource"/>
      <short value="C.23.3.4 - Admit Source"/>
      <definition
                  value="From where the patient was admitted (e.g. physician referral, transfer)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="EHDSInpatientEncounter.admission.admitSource"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="preferred"/>
        <description value="hl7:admit-source"/>
      </binding>
    </element>
    <element id="EHDSInpatientEncounter.admission.referringProfessional">
      <path value="EHDSInpatientEncounter.admission.referringProfessional"/>
      <short value="C.23.3.5 - Referring professional"/>
      <definition value="Referring Healthcare Professional"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="EHDSInpatientEncounter.admission.referringProfessional"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional"/>
      </type>
    </element>
    <element id="EHDSInpatientEncounter.admission.admissionReason">
      <path value="EHDSInpatientEncounter.admission.admissionReason"/>
      <short value="C.23.3.6 - Admission reason"/>
      <definition
                  value="Reason or reasons for admission, e.g. Problem, procedure or finding."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="EHDSInpatientEncounter.admission.admissionReason"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCondition"/>
        <targetProfile
                       value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSProcedure"/>
        <targetProfile
                       value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSObservation"/>
      </type>
    </element>
    <element id="EHDSInpatientEncounter.admission.admissionReasonComment">
      <path value="EHDSInpatientEncounter.admission.admissionReasonComment"/>
      <short value="C.23.3.7 - Admission reason comment"/>
      <definition value="Explanation of the reason for the encounter."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path
              value="EHDSInpatientEncounter.admission.admissionReasonComment"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Narrative"/>
      </type>
    </element>
    <element id="EHDSInpatientEncounter.admission.admissionLegalStatus">
      <path value="EHDSInpatientEncounter.admission.admissionLegalStatus"/>
      <short value="C.23.3.8 - Admission legal status"/>
      <definition
                  value="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 value="0"/>
      <max value="1"/>
      <base>
        <path value="EHDSInpatientEncounter.admission.admissionLegalStatus"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="preferred"/>
        <description value="SNOMED CT"/>
      </binding>
    </element>
    <element id="EHDSInpatientEncounter.discharge">
      <path value="EHDSInpatientEncounter.discharge"/>
      <short value="C.23.4 - Discharge"/>
      <definition value="Discharge details"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="EHDSInpatientEncounter.discharge"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Base"/>
      </type>
    </element>
    <element id="EHDSInpatientEncounter.discharge.date">
      <path value="EHDSInpatientEncounter.discharge.date"/>
      <short value="C.23.4.1 - Date"/>
      <definition value="Discharge date and time"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="EHDSInpatientEncounter.discharge.date"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
    <element id="EHDSInpatientEncounter.discharge.destinationType">
      <path value="EHDSInpatientEncounter.discharge.destinationType"/>
      <short value="C.23.4.2 - Destination type"/>
      <definition
                  value="Type of location to which the patient will go after the encounter. E.g. home, hospital, nursing home, left against medical advice etc."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="EHDSInpatientEncounter.discharge.destinationType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="preferred"/>
        <description value="hl7.discharge-disposition"/>
      </binding>
    </element>
    <element id="EHDSInpatientEncounter.discharge.destinationLocation">
      <path value="EHDSInpatientEncounter.discharge.destinationLocation"/>
      <short value="C.23.4.3 - Destination location"/>
      <definition
                  value="The location/organisation to which the patient will go after the encounter. Name, address and telecommunication contact."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="EHDSInpatientEncounter.discharge.destinationLocation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganization"/>
        <targetProfile
                       value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSLocation"/>
      </type>
    </element>
    <element id="EHDSInpatientEncounter.location">
      <path value="EHDSInpatientEncounter.location"/>
      <short value="C.23.5 - Location"/>
      <definition
                  value="All locations/departments where the patient stayed (was boarded) within the hospital."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="EHDSInpatientEncounter.location"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Base"/>
      </type>
    </element>
    <element id="EHDSInpatientEncounter.location.period">
      <path value="EHDSInpatientEncounter.location.period"/>
      <short value="C.23.5.1 - Period"/>
      <definition
                  value="Time period during which the patient was present at the location"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="EHDSInpatientEncounter.location.period"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Period"/>
      </type>
    </element>
    <element id="EHDSInpatientEncounter.location.organizationPart">
      <path value="EHDSInpatientEncounter.location.organizationPart"/>
      <short value="C.23.5.2 - Organization part"/>
      <definition
                  value="Organization or organization part (hospital department) where the patient was present."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="EHDSInpatientEncounter.location.organizationPart"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSLocation"/>
      </type>
    </element>
  </snapshot>
  <differential>
    <element id="EHDSInpatientEncounter">
      <path value="EHDSInpatientEncounter"/>
      <short value="Inpatient encounter"/>
      <definition
                  value="C.23 - EHDS refined base model for Inpatient encounter"/>
    </element>
    <element id="EHDSInpatientEncounter.encounterType">
      <path value="EHDSInpatientEncounter.encounterType"/>
      <short value="C.23.1 - Encounter type"/>
      <definition
                  value="The type of the encounter whether inpatient or short stay encounter."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="preferred"/>
        <description value="hl7v3:ActEncounterCode"/>
      </binding>
    </element>
    <element id="EHDSInpatientEncounter.encounterNote">
      <path value="EHDSInpatientEncounter.encounterNote"/>
      <short value="C.23.2 - Encounter note"/>
      <definition value="A narrative description of the encounter course."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Narrative"/>
      </type>
    </element>
    <element id="EHDSInpatientEncounter.admission">
      <path value="EHDSInpatientEncounter.admission"/>
      <short value="C.23.3 - Admission"/>
      <definition value="Admission details"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Base"/>
      </type>
    </element>
    <element id="EHDSInpatientEncounter.admission.urgency">
      <path value="EHDSInpatientEncounter.admission.urgency"/>
      <short value="C.23.3.1 - Urgency"/>
      <definition value="Admission type, either emergency or planned"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="preferred"/>
        <description value="hl7:v3-xEncounterAdmissionUrgency"/>
      </binding>
    </element>
    <element id="EHDSInpatientEncounter.admission.date">
      <path value="EHDSInpatientEncounter.admission.date"/>
      <short value="C.23.3.2 - Date"/>
      <definition value="Admission date and time."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
    <element id="EHDSInpatientEncounter.admission.admitter">
      <path value="EHDSInpatientEncounter.admission.admitter"/>
      <short value="C.23.3.3 - Admitter"/>
      <definition value="Admitting Healthcare Professional"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional"/>
      </type>
    </element>
    <element id="EHDSInpatientEncounter.admission.admitSource">
      <path value="EHDSInpatientEncounter.admission.admitSource"/>
      <short value="C.23.3.4 - Admit Source"/>
      <definition
                  value="From where the patient was admitted (e.g. physician referral, transfer)."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="preferred"/>
        <description value="hl7:admit-source"/>
      </binding>
    </element>
    <element id="EHDSInpatientEncounter.admission.referringProfessional">
      <path value="EHDSInpatientEncounter.admission.referringProfessional"/>
      <short value="C.23.3.5 - Referring professional"/>
      <definition value="Referring Healthcare Professional"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional"/>
      </type>
    </element>
    <element id="EHDSInpatientEncounter.admission.admissionReason">
      <path value="EHDSInpatientEncounter.admission.admissionReason"/>
      <short value="C.23.3.6 - Admission reason"/>
      <definition
                  value="Reason or reasons for admission, e.g. Problem, procedure or finding."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCondition"/>
        <targetProfile
                       value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSProcedure"/>
        <targetProfile
                       value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSObservation"/>
      </type>
    </element>
    <element id="EHDSInpatientEncounter.admission.admissionReasonComment">
      <path value="EHDSInpatientEncounter.admission.admissionReasonComment"/>
      <short value="C.23.3.7 - Admission reason comment"/>
      <definition value="Explanation of the reason for the encounter."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Narrative"/>
      </type>
    </element>
    <element id="EHDSInpatientEncounter.admission.admissionLegalStatus">
      <path value="EHDSInpatientEncounter.admission.admissionLegalStatus"/>
      <short value="C.23.3.8 - Admission legal status"/>
      <definition
                  value="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 value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="preferred"/>
        <description value="SNOMED CT"/>
      </binding>
    </element>
    <element id="EHDSInpatientEncounter.discharge">
      <path value="EHDSInpatientEncounter.discharge"/>
      <short value="C.23.4 - Discharge"/>
      <definition value="Discharge details"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Base"/>
      </type>
    </element>
    <element id="EHDSInpatientEncounter.discharge.date">
      <path value="EHDSInpatientEncounter.discharge.date"/>
      <short value="C.23.4.1 - Date"/>
      <definition value="Discharge date and time"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
    <element id="EHDSInpatientEncounter.discharge.destinationType">
      <path value="EHDSInpatientEncounter.discharge.destinationType"/>
      <short value="C.23.4.2 - Destination type"/>
      <definition
                  value="Type of location to which the patient will go after the encounter. E.g. home, hospital, nursing home, left against medical advice etc.  "/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="preferred"/>
        <description value="hl7.discharge-disposition"/>
      </binding>
    </element>
    <element id="EHDSInpatientEncounter.discharge.destinationLocation">
      <path value="EHDSInpatientEncounter.discharge.destinationLocation"/>
      <short value="C.23.4.3 - Destination location"/>
      <definition
                  value="The location/organisation to which the patient will go after the encounter. Name, address and telecommunication contact."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganization"/>
        <targetProfile
                       value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSLocation"/>
      </type>
    </element>
    <element id="EHDSInpatientEncounter.location">
      <path value="EHDSInpatientEncounter.location"/>
      <short value="C.23.5 - Location"/>
      <definition
                  value="All locations/departments where the patient stayed (was boarded) within the hospital."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Base"/>
      </type>
    </element>
    <element id="EHDSInpatientEncounter.location.period">
      <path value="EHDSInpatientEncounter.location.period"/>
      <short value="C.23.5.1 - Period"/>
      <definition
                  value="Time period during which the patient was present at the location"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Period"/>
      </type>
    </element>
    <element id="EHDSInpatientEncounter.location.organizationPart">
      <path value="EHDSInpatientEncounter.location.organizationPart"/>
      <short value="C.23.5.2 - Organization part"/>
      <definition
                  value="Organization or organization part (hospital department) where the patient was present."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code
              value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSLocation"/>
      </type>
    </element>
  </differential>
</StructureDefinition>