EHDS Logical Information Models
0.1.0 - ci-build

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

## Logical Model: EHDSEncounter - XML Profile

Draft as of 2025-07-08

XML representation of the EHDSEncounter logical model.

Raw xml | Download

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