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: EHDSMedicationDispense - XML Profile

Draft as of 2024-12-16

XML representation of the EHDSMedicationDispense logical model.

Raw xml | Download


<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="EHDSMedicationDispense"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: StructureDefinition EHDSMedicationDispense</b></p><a name="EHDSMedicationDispense"> </a><a name="hcEHDSMedicationDispense"> </a><a name="EHDSMedicationDispense-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-EHDSMedicationDispense-definitions.html#EHDSMedicationDispense" title="Logical model for medication dispensation (based on request or independently)">EHDSMedicationDispense</a><a name="EHDSMedicationDispense"> </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">Medication Dispensation (model)<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-EHDSMedicationDispense-definitions.html#EHDSMedicationDispense.identifier" title="Identifier for the dispense">identifier</a><a name="EHDSMedicationDispense.identifier"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><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/datatypes.html#Identifier">Identifier</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Identifier for the dispense<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_resource.png" alt="." style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationDispense-definitions.html#EHDSMedicationDispense.patient" title="The person for whom the medication is prescribed/ordered">patient</a><a name="EHDSMedicationDispense.patient"> </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-EHDSPatient.html">EHDSPatient</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">The person for whom the medication is prescribed/ordered</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_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationDispense-definitions.html#EHDSMedicationDispense.receiver[x]" title="Identification of the person who received the dispensed medication, especially when it was not the patient">receiver[x]</a><a name="EHDSMedicationDispense.receiver_x_"> </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="StructureDefinition-EHDSPatient.html">EHDSPatient</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Identification of the person who received the dispensed medication, especially when it was not the patient</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_choice.gif" alt="." style="background-color: white; background-color: inherit" title="Choice of Types" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationDispense-definitions.html#EHDSMedicationDispense.dispenser[x]" title="The person who dispensed the product, and takes the responsibility of the dispensation">dispenser[x]</a><a name="EHDSMedicationDispense.dispenser_x_"> </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"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">The person who dispensed the product, and takes the responsibility of the dispensation</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"/> <span title="C.2 - EHDS refined base model for Health professional (HP) ">dispenserEHDSHealthProfessional</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"></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="StructureDefinition-EHDSHealthProfessional.html">EHDSHealthProfessional</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></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"/> <span title="C.3 - EHDS refined base model for Health provider or any other type of organization">dispenserEHDSOrganization</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"></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-EHDSOrganization.html">EHDSOrganization</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></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"/> <span title="C.12 - EHDS refined base model for Device information">dispenserEHDSDevice</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"></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="StructureDefinition-EHDSDevice.html">EHDSDevice</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></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_reference.png" alt="." style="background-color: white; background-color: inherit" title="Reference to another Resource" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationDispense-definitions.html#EHDSMedicationDispense.relatedRequest" title="Prescription/request/order the dispense is related to">relatedRequest</a><a name="EHDSMedicationDispense.relatedRequest"> </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"><a href="http://hl7.org/fhir/R5/references.html">Reference</a>(<a href="StructureDefinition-EHDSMedicationPrescription.html">Medication Prescription (model)</a>)</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Prescription/request/order the dispense is related to<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_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_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationDispense-definitions.html#EHDSMedicationDispense.medication" title="Exact dispensed product">medication</a><a name="EHDSMedicationDispense.medication"> </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="StructureDefinition-EHDSMedication.html">EHDSMedication</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Exact dispensed product</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-EHDSMedicationDispense-definitions.html#EHDSMedicationDispense.dispensedQuantity" title="Number of dispensed packages if the pack size is known, or number of smaller items/units">dispensedQuantity</a><a name="EHDSMedicationDispense.dispensedQuantity"> </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="http://hl7.org/fhir/R5/datatypes.html#Quantity">Quantity</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Number of dispensed packages if the pack size is known, or number of smaller items/units</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_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationDispense-definitions.html#EHDSMedicationDispense.timeOfDispensation" title="Date and time of dispensation">timeOfDispensation</a><a name="EHDSMedicationDispense.timeOfDispensation"> </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">Date and time of dispensation</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-EHDSMedicationDispense-definitions.html#EHDSMedicationDispense.substitution" title="Question: is this relevant? It is in eHDSI dispensation.">substitution</a><a name="EHDSMedicationDispense.substitution"> </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">Base</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Indicated whether substitution was made by the dispenser</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-EHDSMedicationDispense-definitions.html#EHDSMedicationDispense.substitution.substitutionOccurred" title="Question: is this relevant? It is in eHDSI dispensation.">substitutionOccurred</a><a name="EHDSMedicationDispense.substitution.substitutionOccurred"> </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#boolean">boolean</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Indicated whether substitution was made by the dispenser</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-EHDSMedicationDispense-definitions.html#EHDSMedicationDispense.substitution.substitutionType" title="Question: is this relevant? It is in eHDSI dispensation.">substitutionType</a><a name="EHDSMedicationDispense.substitution.substitutionType"> </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">Indicated whether substitution was made by the dispenser</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-EHDSMedicationDispense-definitions.html#EHDSMedicationDispense.substitution.substitutionReason" title="Reason why the substitution was made">substitutionReason</a><a name="EHDSMedicationDispense.substitution.substitutionReason"> </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/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">Reason why the substitution was made<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-EHDSMedicationDispense-definitions.html#EHDSMedicationDispense.status" title="Status of the dispensation">status</a><a name="EHDSMedicationDispense.status"> </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="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">Status of the dispensation</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-EHDSMedicationDispense-definitions.html#EHDSMedicationDispense.statusReason" title="Reason for the current status of dispensation, for example the reason why the dispensation was made invalid">statusReason</a><a name="EHDSMedicationDispense.statusReason"> </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/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">Reason for the current status of dispensation, for example the reason why the dispensation was made invalid<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_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationDispense-definitions.html#EHDSMedicationDispense.statusReasonText" title="Textual reason for the current status of dispensation">statusReasonText</a><a name="EHDSMedicationDispense.statusReasonText"> </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#string">string</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Textual reason for the current status of dispensation</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_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationDispense-definitions.html#EHDSMedicationDispense.dosageInstructions" title="Dosaging and administration instructions">dosageInstructions</a><a name="EHDSMedicationDispense.dosageInstructions"> </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="StructureDefinition-EHDSDosaging.html">EHDSDosaging</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Dosaging and administration instructions<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_bck00.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationDispense-definitions.html#EHDSMedicationDispense.comment" title="Additional information or comments">comment</a><a name="EHDSMedicationDispense.comment"> </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"><a href="http://hl7.org/fhir/R5/datatypes.html#string">string</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Additional information or comments<br/></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/EHDSMedicationDispense"/>
  <version value="0.1.0"/>
  <name value="EHDSMedicationDispense"/>
  <title value="Medication Dispensation (model)"/>
  <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="Logical model for medication dispensation (based on request or independently)"/>
  <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/EHDSMedicationDispense"/>
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Base"/>
  <derivation value="specialization"/>
  <snapshot>
    <element id="EHDSMedicationDispense">
      <path value="EHDSMedicationDispense"/>
      <short value="Medication Dispensation (model)"/>
      <definition
                  value="Logical model for medication dispensation (based on request or independently)"/>
      <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="EHDSMedicationDispense.identifier">
      <path value="EHDSMedicationDispense.identifier"/>
      <short value="Identifier for the dispense"/>
      <definition value="Identifier for the dispense"/>
      <comment value="Not explicitly in eHN guidelines"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="EHDSMedicationDispense.identifier"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
    </element>
    <element id="EHDSMedicationDispense.patient">
      <path value="EHDSMedicationDispense.patient"/>
      <short
             value="The person for whom the medication is prescribed/ordered"/>
      <definition
                  value="The person for whom the medication is prescribed/ordered"/>
      <comment value="No change"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="EHDSMedicationDispense.patient"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPatient"/>
      </type>
    </element>
    <element id="EHDSMedicationDispense.receiver[x]">
      <path value="EHDSMedicationDispense.receiver[x]"/>
      <short
             value="Identification of the person who received the dispensed medication, especially when it was not the patient"/>
      <definition
                  value="Identification of the person who received the dispensed medication, especially when it was not the patient"/>
      <comment value="Added"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="EHDSMedicationDispense.receiver[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPatient"/>
      </type>
    </element>
    <element id="EHDSMedicationDispense.dispenser[x]">
      <path value="EHDSMedicationDispense.dispenser[x]"/>
      <short
             value="The person who dispensed the product, and takes the responsibility of the dispensation"/>
      <definition
                  value="The person who dispensed the product, and takes the responsibility of the dispensation"/>
      <comment
               value="Added device. Organisation is in eHN guidelines, but probably meant in combination with the pharmacist"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="EHDSMedicationDispense.dispenser[x]"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional"/>
      </type>
      <type>
        <code
              value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganization"/>
      </type>
      <type>
        <code
              value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSDevice"/>
      </type>
    </element>
    <element id="EHDSMedicationDispense.relatedRequest">
      <path value="EHDSMedicationDispense.relatedRequest"/>
      <short value="Prescription/request/order the dispense is related to"/>
      <definition
                  value="Prescription/request/order the dispense is related to"/>
      <comment value="No change"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="EHDSMedicationDispense.relatedRequest"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSMedicationPrescription"/>
      </type>
    </element>
    <element id="EHDSMedicationDispense.medication">
      <path value="EHDSMedicationDispense.medication"/>
      <short value="Exact dispensed product"/>
      <definition value="Exact dispensed product"/>
      <comment value="No change"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="EHDSMedicationDispense.medication"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSMedication"/>
      </type>
    </element>
    <element id="EHDSMedicationDispense.dispensedQuantity">
      <path value="EHDSMedicationDispense.dispensedQuantity"/>
      <short
             value="Number of dispensed packages if the pack size is known, or number of smaller items/units"/>
      <definition
                  value="Number of dispensed packages if the pack size is known, or number of smaller items/units"/>
      <comment value="No change"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="EHDSMedicationDispense.dispensedQuantity"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Quantity"/>
      </type>
    </element>
    <element id="EHDSMedicationDispense.timeOfDispensation">
      <path value="EHDSMedicationDispense.timeOfDispensation"/>
      <short value="Date and time of dispensation"/>
      <definition value="Date and time of dispensation"/>
      <comment value="No change"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="EHDSMedicationDispense.timeOfDispensation"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
    <element id="EHDSMedicationDispense.substitution">
      <path value="EHDSMedicationDispense.substitution"/>
      <short
             value="Indicated whether substitution was made by the dispenser"/>
      <definition
                  value="Question: is this relevant? It is in eHDSI dispensation."/>
      <comment value="No change but subelements added"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="EHDSMedicationDispense.substitution"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Base"/>
      </type>
    </element>
    <element id="EHDSMedicationDispense.substitution.substitutionOccurred">
      <path value="EHDSMedicationDispense.substitution.substitutionOccurred"/>
      <short
             value="Indicated whether substitution was made by the dispenser"/>
      <definition
                  value="Question: is this relevant? It is in eHDSI dispensation."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path
              value="EHDSMedicationDispense.substitution.substitutionOccurred"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element id="EHDSMedicationDispense.substitution.substitutionType">
      <path value="EHDSMedicationDispense.substitution.substitutionType"/>
      <short
             value="Indicated whether substitution was made by the dispenser"/>
      <definition
                  value="Question: is this relevant? It is in eHDSI dispensation."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="EHDSMedicationDispense.substitution.substitutionType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="EHDSMedicationDispense.substitution.substitutionReason">
      <path value="EHDSMedicationDispense.substitution.substitutionReason"/>
      <short value="Reason why the substitution was made"/>
      <definition value="Reason why the substitution was made"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="EHDSMedicationDispense.substitution.substitutionReason"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="EHDSMedicationDispense.status">
      <path value="EHDSMedicationDispense.status"/>
      <short value="Status of the dispensation"/>
      <definition value="Status of the dispensation"/>
      <comment value="Added"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="EHDSMedicationDispense.status"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="EHDSMedicationDispense.statusReason">
      <path value="EHDSMedicationDispense.statusReason"/>
      <short
             value="Reason for the current status of dispensation, for example the reason why the dispensation was made invalid"/>
      <definition
                  value="Reason for the current status of dispensation, for example the reason why the dispensation was made invalid"/>
      <comment value="Added"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="EHDSMedicationDispense.statusReason"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="EHDSMedicationDispense.statusReasonText">
      <path value="EHDSMedicationDispense.statusReasonText"/>
      <short value="Textual reason for the current status of dispensation"/>
      <definition
                  value="Textual reason for the current status of dispensation"/>
      <comment value="Added"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="EHDSMedicationDispense.statusReasonText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="EHDSMedicationDispense.dosageInstructions">
      <path value="EHDSMedicationDispense.dosageInstructions"/>
      <short value="Dosaging and administration instructions"/>
      <definition value="Dosaging and administration instructions"/>
      <comment value="Added"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="EHDSMedicationDispense.dosageInstructions"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSDosaging"/>
      </type>
    </element>
    <element id="EHDSMedicationDispense.comment">
      <path value="EHDSMedicationDispense.comment"/>
      <short value="Additional information or comments"/>
      <definition value="Additional information or comments"/>
      <comment value="Added."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="EHDSMedicationDispense.comment"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
  </snapshot>
  <differential>
    <element id="EHDSMedicationDispense">
      <path value="EHDSMedicationDispense"/>
      <short value="Medication Dispensation (model)"/>
      <definition
                  value="Logical model for medication dispensation (based on request or independently)"/>
    </element>
    <element id="EHDSMedicationDispense.identifier">
      <path value="EHDSMedicationDispense.identifier"/>
      <short value="Identifier for the dispense"/>
      <definition value="Identifier for the dispense"/>
      <comment value="Not explicitly in eHN guidelines"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Identifier"/>
      </type>
    </element>
    <element id="EHDSMedicationDispense.patient">
      <path value="EHDSMedicationDispense.patient"/>
      <short
             value="The person for whom the medication is prescribed/ordered"/>
      <definition
                  value="The person for whom the medication is prescribed/ordered"/>
      <comment value="No change"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code
              value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPatient"/>
      </type>
    </element>
    <element id="EHDSMedicationDispense.receiver[x]">
      <path value="EHDSMedicationDispense.receiver[x]"/>
      <short
             value="Identification of the person who received the dispensed medication, especially when it was not the patient"/>
      <definition
                  value="Identification of the person who received the dispensed medication, especially when it was not the patient"/>
      <comment value="Added"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code
              value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPatient"/>
      </type>
    </element>
    <element id="EHDSMedicationDispense.dispenser[x]">
      <path value="EHDSMedicationDispense.dispenser[x]"/>
      <short
             value="The person who dispensed the product, and takes the responsibility of the dispensation"/>
      <definition
                  value="The person who dispensed the product, and takes the responsibility of the dispensation"/>
      <comment
               value="Added device. Organisation is in eHN guidelines, but probably meant in combination with the pharmacist"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code
              value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional"/>
      </type>
      <type>
        <code
              value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganization"/>
      </type>
      <type>
        <code
              value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSDevice"/>
      </type>
    </element>
    <element id="EHDSMedicationDispense.relatedRequest">
      <path value="EHDSMedicationDispense.relatedRequest"/>
      <short value="Prescription/request/order the dispense is related to"/>
      <definition
                  value="Prescription/request/order the dispense is related to"/>
      <comment value="No change"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSMedicationPrescription"/>
      </type>
    </element>
    <element id="EHDSMedicationDispense.medication">
      <path value="EHDSMedicationDispense.medication"/>
      <short value="Exact dispensed product"/>
      <definition value="Exact dispensed product"/>
      <comment value="No change"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code
              value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSMedication"/>
      </type>
    </element>
    <element id="EHDSMedicationDispense.dispensedQuantity">
      <path value="EHDSMedicationDispense.dispensedQuantity"/>
      <short
             value="Number of dispensed packages if the pack size is known, or number of smaller items/units"/>
      <definition
                  value="Number of dispensed packages if the pack size is known, or number of smaller items/units"/>
      <comment value="No change"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Quantity"/>
      </type>
    </element>
    <element id="EHDSMedicationDispense.timeOfDispensation">
      <path value="EHDSMedicationDispense.timeOfDispensation"/>
      <short value="Date and time of dispensation"/>
      <definition value="Date and time of dispensation"/>
      <comment value="No change"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
    <element id="EHDSMedicationDispense.substitution">
      <path value="EHDSMedicationDispense.substitution"/>
      <short
             value="Indicated whether substitution was made by the dispenser"/>
      <definition
                  value="Question: is this relevant? It is in eHDSI dispensation."/>
      <comment value="No change but subelements added"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Base"/>
      </type>
    </element>
    <element id="EHDSMedicationDispense.substitution.substitutionOccurred">
      <path value="EHDSMedicationDispense.substitution.substitutionOccurred"/>
      <short
             value="Indicated whether substitution was made by the dispenser"/>
      <definition
                  value="Question: is this relevant? It is in eHDSI dispensation."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element id="EHDSMedicationDispense.substitution.substitutionType">
      <path value="EHDSMedicationDispense.substitution.substitutionType"/>
      <short
             value="Indicated whether substitution was made by the dispenser"/>
      <definition
                  value="Question: is this relevant? It is in eHDSI dispensation."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="EHDSMedicationDispense.substitution.substitutionReason">
      <path value="EHDSMedicationDispense.substitution.substitutionReason"/>
      <short value="Reason why the substitution was made"/>
      <definition value="Reason why the substitution was made"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="EHDSMedicationDispense.status">
      <path value="EHDSMedicationDispense.status"/>
      <short value="Status of the dispensation"/>
      <definition value="Status of the dispensation"/>
      <comment value="Added"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="EHDSMedicationDispense.statusReason">
      <path value="EHDSMedicationDispense.statusReason"/>
      <short
             value="Reason for the current status of dispensation, for example the reason why the dispensation was made invalid"/>
      <definition
                  value="Reason for the current status of dispensation, for example the reason why the dispensation was made invalid"/>
      <comment value="Added"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="EHDSMedicationDispense.statusReasonText">
      <path value="EHDSMedicationDispense.statusReasonText"/>
      <short value="Textual reason for the current status of dispensation"/>
      <definition
                  value="Textual reason for the current status of dispensation"/>
      <comment value="Added"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="EHDSMedicationDispense.dosageInstructions">
      <path value="EHDSMedicationDispense.dosageInstructions"/>
      <short value="Dosaging and administration instructions"/>
      <definition value="Dosaging and administration instructions"/>
      <comment value="Added"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code
              value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSDosaging"/>
      </type>
    </element>
    <element id="EHDSMedicationDispense.comment">
      <path value="EHDSMedicationDispense.comment"/>
      <short value="Additional information or comments"/>
      <definition value="Additional information or comments"/>
      <comment value="Added."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="string"/>
      </type>
    </element>
  </differential>
</StructureDefinition>