Medication Prescription and Dispense (MPD)
1.0.0-preview - ci-build

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

## Logical Model: IHEMedicationDispenseModel - XML Profile

Active as of 2025-05-01

XML representation of the IHEMedicationDispenseModel logical model.

Raw xml | Download

    <StructureDefinition xmlns="http://hl7.org/fhir">
      <id value="IHEMedicationDispenseModel"/>
      <text>
        <status value="extensions"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: StructureDefinition IHEMedicationDispenseModel</b></p><a name="IHEMedicationDispenseModel"> </a><a name="hcIHEMedicationDispenseModel"> </a><a name="IHEMedicationDispenseModel-en-US"> </a><table border="0" cellpadding="0" cellspacing="0" style="border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"><tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top"><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; 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 : 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 : 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="width: 100px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Reference to the type of the element">Type</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; 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 : 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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/types.html#Base">Base</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Medication dispense (model)<br/><span style="font-weight:bold">Instances of this logical model can be the target of a Reference</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : 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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#Identifier">Identifier</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Identifier for the dispense<br/></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/references.html">Reference</a>(<a href="StructureDefinition-PatientBasic.html">Patient (model)</a>)</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">The person for whom the medication is prescribed/ordered</td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/references.html">Reference</a>(<a href="StructureDefinition-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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Identification of the person who received the dispensed medication, especially when it was not the patient</td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">The person who dispensed the product, and takes the responsibility of the dispensation</td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/references.html">Reference</a>(<a href="StructureDefinition-IHEMedicationOrderModel.html">Medication order (model)</a>)</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Prescription/request/order the dispense is related to<br/></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/references.html">Reference</a>(<a href="StructureDefinition-MedicinalProductModel.html">Medicinal product (model)</a>)</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Exact dispensed product</td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#Quantity">Quantity</a></td><td style="vertical-align: top; text-align : 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>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#dateTime">dateTime</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Date and time of dispensation</td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-IHEMedicationDispenseModel-definitions.html#IHEMedicationDispenseModel.substitution" title="Substitution was made">substitution</a><a name="IHEMedicationDispenseModel.substitution"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/types.html#BackboneElement">BackboneElement</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Substitution was made</td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#boolean">boolean</a></td><td style="vertical-align: top; text-align : 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>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Indicates the type of substitution made by the dispenser</td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">The reason for the substitution by the dispenser or why a required substitution was not made</td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Status of the dispensation</td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Reason for the current status of dispensation, for example the reason why the dispensation was made invalid<br/></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#string">string</a></td><td style="vertical-align: top; text-align : 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>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_reference.png" alt="." style="background-color: white; background-color: inherit" title="Reference to another Resource" class="hierarchy"/> <a href="StructureDefinition-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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/references.html">Reference</a>(<a href="StructureDefinition-DosagingInformation.html">Dosaging (model)</a>)</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Dosaging and administration instructions<br/></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#string">string</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Additional information or comments<br/></td></tr>
    <tr><td colspan="5" class="hierarchy"><br/><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64, " alt="doco" style="background-color: inherit"/> Documentation for this format</a></td></tr></table></div>
      </text>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics">
        <valueCode value="can-be-target"/>
      </extension>
      <url
           value="http://profiles.ihe.net/PHARM/MPD/StructureDefinition/IHEMedicationDispenseModel"/>
      <version value="1.0.0-preview"/>
      <name value="IHEMedicationDispenseModel"/>
      <title value="Medication dispense (model)"/>
      <status value="active"/>
      <date value="2025-05-01T17:32:42+00:00"/>
      <publisher value="Integrating the Healthcare Enterprise (IHE)"/>
      <contact>
        <name value="Integrating the Healthcare Enterprise (IHE)"/>
        <telecom>
          <system value="url"/>
          <value value="http://ihe.net"/>
        </telecom>
        <telecom>
          <system value="email"/>
          <value value="secretary@ihe.net"/>
        </telecom>
      </contact>
      <contact>
        <name value="José Costa Teixeira"/>
        <telecom>
          <system value="email"/>
          <value value="jose.a.teixeira@gmail.com"/>
          <use value="work"/>
        </telecom>
      </contact>
      <description
                   value="Logical model for medication dispense report (based on request or independently)"/>
      <jurisdiction>
        <coding>
          <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
          <code value="001"/>
        </coding>
      </jurisdiction>
      <copyright
                 value="IHE http://www.ihe.net/Governance/#Intellectual_Property"/>
      <fhirVersion value="5.0.0"/>
      <mapping>
        <identity value="rim"/>
        <uri value="http://hl7.org/v3"/>
        <name value="RIM Mapping"/>
      </mapping>
      <kind value="logical"/>
      <abstract value="false"/>
      <type
            value="http://profiles.ihe.net/PHARM/MPD/StructureDefinition/IHEMedicationDispenseModel"/>
      <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Base"/>
      <derivation value="specialization"/>
      <snapshot>
        <extension
                   url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
          <valueString value="5.0.0"/>
        </extension>
        <element id="IHEMedicationDispenseModel">
          <path value="IHEMedicationDispenseModel"/>
          <short value="Medication dispense (model)"/>
          <definition
                      value="Logical model for medication dispense report (based on request or independently)"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Base"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <isModifier value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="IHEMedicationDispenseModel.identifier">
          <path value="IHEMedicationDispenseModel.identifier"/>
          <short value="Identifier for the dispense"/>
          <definition value="Identifier for the dispense"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="IHEMedicationDispenseModel.identifier"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Identifier"/>
          </type>
        </element>
        <element id="IHEMedicationDispenseModel.patient">
          <path value="IHEMedicationDispenseModel.patient"/>
          <short
                 value="The person for whom the medication is prescribed/ordered"/>
          <definition
                      value="The person for whom the medication is prescribed/ordered"/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="IHEMedicationDispenseModel.patient"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://profiles.ihe.net/PHARM/MPD/StructureDefinition/PatientBasic"/>
          </type>
        </element>
        <element id="IHEMedicationDispenseModel.receiver">
          <path value="IHEMedicationDispenseModel.receiver"/>
          <short
                 value="Identification of the person who received the dispensed medication, especially when it was not the patient"/>
          <definition
                      value="Identification of the person who received the dispensed medication, especially when it was not the patient"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="IHEMedicationDispenseModel.receiver"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://profiles.ihe.net/PHARM/MPD/StructureDefinition/PatientBasic"/>
            <targetProfile
                           value="http://profiles.ihe.net/PHARM/MPD/StructureDefinition/PractitionerBasic"/>
            <targetProfile
                           value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
            <targetProfile
                           value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
          </type>
        </element>
        <element id="IHEMedicationDispenseModel.dispenser">
          <path value="IHEMedicationDispenseModel.dispenser"/>
          <short
                 value="The person who dispensed the product, and takes the responsibility of the dispensation"/>
          <definition
                      value="The person who dispensed the product, and takes the responsibility of the dispensation"/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="IHEMedicationDispenseModel.dispenser"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://profiles.ihe.net/PHARM/MPD/StructureDefinition/PractitionerBasic"/>
            <targetProfile
                           value="http://hl7.org/fhir/StructureDefinition/Organization"/>
            <targetProfile
                           value="http://hl7.org/fhir/StructureDefinition/Device"/>
          </type>
        </element>
        <element id="IHEMedicationDispenseModel.relatedRequest">
          <path value="IHEMedicationDispenseModel.relatedRequest"/>
          <short value="Prescription/request/order the dispense is related to"/>
          <definition
                      value="Prescription/request/order the dispense is related to"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="IHEMedicationDispenseModel.relatedRequest"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://profiles.ihe.net/PHARM/MPD/StructureDefinition/IHEMedicationOrderModel"/>
          </type>
        </element>
        <element id="IHEMedicationDispenseModel.medication">
          <path value="IHEMedicationDispenseModel.medication"/>
          <short value="Exact dispensed product"/>
          <definition value="Exact dispensed product"/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="IHEMedicationDispenseModel.medication"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://profiles.ihe.net/PHARM/MPD/StructureDefinition/MedicinalProductModel"/>
          </type>
        </element>
        <element id="IHEMedicationDispenseModel.dispensedQuantity">
          <path value="IHEMedicationDispenseModel.dispensedQuantity"/>
          <short
                 value="Number of dispensed packages if the pack size is known, or number of smaller items/units"/>
          <definition
                      value="Number of dispensed packages if the pack size is known, or number of smaller items/units"/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="IHEMedicationDispenseModel.dispensedQuantity"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Quantity"/>
          </type>
        </element>
        <element id="IHEMedicationDispenseModel.timeOfDispensation">
          <path value="IHEMedicationDispenseModel.timeOfDispensation"/>
          <short value="Date and time of dispensation"/>
          <definition value="Date and time of dispensation"/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="IHEMedicationDispenseModel.timeOfDispensation"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="dateTime"/>
          </type>
        </element>
        <element id="IHEMedicationDispenseModel.substitution">
          <path value="IHEMedicationDispenseModel.substitution"/>
          <short value="Substitution was made"/>
          <definition value="Substitution was made"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="IHEMedicationDispenseModel.substitution"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="BackboneElement"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
        </element>
        <element id="IHEMedicationDispenseModel.substitution.id">
          <path value="IHEMedicationDispenseModel.substitution.id"/>
          <representation value="xmlAttr"/>
          <short value="Unique id for inter-element referencing"/>
          <definition
                      value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
              <valueUrl value="id"/>
            </extension>
            <code value="http://hl7.org/fhirpath/System.String"/>
          </type>
          <condition value="ele-1"/>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="IHEMedicationDispenseModel.substitution.extension">
          <path value="IHEMedicationDispenseModel.substitution.extension"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="url"/>
            </discriminator>
            <description value="Extensions are always sliced by (at least) url"/>
            <rules value="open"/>
          </slicing>
          <short value="Additional content defined by implementations"/>
          <definition
                      value="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
                   value="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 value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <constraint>
            <key value="ext-1"/>
            <severity value="error"/>
            <human value="Must have either extensions or value[x], not both"/>
            <expression value="extension.exists() != value.exists()"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="IHEMedicationDispenseModel.substitution.modifierExtension">
          <path
                value="IHEMedicationDispenseModel.substitution.modifierExtension"/>
          <short value="Extensions that cannot be ignored even if unrecognized"/>
          <definition
                      value="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.

    Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)."/>
          <comment
                   value="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
                        value="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 value="extensions"/>
          <alias value="user content"/>
          <alias value="modifiers"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="BackboneElement.modifierExtension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <constraint>
            <key value="ext-1"/>
            <severity value="error"/>
            <human value="Must have either extensions or value[x], not both"/>
            <expression value="extension.exists() != value.exists()"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
          </constraint>
          <isModifier value="true"/>
          <isModifierReason
                            value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element
                 id="IHEMedicationDispenseModel.substitution.substitutionOccurred">
          <path
                value="IHEMedicationDispenseModel.substitution.substitutionOccurred"/>
          <short
                 value="Indicates whether substitution was made by the dispenser"/>
          <definition
                      value="Indicates whether substitution was made by the dispenser"/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path
                  value="IHEMedicationDispenseModel.substitution.substitutionOccurred"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="boolean"/>
          </type>
        </element>
        <element id="IHEMedicationDispenseModel.substitution.type">
          <path value="IHEMedicationDispenseModel.substitution.type"/>
          <short
                 value="Indicates the type of substitution made by the dispenser"/>
          <definition
                      value="Indicates the type of substitution made by the dispenser"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="IHEMedicationDispenseModel.substitution.type"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
        </element>
        <element id="IHEMedicationDispenseModel.substitution.reason">
          <path value="IHEMedicationDispenseModel.substitution.reason"/>
          <short
                 value="The reason for the substitution by the dispenser or why a required substitution was not made"/>
          <definition
                      value="The reason for the substitution by the dispenser or why a required substitution was not made"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="IHEMedicationDispenseModel.substitution.reason"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
        </element>
        <element id="IHEMedicationDispenseModel.status">
          <path value="IHEMedicationDispenseModel.status"/>
          <short value="Status of the dispensation"/>
          <definition value="Status of the dispensation"/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="IHEMedicationDispenseModel.status"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
        </element>
        <element id="IHEMedicationDispenseModel.statusReason">
          <path value="IHEMedicationDispenseModel.statusReason"/>
          <short
                 value="Reason for the current status of dispensation, for example the reason why the dispensation was made invalid"/>
          <definition
                      value="Reason for the current status of dispensation, for example the reason why the dispensation was made invalid"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="IHEMedicationDispenseModel.statusReason"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
        </element>
        <element id="IHEMedicationDispenseModel.statusReasonText">
          <path value="IHEMedicationDispenseModel.statusReasonText"/>
          <short value="Textual reason for the current status of dispensation"/>
          <definition
                      value="Textual reason for the current status of dispensation"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="IHEMedicationDispenseModel.statusReasonText"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
        </element>
        <element id="IHEMedicationDispenseModel.usageInstructions">
          <path value="IHEMedicationDispenseModel.usageInstructions"/>
          <short value="Dosaging and administration instructions"/>
          <definition value="Dosaging and administration instructions"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="IHEMedicationDispenseModel.usageInstructions"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://profiles.ihe.net/PHARM/MPD/StructureDefinition/DosagingInformation"/>
          </type>
        </element>
        <element id="IHEMedicationDispenseModel.comment">
          <path value="IHEMedicationDispenseModel.comment"/>
          <short value="Additional information or comments"/>
          <definition value="Additional information or comments"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="IHEMedicationDispenseModel.comment"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="string"/>
          </type>
        </element>
      </snapshot>
      <differential>
        <element id="IHEMedicationDispenseModel">
          <path value="IHEMedicationDispenseModel"/>
          <short value="Medication dispense (model)"/>
          <definition
                      value="Logical model for medication dispense report (based on request or independently)"/>
        </element>
        <element id="IHEMedicationDispenseModel.identifier">
          <path value="IHEMedicationDispenseModel.identifier"/>
          <short value="Identifier for the dispense"/>
          <definition value="Identifier for the dispense"/>
          <min value="0"/>
          <max value="*"/>
          <type>
            <code value="Identifier"/>
          </type>
        </element>
        <element id="IHEMedicationDispenseModel.patient">
          <path value="IHEMedicationDispenseModel.patient"/>
          <short
                 value="The person for whom the medication is prescribed/ordered"/>
          <definition
                      value="The person for whom the medication is prescribed/ordered"/>
          <min value="1"/>
          <max value="1"/>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://profiles.ihe.net/PHARM/MPD/StructureDefinition/PatientBasic"/>
          </type>
        </element>
        <element id="IHEMedicationDispenseModel.receiver">
          <path value="IHEMedicationDispenseModel.receiver"/>
          <short
                 value="Identification of the person who received the dispensed medication, especially when it was not the patient"/>
          <definition
                      value="Identification of the person who received the dispensed medication, especially when it was not the patient"/>
          <min value="0"/>
          <max value="1"/>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://profiles.ihe.net/PHARM/MPD/StructureDefinition/PatientBasic"/>
            <targetProfile
                           value="http://profiles.ihe.net/PHARM/MPD/StructureDefinition/PractitionerBasic"/>
            <targetProfile
                           value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
            <targetProfile
                           value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
          </type>
        </element>
        <element id="IHEMedicationDispenseModel.dispenser">
          <path value="IHEMedicationDispenseModel.dispenser"/>
          <short
                 value="The person who dispensed the product, and takes the responsibility of the dispensation"/>
          <definition
                      value="The person who dispensed the product, and takes the responsibility of the dispensation"/>
          <min value="1"/>
          <max value="1"/>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://profiles.ihe.net/PHARM/MPD/StructureDefinition/PractitionerBasic"/>
            <targetProfile
                           value="http://hl7.org/fhir/StructureDefinition/Organization"/>
            <targetProfile
                           value="http://hl7.org/fhir/StructureDefinition/Device"/>
          </type>
        </element>
        <element id="IHEMedicationDispenseModel.relatedRequest">
          <path value="IHEMedicationDispenseModel.relatedRequest"/>
          <short value="Prescription/request/order the dispense is related to"/>
          <definition
                      value="Prescription/request/order the dispense is related to"/>
          <min value="0"/>
          <max value="*"/>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://profiles.ihe.net/PHARM/MPD/StructureDefinition/IHEMedicationOrderModel"/>
          </type>
        </element>
        <element id="IHEMedicationDispenseModel.medication">
          <path value="IHEMedicationDispenseModel.medication"/>
          <short value="Exact dispensed product"/>
          <definition value="Exact dispensed product"/>
          <min value="1"/>
          <max value="1"/>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://profiles.ihe.net/PHARM/MPD/StructureDefinition/MedicinalProductModel"/>
          </type>
        </element>
        <element id="IHEMedicationDispenseModel.dispensedQuantity">
          <path value="IHEMedicationDispenseModel.dispensedQuantity"/>
          <short
                 value="Number of dispensed packages if the pack size is known, or number of smaller items/units"/>
          <definition
                      value="Number of dispensed packages if the pack size is known, or number of smaller items/units"/>
          <min value="1"/>
          <max value="1"/>
          <type>
            <code value="Quantity"/>
          </type>
        </element>
        <element id="IHEMedicationDispenseModel.timeOfDispensation">
          <path value="IHEMedicationDispenseModel.timeOfDispensation"/>
          <short value="Date and time of dispensation"/>
          <definition value="Date and time of dispensation"/>
          <min value="1"/>
          <max value="1"/>
          <type>
            <code value="dateTime"/>
          </type>
        </element>
        <element id="IHEMedicationDispenseModel.substitution">
          <path value="IHEMedicationDispenseModel.substitution"/>
          <short value="Substitution was made"/>
          <definition value="Substitution was made"/>
          <min value="0"/>
          <max value="1"/>
          <type>
            <code value="BackboneElement"/>
          </type>
        </element>
        <element
                 id="IHEMedicationDispenseModel.substitution.substitutionOccurred">
          <path
                value="IHEMedicationDispenseModel.substitution.substitutionOccurred"/>
          <short
                 value="Indicates whether substitution was made by the dispenser"/>
          <definition
                      value="Indicates whether substitution was made by the dispenser"/>
          <min value="1"/>
          <max value="1"/>
          <type>
            <code value="boolean"/>
          </type>
        </element>
        <element id="IHEMedicationDispenseModel.substitution.type">
          <path value="IHEMedicationDispenseModel.substitution.type"/>
          <short
                 value="Indicates the type of substitution made by the dispenser"/>
          <definition
                      value="Indicates the type of substitution made by the dispenser"/>
          <min value="0"/>
          <max value="1"/>
          <type>
            <code value="CodeableConcept"/>
          </type>
        </element>
        <element id="IHEMedicationDispenseModel.substitution.reason">
          <path value="IHEMedicationDispenseModel.substitution.reason"/>
          <short
                 value="The reason for the substitution by the dispenser or why a required substitution was not made"/>
          <definition
                      value="The reason for the substitution by the dispenser or why a required substitution was not made"/>
          <min value="0"/>
          <max value="1"/>
          <type>
            <code value="CodeableConcept"/>
          </type>
        </element>
        <element id="IHEMedicationDispenseModel.status">
          <path value="IHEMedicationDispenseModel.status"/>
          <short value="Status of the dispensation"/>
          <definition value="Status of the dispensation"/>
          <min value="1"/>
          <max value="1"/>
          <type>
            <code value="CodeableConcept"/>
          </type>
        </element>
        <element id="IHEMedicationDispenseModel.statusReason">
          <path value="IHEMedicationDispenseModel.statusReason"/>
          <short
                 value="Reason for the current status of dispensation, for example the reason why the dispensation was made invalid"/>
          <definition
                      value="Reason for the current status of dispensation, for example the reason why the dispensation was made invalid"/>
          <min value="0"/>
          <max value="*"/>
          <type>
            <code value="CodeableConcept"/>
          </type>
        </element>
        <element id="IHEMedicationDispenseModel.statusReasonText">
          <path value="IHEMedicationDispenseModel.statusReasonText"/>
          <short value="Textual reason for the current status of dispensation"/>
          <definition
                      value="Textual reason for the current status of dispensation"/>
          <min value="0"/>
          <max value="1"/>
          <type>
            <code value="string"/>
          </type>
        </element>
        <element id="IHEMedicationDispenseModel.usageInstructions">
          <path value="IHEMedicationDispenseModel.usageInstructions"/>
          <short value="Dosaging and administration instructions"/>
          <definition value="Dosaging and administration instructions"/>
          <min value="0"/>
          <max value="*"/>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://profiles.ihe.net/PHARM/MPD/StructureDefinition/DosagingInformation"/>
          </type>
        </element>
        <element id="IHEMedicationDispenseModel.comment">
          <path value="IHEMedicationDispenseModel.comment"/>
          <short value="Additional information or comments"/>
          <definition value="Additional information or comments"/>
          <min value="0"/>
          <max value="*"/>
          <type>
            <code value="string"/>
          </type>
        </element>
      </differential>
    </StructureDefinition>