Cumuluz Translate Implementation Guide
0.1.0 - ci-build

Cumuluz Translate Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Logical Model: LogicalMedicationDispense - XML Profile

Draft as of 2026-10-29

XML representation of the logical-medication-dispense logical model.

Raw xml | Download


<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="logical-medication-dispense"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: StructureDefinition logical-medication-dispense</b></p><table border="0" cellpadding="0" cellspacing="0" class="xhtTableBorder0"><tr class="xhtRowBorder1"><th scope="col" style="" class="hierarchy xhtCellBorder0"><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 scope="col" style="" class="hierarchy xhtCellBorder0"><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 scope="col" style="" class="hierarchy xhtCellBorder0"><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 scope="col" style="; width: 100px" class="hierarchy xhtCellBorder0"><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 scope="col" style="" class="hierarchy xhtCellBorder0"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Additional information about the element">Description &amp; Constraints</a><span style="float: right"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC" alt="doco" style="background-color: inherit"/></a></span></th></tr><tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck1.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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-logical-medication-dispense-definitions.html#logical-medication-dispense" title="Canonical intermediate logical model for administration agreement to medication dispense translation. It is shaped closely to R4 MedicationDispense with explicit Dutch source additions only where needed.">logical-medication-dispense</a><a name="logical-medication-dispense"> </a></td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/conformance-rules.html#constraints" title="This element has or is affected by constraints ( logical-medication-dispense-status-reason-choice, logical-medication-dispense-medication-choice )" class="xhtConstraintStyle">C</a></td><td style="" class="hierarchy xhtCellBorder0"><span class="xhtPieceDeEmphasized">0</span><span class="xhtPieceDeEmphasized">..</span><span class="xhtPieceDeEmphasized">*</span></td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#Element">Element</a></td><td style="" class="hierarchy xhtCellBorder0">Logical Model: Medication Dispense<br/><br/>Elements defined in Ancestors:<a href="http://hl7.org/fhir/R4/datatypes.html#Element" title="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.">@id</a>, <a href="http://hl7.org/fhir/R4/datatypes.html#Element" title="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 manageable, 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.">extension</a><br class="constraint"/><span class="constraint">Constraints: </span><span title="Only one value may be present for each dispense status-reason choice." class="xhtPieceBold constraint">logical-medication-dispense-status-reason-choice</span><span class="constraint">, </span><span title="Only one medication choice may be present." class="xhtPieceBold constraint">logical-medication-dispense-medication-choice</span></td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.sourceProfile" title="Source profile used to populate this logical model.">sourceProfile</a><a name="logical-medication-dispense.sourceProfile"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#uri">uri</a></td><td style="" class="hierarchy xhtCellBorder0">source Profile</td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.targetProfile" title="Target profile intended for this logical model instance.">targetProfile</a><a name="logical-medication-dispense.targetProfile"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#uri">uri</a></td><td style="" class="hierarchy xhtCellBorder0">target Profile</td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.resourceLanguage" title="FHIR Resource.language carried independently from resource-specific language concepts.">resourceLanguage</a><a name="logical-medication-dispense.resourceLanguage"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="" class="hierarchy xhtCellBorder0">FHIR Resource.language carried independently from resource-specific language concepts.</td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.narrative" title="FHIR DomainResource.text carried without translating clinical XHTML content.">narrative</a><a name="logical-medication-dispense.narrative"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#Narrative">Narrative</a></td><td style="" class="hierarchy xhtCellBorder0">FHIR DomainResource.text carried without translating clinical XHTML content.<br/><span class="xhtPieceBold">This profile does not constrain the narrative in regard to content, language, or traceability to data elements</span></td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.identifier" title="Medication dispense identifiers.">identifier</a><a name="logical-medication-dispense.identifier"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..*</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#Identifier">Identifier</a></td><td style="" class="hierarchy xhtCellBorder0">Medication dispense identifiers.<br/></td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.status" title="Medication dispense status.">status</a><a name="logical-medication-dispense.status"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="" class="hierarchy xhtCellBorder0">Medication dispense status.</td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.stu3StatusPresent" title="Whether the original STU3 administration-agreement status element was explicitly present.">stu3StatusPresent</a><a name="logical-medication-dispense.stu3StatusPresent"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#boolean">boolean</a></td><td style="" class="hierarchy xhtCellBorder0">Whether the original STU3 administration-agreement status element was explicitly present.</td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.stu3Status" title="Original STU3 administration-agreement status when the logical model originated from STU3.">stu3Status</a><a name="logical-medication-dispense.stu3Status"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="" class="hierarchy xhtCellBorder0">Original STU3 administration-agreement status when the logical model originated from STU3.</td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.statusReason" title="Reason for the current dispense status.">statusReason</a><a name="logical-medication-dispense.statusReason"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="" class="hierarchy xhtCellBorder0">Reason for the current dispense status.</td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.statusReasonReference" title="Detected issue explaining the current dispense status.">statusReasonReference</a><a name="logical-medication-dispense.statusReasonReference"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/references.html">Reference</a>(<a href="http://hl7.org/fhir/R4/detectedissue.html">DetectedIssue</a>)</td><td style="" class="hierarchy xhtCellBorder0">Detected issue explaining the current dispense status.</td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.category" title="Medication dispense category.">category</a><a name="logical-medication-dispense.category"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="" class="hierarchy xhtCellBorder0">Medication dispense category.</td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.partOf" title="Events of which this dispense is a part.">partOf</a><a name="logical-medication-dispense.partOf"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..*</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/references.html">Reference</a>()</td><td style="" class="hierarchy xhtCellBorder0">Events of which this dispense is a part.<br/></td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck13.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_choice.gif" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Choice of Types" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span>(Choice of one)<a name="logical-medication-dispense-logical-medication-dispense-medication-choice"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0"/></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck130.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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_slicer.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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.(Choice of one).</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.medicationReference" title="Medication reference.">medicationReference</a><a name="logical-medication-dispense.medicationReference"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/references.html">Reference</a>(<a href="http://hl7.org/fhir/R4/medication.html">Medication</a>)</td><td style="" class="hierarchy xhtCellBorder0">Medication reference.</td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck120.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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_slicer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.(Choice of one).</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.medicationCodeableConcept" title="Medication as a coded concept.">medicationCodeableConcept</a><a name="logical-medication-dispense.medicationCodeableConcept"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="" class="hierarchy xhtCellBorder0">Medication as a coded concept.</td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.type" title="Dispense classification.">type</a><a name="logical-medication-dispense.type"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="" class="hierarchy xhtCellBorder0">Dispense classification.</td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.subject" title="Subject of the medication dispense.">subject</a><a name="logical-medication-dispense.subject"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/references.html">Reference</a>(<a href="http://hl7.org/fhir/R4/patient.html">Patient</a>)</td><td style="" class="hierarchy xhtCellBorder0">Subject of the medication dispense.</td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.encounter" title="Encounter context for the dispense agreement.">encounter</a><a name="logical-medication-dispense.encounter"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/references.html">Reference</a>(<a href="http://hl7.org/fhir/R4/encounter.html">Encounter</a>)</td><td style="" class="hierarchy xhtCellBorder0">Encounter context for the dispense agreement.</td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.supportingInformation" title="Information supporting the dispense.">supportingInformation</a><a name="logical-medication-dispense.supportingInformation"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..*</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/references.html">Reference</a>()</td><td style="" class="hierarchy xhtCellBorder0">Information supporting the dispense.<br/></td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="" style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.performer" title="Performer actors involved in the dispense agreement.">performer</a><a name="logical-medication-dispense.performer"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..*</td><td style="" class="hierarchy xhtCellBorder0"><a href="StructureDefinition-logical-medication-performer.html">logical-medication-performer</a></td><td style="" class="hierarchy xhtCellBorder0">Performer actors involved in the dispense agreement.<br/></td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.authorizingPrescription" title="Authorizing medication agreement references.">authorizingPrescription</a><a name="logical-medication-dispense.authorizingPrescription"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..*</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/references.html">Reference</a>(<a href="http://hl7.org/fhir/R4/medicationrequest.html">MedicationRequest</a>)</td><td style="" class="hierarchy xhtCellBorder0">Authorizing medication agreement references.<br/></td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.location" title="Location where the dispense occurred.">location</a><a name="logical-medication-dispense.location"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/references.html">Reference</a>(<a href="http://hl7.org/fhir/R4/location.html">Location</a>)</td><td style="" class="hierarchy xhtCellBorder0">Location where the dispense occurred.</td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.quantity" title="Amount dispensed.">quantity</a><a name="logical-medication-dispense.quantity"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#Quantity">Quantity</a></td><td style="" class="hierarchy xhtCellBorder0">Amount dispensed.</td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.daysSupply" title="Estimated duration of the dispensed supply.">daysSupply</a><a name="logical-medication-dispense.daysSupply"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#Quantity">Quantity</a></td><td style="" class="hierarchy xhtCellBorder0">Estimated duration of the dispensed supply.</td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.whenPrepared" title="Time at which the medication was prepared.">whenPrepared</a><a name="logical-medication-dispense.whenPrepared"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#dateTime">dateTime</a></td><td style="" class="hierarchy xhtCellBorder0">Time at which the medication was prepared.</td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.whenHandedOver" title="Time the medication was handed to the receiver.">whenHandedOver</a><a name="logical-medication-dispense.whenHandedOver"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#dateTime">dateTime</a></td><td style="" class="hierarchy xhtCellBorder0">Time the medication was handed to the receiver.</td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.destination" title="Destination for the dispensed medication.">destination</a><a name="logical-medication-dispense.destination"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/references.html">Reference</a>(<a href="http://hl7.org/fhir/R4/location.html">Location</a>)</td><td style="" class="hierarchy xhtCellBorder0">Destination for the dispensed medication.</td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.receiver" title="Intended or actual receivers.">receiver</a><a name="logical-medication-dispense.receiver"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..*</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/references.html">Reference</a>()</td><td style="" class="hierarchy xhtCellBorder0">Intended or actual receivers.<br/></td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.substitutionWasSubstituted" title="Whether substitution occurred.">substitutionWasSubstituted</a><a name="logical-medication-dispense.substitutionWasSubstituted"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#boolean">boolean</a></td><td style="" class="hierarchy xhtCellBorder0">Whether substitution occurred.</td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.substitutionType" title="Type of substitution performed.">substitutionType</a><a name="logical-medication-dispense.substitutionType"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="" class="hierarchy xhtCellBorder0">Type of substitution performed.</td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.substitutionReason" title="Reasons for substitution.">substitutionReason</a><a name="logical-medication-dispense.substitutionReason"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..*</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="" class="hierarchy xhtCellBorder0">Reasons for substitution.<br/></td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.substitutionResponsibleParty" title="Parties responsible for the substitution.">substitutionResponsibleParty</a><a name="logical-medication-dispense.substitutionResponsibleParty"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..*</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/references.html">Reference</a>()</td><td style="" class="hierarchy xhtCellBorder0">Parties responsible for the substitution.<br/></td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.detectedIssue" title="Detected clinical issues associated with the dispense.">detectedIssue</a><a name="logical-medication-dispense.detectedIssue"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..*</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/references.html">Reference</a>()</td><td style="" class="hierarchy xhtCellBorder0">Detected clinical issues associated with the dispense.<br/></td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.eventHistory" title="Provenance events in the dispense lifecycle.">eventHistory</a><a name="logical-medication-dispense.eventHistory"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..*</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/references.html">Reference</a>(<a href="http://hl7.org/fhir/R4/provenance.html">Provenance</a>)</td><td style="" class="hierarchy xhtCellBorder0">Provenance events in the dispense lifecycle.<br/></td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.note" title="Narrative notes.">note</a><a name="logical-medication-dispense.note"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..*</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#Annotation">Annotation</a></td><td style="" class="hierarchy xhtCellBorder0">Narrative notes.<br/></td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="" style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.dosage" title="Dosage instructions.">dosage</a><a name="logical-medication-dispense.dosage"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..*</td><td style="" class="hierarchy xhtCellBorder0"><a href="StructureDefinition-logical-medication-dosage.html">logical-medication-dosage</a></td><td style="" class="hierarchy xhtCellBorder0">Dosage instructions.<br/></td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.notDonePresent" title="Whether the STU3 notDone element was explicitly present.">notDonePresent</a><a name="logical-medication-dispense.notDonePresent"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#boolean">boolean</a></td><td style="" class="hierarchy xhtCellBorder0">Whether the STU3 notDone element was explicitly present.</td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.notDone" title="Value of the STU3 notDone element when it was explicitly present.">notDone</a><a name="logical-medication-dispense.notDone"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#boolean">boolean</a></td><td style="" class="hierarchy xhtCellBorder0">Value of the STU3 notDone element when it was explicitly present.</td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.notDoneReason" title="Coded reason the STU3 administration agreement was not completed.">notDoneReason</a><a name="logical-medication-dispense.notDoneReason"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="" class="hierarchy xhtCellBorder0">Coded reason the STU3 administration agreement was not completed.</td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.notDoneReasonReference" title="Detected issue explaining why the STU3 administration agreement was not completed.">notDoneReasonReference</a><a name="logical-medication-dispense.notDoneReasonReference"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/references.html">Reference</a>(<a href="http://hl7.org/fhir/R4/detectedissue.html">DetectedIssue</a>)</td><td style="" class="hierarchy xhtCellBorder0">Detected issue explaining why the STU3 administration agreement was not completed.</td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.authoredOn" title="Date when the administration agreement was authored.">authoredOn</a><a name="logical-medication-dispense.authoredOn"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#dateTime">dateTime</a></td><td style="" class="hierarchy xhtCellBorder0">Date when the administration agreement was authored.</td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.agreementReason" title="Reason for the administration agreement.">agreementReason</a><a name="logical-medication-dispense.agreementReason"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="" class="hierarchy xhtCellBorder0">Reason for the administration agreement.</td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.periodOfUse" title="Overall period of use carried on the Dutch source extension.">periodOfUse</a><a name="logical-medication-dispense.periodOfUse"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#Period">Period</a></td><td style="" class="hierarchy xhtCellBorder0">Overall period of use carried on the Dutch source extension.</td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.usageDuration" title="Overall usage duration carried on the Dutch source extension.">usageDuration</a><a name="logical-medication-dispense.usageDuration"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#Duration">Duration</a></td><td style="" class="hierarchy xhtCellBorder0">Overall usage duration carried on the Dutch source extension.</td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.additionalInformation" title="Additional administration agreement information.">additionalInformation</a><a name="logical-medication-dispense.additionalInformation"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="" class="hierarchy xhtCellBorder0">Additional administration agreement information.</td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><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"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.medicationTreatment" title="Medication treatment identifier.">medicationTreatment</a><a name="logical-medication-dispense.medicationTreatment"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#Identifier">Identifier</a></td><td style="" class="hierarchy xhtCellBorder0">Medication treatment identifier.</td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck00.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">logical-medication-dispense.</span><a href="StructureDefinition-logical-medication-dispense-definitions.html#logical-medication-dispense.stopType" title="Stop type from the Dutch source modifier extension.">stopType</a><a name="logical-medication-dispense.stopType"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="" class="hierarchy xhtCellBorder0">Stop type from the Dutch source modifier extension.</td></tr>
<tr><td colspan="5" class="hierarchy"><br/><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC" alt="doco" style="background-color: inherit"/> Documentation for this format</a></td></tr></table></div>
  </text>
  <url
       value="https://translate-ig.cumuluz.dev/ig/StructureDefinition/logical-medication-dispense"/>
  <version value="0.1.0"/>
  <name value="LogicalMedicationDispense"/>
  <title value="Logical Model: Medication Dispense"/>
  <status value="draft"/>
  <date value="2026-10-29T15:53:40+01:00"/>
  <publisher value="Cumuluz"/>
  <description
               value="Canonical intermediate logical model for administration agreement to medication dispense translation. It is shaped closely to R4 MedicationDispense with explicit Dutch source additions only where needed."/>
  <fhirVersion value="4.0.1"/>
  <mapping>
    <identity value="rim"/>
    <uri value="http://hl7.org/v3"/>
    <name value="RIM Mapping"/>
  </mapping>
  <kind value="logical"/>
  <abstract value="false"/>
  <type
        value="https://translate-ig.cumuluz.dev/ig/StructureDefinition/logical-medication-dispense"/>
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Element"/>
  <derivation value="specialization"/>
  <snapshot>
    <extension
               url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
      <valueString value="4.0.1"/>
    </extension>
    <element id="logical-medication-dispense">
      <path value="logical-medication-dispense"/>
      <short value="Logical Model: Medication Dispense"/>
      <definition
                  value="Canonical intermediate logical model for administration agreement to medication dispense translation. It is shaped closely to R4 MedicationDispense with explicit Dutch source additions only where needed."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <condition value="ele-1"/>
      <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())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="logical-medication-dispense-status-reason-choice"/>
        <severity value="error"/>
        <human
               value="Only one value may be present for each dispense status-reason choice."/>
        <expression
                    value="(statusReason | statusReasonReference).count() &lt;= 1 and (notDoneReason | notDoneReasonReference).count() &lt;= 1"/>
        <source
                value="https://translate-ig.cumuluz.dev/ig/StructureDefinition/logical-medication-dispense"/>
      </constraint>
      <constraint>
        <key value="logical-medication-dispense-medication-choice"/>
        <severity value="error"/>
        <human value="Only one medication choice may be present."/>
        <expression
                    value="(medicationReference | medicationCodeableConcept).count() &lt;= 1"/>
        <source
                value="https://translate-ig.cumuluz.dev/ig/StructureDefinition/logical-medication-dispense"/>
      </constraint>
      <isModifier value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="logical-medication-dispense.id">
      <path value="logical-medication-dispense.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="string"/>
        </extension>
        <code value="http://hl7.org/fhirpath/System.String"/>
      </type>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="logical-medication-dispense.extension">
      <path value="logical-medication-dispense.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 manageable, 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())"/>
        <xpath value="@value|f:*|h:div"/>
        <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()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])"/>
        <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="logical-medication-dispense.sourceProfile">
      <path value="logical-medication-dispense.sourceProfile"/>
      <short value="source Profile"/>
      <definition
                  value="Source profile used to populate this logical model."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication-dispense.sourceProfile"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
    </element>
    <element id="logical-medication-dispense.targetProfile">
      <path value="logical-medication-dispense.targetProfile"/>
      <short value="target Profile"/>
      <definition
                  value="Target profile intended for this logical model instance."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication-dispense.targetProfile"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
    </element>
    <element id="logical-medication-dispense.resourceLanguage">
      <path value="logical-medication-dispense.resourceLanguage"/>
      <short
             value="FHIR Resource.language carried independently from resource-specific language concepts."/>
      <definition
                  value="FHIR Resource.language carried independently from resource-specific language concepts."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication-dispense.resourceLanguage"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
    </element>
    <element id="logical-medication-dispense.narrative">
      <path value="logical-medication-dispense.narrative"/>
      <short
             value="FHIR DomainResource.text carried without translating clinical XHTML content."/>
      <definition
                  value="FHIR DomainResource.text carried without translating clinical XHTML content."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication-dispense.narrative"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Narrative"/>
      </type>
    </element>
    <element id="logical-medication-dispense.identifier">
      <path value="logical-medication-dispense.identifier"/>
      <short value="Medication dispense identifiers."/>
      <definition value="Medication dispense identifiers."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="logical-medication-dispense.identifier"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
    </element>
    <element id="logical-medication-dispense.status">
      <path value="logical-medication-dispense.status"/>
      <short value="Medication dispense status."/>
      <definition value="Medication dispense status."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication-dispense.status"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
    </element>
    <element id="logical-medication-dispense.stu3StatusPresent">
      <path value="logical-medication-dispense.stu3StatusPresent"/>
      <short
             value="Whether the original STU3 administration-agreement status element was explicitly present."/>
      <definition
                  value="Whether the original STU3 administration-agreement status element was explicitly present."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication-dispense.stu3StatusPresent"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element id="logical-medication-dispense.stu3Status">
      <path value="logical-medication-dispense.stu3Status"/>
      <short
             value="Original STU3 administration-agreement status when the logical model originated from STU3."/>
      <definition
                  value="Original STU3 administration-agreement status when the logical model originated from STU3."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication-dispense.stu3Status"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
    </element>
    <element id="logical-medication-dispense.statusReason">
      <path value="logical-medication-dispense.statusReason"/>
      <short value="Reason for the current dispense status."/>
      <definition value="Reason for the current dispense status."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication-dispense.statusReason"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="logical-medication-dispense.statusReasonReference">
      <path value="logical-medication-dispense.statusReasonReference"/>
      <short value="Detected issue explaining the current dispense status."/>
      <definition
                  value="Detected issue explaining the current dispense status."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication-dispense.statusReasonReference"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/DetectedIssue"/>
      </type>
    </element>
    <element id="logical-medication-dispense.category">
      <path value="logical-medication-dispense.category"/>
      <short value="Medication dispense category."/>
      <definition value="Medication dispense category."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication-dispense.category"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="logical-medication-dispense.partOf">
      <path value="logical-medication-dispense.partOf"/>
      <short value="Events of which this dispense is a part."/>
      <definition value="Events of which this dispense is a part."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="logical-medication-dispense.partOf"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Reference"/>
      </type>
    </element>
    <element id="logical-medication-dispense.medicationReference">
      <path value="logical-medication-dispense.medicationReference"/>
      <short value="Medication reference."/>
      <definition value="Medication reference."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication-dispense.medicationReference"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/Medication"/>
      </type>
    </element>
    <element id="logical-medication-dispense.medicationCodeableConcept">
      <path value="logical-medication-dispense.medicationCodeableConcept"/>
      <short value="Medication as a coded concept."/>
      <definition value="Medication as a coded concept."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication-dispense.medicationCodeableConcept"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="logical-medication-dispense.type">
      <path value="logical-medication-dispense.type"/>
      <short value="Dispense classification."/>
      <definition value="Dispense classification."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication-dispense.type"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="logical-medication-dispense.subject">
      <path value="logical-medication-dispense.subject"/>
      <short value="Subject of the medication dispense."/>
      <definition value="Subject of the medication dispense."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication-dispense.subject"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/Patient"/>
      </type>
    </element>
    <element id="logical-medication-dispense.encounter">
      <path value="logical-medication-dispense.encounter"/>
      <short value="Encounter context for the dispense agreement."/>
      <definition value="Encounter context for the dispense agreement."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication-dispense.encounter"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
      </type>
    </element>
    <element id="logical-medication-dispense.supportingInformation">
      <path value="logical-medication-dispense.supportingInformation"/>
      <short value="Information supporting the dispense."/>
      <definition value="Information supporting the dispense."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="logical-medication-dispense.supportingInformation"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Reference"/>
      </type>
    </element>
    <element id="logical-medication-dispense.performer">
      <path value="logical-medication-dispense.performer"/>
      <short value="Performer actors involved in the dispense agreement."/>
      <definition
                  value="Performer actors involved in the dispense agreement."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="logical-medication-dispense.performer"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="https://translate-ig.cumuluz.dev/ig/StructureDefinition/logical-medication-performer"/>
      </type>
    </element>
    <element id="logical-medication-dispense.authorizingPrescription">
      <path value="logical-medication-dispense.authorizingPrescription"/>
      <short value="Authorizing medication agreement references."/>
      <definition value="Authorizing medication agreement references."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="logical-medication-dispense.authorizingPrescription"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/MedicationRequest"/>
      </type>
    </element>
    <element id="logical-medication-dispense.location">
      <path value="logical-medication-dispense.location"/>
      <short value="Location where the dispense occurred."/>
      <definition value="Location where the dispense occurred."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication-dispense.location"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/Location"/>
      </type>
    </element>
    <element id="logical-medication-dispense.quantity">
      <path value="logical-medication-dispense.quantity"/>
      <short value="Amount dispensed."/>
      <definition value="Amount dispensed."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication-dispense.quantity"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Quantity"/>
      </type>
    </element>
    <element id="logical-medication-dispense.daysSupply">
      <path value="logical-medication-dispense.daysSupply"/>
      <short value="Estimated duration of the dispensed supply."/>
      <definition value="Estimated duration of the dispensed supply."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication-dispense.daysSupply"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Quantity"/>
      </type>
    </element>
    <element id="logical-medication-dispense.whenPrepared">
      <path value="logical-medication-dispense.whenPrepared"/>
      <short value="Time at which the medication was prepared."/>
      <definition value="Time at which the medication was prepared."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication-dispense.whenPrepared"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
    <element id="logical-medication-dispense.whenHandedOver">
      <path value="logical-medication-dispense.whenHandedOver"/>
      <short value="Time the medication was handed to the receiver."/>
      <definition value="Time the medication was handed to the receiver."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication-dispense.whenHandedOver"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
    <element id="logical-medication-dispense.destination">
      <path value="logical-medication-dispense.destination"/>
      <short value="Destination for the dispensed medication."/>
      <definition value="Destination for the dispensed medication."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication-dispense.destination"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/Location"/>
      </type>
    </element>
    <element id="logical-medication-dispense.receiver">
      <path value="logical-medication-dispense.receiver"/>
      <short value="Intended or actual receivers."/>
      <definition value="Intended or actual receivers."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="logical-medication-dispense.receiver"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Reference"/>
      </type>
    </element>
    <element id="logical-medication-dispense.substitutionWasSubstituted">
      <path value="logical-medication-dispense.substitutionWasSubstituted"/>
      <short value="Whether substitution occurred."/>
      <definition value="Whether substitution occurred."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication-dispense.substitutionWasSubstituted"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element id="logical-medication-dispense.substitutionType">
      <path value="logical-medication-dispense.substitutionType"/>
      <short value="Type of substitution performed."/>
      <definition value="Type of substitution performed."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication-dispense.substitutionType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="logical-medication-dispense.substitutionReason">
      <path value="logical-medication-dispense.substitutionReason"/>
      <short value="Reasons for substitution."/>
      <definition value="Reasons for substitution."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="logical-medication-dispense.substitutionReason"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="logical-medication-dispense.substitutionResponsibleParty">
      <path value="logical-medication-dispense.substitutionResponsibleParty"/>
      <short value="Parties responsible for the substitution."/>
      <definition value="Parties responsible for the substitution."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path
              value="logical-medication-dispense.substitutionResponsibleParty"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Reference"/>
      </type>
    </element>
    <element id="logical-medication-dispense.detectedIssue">
      <path value="logical-medication-dispense.detectedIssue"/>
      <short value="Detected clinical issues associated with the dispense."/>
      <definition
                  value="Detected clinical issues associated with the dispense."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="logical-medication-dispense.detectedIssue"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Reference"/>
      </type>
    </element>
    <element id="logical-medication-dispense.eventHistory">
      <path value="logical-medication-dispense.eventHistory"/>
      <short value="Provenance events in the dispense lifecycle."/>
      <definition value="Provenance events in the dispense lifecycle."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="logical-medication-dispense.eventHistory"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/Provenance"/>
      </type>
    </element>
    <element id="logical-medication-dispense.note">
      <path value="logical-medication-dispense.note"/>
      <short value="Narrative notes."/>
      <definition value="Narrative notes."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="logical-medication-dispense.note"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Annotation"/>
      </type>
    </element>
    <element id="logical-medication-dispense.dosage">
      <path value="logical-medication-dispense.dosage"/>
      <short value="Dosage instructions."/>
      <definition value="Dosage instructions."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="logical-medication-dispense.dosage"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="https://translate-ig.cumuluz.dev/ig/StructureDefinition/logical-medication-dosage"/>
      </type>
    </element>
    <element id="logical-medication-dispense.notDonePresent">
      <path value="logical-medication-dispense.notDonePresent"/>
      <short
             value="Whether the STU3 notDone element was explicitly present."/>
      <definition
                  value="Whether the STU3 notDone element was explicitly present."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication-dispense.notDonePresent"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element id="logical-medication-dispense.notDone">
      <path value="logical-medication-dispense.notDone"/>
      <short
             value="Value of the STU3 notDone element when it was explicitly present."/>
      <definition
                  value="Value of the STU3 notDone element when it was explicitly present."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication-dispense.notDone"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element id="logical-medication-dispense.notDoneReason">
      <path value="logical-medication-dispense.notDoneReason"/>
      <short
             value="Coded reason the STU3 administration agreement was not completed."/>
      <definition
                  value="Coded reason the STU3 administration agreement was not completed."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication-dispense.notDoneReason"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="logical-medication-dispense.notDoneReasonReference">
      <path value="logical-medication-dispense.notDoneReasonReference"/>
      <short
             value="Detected issue explaining why the STU3 administration agreement was not completed."/>
      <definition
                  value="Detected issue explaining why the STU3 administration agreement was not completed."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication-dispense.notDoneReasonReference"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/DetectedIssue"/>
      </type>
    </element>
    <element id="logical-medication-dispense.authoredOn">
      <path value="logical-medication-dispense.authoredOn"/>
      <short value="Date when the administration agreement was authored."/>
      <definition
                  value="Date when the administration agreement was authored."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication-dispense.authoredOn"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
    <element id="logical-medication-dispense.agreementReason">
      <path value="logical-medication-dispense.agreementReason"/>
      <short value="Reason for the administration agreement."/>
      <definition value="Reason for the administration agreement."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication-dispense.agreementReason"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="logical-medication-dispense.periodOfUse">
      <path value="logical-medication-dispense.periodOfUse"/>
      <short
             value="Overall period of use carried on the Dutch source extension."/>
      <definition
                  value="Overall period of use carried on the Dutch source extension."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication-dispense.periodOfUse"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Period"/>
      </type>
    </element>
    <element id="logical-medication-dispense.usageDuration">
      <path value="logical-medication-dispense.usageDuration"/>
      <short
             value="Overall usage duration carried on the Dutch source extension."/>
      <definition
                  value="Overall usage duration carried on the Dutch source extension."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication-dispense.usageDuration"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Duration"/>
      </type>
    </element>
    <element id="logical-medication-dispense.additionalInformation">
      <path value="logical-medication-dispense.additionalInformation"/>
      <short value="Additional administration agreement information."/>
      <definition value="Additional administration agreement information."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication-dispense.additionalInformation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="logical-medication-dispense.medicationTreatment">
      <path value="logical-medication-dispense.medicationTreatment"/>
      <short value="Medication treatment identifier."/>
      <definition value="Medication treatment identifier."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication-dispense.medicationTreatment"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
    </element>
    <element id="logical-medication-dispense.stopType">
      <path value="logical-medication-dispense.stopType"/>
      <short value="Stop type from the Dutch source modifier extension."/>
      <definition
                  value="Stop type from the Dutch source modifier extension."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication-dispense.stopType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
  </snapshot>
  <differential>
    <element id="logical-medication-dispense">
      <path value="logical-medication-dispense"/>
      <short value="Logical Model: Medication Dispense"/>
      <definition
                  value="Canonical intermediate logical model for administration agreement to medication dispense translation. It is shaped closely to R4 MedicationDispense with explicit Dutch source additions only where needed."/>
      <constraint>
        <key value="logical-medication-dispense-status-reason-choice"/>
        <severity value="error"/>
        <human
               value="Only one value may be present for each dispense status-reason choice."/>
        <expression
                    value="(statusReason | statusReasonReference).count() &lt;= 1 and (notDoneReason | notDoneReasonReference).count() &lt;= 1"/>
        <source
                value="https://translate-ig.cumuluz.dev/ig/StructureDefinition/logical-medication-dispense"/>
      </constraint>
      <constraint>
        <key value="logical-medication-dispense-medication-choice"/>
        <severity value="error"/>
        <human value="Only one medication choice may be present."/>
        <expression
                    value="(medicationReference | medicationCodeableConcept).count() &lt;= 1"/>
        <source
                value="https://translate-ig.cumuluz.dev/ig/StructureDefinition/logical-medication-dispense"/>
      </constraint>
    </element>
    <element id="logical-medication-dispense.sourceProfile">
      <path value="logical-medication-dispense.sourceProfile"/>
      <short value="source Profile"/>
      <definition
                  value="Source profile used to populate this logical model."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="uri"/>
      </type>
    </element>
    <element id="logical-medication-dispense.targetProfile">
      <path value="logical-medication-dispense.targetProfile"/>
      <short value="target Profile"/>
      <definition
                  value="Target profile intended for this logical model instance."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="uri"/>
      </type>
    </element>
    <element id="logical-medication-dispense.resourceLanguage">
      <path value="logical-medication-dispense.resourceLanguage"/>
      <short
             value="FHIR Resource.language carried independently from resource-specific language concepts."/>
      <definition
                  value="FHIR Resource.language carried independently from resource-specific language concepts."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
    </element>
    <element id="logical-medication-dispense.narrative">
      <path value="logical-medication-dispense.narrative"/>
      <short
             value="FHIR DomainResource.text carried without translating clinical XHTML content."/>
      <definition
                  value="FHIR DomainResource.text carried without translating clinical XHTML content."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Narrative"/>
      </type>
    </element>
    <element id="logical-medication-dispense.identifier">
      <path value="logical-medication-dispense.identifier"/>
      <short value="Medication dispense identifiers."/>
      <definition value="Medication dispense identifiers."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Identifier"/>
      </type>
    </element>
    <element id="logical-medication-dispense.status">
      <path value="logical-medication-dispense.status"/>
      <short value="Medication dispense status."/>
      <definition value="Medication dispense status."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
    </element>
    <element id="logical-medication-dispense.stu3StatusPresent">
      <path value="logical-medication-dispense.stu3StatusPresent"/>
      <short
             value="Whether the original STU3 administration-agreement status element was explicitly present."/>
      <definition
                  value="Whether the original STU3 administration-agreement status element was explicitly present."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element id="logical-medication-dispense.stu3Status">
      <path value="logical-medication-dispense.stu3Status"/>
      <short
             value="Original STU3 administration-agreement status when the logical model originated from STU3."/>
      <definition
                  value="Original STU3 administration-agreement status when the logical model originated from STU3."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
    </element>
    <element id="logical-medication-dispense.statusReason">
      <path value="logical-medication-dispense.statusReason"/>
      <short value="Reason for the current dispense status."/>
      <definition value="Reason for the current dispense status."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="logical-medication-dispense.statusReasonReference">
      <path value="logical-medication-dispense.statusReasonReference"/>
      <short value="Detected issue explaining the current dispense status."/>
      <definition
                  value="Detected issue explaining the current dispense status."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/DetectedIssue"/>
      </type>
    </element>
    <element id="logical-medication-dispense.category">
      <path value="logical-medication-dispense.category"/>
      <short value="Medication dispense category."/>
      <definition value="Medication dispense category."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="logical-medication-dispense.partOf">
      <path value="logical-medication-dispense.partOf"/>
      <short value="Events of which this dispense is a part."/>
      <definition value="Events of which this dispense is a part."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Reference"/>
      </type>
    </element>
    <element id="logical-medication-dispense.medicationReference">
      <path value="logical-medication-dispense.medicationReference"/>
      <short value="Medication reference."/>
      <definition value="Medication reference."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/Medication"/>
      </type>
    </element>
    <element id="logical-medication-dispense.medicationCodeableConcept">
      <path value="logical-medication-dispense.medicationCodeableConcept"/>
      <short value="Medication as a coded concept."/>
      <definition value="Medication as a coded concept."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="logical-medication-dispense.type">
      <path value="logical-medication-dispense.type"/>
      <short value="Dispense classification."/>
      <definition value="Dispense classification."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="logical-medication-dispense.subject">
      <path value="logical-medication-dispense.subject"/>
      <short value="Subject of the medication dispense."/>
      <definition value="Subject of the medication dispense."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/Patient"/>
      </type>
    </element>
    <element id="logical-medication-dispense.encounter">
      <path value="logical-medication-dispense.encounter"/>
      <short value="Encounter context for the dispense agreement."/>
      <definition value="Encounter context for the dispense agreement."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
      </type>
    </element>
    <element id="logical-medication-dispense.supportingInformation">
      <path value="logical-medication-dispense.supportingInformation"/>
      <short value="Information supporting the dispense."/>
      <definition value="Information supporting the dispense."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Reference"/>
      </type>
    </element>
    <element id="logical-medication-dispense.performer">
      <path value="logical-medication-dispense.performer"/>
      <short value="Performer actors involved in the dispense agreement."/>
      <definition
                  value="Performer actors involved in the dispense agreement."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code
              value="https://translate-ig.cumuluz.dev/ig/StructureDefinition/logical-medication-performer"/>
      </type>
    </element>
    <element id="logical-medication-dispense.authorizingPrescription">
      <path value="logical-medication-dispense.authorizingPrescription"/>
      <short value="Authorizing medication agreement references."/>
      <definition value="Authorizing medication agreement references."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/MedicationRequest"/>
      </type>
    </element>
    <element id="logical-medication-dispense.location">
      <path value="logical-medication-dispense.location"/>
      <short value="Location where the dispense occurred."/>
      <definition value="Location where the dispense occurred."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/Location"/>
      </type>
    </element>
    <element id="logical-medication-dispense.quantity">
      <path value="logical-medication-dispense.quantity"/>
      <short value="Amount dispensed."/>
      <definition value="Amount dispensed."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Quantity"/>
      </type>
    </element>
    <element id="logical-medication-dispense.daysSupply">
      <path value="logical-medication-dispense.daysSupply"/>
      <short value="Estimated duration of the dispensed supply."/>
      <definition value="Estimated duration of the dispensed supply."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Quantity"/>
      </type>
    </element>
    <element id="logical-medication-dispense.whenPrepared">
      <path value="logical-medication-dispense.whenPrepared"/>
      <short value="Time at which the medication was prepared."/>
      <definition value="Time at which the medication was prepared."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
    <element id="logical-medication-dispense.whenHandedOver">
      <path value="logical-medication-dispense.whenHandedOver"/>
      <short value="Time the medication was handed to the receiver."/>
      <definition value="Time the medication was handed to the receiver."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
    <element id="logical-medication-dispense.destination">
      <path value="logical-medication-dispense.destination"/>
      <short value="Destination for the dispensed medication."/>
      <definition value="Destination for the dispensed medication."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/Location"/>
      </type>
    </element>
    <element id="logical-medication-dispense.receiver">
      <path value="logical-medication-dispense.receiver"/>
      <short value="Intended or actual receivers."/>
      <definition value="Intended or actual receivers."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Reference"/>
      </type>
    </element>
    <element id="logical-medication-dispense.substitutionWasSubstituted">
      <path value="logical-medication-dispense.substitutionWasSubstituted"/>
      <short value="Whether substitution occurred."/>
      <definition value="Whether substitution occurred."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element id="logical-medication-dispense.substitutionType">
      <path value="logical-medication-dispense.substitutionType"/>
      <short value="Type of substitution performed."/>
      <definition value="Type of substitution performed."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="logical-medication-dispense.substitutionReason">
      <path value="logical-medication-dispense.substitutionReason"/>
      <short value="Reasons for substitution."/>
      <definition value="Reasons for substitution."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="logical-medication-dispense.substitutionResponsibleParty">
      <path value="logical-medication-dispense.substitutionResponsibleParty"/>
      <short value="Parties responsible for the substitution."/>
      <definition value="Parties responsible for the substitution."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Reference"/>
      </type>
    </element>
    <element id="logical-medication-dispense.detectedIssue">
      <path value="logical-medication-dispense.detectedIssue"/>
      <short value="Detected clinical issues associated with the dispense."/>
      <definition
                  value="Detected clinical issues associated with the dispense."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Reference"/>
      </type>
    </element>
    <element id="logical-medication-dispense.eventHistory">
      <path value="logical-medication-dispense.eventHistory"/>
      <short value="Provenance events in the dispense lifecycle."/>
      <definition value="Provenance events in the dispense lifecycle."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/Provenance"/>
      </type>
    </element>
    <element id="logical-medication-dispense.note">
      <path value="logical-medication-dispense.note"/>
      <short value="Narrative notes."/>
      <definition value="Narrative notes."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Annotation"/>
      </type>
    </element>
    <element id="logical-medication-dispense.dosage">
      <path value="logical-medication-dispense.dosage"/>
      <short value="Dosage instructions."/>
      <definition value="Dosage instructions."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code
              value="https://translate-ig.cumuluz.dev/ig/StructureDefinition/logical-medication-dosage"/>
      </type>
    </element>
    <element id="logical-medication-dispense.notDonePresent">
      <path value="logical-medication-dispense.notDonePresent"/>
      <short
             value="Whether the STU3 notDone element was explicitly present."/>
      <definition
                  value="Whether the STU3 notDone element was explicitly present."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element id="logical-medication-dispense.notDone">
      <path value="logical-medication-dispense.notDone"/>
      <short
             value="Value of the STU3 notDone element when it was explicitly present."/>
      <definition
                  value="Value of the STU3 notDone element when it was explicitly present."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element id="logical-medication-dispense.notDoneReason">
      <path value="logical-medication-dispense.notDoneReason"/>
      <short
             value="Coded reason the STU3 administration agreement was not completed."/>
      <definition
                  value="Coded reason the STU3 administration agreement was not completed."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="logical-medication-dispense.notDoneReasonReference">
      <path value="logical-medication-dispense.notDoneReasonReference"/>
      <short
             value="Detected issue explaining why the STU3 administration agreement was not completed."/>
      <definition
                  value="Detected issue explaining why the STU3 administration agreement was not completed."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/DetectedIssue"/>
      </type>
    </element>
    <element id="logical-medication-dispense.authoredOn">
      <path value="logical-medication-dispense.authoredOn"/>
      <short value="Date when the administration agreement was authored."/>
      <definition
                  value="Date when the administration agreement was authored."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
    <element id="logical-medication-dispense.agreementReason">
      <path value="logical-medication-dispense.agreementReason"/>
      <short value="Reason for the administration agreement."/>
      <definition value="Reason for the administration agreement."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="logical-medication-dispense.periodOfUse">
      <path value="logical-medication-dispense.periodOfUse"/>
      <short
             value="Overall period of use carried on the Dutch source extension."/>
      <definition
                  value="Overall period of use carried on the Dutch source extension."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Period"/>
      </type>
    </element>
    <element id="logical-medication-dispense.usageDuration">
      <path value="logical-medication-dispense.usageDuration"/>
      <short
             value="Overall usage duration carried on the Dutch source extension."/>
      <definition
                  value="Overall usage duration carried on the Dutch source extension."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Duration"/>
      </type>
    </element>
    <element id="logical-medication-dispense.additionalInformation">
      <path value="logical-medication-dispense.additionalInformation"/>
      <short value="Additional administration agreement information."/>
      <definition value="Additional administration agreement information."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="logical-medication-dispense.medicationTreatment">
      <path value="logical-medication-dispense.medicationTreatment"/>
      <short value="Medication treatment identifier."/>
      <definition value="Medication treatment identifier."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Identifier"/>
      </type>
    </element>
    <element id="logical-medication-dispense.stopType">
      <path value="logical-medication-dispense.stopType"/>
      <short value="Stop type from the Dutch source modifier extension."/>
      <definition
                  value="Stop type from the Dutch source modifier extension."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
  </differential>
</StructureDefinition>