EHDS Logical Information Models
0.1.0 - ci-build

EHDS Logical Information Models, published by Xt-EHR. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/Xt-EHR/xt-ehr-common/ and changes regularly. See the Directory of published versions

Logical Model: EHDSMedicationPrescription - XML Profile

Draft as of 2024-12-16

XML representation of the EHDSMedicationPrescription logical model.

Raw xml | Download


<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="EHDSMedicationPrescription"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: StructureDefinition EHDSMedicationPrescription</b></p><a name="EHDSMedicationPrescription"> </a><a name="hcEHDSMedicationPrescription"> </a><a name="EHDSMedicationPrescription-en-US"> </a><table border="0" cellpadding="0" cellspacing="0" style="border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"><tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top"><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="The logical name of the element">Name</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Information about the use of the element">Flags</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Minimum and Maximum # of times the element can appear in the instance">Card.</a></th><th style="width: 100px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Reference to the type of the element">Type</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Additional information about the element">Description &amp; Constraints</a><span style="float: right"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64,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 style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationPrescription-definitions.html#EHDSMedicationPrescription" title="Logical model for medication prescription. A prescription contains one or more prescription items.">EHDSMedicationPrescription</a><a name="EHDSMedicationPrescription"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/types.html#Base">Base</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Medication Prescription (model)<br/><span style="font-weight:bold">Instances of this logical model are not marked to be the target of a Reference</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationPrescription-definitions.html#EHDSMedicationPrescription.identifier" title="Business identifier(s) for the prescription">identifier</a><a name="EHDSMedicationPrescription.identifier"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..*</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#Identifier">Identifier</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Business identifier(s) for the prescription<br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="." style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationPrescription-definitions.html#EHDSMedicationPrescription.prescriber" title="Question: would we want to add basic Practicioner model?">prescriber</a><a name="EHDSMedicationPrescription.prescriber"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-EHDSHealthProfessional.html">EHDSHealthProfessional</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">The person who made the prescription, and who takes the responsibility of the treatment</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationPrescription-definitions.html#EHDSMedicationPrescription.issueDate" title="Time of issuing (signing) the prescription by health care practicioner">issueDate</a><a name="EHDSMedicationPrescription.issueDate"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#dateTime">dateTime</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Time of issuing (signing) the prescription by health care practicioner</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="." style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationPrescription-definitions.html#EHDSMedicationPrescription.patient" title="Question: would we want to add basic Patient model?">patient</a><a name="EHDSMedicationPrescription.patient"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-EHDSPatient.html">EHDSPatient</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">The person for whom the medication is prescribed/ordered</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationPrescription-definitions.html#EHDSMedicationPrescription.category" title="Category or categories of prescription. For example type of reimbursement, or type of prescription (e.g. hospital, private, etc).">category</a><a name="EHDSMedicationPrescription.category"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Category or categories of prescription. For example type of reimbursement, or type of prescription (e.g. hospital, private, etc).<br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationPrescription-definitions.html#EHDSMedicationPrescription.validFrom" title="Effective date of the prescription. The prescription is not dispensable before this date. In most cases this information repeats issueDate">validFrom</a><a name="EHDSMedicationPrescription.validFrom"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#dateTime">dateTime</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Effective date of the prescription. The prescription is not dispensable before this date. In most cases this information repeats issueDate</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationPrescription-definitions.html#EHDSMedicationPrescription.validUntil" title="The validity period end date. The prescription is not dispensable after this date.">validUntil</a><a name="EHDSMedicationPrescription.validUntil"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#dateTime">dateTime</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">The validity period end date. The prescription is not dispensable after this date.</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="." style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationPrescription-definitions.html#EHDSMedicationPrescription.recorder" title="The recorder of the prescription/draft in the information system">recorder</a><a name="EHDSMedicationPrescription.recorder"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-EHDSHealthProfessional.html">EHDSHealthProfessional</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">The recorder of the prescription/draft in the information system</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationPrescription-definitions.html#EHDSMedicationPrescription.recordingDate" title="Time of authoring the prescription/draft in the information system">recordingDate</a><a name="EHDSMedicationPrescription.recordingDate"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#dateTime">dateTime</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Time of authoring the prescription/draft in the information system</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationPrescription-definitions.html#EHDSMedicationPrescription.status" title="Status of the prescription, this should not be status of treatment">status</a><a name="EHDSMedicationPrescription.status"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Status of the prescription, this should not be status of treatment</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationPrescription-definitions.html#EHDSMedicationPrescription.statusReason" title="Reason for the current status of prescription, for example the reason why the prescription was made invalid">statusReason</a><a name="EHDSMedicationPrescription.statusReason"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Reason for the current status of prescription, for example the reason why the prescription was made invalid<br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationPrescription-definitions.html#EHDSMedicationPrescription.statusReasonText" title="Textual reason for the current status of prescription">statusReasonText</a><a name="EHDSMedicationPrescription.statusReasonText"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#string">string</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Textual reason for the current status of prescription</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationPrescription-definitions.html#EHDSMedicationPrescription.comment" title="Additional information or comments">comment</a><a name="EHDSMedicationPrescription.comment"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#string">string</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Additional information or comments<br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck01.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationPrescription-definitions.html#EHDSMedicationPrescription.prescriptionItem" title="Presription line for one medication. In many countries, only one line is allowed. In case multiple medications are allowed, all lines need to be authored together.">prescriptionItem</a><a name="EHDSMedicationPrescription.prescriptionItem"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..*</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Base</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Presription line for one medication. In many countries, only one line is allowed. In case multiple medications are allowed, all lines need to be authored together.<br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationPrescription-definitions.html#EHDSMedicationPrescription.prescriptionItem.identifier" title="Identifier for a single line on prescription, if exists. In case of single-line prescription, this identifier is typically the same as prescription identifier.">identifier</a><a name="EHDSMedicationPrescription.prescriptionItem.identifier"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#Identifier">Identifier</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Identifier for a single line on prescription, if exists. In case of single-line prescription, this identifier is typically the same as prescription identifier.</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="." style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationPrescription-definitions.html#EHDSMedicationPrescription.prescriptionItem.medication" title="Prescribed product, branded, generic, virtual, extemporal, etc">medication</a><a name="EHDSMedicationPrescription.prescriptionItem.medication"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-EHDSMedication.html">EHDSMedication</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Prescribed product, branded, generic, virtual, extemporal, etc</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationPrescription-definitions.html#EHDSMedicationPrescription.prescriptionItem.indication" title="Reason for the prescription (typically diagnosis, or a procedure)">indication</a><a name="EHDSMedicationPrescription.prescriptionItem.indication"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Reason for the prescription (typically diagnosis, or a procedure)<br/><span style="font-weight:bold">Binding Description (No ValueSet): </span> (<a href="http://hl7.org/fhir/R5/terminologies.html#preferred" title="Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.">preferred</a>): shall we have a preferred binding here?<br/><br/><br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationPrescription-definitions.html#EHDSMedicationPrescription.prescriptionItem.indicationText" title="Reason for the prescription in textual form. This might not be allowed by some implementations.">indicationText</a><a name="EHDSMedicationPrescription.prescriptionItem.indicationText"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#string">string</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Reason for the prescription in textual form. This might not be allowed by some implementations.</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationPrescription-definitions.html#EHDSMedicationPrescription.prescriptionItem.prescriptionIntent" title="Intent of the prescription - prophylaxis, treatment, anesthesia, etc">prescriptionIntent</a><a name="EHDSMedicationPrescription.prescriptionItem.prescriptionIntent"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Intent of the prescription - prophylaxis, treatment, anesthesia, etc</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationPrescription-definitions.html#EHDSMedicationPrescription.prescriptionItem.treatmentPeriod" title="Period over which the medication is to be taken (in case of multiple dosaging schemes, this would be the overall period of all dosages.)">treatmentPeriod</a><a name="EHDSMedicationPrescription.prescriptionItem.treatmentPeriod"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#Period">Period</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Period over which the medication is to be taken (in case of multiple dosaging schemes, this would be the overall period of all dosages.)</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationPrescription-definitions.html#EHDSMedicationPrescription.prescriptionItem.quantityPrescribed" title="Overall quantity of prescribed product (e.g number of packages or number of tablets).">quantityPrescribed</a><a name="EHDSMedicationPrescription.prescriptionItem.quantityPrescribed"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#Quantity">Quantity</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Overall quantity of prescribed product (e.g number of packages or number of tablets).</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="." style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationPrescription-definitions.html#EHDSMedicationPrescription.prescriptionItem.dosageInstructions" title="Dosaging and administration instructions">dosageInstructions</a><a name="EHDSMedicationPrescription.prescriptionItem.dosageInstructions"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-EHDSDosaging.html">EHDSDosaging</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Dosaging and administration instructions<br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationPrescription-definitions.html#EHDSMedicationPrescription.prescriptionItem.preparationInstructions" title="Additional instructions about preparation or dispense">preparationInstructions</a><a name="EHDSMedicationPrescription.prescriptionItem.preparationInstructions"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#string">string</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Additional instructions about preparation or dispense</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck011.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationPrescription-definitions.html#EHDSMedicationPrescription.prescriptionItem.substitution" title="Whether and which type of substitution is allowed for this medication treatment line">substitution</a><a name="EHDSMedicationPrescription.prescriptionItem.substitution"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Base</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Whether and which type of substitution is allowed for this medication treatment line</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0110.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationPrescription-definitions.html#EHDSMedicationPrescription.prescriptionItem.substitution.allowed" title="Whether substitution is allowed or not.">allowed</a><a name="EHDSMedicationPrescription.prescriptionItem.substitution.allowed"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#boolean">boolean</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Whether substitution is allowed or not.</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0110.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationPrescription-definitions.html#EHDSMedicationPrescription.prescriptionItem.substitution.type" title="The type of substitution that is allowed.">type</a><a name="EHDSMedicationPrescription.prescriptionItem.substitution.type"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">The type of substitution that is allowed.</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0101.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_choice.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Choice of Types" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationPrescription-definitions.html#EHDSMedicationPrescription.prescriptionItem.substitution.typeReason[x]" title="Reason for the substitution requirement">typeReason[x]</a><a name="EHDSMedicationPrescription.prescriptionItem.substitution.typeReason_x_"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Reason for the substitution requirement</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck01010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <span title="CodeableConcept Type: A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.">typeReasonCodeableConcept</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck01000.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <span title="string Type: A sequence of Unicode characters">typeReasonString</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#string">string</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationPrescription-definitions.html#EHDSMedicationPrescription.prescriptionItem.status" title="Status of the prescription, this should not be status of treatment">status</a><a name="EHDSMedicationPrescription.prescriptionItem.status"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Status of the prescription, this should not be status of treatment</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationPrescription-definitions.html#EHDSMedicationPrescription.prescriptionItem.statusReason" title="Reason for the current status of prescription, for example the reason why the prescription was made invalid">statusReason</a><a name="EHDSMedicationPrescription.prescriptionItem.statusReason"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Reason for the current status of prescription, for example the reason why the prescription was made invalid<br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationPrescription-definitions.html#EHDSMedicationPrescription.prescriptionItem.statusReasonText" title="Textual reason for the current status of prescription">statusReasonText</a><a name="EHDSMedicationPrescription.prescriptionItem.statusReasonText"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#string">string</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Textual reason for the current status of prescription</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationPrescription-definitions.html#EHDSMedicationPrescription.prescriptionItem.reasonForChange" title="The reason the prescription was changed from previous">reasonForChange</a><a name="EHDSMedicationPrescription.prescriptionItem.reasonForChange"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">The reason the prescription was changed from previous</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationPrescription-definitions.html#EHDSMedicationPrescription.prescriptionItem.repeatsAllowed" title="How many times the prescription item can be dispensed in addition to the original dispense.">repeatsAllowed</a><a name="EHDSMedicationPrescription.prescriptionItem.repeatsAllowed"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#integer">integer</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Number of refills authorized</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationPrescription-definitions.html#EHDSMedicationPrescription.prescriptionItem.minimumDispenseInterval" title="If a prescription allows for repeated dispensations, the interval between dispensations shall be stated here.">minimumDispenseInterval</a><a name="EHDSMedicationPrescription.prescriptionItem.minimumDispenseInterval"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#Duration">Duration</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Minimum Dispense Interval</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck000.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSMedicationPrescription-definitions.html#EHDSMedicationPrescription.prescriptionItem.comment" title="Additional information or comments">comment</a><a name="EHDSMedicationPrescription.prescriptionItem.comment"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/datatypes.html#string">string</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Additional information or comments<br/></td></tr>
<tr><td colspan="5" class="hierarchy"><br/><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64,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>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics">
    <valueCode value="can-be-target"/>
  </extension>
  <url
       value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSMedicationPrescription"/>
  <version value="0.1.0"/>
  <name value="EHDSMedicationPrescription"/>
  <title value="Medication Prescription (model)"/>
  <status value="draft"/>
  <date value="2024-12-16T17:20:39+00:00"/>
  <publisher value="Xt-EHR"/>
  <contact>
    <name value="Xt-EHR"/>
    <telecom>
      <system value="url"/>
      <value value="http://Xt-EHR.eu"/>
    </telecom>
  </contact>
  <description
               value="Logical model for medication prescription. A prescription contains one or more prescription items."/>
  <fhirVersion value="5.0.0"/>
  <mapping>
    <identity value="rim"/>
    <uri value="http://hl7.org/v3"/>
    <name value="RIM Mapping"/>
  </mapping>
  <kind value="logical"/>
  <abstract value="false"/>
  <type
        value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSMedicationPrescription"/>
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Base"/>
  <derivation value="specialization"/>
  <snapshot>
    <element id="EHDSMedicationPrescription">
      <path value="EHDSMedicationPrescription"/>
      <short value="Medication Prescription (model)"/>
      <definition
                  value="Logical model for medication prescription. A prescription contains one or more prescription items."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Base"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <isModifier value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="EHDSMedicationPrescription.identifier">
      <path value="EHDSMedicationPrescription.identifier"/>
      <short value="Business identifier(s) for the prescription"/>
      <definition value="Business identifier(s) for the prescription"/>
      <comment value="No change"/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="EHDSMedicationPrescription.identifier"/>
        <min value="1"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.prescriber">
      <path value="EHDSMedicationPrescription.prescriber"/>
      <short
             value="The person who made the prescription, and who takes the responsibility of the treatment"/>
      <definition
                  value="Question: would we want to add basic Practicioner model?"/>
      <comment value="No change"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="EHDSMedicationPrescription.prescriber"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.issueDate">
      <path value="EHDSMedicationPrescription.issueDate"/>
      <short
             value="Time of issuing (signing) the prescription by health care practicioner"/>
      <definition
                  value="Time of issuing (signing) the prescription by health care practicioner"/>
      <comment value="No change"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="EHDSMedicationPrescription.issueDate"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.patient">
      <path value="EHDSMedicationPrescription.patient"/>
      <short
             value="The person for whom the medication is prescribed/ordered"/>
      <definition
                  value="Question: would we want to add basic Patient model?"/>
      <comment
               value="No change (Patient model will be common for all use cases)"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="EHDSMedicationPrescription.patient"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPatient"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.category">
      <path value="EHDSMedicationPrescription.category"/>
      <short
             value="Category or categories of prescription. For example type of reimbursement, or type of prescription (e.g. hospital, private, etc)."/>
      <definition
                  value="Category or categories of prescription. For example type of reimbursement, or type of prescription (e.g. hospital, private, etc)."/>
      <comment value="Added."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="EHDSMedicationPrescription.category"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.validFrom">
      <path value="EHDSMedicationPrescription.validFrom"/>
      <short
             value="Effective date of the prescription. The prescription is not dispensable before this date. In most cases this information repeats issueDate"/>
      <definition
                  value="Effective date of the prescription. The prescription is not dispensable before this date. In most cases this information repeats issueDate"/>
      <comment
               value="Added. Often the same as IssueDate (A 1.2.2) or Start of therapy (A 1.5.6)"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="EHDSMedicationPrescription.validFrom"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.validUntil">
      <path value="EHDSMedicationPrescription.validUntil"/>
      <short
             value="The validity period end date. The prescription is not dispensable after this date."/>
      <definition
                  value="The validity period end date. The prescription is not dispensable after this date."/>
      <comment value="No change (A.1.5.8)"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="EHDSMedicationPrescription.validUntil"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.recorder">
      <path value="EHDSMedicationPrescription.recorder"/>
      <short
             value="The recorder of the prescription/draft in the information system"/>
      <definition
                  value="The recorder of the prescription/draft in the information system"/>
      <comment value="Added. Not relevant for crossborder."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="EHDSMedicationPrescription.recorder"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.recordingDate">
      <path value="EHDSMedicationPrescription.recordingDate"/>
      <short
             value="Time of authoring the prescription/draft in the information system"/>
      <definition
                  value="Time of authoring the prescription/draft in the information system"/>
      <comment value="Added. Not relevant for crossborder."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="EHDSMedicationPrescription.recordingDate"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.status">
      <path value="EHDSMedicationPrescription.status"/>
      <short
             value="Status of the prescription, this should not be status of treatment"/>
      <definition
                  value="Status of the prescription, this should not be status of treatment"/>
      <comment value="Added."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="EHDSMedicationPrescription.status"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.statusReason">
      <path value="EHDSMedicationPrescription.statusReason"/>
      <short
             value="Reason for the current status of prescription, for example the reason why the prescription was made invalid"/>
      <definition
                  value="Reason for the current status of prescription, for example the reason why the prescription was made invalid"/>
      <comment value="Added."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="EHDSMedicationPrescription.statusReason"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.statusReasonText">
      <path value="EHDSMedicationPrescription.statusReasonText"/>
      <short value="Textual reason for the current status of prescription"/>
      <definition
                  value="Textual reason for the current status of prescription"/>
      <comment value="Added."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="EHDSMedicationPrescription.statusReasonText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.comment">
      <path value="EHDSMedicationPrescription.comment"/>
      <short value="Additional information or comments"/>
      <definition value="Additional information or comments"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="EHDSMedicationPrescription.comment"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.prescriptionItem">
      <path value="EHDSMedicationPrescription.prescriptionItem"/>
      <short
             value="Presription line for one medication. In many countries, only one line is allowed. In case multiple medications are allowed, all lines need to be authored together."/>
      <definition
                  value="Presription line for one medication. In many countries, only one line is allowed. In case multiple medications are allowed, all lines need to be authored together."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="EHDSMedicationPrescription.prescriptionItem"/>
        <min value="1"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Base"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.prescriptionItem.identifier">
      <path value="EHDSMedicationPrescription.prescriptionItem.identifier"/>
      <short
             value="Identifier for a single line on prescription, if exists. In case of single-line prescription, this identifier is typically the same as prescription identifier."/>
      <definition
                  value="Identifier for a single line on prescription, if exists. In case of single-line prescription, this identifier is typically the same as prescription identifier."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="EHDSMedicationPrescription.prescriptionItem.identifier"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.prescriptionItem.medication">
      <path value="EHDSMedicationPrescription.prescriptionItem.medication"/>
      <short
             value="Prescribed product, branded, generic, virtual, extemporal, etc"/>
      <definition
                  value="Prescribed product, branded, generic, virtual, extemporal, etc"/>
      <comment
               value="Medication model changed - described within that model"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="EHDSMedicationPrescription.prescriptionItem.medication"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSMedication"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.prescriptionItem.indication">
      <path value="EHDSMedicationPrescription.prescriptionItem.indication"/>
      <short
             value="Reason for the prescription (typically diagnosis, or a procedure)"/>
      <definition
                  value="Reason for the prescription (typically diagnosis, or a procedure)"/>
      <comment value="No change (A.1.5.10)"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="EHDSMedicationPrescription.prescriptionItem.indication"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="preferred"/>
        <description value="shall we have a preferred binding here?"/>
      </binding>
    </element>
    <element id="EHDSMedicationPrescription.prescriptionItem.indicationText">
      <path
            value="EHDSMedicationPrescription.prescriptionItem.indicationText"/>
      <short
             value="Reason for the prescription in textual form. This might not be allowed by some implementations."/>
      <definition
                  value="Reason for the prescription in textual form. This might not be allowed by some implementations."/>
      <comment value="No change (code not required) A1.5.10"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path
              value="EHDSMedicationPrescription.prescriptionItem.indicationText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element
             id="EHDSMedicationPrescription.prescriptionItem.prescriptionIntent">
      <path
            value="EHDSMedicationPrescription.prescriptionItem.prescriptionIntent"/>
      <short
             value="Intent of the prescription - prophylaxis, treatment, anesthesia, etc"/>
      <definition
                  value="Intent of the prescription - prophylaxis, treatment, anesthesia, etc"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path
              value="EHDSMedicationPrescription.prescriptionItem.prescriptionIntent"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element
             id="EHDSMedicationPrescription.prescriptionItem.treatmentPeriod">
      <path
            value="EHDSMedicationPrescription.prescriptionItem.treatmentPeriod"/>
      <short
             value="Period over which the medication is to be taken (in case of multiple dosaging schemes, this would be the overall period of all dosages.)"/>
      <definition
                  value="Period over which the medication is to be taken (in case of multiple dosaging schemes, this would be the overall period of all dosages.)"/>
      <comment value="Starting Date of Therapy A1.5.6. End date added."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path
              value="EHDSMedicationPrescription.prescriptionItem.treatmentPeriod"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Period"/>
      </type>
    </element>
    <element
             id="EHDSMedicationPrescription.prescriptionItem.quantityPrescribed">
      <path
            value="EHDSMedicationPrescription.prescriptionItem.quantityPrescribed"/>
      <short
             value="Overall quantity of prescribed product (e.g number of packages or number of tablets)."/>
      <definition
                  value="Overall quantity of prescribed product (e.g number of packages or number of tablets)."/>
      <comment value="No change"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path
              value="EHDSMedicationPrescription.prescriptionItem.quantityPrescribed"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Quantity"/>
      </type>
    </element>
    <element
             id="EHDSMedicationPrescription.prescriptionItem.dosageInstructions">
      <path
            value="EHDSMedicationPrescription.prescriptionItem.dosageInstructions"/>
      <short value="Dosaging and administration instructions"/>
      <definition value="Dosaging and administration instructions"/>
      <comment
               value="Dosage model significantly changed towards more granularity. A.1.5.3-A.1.5.7"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path
              value="EHDSMedicationPrescription.prescriptionItem.dosageInstructions"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSDosaging"/>
      </type>
    </element>
    <element
             id="EHDSMedicationPrescription.prescriptionItem.preparationInstructions">
      <path
            value="EHDSMedicationPrescription.prescriptionItem.preparationInstructions"/>
      <short value="Additional instructions about preparation or dispense"/>
      <definition
                  value="Additional instructions about preparation or dispense"/>
      <comment value="Added."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path
              value="EHDSMedicationPrescription.prescriptionItem.preparationInstructions"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.prescriptionItem.substitution">
      <path value="EHDSMedicationPrescription.prescriptionItem.substitution"/>
      <short
             value="Whether and which type of substitution is allowed for this medication treatment line"/>
      <definition
                  value="Whether and which type of substitution is allowed for this medication treatment line"/>
      <comment value="No change but subelements added. A 1.5.11"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path
              value="EHDSMedicationPrescription.prescriptionItem.substitution"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Base"/>
      </type>
    </element>
    <element
             id="EHDSMedicationPrescription.prescriptionItem.substitution.allowed">
      <path
            value="EHDSMedicationPrescription.prescriptionItem.substitution.allowed"/>
      <short value="Whether substitution is allowed or not."/>
      <definition value="Whether substitution is allowed or not."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path
              value="EHDSMedicationPrescription.prescriptionItem.substitution.allowed"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element
             id="EHDSMedicationPrescription.prescriptionItem.substitution.type">
      <path
            value="EHDSMedicationPrescription.prescriptionItem.substitution.type"/>
      <short value="The type of substitution that is allowed."/>
      <definition value="The type of substitution that is allowed."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path
              value="EHDSMedicationPrescription.prescriptionItem.substitution.type"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element
             id="EHDSMedicationPrescription.prescriptionItem.substitution.typeReason[x]">
      <path
            value="EHDSMedicationPrescription.prescriptionItem.substitution.typeReason[x]"/>
      <short value="Reason for the substitution requirement"/>
      <definition value="Reason for the substitution requirement"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path
              value="EHDSMedicationPrescription.prescriptionItem.substitution.typeReason[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.prescriptionItem.status">
      <path value="EHDSMedicationPrescription.prescriptionItem.status"/>
      <short
             value="Status of the prescription, this should not be status of treatment"/>
      <definition
                  value="Status of the prescription, this should not be status of treatment"/>
      <comment value="Added."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="EHDSMedicationPrescription.prescriptionItem.status"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.prescriptionItem.statusReason">
      <path value="EHDSMedicationPrescription.prescriptionItem.statusReason"/>
      <short
             value="Reason for the current status of prescription, for example the reason why the prescription was made invalid"/>
      <definition
                  value="Reason for the current status of prescription, for example the reason why the prescription was made invalid"/>
      <comment value="Added."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path
              value="EHDSMedicationPrescription.prescriptionItem.statusReason"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element
             id="EHDSMedicationPrescription.prescriptionItem.statusReasonText">
      <path
            value="EHDSMedicationPrescription.prescriptionItem.statusReasonText"/>
      <short value="Textual reason for the current status of prescription"/>
      <definition
                  value="Textual reason for the current status of prescription"/>
      <comment value="Added."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path
              value="EHDSMedicationPrescription.prescriptionItem.statusReasonText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element
             id="EHDSMedicationPrescription.prescriptionItem.reasonForChange">
      <path
            value="EHDSMedicationPrescription.prescriptionItem.reasonForChange"/>
      <short value="The reason the prescription was changed from previous"/>
      <definition
                  value="The reason the prescription was changed from previous"/>
      <comment
               value="Added. Changed from which other (version of) prescription?"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path
              value="EHDSMedicationPrescription.prescriptionItem.reasonForChange"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.prescriptionItem.repeatsAllowed">
      <path
            value="EHDSMedicationPrescription.prescriptionItem.repeatsAllowed"/>
      <short value="Number of refills authorized"/>
      <definition
                  value="How many times the prescription item can be dispensed in addition to the original dispense."/>
      <comment value="Added. A.1.5.9 Repeats"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path
              value="EHDSMedicationPrescription.prescriptionItem.repeatsAllowed"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="integer"/>
      </type>
    </element>
    <element
             id="EHDSMedicationPrescription.prescriptionItem.minimumDispenseInterval">
      <path
            value="EHDSMedicationPrescription.prescriptionItem.minimumDispenseInterval"/>
      <short value="Minimum Dispense Interval"/>
      <definition
                  value="If a prescription allows for repeated dispensations, the interval between dispensations shall be stated here."/>
      <comment
               value="Added, based on ISO 17532:2024 A.7.3 Minimum dispensing interval"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path
              value="EHDSMedicationPrescription.prescriptionItem.minimumDispenseInterval"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Duration"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.prescriptionItem.comment">
      <path value="EHDSMedicationPrescription.prescriptionItem.comment"/>
      <short value="Additional information or comments"/>
      <definition value="Additional information or comments"/>
      <comment value="Added."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="EHDSMedicationPrescription.prescriptionItem.comment"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
  </snapshot>
  <differential>
    <element id="EHDSMedicationPrescription">
      <path value="EHDSMedicationPrescription"/>
      <short value="Medication Prescription (model)"/>
      <definition
                  value="Logical model for medication prescription. A prescription contains one or more prescription items."/>
    </element>
    <element id="EHDSMedicationPrescription.identifier">
      <path value="EHDSMedicationPrescription.identifier"/>
      <short value="Business identifier(s) for the prescription"/>
      <definition value="Business identifier(s) for the prescription"/>
      <comment value="No change"/>
      <min value="1"/>
      <max value="*"/>
      <type>
        <code value="Identifier"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.prescriber">
      <path value="EHDSMedicationPrescription.prescriber"/>
      <short
             value="The person who made the prescription, and who takes the responsibility of the treatment"/>
      <definition
                  value="Question: would we want to add basic Practicioner model?"/>
      <comment value="No change"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code
              value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.issueDate">
      <path value="EHDSMedicationPrescription.issueDate"/>
      <short
             value="Time of issuing (signing) the prescription by health care practicioner"/>
      <definition
                  value="Time of issuing (signing) the prescription by health care practicioner"/>
      <comment value="No change"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.patient">
      <path value="EHDSMedicationPrescription.patient"/>
      <short
             value="The person for whom the medication is prescribed/ordered"/>
      <definition
                  value="Question: would we want to add basic Patient model?"/>
      <comment
               value="No change (Patient model will be common for all use cases)"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code
              value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPatient"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.category">
      <path value="EHDSMedicationPrescription.category"/>
      <short
             value="Category or categories of prescription. For example type of reimbursement, or type of prescription (e.g. hospital, private, etc)."/>
      <definition
                  value="Category or categories of prescription. For example type of reimbursement, or type of prescription (e.g. hospital, private, etc)."/>
      <comment value="Added."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.validFrom">
      <path value="EHDSMedicationPrescription.validFrom"/>
      <short
             value="Effective date of the prescription. The prescription is not dispensable before this date. In most cases this information repeats issueDate"/>
      <definition
                  value="Effective date of the prescription. The prescription is not dispensable before this date. In most cases this information repeats issueDate"/>
      <comment
               value="Added. Often the same as IssueDate (A 1.2.2) or Start of therapy (A 1.5.6)"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.validUntil">
      <path value="EHDSMedicationPrescription.validUntil"/>
      <short
             value="The validity period end date. The prescription is not dispensable after this date."/>
      <definition
                  value="The validity period end date. The prescription is not dispensable after this date."/>
      <comment value="No change (A.1.5.8)"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.recorder">
      <path value="EHDSMedicationPrescription.recorder"/>
      <short
             value="The recorder of the prescription/draft in the information system"/>
      <definition
                  value="The recorder of the prescription/draft in the information system"/>
      <comment value="Added. Not relevant for crossborder."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code
              value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.recordingDate">
      <path value="EHDSMedicationPrescription.recordingDate"/>
      <short
             value="Time of authoring the prescription/draft in the information system"/>
      <definition
                  value="Time of authoring the prescription/draft in the information system"/>
      <comment value="Added. Not relevant for crossborder."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.status">
      <path value="EHDSMedicationPrescription.status"/>
      <short
             value="Status of the prescription, this should not be status of treatment"/>
      <definition
                  value="Status of the prescription, this should not be status of treatment"/>
      <comment value="Added."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.statusReason">
      <path value="EHDSMedicationPrescription.statusReason"/>
      <short
             value="Reason for the current status of prescription, for example the reason why the prescription was made invalid"/>
      <definition
                  value="Reason for the current status of prescription, for example the reason why the prescription was made invalid"/>
      <comment value="Added."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.statusReasonText">
      <path value="EHDSMedicationPrescription.statusReasonText"/>
      <short value="Textual reason for the current status of prescription"/>
      <definition
                  value="Textual reason for the current status of prescription"/>
      <comment value="Added."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.comment">
      <path value="EHDSMedicationPrescription.comment"/>
      <short value="Additional information or comments"/>
      <definition value="Additional information or comments"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.prescriptionItem">
      <path value="EHDSMedicationPrescription.prescriptionItem"/>
      <short
             value="Presription line for one medication. In many countries, only one line is allowed. In case multiple medications are allowed, all lines need to be authored together."/>
      <definition
                  value="Presription line for one medication. In many countries, only one line is allowed. In case multiple medications are allowed, all lines need to be authored together."/>
      <min value="1"/>
      <max value="*"/>
      <type>
        <code value="Base"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.prescriptionItem.identifier">
      <path value="EHDSMedicationPrescription.prescriptionItem.identifier"/>
      <short
             value="Identifier for a single line on prescription, if exists. In case of single-line prescription, this identifier is typically the same as prescription identifier."/>
      <definition
                  value="Identifier for a single line on prescription, if exists. In case of single-line prescription, this identifier is typically the same as prescription identifier."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Identifier"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.prescriptionItem.medication">
      <path value="EHDSMedicationPrescription.prescriptionItem.medication"/>
      <short
             value="Prescribed product, branded, generic, virtual, extemporal, etc"/>
      <definition
                  value="Prescribed product, branded, generic, virtual, extemporal, etc"/>
      <comment
               value="Medication model changed - described within that model"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code
              value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSMedication"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.prescriptionItem.indication">
      <path value="EHDSMedicationPrescription.prescriptionItem.indication"/>
      <short
             value="Reason for the prescription (typically diagnosis, or a procedure)"/>
      <definition
                  value="Reason for the prescription (typically diagnosis, or a procedure)"/>
      <comment value="No change (A.1.5.10)"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="preferred"/>
        <description value="shall we have a preferred binding here?"/>
      </binding>
    </element>
    <element id="EHDSMedicationPrescription.prescriptionItem.indicationText">
      <path
            value="EHDSMedicationPrescription.prescriptionItem.indicationText"/>
      <short
             value="Reason for the prescription in textual form. This might not be allowed by some implementations."/>
      <definition
                  value="Reason for the prescription in textual form. This might not be allowed by some implementations."/>
      <comment value="No change (code not required) A1.5.10"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element
             id="EHDSMedicationPrescription.prescriptionItem.prescriptionIntent">
      <path
            value="EHDSMedicationPrescription.prescriptionItem.prescriptionIntent"/>
      <short
             value="Intent of the prescription - prophylaxis, treatment, anesthesia, etc"/>
      <definition
                  value="Intent of the prescription - prophylaxis, treatment, anesthesia, etc"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element
             id="EHDSMedicationPrescription.prescriptionItem.treatmentPeriod">
      <path
            value="EHDSMedicationPrescription.prescriptionItem.treatmentPeriod"/>
      <short
             value="Period over which the medication is to be taken (in case of multiple dosaging schemes, this would be the overall period of all dosages.)"/>
      <definition
                  value="Period over which the medication is to be taken (in case of multiple dosaging schemes, this would be the overall period of all dosages.)"/>
      <comment value="Starting Date of Therapy A1.5.6. End date added."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Period"/>
      </type>
    </element>
    <element
             id="EHDSMedicationPrescription.prescriptionItem.quantityPrescribed">
      <path
            value="EHDSMedicationPrescription.prescriptionItem.quantityPrescribed"/>
      <short
             value="Overall quantity of prescribed product (e.g number of packages or number of tablets)."/>
      <definition
                  value="Overall quantity of prescribed product (e.g number of packages or number of tablets)."/>
      <comment value="No change"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Quantity"/>
      </type>
    </element>
    <element
             id="EHDSMedicationPrescription.prescriptionItem.dosageInstructions">
      <path
            value="EHDSMedicationPrescription.prescriptionItem.dosageInstructions"/>
      <short value="Dosaging and administration instructions"/>
      <definition value="Dosaging and administration instructions"/>
      <comment
               value="Dosage model significantly changed towards more granularity. A.1.5.3-A.1.5.7"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code
              value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSDosaging"/>
      </type>
    </element>
    <element
             id="EHDSMedicationPrescription.prescriptionItem.preparationInstructions">
      <path
            value="EHDSMedicationPrescription.prescriptionItem.preparationInstructions"/>
      <short value="Additional instructions about preparation or dispense"/>
      <definition
                  value="Additional instructions about preparation or dispense"/>
      <comment value="Added."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.prescriptionItem.substitution">
      <path value="EHDSMedicationPrescription.prescriptionItem.substitution"/>
      <short
             value="Whether and which type of substitution is allowed for this medication treatment line"/>
      <definition
                  value="Whether and which type of substitution is allowed for this medication treatment line"/>
      <comment value="No change but subelements added. A 1.5.11"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Base"/>
      </type>
    </element>
    <element
             id="EHDSMedicationPrescription.prescriptionItem.substitution.allowed">
      <path
            value="EHDSMedicationPrescription.prescriptionItem.substitution.allowed"/>
      <short value="Whether substitution is allowed or not."/>
      <definition value="Whether substitution is allowed or not."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element
             id="EHDSMedicationPrescription.prescriptionItem.substitution.type">
      <path
            value="EHDSMedicationPrescription.prescriptionItem.substitution.type"/>
      <short value="The type of substitution that is allowed."/>
      <definition value="The type of substitution that is allowed."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element
             id="EHDSMedicationPrescription.prescriptionItem.substitution.typeReason[x]">
      <path
            value="EHDSMedicationPrescription.prescriptionItem.substitution.typeReason[x]"/>
      <short value="Reason for the substitution requirement"/>
      <definition value="Reason for the substitution requirement"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.prescriptionItem.status">
      <path value="EHDSMedicationPrescription.prescriptionItem.status"/>
      <short
             value="Status of the prescription, this should not be status of treatment"/>
      <definition
                  value="Status of the prescription, this should not be status of treatment"/>
      <comment value="Added."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.prescriptionItem.statusReason">
      <path value="EHDSMedicationPrescription.prescriptionItem.statusReason"/>
      <short
             value="Reason for the current status of prescription, for example the reason why the prescription was made invalid"/>
      <definition
                  value="Reason for the current status of prescription, for example the reason why the prescription was made invalid"/>
      <comment value="Added."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element
             id="EHDSMedicationPrescription.prescriptionItem.statusReasonText">
      <path
            value="EHDSMedicationPrescription.prescriptionItem.statusReasonText"/>
      <short value="Textual reason for the current status of prescription"/>
      <definition
                  value="Textual reason for the current status of prescription"/>
      <comment value="Added."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element
             id="EHDSMedicationPrescription.prescriptionItem.reasonForChange">
      <path
            value="EHDSMedicationPrescription.prescriptionItem.reasonForChange"/>
      <short value="The reason the prescription was changed from previous"/>
      <definition
                  value="The reason the prescription was changed from previous"/>
      <comment
               value="Added. Changed from which other (version of) prescription?"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.prescriptionItem.repeatsAllowed">
      <path
            value="EHDSMedicationPrescription.prescriptionItem.repeatsAllowed"/>
      <short value="Number of refills authorized"/>
      <definition
                  value="How many times the prescription item can be dispensed in addition to the original dispense."/>
      <comment value="Added. A.1.5.9 Repeats"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="integer"/>
      </type>
    </element>
    <element
             id="EHDSMedicationPrescription.prescriptionItem.minimumDispenseInterval">
      <path
            value="EHDSMedicationPrescription.prescriptionItem.minimumDispenseInterval"/>
      <short value="Minimum Dispense Interval"/>
      <definition
                  value="If a prescription allows for repeated dispensations, the interval between dispensations shall be stated here."/>
      <comment
               value="Added, based on ISO 17532:2024 A.7.3 Minimum dispensing interval"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Duration"/>
      </type>
    </element>
    <element id="EHDSMedicationPrescription.prescriptionItem.comment">
      <path value="EHDSMedicationPrescription.prescriptionItem.comment"/>
      <short value="Additional information or comments"/>
      <definition value="Additional information or comments"/>
      <comment value="Added."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="string"/>
      </type>
    </element>
  </differential>
</StructureDefinition>