EHDS Logical Information Models
0.2.1 - qa-preview

EHDS Logical Information Models, published by Xt-EHR. This guide is not an authorized publication; it is the continuous build for version 0.2.1 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-D7-1 and changes regularly. See the Directory of published versions

## Logical Model: EHDSMedicationDispense - JSON Profile

Draft as of 2026-02-09

JSON representation of the EHDSMedicationDispense logical model.

Raw json | Download

    {
      "resourceType" : "StructureDefinition",
      "id" : "EHDSMedicationDispense",
      "text" : {
        "status" : "extensions",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition EHDSMedicationDispense</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-EHDSMedicationDispense-definitions.html#EHDSMedicationDispense\" title=\"Logical model for medication dispensation (based on a request and dispensed in a pharmacy). Implementers should take into account, if allowed and needed, the calculation of remaining dispensable product based on this information.\">EHDSMedicationDispense</a><a name=\"EHDSMedicationDispense\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-EHDSDataSet.html\">EHDSDataSet</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\">Medication dispense model<br/><br/>Elements defined in Ancestors:<a href=\"StructureDefinition-EHDSDataSet.html\" title=\"Basic metadata for this information\">header</a></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSMedicationDispense-definitions.html#EHDSMedicationDispense.header\">header</a><a name=\"EHDSMedicationDispense.header\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSMedicationDispense-definitions.html#EHDSMedicationDispense.header.author[x]\" title=\"The actor who issued the dispense record. Responsibility for the dispense should be traceable from this information.\">author[x]</a><a name=\"EHDSMedicationDispense.header.author_x_\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"StructureDefinition-EHDSHealthProfessional.html\">EHDSHealthProfessional</a><span style=\"opacity: 0.5\">, </span><a style=\"opacity: 0.5; opacity: 0.5\" href=\"StructureDefinition-EHDSOrganisation.html\">EHDSOrganisation</a><span style=\"opacity: 0.5\">, </span><a style=\"opacity: 0.5; opacity: 0.5\" href=\"StructureDefinition-EHDSDevice.html\">EHDSDevice</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\">The actor who issued the dispense record. Responsibility for the dispense should be traceable from this information.</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSMedicationDispense-definitions.html#EHDSMedicationDispense.header.date\" title=\"Date and time of issuing the dispense record\">date</a><a name=\"EHDSMedicationDispense.header.date\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" 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\">Date and time of issuing the dispense record</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSMedicationDispense-definitions.html#EHDSMedicationDispense.header.status\" title=\"The status of the dispense, e.g. completed, declined, entered-in-error\">status</a><a name=\"EHDSMedicationDispense.header.status\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"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\">The status of the dispense, e.g. completed, declined, entered-in-error<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 MedicationDispense Status Codes</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a style=\"text-decoration:line-through; text-decoration:line-through\" href=\"StructureDefinition-EHDSMedicationDispense-definitions.html#EHDSMedicationDispense.header.source\">source</a><a name=\"EHDSMedicationDispense.header.source\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"text-decoration:line-through\"/><span style=\"text-decoration:line-through\">0</span><span style=\"text-decoration:line-through\">..</span><span style=\"text-decoration:line-through\">0</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-style: italic\">Source of information (e.g. patient, patient's proxy). Used in case the patient has authored the information or the author has submitted patient-stated information.</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSMedicationDispense-definitions.html#EHDSMedicationDispense.dispenseLocation\" title=\"Location of dispense\">dispenseLocation</a><a name=\"EHDSMedicationDispense.dispenseLocation\"> </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=\"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\">Location of dispense</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_choice.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Choice of Types\" 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. When not present, it is assumed that the patient is the receiver.\">receiver[x]</a><a name=\"EHDSMedicationDispense.receiver_x_\"> </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\"/><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\">Identification of the person who received the dispensed medication, especially when it was not the patient. When not present, it is assumed that the patient is the receiver.</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <span title=\"Model for information about a patient (subject of care).\">receiverEHDSPatient</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\"/><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\"><a href=\"StructureDefinition-EHDSPatient.html\">EHDSPatient</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\"/></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <span title=\"Model for information about a health professional.\">receiverEHDSHealthProfessional</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><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\"><a href=\"StructureDefinition-EHDSHealthProfessional.html\">EHDSHealthProfessional</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\"/></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <span title=\"Model for information about a guardian or other person related to the subject of care\">receiverEHDSRelatedPerson</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\"/><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\"><a href=\"StructureDefinition-EHDSRelatedPerson.html\">EHDSRelatedPerson</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\"/></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSMedicationDispense-definitions.html#EHDSMedicationDispense.relatedRequest\" title=\"Identifier of the prescription item the dispense is related to\">relatedRequest</a><a name=\"EHDSMedicationDispense.relatedRequest\"> </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\">Identifier of the prescription item the dispense is related to<br/></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSMedicationDispense-definitions.html#EHDSMedicationDispense.medication\" title=\"Exact dispensed product. If multiple medications are dispensed together, multiple dispense records should be created.\">medication</a><a name=\"EHDSMedicationDispense.medication\"> </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-EHDSMedication.html\">EHDSMedication</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\">Exact dispensed product. If multiple medications are dispensed together, multiple dispense records should be created.</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSMedicationDispense-definitions.html#EHDSMedicationDispense.dispensedQuantity\" title=\"Number of dispensed packages if the package size is known, or number of smaller items/units, according to the medication dispensed. A unit is expected.\">dispensedQuantity</a><a name=\"EHDSMedicationDispense.dispensedQuantity\"> </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#Quantity\">Quantity</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\">Number of dispensed packages if the package size is known, or number of smaller items/units, according to the medication dispensed. A unit is expected.<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\">UCUM, EDQM Standard Terms</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSMedicationDispense-definitions.html#EHDSMedicationDispense.timeOfDispensation\" title=\"Date and time when medication was handed over. When not present, the time of dispensation is assumed to be the time of issuing dispense record.\">timeOfDispensation</a><a name=\"EHDSMedicationDispense.timeOfDispensation\"> </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\">Date and time when medication was handed over. When not present, the time of dispensation is assumed to be the time of issuing dispense record.</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSMedicationDispense-definitions.html#EHDSMedicationDispense.substitutionOccurred\" title=\"Whether substitution was made by the dispenser. Definition of substitution is specific to the jurisdiction.\">substitutionOccurred</a><a name=\"EHDSMedicationDispense.substitutionOccurred\"> </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#boolean\">boolean</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\">Whether substitution was made by the dispenser. Definition of substitution is specific to the jurisdiction.</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSMedicationDispense-definitions.html#EHDSMedicationDispense.dosageInstructions\" title=\"Dosage and administration instructions\">dosageInstructions</a><a name=\"EHDSMedicationDispense.dosageInstructions\"> </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=\"StructureDefinition-EHDSDosage.html\">EHDSDosage</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\">Dosage and administration instructions</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSMedicationDispense-definitions.html#EHDSMedicationDispense.note\" title=\"Additional information or comments\">note</a><a name=\"EHDSMedicationDispense.note\"> </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\">Additional information or comments</td></tr>\r\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64, \" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"
      },
      "url" : "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispense",
      "version" : "0.2.1",
      "name" : "EHDSMedicationDispense",
      "title" : "Medication dispense model",
      "status" : "draft",
      "date" : "2026-02-09T09:32:05+00:00",
      "publisher" : "Xt-EHR",
      "contact" : [
        {
          "name" : "Xt-EHR",
          "telecom" : [
            {
              "system" : "url",
              "value" : "http://www.xt-ehr.eu/"
            }
          ]
        }
      ],
      "description" : "Logical model for medication dispensation (based on a request and dispensed in a pharmacy). Implementers should take into account, if allowed and needed, the calculation of remaining dispensable product based on this information.",
      "fhirVersion" : "5.0.0",
      "mapping" : [
        {
          "identity" : "rim",
          "uri" : "http://hl7.org/v3",
          "name" : "RIM Mapping"
        }
      ],
      "kind" : "logical",
      "abstract" : false,
      "type" : "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationDispense",
      "baseDefinition" : "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDataSet",
      "derivation" : "specialization",
      "snapshot" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
            "valueString" : "0.2.1"
          }
        ],
        "element" : [
          {
            "id" : "EHDSMedicationDispense",
            "path" : "EHDSMedicationDispense",
            "short" : "Medication dispense model",
            "definition" : "Logical model for medication dispensation (based on a request and dispensed in a pharmacy). Implementers should take into account, if allowed and needed, the calculation of remaining dispensable product based on this information.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Base",
              "min" : 0,
              "max" : "*"
            },
            "isModifier" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "EHDSMedicationDispense.header",
            "path" : "EHDSMedicationDispense.header",
            "short" : "Basic metadata for this information",
            "definition" : "Basic metadata for this information",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "EHDSDataSet.header",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Base"
              }
            ]
          },
          {
            "id" : "EHDSMedicationDispense.header.subject",
            "path" : "EHDSMedicationDispense.header.subject",
            "short" : "Patient/subject information",
            "definition" : "Patient/subject information",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "EHDSDataSet.header.subject",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSPatient"
              }
            ]
          },
          {
            "id" : "EHDSMedicationDispense.header.identifier",
            "path" : "EHDSMedicationDispense.header.identifier",
            "short" : "Business identifier for the object, unique within its system. Supporting disambiguation between different contexts (systems/countries).",
            "definition" : "Business identifier for the object, unique within its system. Supporting disambiguation between different contexts (systems/countries).",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "EHDSDataSet.header.identifier",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Identifier"
              }
            ]
          },
          {
            "id" : "EHDSMedicationDispense.header.author[x]",
            "path" : "EHDSMedicationDispense.header.author[x]",
            "short" : "The actor who issued the dispense record. Responsibility for the dispense should be traceable from this information.",
            "definition" : "The actor who issued the dispense record. Responsibility for the dispense should be traceable from this information.",
            "min" : 1,
            "max" : "*",
            "base" : {
              "path" : "EHDSDataSet.header.author[x]",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional"
              },
              {
                "code" : "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSOrganisation"
              },
              {
                "code" : "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDevice"
              }
            ]
          },
          {
            "id" : "EHDSMedicationDispense.header.date",
            "path" : "EHDSMedicationDispense.header.date",
            "short" : "Date and time of issuing the dispense record",
            "definition" : "Date and time of issuing the dispense record",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "EHDSDataSet.header.date",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "dateTime"
              }
            ]
          },
          {
            "id" : "EHDSMedicationDispense.header.status",
            "path" : "EHDSMedicationDispense.header.status",
            "short" : "The status of the dispense, e.g. completed, declined, entered-in-error",
            "definition" : "The status of the dispense, e.g. completed, declined, entered-in-error",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "EHDSDataSet.header.status",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "strength" : "preferred",
              "description" : "HL7 MedicationDispense Status Codes"
            }
          },
          {
            "id" : "EHDSMedicationDispense.header.source",
            "path" : "EHDSMedicationDispense.header.source",
            "short" : "Source of information (e.g. patient, patient's proxy). Used in case the patient has authored the information or the author has submitted patient-stated information.",
            "definition" : "Source of information (e.g. patient, patient's proxy). Used in case the patient has authored the information or the author has submitted patient-stated information.",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "EHDSDataSet.header.source",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ]
          },
          {
            "id" : "EHDSMedicationDispense.header.language",
            "path" : "EHDSMedicationDispense.header.language",
            "short" : "Language in which the resource is written. Language is expressed by the IETF language tag.",
            "definition" : "Language in which the resource is written. Language is expressed by the IETF language tag.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSDataSet.header.language",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "strength" : "preferred",
              "description" : "BCP 47"
            }
          },
          {
            "id" : "EHDSMedicationDispense.dispenseLocation",
            "path" : "EHDSMedicationDispense.dispenseLocation",
            "short" : "Location of dispense",
            "definition" : "Location of dispense",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSMedicationDispense.dispenseLocation",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSLocation"
              }
            ]
          },
          {
            "id" : "EHDSMedicationDispense.receiver[x]",
            "path" : "EHDSMedicationDispense.receiver[x]",
            "short" : "Identification of the person who received the dispensed medication, especially when it was not the patient. When not present, it is assumed that the patient is the receiver.",
            "definition" : "Identification of the person who received the dispensed medication, especially when it was not the patient. When not present, it is assumed that the patient is the receiver.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSMedicationDispense.receiver[x]",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSPatient"
              },
              {
                "code" : "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional"
              },
              {
                "code" : "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSRelatedPerson"
              }
            ]
          },
          {
            "id" : "EHDSMedicationDispense.relatedRequest",
            "path" : "EHDSMedicationDispense.relatedRequest",
            "short" : "Identifier of the prescription item the dispense is related to",
            "definition" : "Identifier of the prescription item the dispense is related to",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "EHDSMedicationDispense.relatedRequest",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Identifier"
              }
            ]
          },
          {
            "id" : "EHDSMedicationDispense.medication",
            "path" : "EHDSMedicationDispense.medication",
            "short" : "Exact dispensed product. If multiple medications are dispensed together, multiple dispense records should be created.",
            "definition" : "Exact dispensed product. If multiple medications are dispensed together, multiple dispense records should be created.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "EHDSMedicationDispense.medication",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedication"
              }
            ]
          },
          {
            "id" : "EHDSMedicationDispense.dispensedQuantity",
            "path" : "EHDSMedicationDispense.dispensedQuantity",
            "short" : "Number of dispensed packages if the package size is known, or number of smaller items/units, according to the medication dispensed. A unit is expected.",
            "definition" : "Number of dispensed packages if the package size is known, or number of smaller items/units, according to the medication dispensed. A unit is expected.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "EHDSMedicationDispense.dispensedQuantity",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Quantity"
              }
            ],
            "binding" : {
              "strength" : "preferred",
              "description" : "UCUM, EDQM Standard Terms"
            }
          },
          {
            "id" : "EHDSMedicationDispense.timeOfDispensation",
            "path" : "EHDSMedicationDispense.timeOfDispensation",
            "short" : "Date and time when medication was handed over. When not present, the time of dispensation is assumed to be the time of issuing dispense record.",
            "definition" : "Date and time when medication was handed over. When not present, the time of dispensation is assumed to be the time of issuing dispense record.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSMedicationDispense.timeOfDispensation",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "dateTime"
              }
            ]
          },
          {
            "id" : "EHDSMedicationDispense.substitutionOccurred",
            "path" : "EHDSMedicationDispense.substitutionOccurred",
            "short" : "Whether substitution was made by the dispenser. Definition of substitution is specific to the jurisdiction.",
            "definition" : "Whether substitution was made by the dispenser. Definition of substitution is specific to the jurisdiction.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSMedicationDispense.substitutionOccurred",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "boolean"
              }
            ]
          },
          {
            "id" : "EHDSMedicationDispense.dosageInstructions",
            "path" : "EHDSMedicationDispense.dosageInstructions",
            "short" : "Dosage and administration instructions",
            "definition" : "Dosage and administration instructions",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSMedicationDispense.dosageInstructions",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDosage"
              }
            ]
          },
          {
            "id" : "EHDSMedicationDispense.note",
            "path" : "EHDSMedicationDispense.note",
            "short" : "Additional information or comments",
            "definition" : "Additional information or comments",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSMedicationDispense.note",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ]
          }
        ]
      },
      "differential" : {
        "element" : [
          {
            "id" : "EHDSMedicationDispense",
            "path" : "EHDSMedicationDispense",
            "short" : "Medication dispense model",
            "definition" : "Logical model for medication dispensation (based on a request and dispensed in a pharmacy). Implementers should take into account, if allowed and needed, the calculation of remaining dispensable product based on this information."
          },
          {
            "id" : "EHDSMedicationDispense.header.author[x]",
            "path" : "EHDSMedicationDispense.header.author[x]",
            "short" : "The actor who issued the dispense record. Responsibility for the dispense should be traceable from this information.",
            "definition" : "The actor who issued the dispense record. Responsibility for the dispense should be traceable from this information.",
            "min" : 1
          },
          {
            "id" : "EHDSMedicationDispense.header.date",
            "path" : "EHDSMedicationDispense.header.date",
            "short" : "Date and time of issuing the dispense record",
            "definition" : "Date and time of issuing the dispense record",
            "min" : 1
          },
          {
            "id" : "EHDSMedicationDispense.header.status",
            "path" : "EHDSMedicationDispense.header.status",
            "short" : "The status of the dispense, e.g. completed, declined, entered-in-error",
            "definition" : "The status of the dispense, e.g. completed, declined, entered-in-error",
            "binding" : {
              "strength" : "preferred",
              "description" : "HL7 MedicationDispense Status Codes"
            }
          },
          {
            "id" : "EHDSMedicationDispense.header.source",
            "path" : "EHDSMedicationDispense.header.source",
            "max" : "0"
          },
          {
            "id" : "EHDSMedicationDispense.dispenseLocation",
            "path" : "EHDSMedicationDispense.dispenseLocation",
            "short" : "Location of dispense",
            "definition" : "Location of dispense",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSLocation"
              }
            ]
          },
          {
            "id" : "EHDSMedicationDispense.receiver[x]",
            "path" : "EHDSMedicationDispense.receiver[x]",
            "short" : "Identification of the person who received the dispensed medication, especially when it was not the patient. When not present, it is assumed that the patient is the receiver.",
            "definition" : "Identification of the person who received the dispensed medication, especially when it was not the patient. When not present, it is assumed that the patient is the receiver.",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSPatient"
              },
              {
                "code" : "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional"
              },
              {
                "code" : "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSRelatedPerson"
              }
            ]
          },
          {
            "id" : "EHDSMedicationDispense.relatedRequest",
            "path" : "EHDSMedicationDispense.relatedRequest",
            "short" : "Identifier of the prescription item the dispense is related to",
            "definition" : "Identifier of the prescription item the dispense is related to",
            "min" : 0,
            "max" : "*",
            "type" : [
              {
                "code" : "Identifier"
              }
            ]
          },
          {
            "id" : "EHDSMedicationDispense.medication",
            "path" : "EHDSMedicationDispense.medication",
            "short" : "Exact dispensed product. If multiple medications are dispensed together, multiple dispense records should be created.",
            "definition" : "Exact dispensed product. If multiple medications are dispensed together, multiple dispense records should be created.",
            "min" : 1,
            "max" : "1",
            "type" : [
              {
                "code" : "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedication"
              }
            ]
          },
          {
            "id" : "EHDSMedicationDispense.dispensedQuantity",
            "path" : "EHDSMedicationDispense.dispensedQuantity",
            "short" : "Number of dispensed packages if the package size is known, or number of smaller items/units, according to the medication dispensed. A unit is expected.",
            "definition" : "Number of dispensed packages if the package size is known, or number of smaller items/units, according to the medication dispensed. A unit is expected.",
            "min" : 1,
            "max" : "1",
            "type" : [
              {
                "code" : "Quantity"
              }
            ],
            "binding" : {
              "strength" : "preferred",
              "description" : "UCUM, EDQM Standard Terms"
            }
          },
          {
            "id" : "EHDSMedicationDispense.timeOfDispensation",
            "path" : "EHDSMedicationDispense.timeOfDispensation",
            "short" : "Date and time when medication was handed over. When not present, the time of dispensation is assumed to be the time of issuing dispense record.",
            "definition" : "Date and time when medication was handed over. When not present, the time of dispensation is assumed to be the time of issuing dispense record.",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "dateTime"
              }
            ]
          },
          {
            "id" : "EHDSMedicationDispense.substitutionOccurred",
            "path" : "EHDSMedicationDispense.substitutionOccurred",
            "short" : "Whether substitution was made by the dispenser. Definition of substitution is specific to the jurisdiction.",
            "definition" : "Whether substitution was made by the dispenser. Definition of substitution is specific to the jurisdiction.",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "boolean"
              }
            ]
          },
          {
            "id" : "EHDSMedicationDispense.dosageInstructions",
            "path" : "EHDSMedicationDispense.dosageInstructions",
            "short" : "Dosage and administration instructions",
            "definition" : "Dosage and administration instructions",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDosage"
              }
            ]
          },
          {
            "id" : "EHDSMedicationDispense.note",
            "path" : "EHDSMedicationDispense.note",
            "short" : "Additional information or comments",
            "definition" : "Additional information or comments",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "string"
              }
            ]
          }
        ]
      }
    }