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

Draft as of 2026-10-29

XML representation of the logical-medication logical model.

Raw xml | Download


<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="logical-medication"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: StructureDefinition logical-medication</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-definitions.html#logical-medication" title="Canonical intermediate logical model for Medication-shaped nl-core routes.">logical-medication</a><a name="logical-medication"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><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<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></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.</span><a href="StructureDefinition-logical-medication-definitions.html#logical-medication.sourceProfile" title="Source profile used to populate this logical model.">sourceProfile</a><a name="logical-medication.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.</span><a href="StructureDefinition-logical-medication-definitions.html#logical-medication.targetProfile" title="Target profile intended for this logical model instance.">targetProfile</a><a name="logical-medication.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.</span><a href="StructureDefinition-logical-medication-definitions.html#logical-medication.resourceLanguage" title="FHIR Resource.language carried independently from resource-specific language concepts.">resourceLanguage</a><a name="logical-medication.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.</span><a href="StructureDefinition-logical-medication-definitions.html#logical-medication.narrative" title="FHIR DomainResource.text carried without translating clinical XHTML content.">narrative</a><a name="logical-medication.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_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.</span><a href="StructureDefinition-logical-medication-definitions.html#logical-medication.sourceResourceType" title="FHIR source resource type accepted on the source side.">sourceResourceType</a><a name="logical-medication.sourceResourceType"> </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 source resource type accepted on the source side.</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.</span><a href="StructureDefinition-logical-medication-definitions.html#logical-medication.targetResourceType" title="FHIR target resource type produced on the target side.">targetResourceType</a><a name="logical-medication.targetResourceType"> </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 target resource type produced on the target side.</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.</span><a href="StructureDefinition-logical-medication-definitions.html#logical-medication.identifier" title="Medication identifiers.">identifier</a><a name="logical-medication.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 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_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.</span><a href="StructureDefinition-logical-medication-definitions.html#logical-medication.code" title="Medication code.">code</a><a name="logical-medication.code"> </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 code.</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.</span><a href="StructureDefinition-logical-medication-definitions.html#logical-medication.status" title="Medication status.">status</a><a name="logical-medication.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 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.</span><a href="StructureDefinition-logical-medication-definitions.html#logical-medication.manufacturer" title="Manufacturer.">manufacturer</a><a name="logical-medication.manufacturer"> </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>()</td><td style="" class="hierarchy xhtCellBorder0">Manufacturer.</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.</span><a href="StructureDefinition-logical-medication-definitions.html#logical-medication.form" title="Dose form.">form</a><a name="logical-medication.form"> </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">Dose form.</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.</span><a href="StructureDefinition-logical-medication-definitions.html#logical-medication.amount" title="Amount.">amount</a><a name="logical-medication.amount"> </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#Ratio">Ratio</a></td><td style="" class="hierarchy xhtCellBorder0">Amount.</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_resource.png" alt="" style="background-color: #F7F7F7; 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.</span><a href="StructureDefinition-logical-medication-definitions.html#logical-medication.ingredient" title="Medication ingredients and strengths.">ingredient</a><a name="logical-medication.ingredient"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..*</td><td style="" class="hierarchy xhtCellBorder0"><a href="StructureDefinition-logical-medication-ingredient.html">logical-medication-ingredient</a></td><td style="" class="hierarchy xhtCellBorder0">Medication ingredients and strengths.<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.</span><a href="StructureDefinition-logical-medication-definitions.html#logical-medication.batchLotNumber" title="Batch lot number.">batchLotNumber</a><a name="logical-medication.batchLotNumber"> </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#string">string</a></td><td style="" class="hierarchy xhtCellBorder0">Batch lot number.</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.</span><a href="StructureDefinition-logical-medication-definitions.html#logical-medication.batchExpirationDate" title="Supplied Medication batch expiry.">batchExpirationDate</a><a name="logical-medication.batchExpirationDate"> </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">Supplied Medication batch expiry.</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.</span><a href="StructureDefinition-logical-medication-definitions.html#logical-medication.legacyDescription" title="Supplied zib2017 product description.">legacyDescription</a><a name="logical-medication.legacyDescription"> </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#string">string</a></td><td style="" class="hierarchy xhtCellBorder0">Supplied zib2017 product description.</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.</span><a href="StructureDefinition-logical-medication-definitions.html#logical-medication.legacyIsBrand" title="Explicit STU3 brand flag.">legacyIsBrand</a><a name="logical-medication.legacyIsBrand"> </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">Explicit STU3 brand flag.</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.</span><a href="StructureDefinition-logical-medication-definitions.html#logical-medication.legacyIsOverTheCounter" title="Explicit STU3 non-prescription flag.">legacyIsOverTheCounter</a><a name="logical-medication.legacyIsOverTheCounter"> </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">Explicit STU3 non-prescription flag.</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.</span><a href="StructureDefinition-logical-medication-definitions.html#logical-medication.legacyImage" title="Supplied STU3 product images.">legacyImage</a><a name="logical-medication.legacyImage"> </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#Attachment">Attachment</a></td><td style="" class="hierarchy xhtCellBorder0">Supplied STU3 product images.<br/></td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><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_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.</span><a href="StructureDefinition-logical-medication-definitions.html#logical-medication.legacyPackage" title="Legacy package details without choosing a primary batch.">legacyPackage</a><a name="logical-medication.legacyPackage"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="StructureDefinition-logical-medication-legacy-package.html">logical-medication-legacy-package</a></td><td style="" class="hierarchy xhtCellBorder0">Legacy package details without choosing a primary batch.</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"/>
  <version value="0.1.0"/>
  <name value="LogicalMedication"/>
  <title value="Logical Model: Medication"/>
  <status value="draft"/>
  <date value="2026-10-29T15:53:40+01:00"/>
  <publisher value="Cumuluz"/>
  <description
               value="Canonical intermediate logical model for Medication-shaped nl-core routes."/>
  <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"/>
  <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">
      <path value="logical-medication"/>
      <short value="Logical Model: Medication"/>
      <definition
                  value="Canonical intermediate logical model for Medication-shaped nl-core routes."/>
      <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>
      <isModifier value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="logical-medication.id">
      <path value="logical-medication.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.extension">
      <path value="logical-medication.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.sourceProfile">
      <path value="logical-medication.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.sourceProfile"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
    </element>
    <element id="logical-medication.targetProfile">
      <path value="logical-medication.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.targetProfile"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
    </element>
    <element id="logical-medication.resourceLanguage">
      <path value="logical-medication.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.resourceLanguage"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
    </element>
    <element id="logical-medication.narrative">
      <path value="logical-medication.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.narrative"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Narrative"/>
      </type>
    </element>
    <element id="logical-medication.sourceResourceType">
      <path value="logical-medication.sourceResourceType"/>
      <short value="FHIR source resource type accepted on the source side."/>
      <definition
                  value="FHIR source resource type accepted on the source side."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication.sourceResourceType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
    </element>
    <element id="logical-medication.targetResourceType">
      <path value="logical-medication.targetResourceType"/>
      <short value="FHIR target resource type produced on the target side."/>
      <definition
                  value="FHIR target resource type produced on the target side."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication.targetResourceType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
    </element>
    <element id="logical-medication.identifier">
      <path value="logical-medication.identifier"/>
      <short value="Medication identifiers."/>
      <definition value="Medication identifiers."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="logical-medication.identifier"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
    </element>
    <element id="logical-medication.code">
      <path value="logical-medication.code"/>
      <short value="Medication code."/>
      <definition value="Medication code."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication.code"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="logical-medication.status">
      <path value="logical-medication.status"/>
      <short value="Medication status."/>
      <definition value="Medication status."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication.status"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
    </element>
    <element id="logical-medication.manufacturer">
      <path value="logical-medication.manufacturer"/>
      <short value="Manufacturer."/>
      <definition value="Manufacturer."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication.manufacturer"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
      </type>
    </element>
    <element id="logical-medication.form">
      <path value="logical-medication.form"/>
      <short value="Dose form."/>
      <definition value="Dose form."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication.form"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="logical-medication.amount">
      <path value="logical-medication.amount"/>
      <short value="Amount."/>
      <definition value="Amount."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication.amount"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Ratio"/>
      </type>
    </element>
    <element id="logical-medication.ingredient">
      <path value="logical-medication.ingredient"/>
      <short value="Medication ingredients and strengths."/>
      <definition value="Medication ingredients and strengths."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="logical-medication.ingredient"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="https://translate-ig.cumuluz.dev/ig/StructureDefinition/logical-medication-ingredient"/>
      </type>
    </element>
    <element id="logical-medication.batchLotNumber">
      <path value="logical-medication.batchLotNumber"/>
      <short value="Batch lot number."/>
      <definition value="Batch lot number."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication.batchLotNumber"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="logical-medication.batchExpirationDate">
      <path value="logical-medication.batchExpirationDate"/>
      <short value="Supplied Medication batch expiry."/>
      <definition value="Supplied Medication batch expiry."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication.batchExpirationDate"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
    <element id="logical-medication.legacyDescription">
      <path value="logical-medication.legacyDescription"/>
      <short value="Supplied zib2017 product description."/>
      <definition value="Supplied zib2017 product description."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication.legacyDescription"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="logical-medication.legacyIsBrand">
      <path value="logical-medication.legacyIsBrand"/>
      <short value="Explicit STU3 brand flag."/>
      <definition value="Explicit STU3 brand flag."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication.legacyIsBrand"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element id="logical-medication.legacyIsOverTheCounter">
      <path value="logical-medication.legacyIsOverTheCounter"/>
      <short value="Explicit STU3 non-prescription flag."/>
      <definition value="Explicit STU3 non-prescription flag."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication.legacyIsOverTheCounter"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element id="logical-medication.legacyImage">
      <path value="logical-medication.legacyImage"/>
      <short value="Supplied STU3 product images."/>
      <definition value="Supplied STU3 product images."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="logical-medication.legacyImage"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Attachment"/>
      </type>
    </element>
    <element id="logical-medication.legacyPackage">
      <path value="logical-medication.legacyPackage"/>
      <short
             value="Legacy package details without choosing a primary batch."/>
      <definition
                  value="Legacy package details without choosing a primary batch."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="logical-medication.legacyPackage"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="https://translate-ig.cumuluz.dev/ig/StructureDefinition/logical-medication-legacy-package"/>
      </type>
    </element>
  </snapshot>
  <differential>
    <element id="logical-medication">
      <path value="logical-medication"/>
      <short value="Logical Model: Medication"/>
      <definition
                  value="Canonical intermediate logical model for Medication-shaped nl-core routes."/>
    </element>
    <element id="logical-medication.sourceProfile">
      <path value="logical-medication.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.targetProfile">
      <path value="logical-medication.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.resourceLanguage">
      <path value="logical-medication.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.narrative">
      <path value="logical-medication.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.sourceResourceType">
      <path value="logical-medication.sourceResourceType"/>
      <short value="FHIR source resource type accepted on the source side."/>
      <definition
                  value="FHIR source resource type accepted on the source side."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
    </element>
    <element id="logical-medication.targetResourceType">
      <path value="logical-medication.targetResourceType"/>
      <short value="FHIR target resource type produced on the target side."/>
      <definition
                  value="FHIR target resource type produced on the target side."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
    </element>
    <element id="logical-medication.identifier">
      <path value="logical-medication.identifier"/>
      <short value="Medication identifiers."/>
      <definition value="Medication identifiers."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Identifier"/>
      </type>
    </element>
    <element id="logical-medication.code">
      <path value="logical-medication.code"/>
      <short value="Medication code."/>
      <definition value="Medication code."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="logical-medication.status">
      <path value="logical-medication.status"/>
      <short value="Medication status."/>
      <definition value="Medication status."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
    </element>
    <element id="logical-medication.manufacturer">
      <path value="logical-medication.manufacturer"/>
      <short value="Manufacturer."/>
      <definition value="Manufacturer."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
      </type>
    </element>
    <element id="logical-medication.form">
      <path value="logical-medication.form"/>
      <short value="Dose form."/>
      <definition value="Dose form."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="logical-medication.amount">
      <path value="logical-medication.amount"/>
      <short value="Amount."/>
      <definition value="Amount."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Ratio"/>
      </type>
    </element>
    <element id="logical-medication.ingredient">
      <path value="logical-medication.ingredient"/>
      <short value="Medication ingredients and strengths."/>
      <definition value="Medication ingredients and strengths."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code
              value="https://translate-ig.cumuluz.dev/ig/StructureDefinition/logical-medication-ingredient"/>
      </type>
    </element>
    <element id="logical-medication.batchLotNumber">
      <path value="logical-medication.batchLotNumber"/>
      <short value="Batch lot number."/>
      <definition value="Batch lot number."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="logical-medication.batchExpirationDate">
      <path value="logical-medication.batchExpirationDate"/>
      <short value="Supplied Medication batch expiry."/>
      <definition value="Supplied Medication batch expiry."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
    <element id="logical-medication.legacyDescription">
      <path value="logical-medication.legacyDescription"/>
      <short value="Supplied zib2017 product description."/>
      <definition value="Supplied zib2017 product description."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="logical-medication.legacyIsBrand">
      <path value="logical-medication.legacyIsBrand"/>
      <short value="Explicit STU3 brand flag."/>
      <definition value="Explicit STU3 brand flag."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element id="logical-medication.legacyIsOverTheCounter">
      <path value="logical-medication.legacyIsOverTheCounter"/>
      <short value="Explicit STU3 non-prescription flag."/>
      <definition value="Explicit STU3 non-prescription flag."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element id="logical-medication.legacyImage">
      <path value="logical-medication.legacyImage"/>
      <short value="Supplied STU3 product images."/>
      <definition value="Supplied STU3 product images."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Attachment"/>
      </type>
    </element>
    <element id="logical-medication.legacyPackage">
      <path value="logical-medication.legacyPackage"/>
      <short
             value="Legacy package details without choosing a primary batch."/>
      <definition
                  value="Legacy package details without choosing a primary batch."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code
              value="https://translate-ig.cumuluz.dev/ig/StructureDefinition/logical-medication-legacy-package"/>
      </type>
    </element>
  </differential>
</StructureDefinition>