Medication Prescription and Dispense (MPD)
1.0.0-comment-3 - ballot

Medication Prescription and Dispense (MPD), published by Integrating the Healthcare Enterprise (IHE). This guide is not an authorized publication; it is the continuous build for version 1.0.0-comment-3 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/IHE/pharm-mpd/tree/101-pc-pharm-9-copy-paste-error and changes regularly. See the Directory of published versions

## Logical Model: IHEMedicationDispenseModel - JSON Profile

Active as of 2026-04-22

JSON representation of the IHEMedicationDispenseModel logical model.

Raw json | Download

    {
      "resourceType" : "StructureDefinition",
      "id" : "IHEMedicationDispenseModel",
      "text" : {
        "status" : "extensions",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition IHEMedicationDispenseModel</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-IHEMedicationDispenseModel-definitions.html#IHEMedicationDispenseModel\" title=\"Logical model for medication dispense report (based on request or independently)\">IHEMedicationDispenseModel</a><a name=\"IHEMedicationDispenseModel\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/types.html#Base\">Base</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Medication dispense (model)<br/><span style=\"font-weight:bold\">Instances of this logical model can be the target of a Reference</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-IHEMedicationDispenseModel-definitions.html#IHEMedicationDispenseModel.identifier\" title=\"Identifier for the dispense\">identifier</a><a name=\"IHEMedicationDispenseModel.identifier\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#Identifier\">Identifier</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Identifier for the dispense<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_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-IHEMedicationDispenseModel-definitions.html#IHEMedicationDispenseModel.patient\" title=\"The person for whom the medication is prescribed/ordered\">patient</a><a name=\"IHEMedicationDispenseModel.patient\"> </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=\"http://hl7.org/fhir/R5/references.html\">Reference</a>(<a href=\"StructureDefinition-PatientBasic.html\">Patient (model)</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">The person for whom the medication is prescribed/ordered</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_reference.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-IHEMedicationDispenseModel-definitions.html#IHEMedicationDispenseModel.receiver\" title=\"Identification of the person who received the dispensed medication, especially when it was not the patient\">receiver</a><a name=\"IHEMedicationDispenseModel.receiver\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/references.html\">Reference</a>(<a href=\"StructureDefinition-PatientBasic.html\">Patient (model)</a> | <a href=\"StructureDefinition-PractitionerBasic.html\">Practitioner (model)</a> | <a href=\"http://hl7.org/fhir/R5/relatedperson.html\">RelatedPerson</a> | <a href=\"http://hl7.org/fhir/R5/practitionerrole.html\">PractitionerRole</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\">Identification of the person who received the dispensed medication, especially when it was not the patient</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_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-IHEMedicationDispenseModel-definitions.html#IHEMedicationDispenseModel.dispenser\" title=\"The person who dispensed the product, and takes the responsibility of the dispensation\">dispenser</a><a name=\"IHEMedicationDispenseModel.dispenser\"> </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=\"http://hl7.org/fhir/R5/references.html\">Reference</a>(<a href=\"StructureDefinition-PractitionerBasic.html\">Practitioner (model)</a> | <a href=\"http://hl7.org/fhir/R5/organization.html\">Organization</a> | <a href=\"http://hl7.org/fhir/R5/device.html\">Device</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 person who dispensed the product, and takes the responsibility of the dispensation</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_reference.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-IHEMedicationDispenseModel-definitions.html#IHEMedicationDispenseModel.relatedRequest\" title=\"Prescription/request/order the dispense is related to\">relatedRequest</a><a name=\"IHEMedicationDispenseModel.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/references.html\">Reference</a>(<a href=\"StructureDefinition-IHEMedicationOrderModel.html\">Medication order (model)</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Prescription/request/order 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_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-IHEMedicationDispenseModel-definitions.html#IHEMedicationDispenseModel.medication\" title=\"Exact dispensed product\">medication</a><a name=\"IHEMedicationDispenseModel.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=\"http://hl7.org/fhir/R5/references.html\">Reference</a>(<a href=\"StructureDefinition-MedicinalProductModel.html\">Medicinal product (model)</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Exact dispensed product</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-IHEMedicationDispenseModel-definitions.html#IHEMedicationDispenseModel.dispensedQuantity\" title=\"Number of dispensed packages if the pack size is known, or number of smaller items/units\">dispensedQuantity</a><a name=\"IHEMedicationDispenseModel.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 pack size is known, or number of smaller items/units</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-IHEMedicationDispenseModel-definitions.html#IHEMedicationDispenseModel.timeOfDispensation\" title=\"Date and time of dispensation\">timeOfDispensation</a><a name=\"IHEMedicationDispenseModel.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\">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=\"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 of dispensation</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_datatype.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-IHEMedicationDispenseModel-definitions.html#IHEMedicationDispenseModel.substitution\" title=\"Substitution was made\">substitution</a><a name=\"IHEMedicationDispenseModel.substitution\"> </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/types.html#BackboneElement\">BackboneElement</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\">Substitution was made</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_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-IHEMedicationDispenseModel-definitions.html#IHEMedicationDispenseModel.substitution.substitutionOccurred\" title=\"Indicates whether substitution was made by the dispenser\">substitutionOccurred</a><a name=\"IHEMedicationDispenseModel.substitution.substitutionOccurred\"> </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=\"http://hl7.org/fhir/R5/datatypes.html#boolean\">boolean</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\">Indicates whether substitution was made by the dispenser</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_datatype.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-IHEMedicationDispenseModel-definitions.html#IHEMedicationDispenseModel.substitution.type\" title=\"Indicates the type of substitution made by the dispenser\">type</a><a name=\"IHEMedicationDispenseModel.substitution.type\"> </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#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Indicates the type of substitution made by the dispenser</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_bck100.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-IHEMedicationDispenseModel-definitions.html#IHEMedicationDispenseModel.substitution.reason\" title=\"The reason for the substitution by the dispenser or why a required substitution was not made\">reason</a><a name=\"IHEMedicationDispenseModel.substitution.reason\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">The reason for the substitution by the dispenser or why a required substitution was not made</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-IHEMedicationDispenseModel-definitions.html#IHEMedicationDispenseModel.status\" title=\"Status of the dispensation\">status</a><a name=\"IHEMedicationDispenseModel.status\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Status of the dispensation</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_datatype.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-IHEMedicationDispenseModel-definitions.html#IHEMedicationDispenseModel.statusReason\" title=\"Reason for the current status of dispensation, for example the reason why the dispensation was made invalid\">statusReason</a><a name=\"IHEMedicationDispenseModel.statusReason\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/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\">Reason for the current status of dispensation, for example the reason why the dispensation was made invalid<br/></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-IHEMedicationDispenseModel-definitions.html#IHEMedicationDispenseModel.statusReasonText\" title=\"Textual reason for the current status of dispensation\">statusReasonText</a><a name=\"IHEMedicationDispenseModel.statusReasonText\"> </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\">Textual reason for the current status of dispensation</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_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-IHEMedicationDispenseModel-definitions.html#IHEMedicationDispenseModel.usageInstructions\" title=\"Dosaging and administration instructions\">usageInstructions</a><a name=\"IHEMedicationDispenseModel.usageInstructions\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/references.html\">Reference</a>(<a href=\"StructureDefinition-DosagingInformation.html\">Dosaging (model)</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Dosaging and administration instructions<br/></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-IHEMedicationDispenseModel-definitions.html#IHEMedicationDispenseModel.comment\" title=\"Additional information or comments\">comment</a><a name=\"IHEMedicationDispenseModel.comment\"> </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#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<br/></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>"
      },
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics",
          "valueCode" : "can-be-target"
        }
      ],
      "url" : "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/IHEMedicationDispenseModel",
      "version" : "1.0.0-comment-3",
      "name" : "IHEMedicationDispenseModel",
      "title" : "Medication dispense (model)",
      "status" : "active",
      "date" : "2026-04-22T16:07:35+00:00",
      "publisher" : "Integrating the Healthcare Enterprise (IHE)",
      "contact" : [
        {
          "name" : "Integrating the Healthcare Enterprise (IHE)",
          "telecom" : [
            {
              "system" : "url",
              "value" : "http://ihe.net"
            },
            {
              "system" : "email",
              "value" : "secretary@ihe.net"
            }
          ]
        },
        {
          "name" : "José Costa Teixeira",
          "telecom" : [
            {
              "system" : "email",
              "value" : "jose.a.teixeira@gmail.com",
              "use" : "work"
            }
          ]
        }
      ],
      "description" : "Logical model for medication dispense report (based on request or independently)",
      "jurisdiction" : [
        {
          "coding" : [
            {
              "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
              "code" : "001"
            }
          ]
        }
      ],
      "copyright" : "IHE http://www.ihe.net/Governance/#Intellectual_Property",
      "fhirVersion" : "5.0.0",
      "mapping" : [
        {
          "identity" : "rim",
          "uri" : "http://hl7.org/v3",
          "name" : "RIM Mapping"
        }
      ],
      "kind" : "logical",
      "abstract" : false,
      "type" : "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/IHEMedicationDispenseModel",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Base",
      "derivation" : "specialization",
      "snapshot" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
            "valueString" : "5.0.0"
          }
        ],
        "element" : [
          {
            "id" : "IHEMedicationDispenseModel",
            "path" : "IHEMedicationDispenseModel",
            "short" : "Medication dispense (model)",
            "definition" : "Logical model for medication dispense report (based on request or independently)",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Base",
              "min" : 0,
              "max" : "*"
            },
            "isModifier" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "IHEMedicationDispenseModel.identifier",
            "path" : "IHEMedicationDispenseModel.identifier",
            "short" : "Identifier for the dispense",
            "definition" : "Identifier for the dispense",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "IHEMedicationDispenseModel.identifier",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Identifier"
              }
            ]
          },
          {
            "id" : "IHEMedicationDispenseModel.patient",
            "path" : "IHEMedicationDispenseModel.patient",
            "short" : "The person for whom the medication is prescribed/ordered",
            "definition" : "The person for whom the medication is prescribed/ordered",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "IHEMedicationDispenseModel.patient",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  🔗 "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/PatientBasic"
                ]
              }
            ]
          },
          {
            "id" : "IHEMedicationDispenseModel.receiver",
            "path" : "IHEMedicationDispenseModel.receiver",
            "short" : "Identification of the person who received the dispensed medication, especially when it was not the patient",
            "definition" : "Identification of the person who received the dispensed medication, especially when it was not the patient",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "IHEMedicationDispenseModel.receiver",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  🔗 "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/PatientBasic"🔗 ,
                  "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/PractitionerBasic"🔗 ,
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"🔗 ,
                  "http://hl7.org/fhir/StructureDefinition/PractitionerRole"
                ]
              }
            ]
          },
          {
            "id" : "IHEMedicationDispenseModel.dispenser",
            "path" : "IHEMedicationDispenseModel.dispenser",
            "short" : "The person who dispensed the product, and takes the responsibility of the dispensation",
            "definition" : "The person who dispensed the product, and takes the responsibility of the dispensation",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "IHEMedicationDispenseModel.dispenser",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  🔗 "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/PractitionerBasic"🔗 ,
                  "http://hl7.org/fhir/StructureDefinition/Organization"🔗 ,
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              }
            ]
          },
          {
            "id" : "IHEMedicationDispenseModel.relatedRequest",
            "path" : "IHEMedicationDispenseModel.relatedRequest",
            "short" : "Prescription/request/order the dispense is related to",
            "definition" : "Prescription/request/order the dispense is related to",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "IHEMedicationDispenseModel.relatedRequest",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  🔗 "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/IHEMedicationOrderModel"
                ]
              }
            ]
          },
          {
            "id" : "IHEMedicationDispenseModel.medication",
            "path" : "IHEMedicationDispenseModel.medication",
            "short" : "Exact dispensed product",
            "definition" : "Exact dispensed product",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "IHEMedicationDispenseModel.medication",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  🔗 "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/MedicinalProductModel"
                ]
              }
            ]
          },
          {
            "id" : "IHEMedicationDispenseModel.dispensedQuantity",
            "path" : "IHEMedicationDispenseModel.dispensedQuantity",
            "short" : "Number of dispensed packages if the pack size is known, or number of smaller items/units",
            "definition" : "Number of dispensed packages if the pack size is known, or number of smaller items/units",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "IHEMedicationDispenseModel.dispensedQuantity",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Quantity"
              }
            ]
          },
          {
            "id" : "IHEMedicationDispenseModel.timeOfDispensation",
            "path" : "IHEMedicationDispenseModel.timeOfDispensation",
            "short" : "Date and time of dispensation",
            "definition" : "Date and time of dispensation",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "IHEMedicationDispenseModel.timeOfDispensation",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "dateTime"
              }
            ]
          },
          {
            "id" : "IHEMedicationDispenseModel.substitution",
            "path" : "IHEMedicationDispenseModel.substitution",
            "short" : "Substitution was made",
            "definition" : "Substitution was made",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "IHEMedicationDispenseModel.substitution",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ]
          },
          {
            "id" : "IHEMedicationDispenseModel.substitution.id",
            "path" : "IHEMedicationDispenseModel.substitution.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "Unique id for inter-element referencing",
            "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                    "valueUrl" : "id"
                  }
                ],
                "code" : "http://hl7.org/fhirpath/System.String"
              }
            ],
            "condition" : [
              "ele-1"
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "IHEMedicationDispenseModel.substitution.extension",
            "path" : "IHEMedicationDispenseModel.substitution.extension",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "value",
                  "path" : "url"
                }
              ],
              "description" : "Extensions are always sliced by (at least) url",
              "rules" : "open"
            },
            "short" : "Additional content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "IHEMedicationDispenseModel.substitution.modifierExtension",
            "path" : "IHEMedicationDispenseModel.substitution.modifierExtension",
            "short" : "Extensions that cannot be ignored even if unrecognized",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).",
            "alias" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : true,
            "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "IHEMedicationDispenseModel.substitution.substitutionOccurred",
            "path" : "IHEMedicationDispenseModel.substitution.substitutionOccurred",
            "short" : "Indicates whether substitution was made by the dispenser",
            "definition" : "Indicates whether substitution was made by the dispenser",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "IHEMedicationDispenseModel.substitution.substitutionOccurred",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "boolean"
              }
            ]
          },
          {
            "id" : "IHEMedicationDispenseModel.substitution.type",
            "path" : "IHEMedicationDispenseModel.substitution.type",
            "short" : "Indicates the type of substitution made by the dispenser",
            "definition" : "Indicates the type of substitution made by the dispenser",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "IHEMedicationDispenseModel.substitution.type",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ]
          },
          {
            "id" : "IHEMedicationDispenseModel.substitution.reason",
            "path" : "IHEMedicationDispenseModel.substitution.reason",
            "short" : "The reason for the substitution by the dispenser or why a required substitution was not made",
            "definition" : "The reason for the substitution by the dispenser or why a required substitution was not made",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "IHEMedicationDispenseModel.substitution.reason",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ]
          },
          {
            "id" : "IHEMedicationDispenseModel.status",
            "path" : "IHEMedicationDispenseModel.status",
            "short" : "Status of the dispensation",
            "definition" : "Status of the dispensation",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "IHEMedicationDispenseModel.status",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ]
          },
          {
            "id" : "IHEMedicationDispenseModel.statusReason",
            "path" : "IHEMedicationDispenseModel.statusReason",
            "short" : "Reason for the current status of dispensation, for example the reason why the dispensation was made invalid",
            "definition" : "Reason for the current status of dispensation, for example the reason why the dispensation was made invalid",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "IHEMedicationDispenseModel.statusReason",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ]
          },
          {
            "id" : "IHEMedicationDispenseModel.statusReasonText",
            "path" : "IHEMedicationDispenseModel.statusReasonText",
            "short" : "Textual reason for the current status of dispensation",
            "definition" : "Textual reason for the current status of dispensation",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "IHEMedicationDispenseModel.statusReasonText",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "IHEMedicationDispenseModel.usageInstructions",
            "path" : "IHEMedicationDispenseModel.usageInstructions",
            "short" : "Dosaging and administration instructions",
            "definition" : "Dosaging and administration instructions",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "IHEMedicationDispenseModel.usageInstructions",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  🔗 "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/DosagingInformation"
                ]
              }
            ]
          },
          {
            "id" : "IHEMedicationDispenseModel.comment",
            "path" : "IHEMedicationDispenseModel.comment",
            "short" : "Additional information or comments",
            "definition" : "Additional information or comments",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "IHEMedicationDispenseModel.comment",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "string"
              }
            ]
          }
        ]
      },
      "differential" : {
        "element" : [
          {
            "id" : "IHEMedicationDispenseModel",
            "path" : "IHEMedicationDispenseModel",
            "short" : "Medication dispense (model)",
            "definition" : "Logical model for medication dispense report (based on request or independently)"
          },
          {
            "id" : "IHEMedicationDispenseModel.identifier",
            "path" : "IHEMedicationDispenseModel.identifier",
            "short" : "Identifier for the dispense",
            "definition" : "Identifier for the dispense",
            "min" : 0,
            "max" : "*",
            "type" : [
              {
                "code" : "Identifier"
              }
            ]
          },
          {
            "id" : "IHEMedicationDispenseModel.patient",
            "path" : "IHEMedicationDispenseModel.patient",
            "short" : "The person for whom the medication is prescribed/ordered",
            "definition" : "The person for whom the medication is prescribed/ordered",
            "min" : 1,
            "max" : "1",
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  🔗 "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/PatientBasic"
                ]
              }
            ]
          },
          {
            "id" : "IHEMedicationDispenseModel.receiver",
            "path" : "IHEMedicationDispenseModel.receiver",
            "short" : "Identification of the person who received the dispensed medication, especially when it was not the patient",
            "definition" : "Identification of the person who received the dispensed medication, especially when it was not the patient",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  🔗 "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/PatientBasic"🔗 ,
                  "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/PractitionerBasic"🔗 ,
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"🔗 ,
                  "http://hl7.org/fhir/StructureDefinition/PractitionerRole"
                ]
              }
            ]
          },
          {
            "id" : "IHEMedicationDispenseModel.dispenser",
            "path" : "IHEMedicationDispenseModel.dispenser",
            "short" : "The person who dispensed the product, and takes the responsibility of the dispensation",
            "definition" : "The person who dispensed the product, and takes the responsibility of the dispensation",
            "min" : 1,
            "max" : "1",
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  🔗 "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/PractitionerBasic"🔗 ,
                  "http://hl7.org/fhir/StructureDefinition/Organization"🔗 ,
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              }
            ]
          },
          {
            "id" : "IHEMedicationDispenseModel.relatedRequest",
            "path" : "IHEMedicationDispenseModel.relatedRequest",
            "short" : "Prescription/request/order the dispense is related to",
            "definition" : "Prescription/request/order the dispense is related to",
            "min" : 0,
            "max" : "*",
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  🔗 "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/IHEMedicationOrderModel"
                ]
              }
            ]
          },
          {
            "id" : "IHEMedicationDispenseModel.medication",
            "path" : "IHEMedicationDispenseModel.medication",
            "short" : "Exact dispensed product",
            "definition" : "Exact dispensed product",
            "min" : 1,
            "max" : "1",
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  🔗 "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/MedicinalProductModel"
                ]
              }
            ]
          },
          {
            "id" : "IHEMedicationDispenseModel.dispensedQuantity",
            "path" : "IHEMedicationDispenseModel.dispensedQuantity",
            "short" : "Number of dispensed packages if the pack size is known, or number of smaller items/units",
            "definition" : "Number of dispensed packages if the pack size is known, or number of smaller items/units",
            "min" : 1,
            "max" : "1",
            "type" : [
              {
                "code" : "Quantity"
              }
            ]
          },
          {
            "id" : "IHEMedicationDispenseModel.timeOfDispensation",
            "path" : "IHEMedicationDispenseModel.timeOfDispensation",
            "short" : "Date and time of dispensation",
            "definition" : "Date and time of dispensation",
            "min" : 1,
            "max" : "1",
            "type" : [
              {
                "code" : "dateTime"
              }
            ]
          },
          {
            "id" : "IHEMedicationDispenseModel.substitution",
            "path" : "IHEMedicationDispenseModel.substitution",
            "short" : "Substitution was made",
            "definition" : "Substitution was made",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ]
          },
          {
            "id" : "IHEMedicationDispenseModel.substitution.substitutionOccurred",
            "path" : "IHEMedicationDispenseModel.substitution.substitutionOccurred",
            "short" : "Indicates whether substitution was made by the dispenser",
            "definition" : "Indicates whether substitution was made by the dispenser",
            "min" : 1,
            "max" : "1",
            "type" : [
              {
                "code" : "boolean"
              }
            ]
          },
          {
            "id" : "IHEMedicationDispenseModel.substitution.type",
            "path" : "IHEMedicationDispenseModel.substitution.type",
            "short" : "Indicates the type of substitution made by the dispenser",
            "definition" : "Indicates the type of substitution made by the dispenser",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ]
          },
          {
            "id" : "IHEMedicationDispenseModel.substitution.reason",
            "path" : "IHEMedicationDispenseModel.substitution.reason",
            "short" : "The reason for the substitution by the dispenser or why a required substitution was not made",
            "definition" : "The reason for the substitution by the dispenser or why a required substitution was not made",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ]
          },
          {
            "id" : "IHEMedicationDispenseModel.status",
            "path" : "IHEMedicationDispenseModel.status",
            "short" : "Status of the dispensation",
            "definition" : "Status of the dispensation",
            "min" : 1,
            "max" : "1",
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ]
          },
          {
            "id" : "IHEMedicationDispenseModel.statusReason",
            "path" : "IHEMedicationDispenseModel.statusReason",
            "short" : "Reason for the current status of dispensation, for example the reason why the dispensation was made invalid",
            "definition" : "Reason for the current status of dispensation, for example the reason why the dispensation was made invalid",
            "min" : 0,
            "max" : "*",
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ]
          },
          {
            "id" : "IHEMedicationDispenseModel.statusReasonText",
            "path" : "IHEMedicationDispenseModel.statusReasonText",
            "short" : "Textual reason for the current status of dispensation",
            "definition" : "Textual reason for the current status of dispensation",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "IHEMedicationDispenseModel.usageInstructions",
            "path" : "IHEMedicationDispenseModel.usageInstructions",
            "short" : "Dosaging and administration instructions",
            "definition" : "Dosaging and administration instructions",
            "min" : 0,
            "max" : "*",
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  🔗 "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/DosagingInformation"
                ]
              }
            ]
          },
          {
            "id" : "IHEMedicationDispenseModel.comment",
            "path" : "IHEMedicationDispenseModel.comment",
            "short" : "Additional information or comments",
            "definition" : "Additional information or comments",
            "min" : 0,
            "max" : "*",
            "type" : [
              {
                "code" : "string"
              }
            ]
          }
        ]
      }
    }