Medication Prescription and Delivery (MPD)
0.1.0 - ci-build International flag

Medication Prescription and Delivery (MPD), published by Integrating the Healthcare Enterprise (IHE). 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/IHE/pharm-mpd/ and changes regularly. See the Directory of published versions

Logical Model: MedicationPrescription - TTL Profile

Active as of 2024-10-26

TTL representation of the MedicationPrescription logical model.

Raw ttl | Download

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:StructureDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "MedicationPrescription"] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition MedicationPrescription</b></p><a name=\"MedicationPrescription\"> </a><a name=\"hcMedicationPrescription\"> </a><a name=\"MedicationPrescription-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-MedicationPrescription-definitions.html#MedicationPrescription\" title=\"Logical model for medication prescription (or some other form of order)\">MedicationPrescription</a><a name=\"MedicationPrescription\"> </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 can be the target of a Reference</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : 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-MedicationPrescription-definitions.html#MedicationPrescription.identifier\" title=\"Business identifier(s) for the prescription\">identifier</a><a name=\"MedicationPrescription.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=\"https://build.fhir.org/ig/IHE/datatypes/StructureDefinition-InstanceIdentifier.html\" title=\"Element\">II</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>\r\n<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-MedicationPrescription-definitions.html#MedicationPrescription.groupIdentifier\" title=\"Identifier for the group that this prescription belongs to. This might be the common identifier in use cases where one national prescription contains several medication items, which can be handled as separate orders\">groupIdentifier</a><a name=\"MedicationPrescription.groupIdentifier\"> </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=\"https://build.fhir.org/ig/IHE/datatypes/StructureDefinition-InstanceIdentifier.html\" title=\"Element\">II</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Identifier for the group that this prescription belongs to. This might be the common identifier in use cases where one national prescription contains several medication items, which can be handled as separate orders</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : 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-MedicationPrescription-definitions.html#MedicationPrescription.recordingDate\" title=\"Time of authoring the prescription/draft in the information system\">recordingDate</a><a name=\"MedicationPrescription.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=\"https://build.fhir.org/ig/IHE/datatypes/StructureDefinition-DT.html\" title=\"Element\">DT</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>\r\n<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-MedicationPrescription-definitions.html#MedicationPrescription.issueDate\" title=\"Time of issuing (signing) the prescription by health care practicioner\">issueDate</a><a name=\"MedicationPrescription.issueDate\"> </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=\"https://build.fhir.org/ig/IHE/datatypes/StructureDefinition-DT.html\" title=\"Element\">DT</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Time of issuing (signing) the prescription by health care practicioner</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-MedicationPrescription-definitions.html#MedicationPrescription.recorder\" title=\"The recorder of the prescription/draft in the information system\">recorder</a><a name=\"MedicationPrescription.recorder\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/references.html\">Reference</a>(<a href=\"StructureDefinition-PractitionerBasic.html\">Practitioner (model)</a> | <a href=\"http://hl7.org/fhir/R5/practitionerrole.html\">PractitionerRole</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">The recorder of the prescription/draft in the information system</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-MedicationPrescription-definitions.html#MedicationPrescription.prescriber\" title=\"Question: would we want to add basic Practicioner model?\">prescriber</a><a name=\"MedicationPrescription.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=\"http://hl7.org/fhir/R5/references.html\">Reference</a>(<a href=\"StructureDefinition-PractitionerBasic.html\">Practitioner (model)</a> | <a href=\"http://hl7.org/fhir/R5/practitionerrole.html\">PractitionerRole</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>\r\n<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-MedicationPrescription-definitions.html#MedicationPrescription.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=\"MedicationPrescription.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=\"https://build.fhir.org/ig/IHE/datatypes/StructureDefinition-CD.html\" title=\"Element\">CD</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>\r\n<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-MedicationPrescription-definitions.html#MedicationPrescription.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=\"MedicationPrescription.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=\"https://build.fhir.org/ig/IHE/datatypes/StructureDefinition-DT.html\" title=\"Element\">DT</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>\r\n<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-MedicationPrescription-definitions.html#MedicationPrescription.validUntil\" title=\"The validity period end date. The prescription is not dispensable after this date.\">validUntil</a><a name=\"MedicationPrescription.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=\"https://build.fhir.org/ig/IHE/datatypes/StructureDefinition-DT.html\" title=\"Element\">DT</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>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-MedicationPrescription-definitions.html#MedicationPrescription.patient\" title=\"Question: would we want to add basic Patient model?\">patient</a><a name=\"MedicationPrescription.patient\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/references.html\">Reference</a>(<a href=\"StructureDefinition-PatientBasic.html\">Patient (model)</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">The person for whom the medication is prescribed/ordered</td></tr>\r\n<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-MedicationPrescription-definitions.html#MedicationPrescription.status\" title=\"Status of the prescription, this should not be status of treatment\">status</a><a name=\"MedicationPrescription.status\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/IHE/datatypes/StructureDefinition-CD.html\" title=\"Element\">CD</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Status of the prescription, this should not be status of treatment</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : 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-MedicationPrescription-definitions.html#MedicationPrescription.statusReason\" title=\"Reason for the current status of prescription, for example the reason why the prescription was made invalid\">statusReason</a><a name=\"MedicationPrescription.statusReason\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/IHE/datatypes/StructureDefinition-CD.html\" title=\"Element\">CD</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Reason for the current status of prescription, for example the reason why the prescription was made invalid<br/></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : 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-MedicationPrescription-definitions.html#MedicationPrescription.statusReasonText\" title=\"Textual reason for the current status of prescription\">statusReasonText</a><a name=\"MedicationPrescription.statusReasonText\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/IHE/datatypes/StructureDefinition-ST.html\" title=\"Element\">ST</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Textual reason for the current status of prescription</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-MedicationPrescription-definitions.html#MedicationPrescription.medication\" title=\"Prescribed product, branded, generic, virtual, extemporal, etc\">medication</a><a name=\"MedicationPrescription.medication\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/references.html\">Reference</a>(<a href=\"StructureDefinition-MedicinalProductLM.html\">Medicinal product (model)</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Prescribed product, branded, generic, virtual, extemporal, etc</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : 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-MedicationPrescription-definitions.html#MedicationPrescription.indication\" title=\"Reason for the prescription (typically diagnosis, or a procedure)\">indication</a><a name=\"MedicationPrescription.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=\"https://build.fhir.org/ig/IHE/datatypes/StructureDefinition-CD.html\" title=\"Element\">CD</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/></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : 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-MedicationPrescription-definitions.html#MedicationPrescription.indicationText\" title=\"Reason for the prescription in textual form. This might not be allowed by some implementations.\">indicationText</a><a name=\"MedicationPrescription.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=\"https://build.fhir.org/ig/IHE/datatypes/StructureDefinition-ST.html\" title=\"Element\">ST</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>\r\n<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-MedicationPrescription-definitions.html#MedicationPrescription.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=\"MedicationPrescription.treatmentPeriod\"> </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#Period\">Period</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; 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>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-MedicationPrescription-definitions.html#MedicationPrescription.usageInstructions\" title=\"Dosaging and administration instructions\">usageInstructions</a><a name=\"MedicationPrescription.usageInstructions\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/references.html\">Reference</a>(<a href=\"StructureDefinition-DosagingInformation.html\">Dosaging (model)</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Dosaging and administration instructions<br/></td></tr>\r\n<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-MedicationPrescription-definitions.html#MedicationPrescription.preparationInstructions\" title=\"Additional instructions about preparation or dispense\">preparationInstructions</a><a name=\"MedicationPrescription.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=\"https://build.fhir.org/ig/IHE/datatypes/StructureDefinition-ST.html\" title=\"Element\">ST</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>\r\n<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_bck11.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-MedicationPrescription-definitions.html#MedicationPrescription.substitution\" title=\"Whether and which type of substitution is allowed for this medication treatment line\">substitution</a><a name=\"MedicationPrescription.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\"><a href=\"https://build.fhir.org/ig/IHE/datatypes/StructureDefinition-Class.html\" title=\"BackboneElement\">Class</a></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>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-MedicationPrescription-definitions.html#MedicationPrescription.substitution.allowed\" title=\"Whether substitution is allowed or not.\">allowed</a><a name=\"MedicationPrescription.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=\"https://build.fhir.org/ig/IHE/datatypes/StructureDefinition-BL.html\" title=\"Element\">BL</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>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-MedicationPrescription-definitions.html#MedicationPrescription.substitution.type\" title=\"The type of substitution that is allowed.\">type</a><a name=\"MedicationPrescription.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\">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=\"https://build.fhir.org/ig/IHE/datatypes/StructureDefinition-CD.html\" title=\"Element\">CD</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>\r\n<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_bck100.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-MedicationPrescription-definitions.html#MedicationPrescription.substitution.typeReason[x]\" title=\"Reason for the substitution requirement\">typeReason[x]</a><a name=\"MedicationPrescription.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\"><a href=\"https://build.fhir.org/ig/IHE/datatypes/StructureDefinition-CD.html\" title=\"Element\">CD</a>, <a href=\"https://build.fhir.org/ig/IHE/datatypes/StructureDefinition-ST.html\" title=\"Element\">ST</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 substitution requirement</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-MedicationPrescription-definitions.html#MedicationPrescription.comment\" title=\"Additional information or comments\">comment</a><a name=\"MedicationPrescription.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=\"https://build.fhir.org/ig/IHE/datatypes/StructureDefinition-ST.html\" title=\"Element\">ST</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>\r\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64,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>"
  ] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/logical-target"^^xsd:anyURI ] ;
fhir:value [ fhir:v "true"^^xsd:boolean ]
  ] ) ; # 
  fhir:url [ fhir:v "http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/MedicationPrescription"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "MedicationPrescription"] ; # 
  fhir:title [ fhir:v "Medication prescription (model)"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:date [ fhir:v "2024-10-26T04:02:11+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Integrating the Healthcare Enterprise (IHE)"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "Integrating the Healthcare Enterprise (IHE)" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://ihe.net" ]     ] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "secretary@ihe.net" ]     ] )
  ] [
fhir:name [ fhir:v "Jose Costa Teixeira" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "jose.a.teixeira@gmail.com" ] ;
fhir:use [ fhir:v "work" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Logical model for medication prescription (or some other form of order)"] ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
fhir:code [ fhir:v "001" ]     ] )
  ] ) ; # 
  fhir:copyright [ fhir:v "IHE http://www.ihe.net/Governance/#Intellectual_Property"] ; # 
  fhir:fhirVersion [ fhir:v "5.0.0"] ; # 
  fhir:mapping ( [
fhir:identity [ fhir:v "rim" ] ;
fhir:uri [ fhir:v "http://hl7.org/v3"^^xsd:anyURI ] ;
fhir:name [ fhir:v "RIM Mapping" ]
  ] ) ; # 
  fhir:kind [ fhir:v "logical"] ; # 
  fhir:abstract [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:type [ fhir:v "http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/MedicationPrescription"^^xsd:anyURI] ; # 
  fhir:baseDefinition [
fhir:v "http://hl7.org/fhir/StructureDefinition/Base"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Base>
  ] ; # 
  fhir:derivation [ fhir:v "specialization"] ; # 
  fhir:snapshot [
    ( fhir:element [
fhir:id [ fhir:v "MedicationPrescription" ] ;
fhir:path [ fhir:v "MedicationPrescription" ] ;
fhir:short [ fhir:v "Medication prescription (model)" ] ;
fhir:definition [ fhir:v "Logical model for medication prescription (or some other form of order)" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Base" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.identifier" ] ;
fhir:path [ fhir:v "MedicationPrescription.identifier" ] ;
fhir:short [ fhir:v "Business identifier(s) for the prescription" ] ;
fhir:definition [ fhir:v "Business identifier(s) for the prescription" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "MedicationPrescription.identifier" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Element"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/InstanceIdentifier"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/InstanceIdentifier>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.groupIdentifier" ] ;
fhir:path [ fhir:v "MedicationPrescription.groupIdentifier" ] ;
fhir:short [ fhir:v "Identifier for the group that this prescription belongs to. This might be the common identifier in use cases where one national prescription contains several medication items, which can be handled as separate orders" ] ;
fhir:definition [ fhir:v "Identifier for the group that this prescription belongs to. This might be the common identifier in use cases where one national prescription contains several medication items, which can be handled as separate orders" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "MedicationPrescription.groupIdentifier" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Element"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/InstanceIdentifier"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/InstanceIdentifier>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.recordingDate" ] ;
fhir:path [ fhir:v "MedicationPrescription.recordingDate" ] ;
fhir:short [ fhir:v "Time of authoring the prescription/draft in the information system" ] ;
fhir:definition [ fhir:v "Time of authoring the prescription/draft in the information system" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "MedicationPrescription.recordingDate" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Element"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/DT"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/DT>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.issueDate" ] ;
fhir:path [ fhir:v "MedicationPrescription.issueDate" ] ;
fhir:short [ fhir:v "Time of issuing (signing) the prescription by health care practicioner" ] ;
fhir:definition [ fhir:v "Time of issuing (signing) the prescription by health care practicioner" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "MedicationPrescription.issueDate" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Element"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/DT"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/DT>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.recorder" ] ;
fhir:path [ fhir:v "MedicationPrescription.recorder" ] ;
fhir:short [ fhir:v "The recorder of the prescription/draft in the information system" ] ;
fhir:definition [ fhir:v "The recorder of the prescription/draft in the information system" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "MedicationPrescription.recorder" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/PractitionerBasic"^^xsd:anyURI ;
fhir:link <http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/PractitionerBasic>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/PractitionerRole"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/PractitionerRole>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.prescriber" ] ;
fhir:path [ fhir:v "MedicationPrescription.prescriber" ] ;
fhir:short [ fhir:v "The person who made the prescription, and who takes the responsibility of the treatment" ] ;
fhir:definition [ fhir:v "Question: would we want to add basic Practicioner model?" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "MedicationPrescription.prescriber" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/PractitionerBasic"^^xsd:anyURI ;
fhir:link <http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/PractitionerBasic>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/PractitionerRole"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/PractitionerRole>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.category" ] ;
fhir:path [ fhir:v "MedicationPrescription.category" ] ;
fhir:short [ fhir:v "Category or categories of prescription. For example type of reimbursement, or type of prescription (e.g. hospital, private, etc)." ] ;
fhir:definition [ fhir:v "Category or categories of prescription. For example type of reimbursement, or type of prescription (e.g. hospital, private, etc)." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "MedicationPrescription.category" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Element"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.validFrom" ] ;
fhir:path [ fhir:v "MedicationPrescription.validFrom" ] ;
fhir:short [ fhir:v "Effective date of the prescription. The prescription is not dispensable before this date. In most cases this information repeats issueDate" ] ;
fhir:definition [ fhir:v "Effective date of the prescription. The prescription is not dispensable before this date. In most cases this information repeats issueDate" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "MedicationPrescription.validFrom" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Element"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/DT"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/DT>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.validUntil" ] ;
fhir:path [ fhir:v "MedicationPrescription.validUntil" ] ;
fhir:short [ fhir:v "The validity period end date. The prescription is not dispensable after this date." ] ;
fhir:definition [ fhir:v "The validity period end date. The prescription is not dispensable after this date." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "MedicationPrescription.validUntil" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Element"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/DT"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/DT>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.patient" ] ;
fhir:path [ fhir:v "MedicationPrescription.patient" ] ;
fhir:short [ fhir:v "The person for whom the medication is prescribed/ordered" ] ;
fhir:definition [ fhir:v "Question: would we want to add basic Patient model?" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "MedicationPrescription.patient" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/PatientBasic"^^xsd:anyURI ;
fhir:link <http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/PatientBasic>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.status" ] ;
fhir:path [ fhir:v "MedicationPrescription.status" ] ;
fhir:short [ fhir:v "Status of the prescription, this should not be status of treatment" ] ;
fhir:definition [ fhir:v "Status of the prescription, this should not be status of treatment" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "MedicationPrescription.status" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Element"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.statusReason" ] ;
fhir:path [ fhir:v "MedicationPrescription.statusReason" ] ;
fhir:short [ fhir:v "Reason for the current status of prescription, for example the reason why the prescription was made invalid" ] ;
fhir:definition [ fhir:v "Reason for the current status of prescription, for example the reason why the prescription was made invalid" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "MedicationPrescription.statusReason" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Element"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.statusReasonText" ] ;
fhir:path [ fhir:v "MedicationPrescription.statusReasonText" ] ;
fhir:short [ fhir:v "Textual reason for the current status of prescription" ] ;
fhir:definition [ fhir:v "Textual reason for the current status of prescription" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "MedicationPrescription.statusReasonText" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Element"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.medication" ] ;
fhir:path [ fhir:v "MedicationPrescription.medication" ] ;
fhir:short [ fhir:v "Prescribed product, branded, generic, virtual, extemporal, etc" ] ;
fhir:definition [ fhir:v "Prescribed product, branded, generic, virtual, extemporal, etc" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "MedicationPrescription.medication" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/MedicinalProductLM"^^xsd:anyURI ;
fhir:link <http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/MedicinalProductLM>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.indication" ] ;
fhir:path [ fhir:v "MedicationPrescription.indication" ] ;
fhir:short [ fhir:v "Reason for the prescription (typically diagnosis, or a procedure)" ] ;
fhir:definition [ fhir:v "Reason for the prescription (typically diagnosis, or a procedure)" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "MedicationPrescription.indication" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Element"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.indicationText" ] ;
fhir:path [ fhir:v "MedicationPrescription.indicationText" ] ;
fhir:short [ fhir:v "Reason for the prescription in textual form. This might not be allowed by some implementations." ] ;
fhir:definition [ fhir:v "Reason for the prescription in textual form. This might not be allowed by some implementations." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "MedicationPrescription.indicationText" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Element"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.treatmentPeriod" ] ;
fhir:path [ fhir:v "MedicationPrescription.treatmentPeriod" ] ;
fhir:short [ fhir:v "Period over which the medication is to be taken (in case of multiple dosaging schemes, this would be the overall period of all dosages.)" ] ;
fhir:definition [ fhir:v "Period over which the medication is to be taken (in case of multiple dosaging schemes, this would be the overall period of all dosages.)" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "MedicationPrescription.treatmentPeriod" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Period"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.usageInstructions" ] ;
fhir:path [ fhir:v "MedicationPrescription.usageInstructions" ] ;
fhir:short [ fhir:v "Dosaging and administration instructions" ] ;
fhir:definition [ fhir:v "Dosaging and administration instructions" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "MedicationPrescription.usageInstructions" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/DosagingInformation"^^xsd:anyURI ;
fhir:link <http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/DosagingInformation>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.preparationInstructions" ] ;
fhir:path [ fhir:v "MedicationPrescription.preparationInstructions" ] ;
fhir:short [ fhir:v "Additional instructions about preparation or dispense" ] ;
fhir:definition [ fhir:v "Additional instructions about preparation or dispense" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "MedicationPrescription.preparationInstructions" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Element"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.substitution" ] ;
fhir:path [ fhir:v "MedicationPrescription.substitution" ] ;
fhir:short [ fhir:v "Whether and which type of substitution is allowed for this medication treatment line" ] ;
fhir:definition [ fhir:v "Whether and which type of substitution is allowed for this medication treatment line" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "MedicationPrescription.substitution" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "BackboneElement"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/Class"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/Class>         ] )       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.substitution.id" ] ;
fhir:path [ fhir:v "MedicationPrescription.substitution.id" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Element.id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ;
fhir:value [ fhir:v "id"^^xsd:anyURI ]         ] ) ;
fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
      ( fhir:condition [ fhir:v "ele-1" ] ) ;
fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.substitution.extension" ] ;
fhir:path [ fhir:v "MedicationPrescription.substitution.extension" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "url" ]         ] ) ;
fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:short [ fhir:v "Additional content defined by implementations" ] ;
fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
      ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Element.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.substitution.modifierExtension" ] ;
fhir:path [ fhir:v "MedicationPrescription.substitution.modifierExtension" ] ;
fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ;
fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
fhir:requirements [ fhir:v "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension)." ] ;
      ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ;
fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.substitution.allowed" ] ;
fhir:path [ fhir:v "MedicationPrescription.substitution.allowed" ] ;
fhir:short [ fhir:v "Whether substitution is allowed or not." ] ;
fhir:definition [ fhir:v "Whether substitution is allowed or not." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "MedicationPrescription.substitution.allowed" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Element"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/BL"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/BL>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.substitution.type" ] ;
fhir:path [ fhir:v "MedicationPrescription.substitution.type" ] ;
fhir:short [ fhir:v "The type of substitution that is allowed." ] ;
fhir:definition [ fhir:v "The type of substitution that is allowed." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "MedicationPrescription.substitution.type" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Element"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.substitution.typeReason[x]" ] ;
fhir:path [ fhir:v "MedicationPrescription.substitution.typeReason[x]" ] ;
fhir:short [ fhir:v "Reason for the substitution requirement" ] ;
fhir:definition [ fhir:v "Reason for the substitution requirement" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "MedicationPrescription.substitution.typeReason[x]" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Element"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD>         ] [
fhir:v "https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.comment" ] ;
fhir:path [ fhir:v "MedicationPrescription.comment" ] ;
fhir:short [ fhir:v "Additional information or comments" ] ;
fhir:definition [ fhir:v "Additional information or comments" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "MedicationPrescription.comment" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Element"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST>         ] )       ] )     ] )
  ] ; # 
  fhir:differential [
    ( fhir:element [
fhir:id [ fhir:v "MedicationPrescription" ] ;
fhir:path [ fhir:v "MedicationPrescription" ] ;
fhir:short [ fhir:v "Medication prescription (model)" ] ;
fhir:definition [ fhir:v "Logical model for medication prescription (or some other form of order)" ]     ] [
fhir:id [ fhir:v "MedicationPrescription.identifier" ] ;
fhir:path [ fhir:v "MedicationPrescription.identifier" ] ;
fhir:short [ fhir:v "Business identifier(s) for the prescription" ] ;
fhir:definition [ fhir:v "Business identifier(s) for the prescription" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
      ( fhir:type [
fhir:code [ fhir:v "Element"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/InstanceIdentifier"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/InstanceIdentifier>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.groupIdentifier" ] ;
fhir:path [ fhir:v "MedicationPrescription.groupIdentifier" ] ;
fhir:short [ fhir:v "Identifier for the group that this prescription belongs to. This might be the common identifier in use cases where one national prescription contains several medication items, which can be handled as separate orders" ] ;
fhir:definition [ fhir:v "Identifier for the group that this prescription belongs to. This might be the common identifier in use cases where one national prescription contains several medication items, which can be handled as separate orders" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "Element"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/InstanceIdentifier"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/InstanceIdentifier>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.recordingDate" ] ;
fhir:path [ fhir:v "MedicationPrescription.recordingDate" ] ;
fhir:short [ fhir:v "Time of authoring the prescription/draft in the information system" ] ;
fhir:definition [ fhir:v "Time of authoring the prescription/draft in the information system" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "Element"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/DT"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/DT>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.issueDate" ] ;
fhir:path [ fhir:v "MedicationPrescription.issueDate" ] ;
fhir:short [ fhir:v "Time of issuing (signing) the prescription by health care practicioner" ] ;
fhir:definition [ fhir:v "Time of issuing (signing) the prescription by health care practicioner" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "Element"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/DT"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/DT>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.recorder" ] ;
fhir:path [ fhir:v "MedicationPrescription.recorder" ] ;
fhir:short [ fhir:v "The recorder of the prescription/draft in the information system" ] ;
fhir:definition [ fhir:v "The recorder of the prescription/draft in the information system" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/PractitionerBasic"^^xsd:anyURI ;
fhir:link <http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/PractitionerBasic>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/PractitionerRole"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/PractitionerRole>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.prescriber" ] ;
fhir:path [ fhir:v "MedicationPrescription.prescriber" ] ;
fhir:short [ fhir:v "The person who made the prescription, and who takes the responsibility of the treatment" ] ;
fhir:definition [ fhir:v "Question: would we want to add basic Practicioner model?" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/PractitionerBasic"^^xsd:anyURI ;
fhir:link <http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/PractitionerBasic>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/PractitionerRole"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/PractitionerRole>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.category" ] ;
fhir:path [ fhir:v "MedicationPrescription.category" ] ;
fhir:short [ fhir:v "Category or categories of prescription. For example type of reimbursement, or type of prescription (e.g. hospital, private, etc)." ] ;
fhir:definition [ fhir:v "Category or categories of prescription. For example type of reimbursement, or type of prescription (e.g. hospital, private, etc)." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
      ( fhir:type [
fhir:code [ fhir:v "Element"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.validFrom" ] ;
fhir:path [ fhir:v "MedicationPrescription.validFrom" ] ;
fhir:short [ fhir:v "Effective date of the prescription. The prescription is not dispensable before this date. In most cases this information repeats issueDate" ] ;
fhir:definition [ fhir:v "Effective date of the prescription. The prescription is not dispensable before this date. In most cases this information repeats issueDate" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "Element"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/DT"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/DT>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.validUntil" ] ;
fhir:path [ fhir:v "MedicationPrescription.validUntil" ] ;
fhir:short [ fhir:v "The validity period end date. The prescription is not dispensable after this date." ] ;
fhir:definition [ fhir:v "The validity period end date. The prescription is not dispensable after this date." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "Element"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/DT"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/DT>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.patient" ] ;
fhir:path [ fhir:v "MedicationPrescription.patient" ] ;
fhir:short [ fhir:v "The person for whom the medication is prescribed/ordered" ] ;
fhir:definition [ fhir:v "Question: would we want to add basic Patient model?" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/PatientBasic"^^xsd:anyURI ;
fhir:link <http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/PatientBasic>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.status" ] ;
fhir:path [ fhir:v "MedicationPrescription.status" ] ;
fhir:short [ fhir:v "Status of the prescription, this should not be status of treatment" ] ;
fhir:definition [ fhir:v "Status of the prescription, this should not be status of treatment" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "Element"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.statusReason" ] ;
fhir:path [ fhir:v "MedicationPrescription.statusReason" ] ;
fhir:short [ fhir:v "Reason for the current status of prescription, for example the reason why the prescription was made invalid" ] ;
fhir:definition [ fhir:v "Reason for the current status of prescription, for example the reason why the prescription was made invalid" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
      ( fhir:type [
fhir:code [ fhir:v "Element"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.statusReasonText" ] ;
fhir:path [ fhir:v "MedicationPrescription.statusReasonText" ] ;
fhir:short [ fhir:v "Textual reason for the current status of prescription" ] ;
fhir:definition [ fhir:v "Textual reason for the current status of prescription" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "Element"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.medication" ] ;
fhir:path [ fhir:v "MedicationPrescription.medication" ] ;
fhir:short [ fhir:v "Prescribed product, branded, generic, virtual, extemporal, etc" ] ;
fhir:definition [ fhir:v "Prescribed product, branded, generic, virtual, extemporal, etc" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/MedicinalProductLM"^^xsd:anyURI ;
fhir:link <http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/MedicinalProductLM>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.indication" ] ;
fhir:path [ fhir:v "MedicationPrescription.indication" ] ;
fhir:short [ fhir:v "Reason for the prescription (typically diagnosis, or a procedure)" ] ;
fhir:definition [ fhir:v "Reason for the prescription (typically diagnosis, or a procedure)" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
      ( fhir:type [
fhir:code [ fhir:v "Element"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.indicationText" ] ;
fhir:path [ fhir:v "MedicationPrescription.indicationText" ] ;
fhir:short [ fhir:v "Reason for the prescription in textual form. This might not be allowed by some implementations." ] ;
fhir:definition [ fhir:v "Reason for the prescription in textual form. This might not be allowed by some implementations." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "Element"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.treatmentPeriod" ] ;
fhir:path [ fhir:v "MedicationPrescription.treatmentPeriod" ] ;
fhir:short [ fhir:v "Period over which the medication is to be taken (in case of multiple dosaging schemes, this would be the overall period of all dosages.)" ] ;
fhir:definition [ fhir:v "Period over which the medication is to be taken (in case of multiple dosaging schemes, this would be the overall period of all dosages.)" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "Period"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.usageInstructions" ] ;
fhir:path [ fhir:v "MedicationPrescription.usageInstructions" ] ;
fhir:short [ fhir:v "Dosaging and administration instructions" ] ;
fhir:definition [ fhir:v "Dosaging and administration instructions" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/DosagingInformation"^^xsd:anyURI ;
fhir:link <http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/DosagingInformation>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.preparationInstructions" ] ;
fhir:path [ fhir:v "MedicationPrescription.preparationInstructions" ] ;
fhir:short [ fhir:v "Additional instructions about preparation or dispense" ] ;
fhir:definition [ fhir:v "Additional instructions about preparation or dispense" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "Element"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.substitution" ] ;
fhir:path [ fhir:v "MedicationPrescription.substitution" ] ;
fhir:short [ fhir:v "Whether and which type of substitution is allowed for this medication treatment line" ] ;
fhir:definition [ fhir:v "Whether and which type of substitution is allowed for this medication treatment line" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "BackboneElement"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/Class"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/Class>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.substitution.allowed" ] ;
fhir:path [ fhir:v "MedicationPrescription.substitution.allowed" ] ;
fhir:short [ fhir:v "Whether substitution is allowed or not." ] ;
fhir:definition [ fhir:v "Whether substitution is allowed or not." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "Element"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/BL"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/BL>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.substitution.type" ] ;
fhir:path [ fhir:v "MedicationPrescription.substitution.type" ] ;
fhir:short [ fhir:v "The type of substitution that is allowed." ] ;
fhir:definition [ fhir:v "The type of substitution that is allowed." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "Element"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.substitution.typeReason[x]" ] ;
fhir:path [ fhir:v "MedicationPrescription.substitution.typeReason[x]" ] ;
fhir:short [ fhir:v "Reason for the substitution requirement" ] ;
fhir:definition [ fhir:v "Reason for the substitution requirement" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "Element"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/CD>         ] [
fhir:v "https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST>         ] )       ] )     ] [
fhir:id [ fhir:v "MedicationPrescription.comment" ] ;
fhir:path [ fhir:v "MedicationPrescription.comment" ] ;
fhir:short [ fhir:v "Additional information or comments" ] ;
fhir:definition [ fhir:v "Additional information or comments" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
      ( fhir:type [
fhir:code [ fhir:v "Element"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/Domain/LogicalDatatypes/StructureDefinition/ST>         ] )       ] )     ] )
  ] . #