IE Medication Events Implementation Guide
0.1.0 - Nostalgic IE (draft)
IE Medication Events Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Draft as of 2026-09-28 |
TTL representation of the ie-mpd-medicationrequest-eprescription resource profile.
@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 ------------------------------------------------------------------- <http://hl7.org/fhir/StructureDefinition/ie-mpd-medicationrequest-eprescription> a fhir:StructureDefinition ; fhir:nodeRole fhir:treeRoot ; fhir:Resource.id [ fhir:value "ie-mpd-medicationrequest-eprescription"] ; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "extensions" ] ; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition ie-mpd-medicationrequest-eprescription</b></p><a name=\"ie-mpd-medicationrequest-eprescription\"> </a><a name=\"hcie-mpd-medicationrequest-eprescription\"> </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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"The logical name of the element\">Name</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Information about the use of the element\">Flags</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Minimum and Maximum # of times the element can appear in the instance\">Card.</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px; 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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Additional information about the element\">Description & 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 : var(--ig-left,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_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest\">MedicationRequest</a><a name=\"MedicationRequest\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;; padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;\" href=\"http://hl7.org/fhir/R4/conformance-rules.html#constraints\" title=\"This element has or is affected by constraints ( ie-rx-status-1, ie-rx-age-1, ie-rx-cd-1, ie-rx-cd-2, ie-rx-cd-3, ie-rx-subst-1 )\">C</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.eu/fhir/mpd/1.0.0/StructureDefinition-MedicationRequest-eu-mpd.html\">MedicationRequestEuMpd(1.0.0)</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Ordering of medication for patient or group</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck13.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_slice.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Definition\" class=\"hierarchy\"/> Slices for extension<a name=\"MedicationRequest.extension\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Content/Rules for all slices</td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck134.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_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.extension:offLabelUse\" title=\"Slice offLabelUse\">extension:offLabelUse</a><a name=\"MedicationRequest.extension:offLabelUse\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,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\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"https://profiles.ihe.net/PHARM/MPD/1.0.0-comment-2/StructureDefinition-ihe-ext-offLabel.html\" title=\"Extension\">OffLabel(1.0.0-comment-2)</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Off-label use</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck134.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_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.extension:effectiveDosePeriod\" title=\"Slice effectiveDosePeriod\">extension:effectiveDosePeriod</a><a name=\"MedicationRequest.extension:effectiveDosePeriod\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; 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\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R5/medicationrequest-definitions.html#MedicationRequest.effectiveDosePeriod\" title=\"Extension\">0.1.0</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">R5: Period over which the medication is to be taken (new)</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck134.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_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.extension:ageAtPrescribing\" title=\"Extension URL = https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-patient-age-at-prescribing\">extension:ageAtPrescribing</a><a name=\"MedicationRequest.extension:ageAtPrescribing\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#Age\">Age</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Patient age at prescribing (a legal requirement if under 12)<br/><span style=\"font-weight:bold\">URL: </span><a href=\"StructureDefinition-ie-mpd-patient-age-at-prescribing.html\">https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-patient-age-at-prescribing</a></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck124.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_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.extension:quantityInWordsAndFigures\" title=\"Extension URL = https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-quantity-in-words-and-figures\">extension:quantityInWordsAndFigures</a><a name=\"MedicationRequest.extension:quantityInWordsAndFigures\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">IE MPD Quantity Prescribed (Words and Figures)</span><br/><span style=\"font-weight:bold\">URL: </span><a href=\"StructureDefinition-ie-mpd-quantity-in-words-and-figures.html\">https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-quantity-in-words-and-figures</a></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.identifier\">identifier</a><a name=\"MedicationRequest.identifier\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#Identifier\">Identifier</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Prescription/prescribed item ID</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,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_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.status\">status</a><a name=\"MedicationRequest.status\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.statusReason\">statusReason</a><a name=\"MedicationRequest.statusReason\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,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\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Reason for current status</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,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_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.intent\">intent</a><a name=\"MedicationRequest.intent\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option</span><br/><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">order</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.category\">category</a><a name=\"MedicationRequest.category\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Type of medication usage</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,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-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.medication[x]\">medication[x]</a><a name=\"MedicationRequest.medication_x_\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"StructureDefinition-ie-mpd-medication-eprescription.html\">IE MPD Medication (ePrescription/eDispensation)(0.1.0)</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Medication to be taken</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,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-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.subject\">subject</a><a name=\"MedicationRequest.subject\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"StructureDefinition-ie-mpd-patient-eprescription.html\">IE MPD Patient (ePrescription/eDispensation)(0.1.0)</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Who or group medication request is for</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,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_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.supportingInformation\">supportingInformation</a><a name=\"MedicationRequest.supportingInformation\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; 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 : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/resource.html\">Resource</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Information to support ordering of the medication</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.authoredOn\">authoredOn</a><a name=\"MedicationRequest.authoredOn\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#dateTime\">dateTime</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">When request was initially authored</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,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-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.requester\">requester</a><a name=\"MedicationRequest.requester\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"StructureDefinition-ie-mpd-practitionerrole.html\">IE MPD PractitionerRole(0.1.0)</a> | <a href=\"StructureDefinition-ie-mpd-practitioner.html\">IE MPD Practitioner(0.1.0)</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Who/What requested the Request</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.reasonCode\">reasonCode</a><a name=\"MedicationRequest.reasonCode\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Reason or indication for this prescription</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,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_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.groupIdentifier\">groupIdentifier</a><a name=\"MedicationRequest.groupIdentifier\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; 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\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#Identifier\">Identifier</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Prescription this is part of. Not needed if a presciption includes only one prescribed item.</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.courseOfTherapyType\">courseOfTherapyType</a><a name=\"MedicationRequest.courseOfTherapyType\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,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\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Overall pattern of medication administration</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,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_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.note\">note</a><a name=\"MedicationRequest.note\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; 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 : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#Annotation\">Annotation</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Information about the prescription</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.dosageInstruction\">dosageInstruction</a><a name=\"MedicationRequest.dosageInstruction\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span><a style=\"padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;; padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;\" href=\"http://hl7.org/fhir/R4/conformance-rules.html#constraints\" title=\"This element has or is affected by constraints ( ie-rx-dosage-1 )\">C</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.eu/fhir/mpd/1.0.0/StructureDefinition-Dosage-eu-mpd.html\" title=\"Dosage\">DosageEuMpd(1.0.0)</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">How the medication should be taken.</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,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_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.dosageInstruction.sequence\">sequence</a><a name=\"MedicationRequest.dosageInstruction.sequence\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; 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\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#integer\">integer</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">The order of the dosage instructions</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.dosageInstruction.text\">text</a><a name=\"MedicationRequest.dosageInstruction.text\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Free text dosage instructions</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,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_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.dosageInstruction.additionalInstruction\">additionalInstruction</a><a name=\"MedicationRequest.dosageInstruction.additionalInstruction\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; 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 : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Supplemental instruction or warnings to the patient - e.g. \"with meals\", \"may cause drowsiness\"</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.dosageInstruction.patientInstruction\">patientInstruction</a><a name=\"MedicationRequest.dosageInstruction.patientInstruction\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,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\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Patient or consumer oriented instructions</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck111.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_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.dosageInstruction.timing\">timing</a><a name=\"MedicationRequest.dosageInstruction.timing\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; 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\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#Timing\">Timing</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Administration schedule</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1101.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_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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.dosageInstruction.timing.repeat\">repeat</a><a name=\"MedicationRequest.dosageInstruction.timing.repeat\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11010.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_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.dosageInstruction.timing.repeat.frequency\">frequency</a><a name=\"MedicationRequest.dosageInstruction.timing.repeat.frequency\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; 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\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#positiveInt\">positiveInt</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Frequency times per period</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11010.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_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.dosageInstruction.timing.repeat.period\">period</a><a name=\"MedicationRequest.dosageInstruction.timing.repeat.period\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,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\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#decimal\">decimal</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Duration of time over which repetitions are to occur</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11000.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_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.dosageInstruction.timing.repeat.periodUnit\">periodUnit</a><a name=\"MedicationRequest.dosageInstruction.timing.repeat.periodUnit\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; 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\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Unit of the period (e.g. day)</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.dosageInstruction.asNeeded[x]\">asNeeded[x]</a><a name=\"MedicationRequest.dosageInstruction.asNeeded_x_\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,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\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#boolean\">boolean</a><span style=\"opacity: 0.5\">, </span><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Take \"as needed\" (for x)</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,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_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.dosageInstruction.site\">site</a><a name=\"MedicationRequest.dosageInstruction.site\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; 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\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Body site to administer to</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.dosageInstruction.route\">route</a><a name=\"MedicationRequest.dosageInstruction.route\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,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\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Route of administration</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck111.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_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.dosageInstruction.doseAndRate\">doseAndRate</a><a name=\"MedicationRequest.dosageInstruction.doseAndRate\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; 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 : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Element</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Amount of medication administered</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1100.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_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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.dosageInstruction.doseAndRate.dose[x]\">dose[x]</a><a name=\"MedicationRequest.dosageInstruction.doseAndRate.dose_x_\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,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\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#Range\">Range</a><span style=\"opacity: 0.5\">, </span><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#SimpleQuantity\" title=\"Quantity\">SimpleQuantity(4.0.1)</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Amount of medication per dose</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,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_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.dosageInstruction.maxDosePerPeriod\">maxDosePerPeriod</a><a name=\"MedicationRequest.dosageInstruction.maxDosePerPeriod\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; 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\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#Ratio\">Ratio</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Upper limit on medication per unit of time</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.dispenseRequest\">dispenseRequest</a><a name=\"MedicationRequest.dispenseRequest\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#BackboneElement\">BackboneElement</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Medication supply authorization</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck113.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_slice.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Definition\" class=\"hierarchy\"/> Slices for extension<a name=\"MedicationRequest.dispenseRequest.extension\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Content/Rules for all slices</td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1134.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_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.dispenseRequest.extension:prescribedQuantity\" title=\"Slice prescribedQuantity\">extension:prescribedQuantity</a><a name=\"MedicationRequest.dispenseRequest.extension:prescribedQuantity\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,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\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"https://profiles.ihe.net/PHARM/MPD/1.0.0-comment-2/StructureDefinition-ihe-ext-medicationrequest-prescribedQuantity.html\" title=\"Extension\">MedicationRequestPrescribedQuantity(1.0.0-comment-2)</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">MedicationRequest - Prescribed Quantity</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1134.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_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.dispenseRequest.extension:numberOfInstalments\" title=\"Extension URL = https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-number-of-instalments\">extension:numberOfInstalments</a><a name=\"MedicationRequest.dispenseRequest.extension:numberOfInstalments\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#positiveInt\">positiveInt</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">IE MPD Number of Instalments</span><br/><span style=\"font-weight:bold\">URL: </span><a href=\"StructureDefinition-ie-mpd-number-of-instalments.html\">https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-number-of-instalments</a></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1124.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_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.dispenseRequest.extension:doNotExtend\" title=\"Extension URL = https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-do-not-extend\">extension:doNotExtend</a><a name=\"MedicationRequest.dispenseRequest.extension:doNotExtend\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#boolean\">boolean</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">IE MPD Do Not Extend</span><br/><span style=\"font-weight:bold\">URL: </span><a href=\"StructureDefinition-ie-mpd-do-not-extend.html\">https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-do-not-extend</a></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,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_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.dispenseRequest.dispenseInterval\">dispenseInterval</a><a name=\"MedicationRequest.dispenseRequest.dispenseInterval\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; 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\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#Duration\">Duration</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Minimum period of time between dispenses</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.dispenseRequest.validityPeriod\">validityPeriod</a><a name=\"MedicationRequest.dispenseRequest.validityPeriod\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,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\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#Period\">Period</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Time period supply is authorized for</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,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_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.dispenseRequest.numberOfRepeatsAllowed\">numberOfRepeatsAllowed</a><a name=\"MedicationRequest.dispenseRequest.numberOfRepeatsAllowed\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; 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\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#unsignedInt\">unsignedInt</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Number of refills authorized</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.dispenseRequest.quantity\">quantity</a><a name=\"MedicationRequest.dispenseRequest.quantity\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#SimpleQuantity\" title=\"Quantity\">SimpleQuantity(4.0.1)</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Amount of medication to supply per dispense</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck01.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.substitution\">substitution</a><a name=\"MedicationRequest.substitution\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; 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\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#BackboneElement\">BackboneElement</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Any restrictions on medication substitution. Substitution rules (including the definition of substitution) vary across different countries, and the semantics of this element should be interpreted accordingly.</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.substitution.allowed[x]\">allowed[x]</a><a name=\"MedicationRequest.substitution.allowed_x_\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#boolean\">boolean</a><span style=\"opacity: 0.5\">, </span><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Whether substitution is allowed or not</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck000.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ie-mpd-medicationrequest-eprescription-definitions.html#MedicationRequest.substitution.reason\">reason</a><a name=\"MedicationRequest.substitution.reason\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; 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\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Why should (not) substitution be made</span></td></tr>#xD;\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:StructureDefinition.url [ fhir:value "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medicationrequest-eprescription"] ; fhir:StructureDefinition.version [ fhir:value "0.1.0"] ; fhir:StructureDefinition.name [ fhir:value "IEMpdMedicationRequestEPrescription"] ; fhir:StructureDefinition.title [ fhir:value "IE MPD MedicationRequest (ePrescription)"] ; fhir:StructureDefinition.status [ fhir:value "draft"] ; fhir:StructureDefinition.date [ fhir:value "2026-09-28T14:06:45+00:00"^^xsd:dateTime] ; fhir:StructureDefinition.publisher [ fhir:value "Nithin Mohan (proof of concept)"] ; fhir:StructureDefinition.contact [ fhir:index 0 ; fhir:ContactDetail.name [ fhir:value "Nithin Mohan (proof of concept)" ] ; fhir:ContactDetail.telecom [ fhir:index 0 ; fhir:ContactPoint.system [ fhir:value "url" ] ; fhir:ContactPoint.value [ fhir:value "https://github.com/hl7-ie/medication-events" ] ] ], [ fhir:index 1 ; fhir:ContactDetail.name [ fhir:value "Nithin Mohan" ] ; fhir:ContactDetail.telecom [ fhir:index 0 ; fhir:ContactPoint.system [ fhir:value "url" ] ; fhir:ContactPoint.value [ fhir:value "https://github.com/hl7-ie/medication-events" ] ] ] ; fhir:StructureDefinition.description [ fhir:value "One prescription item of an Irish electronic prescription (HIQA EP Section 3), derived from the HL7 Europe MPD MedicationRequest. A multi-item prescription is a set of MedicationRequests sharing groupIdentifier, exchanged in an IEMpdBundleEPrescription together with the patient, prescriber and the allergy statement."] ; fhir:StructureDefinition.jurisdiction [ fhir:index 0 ; fhir:CodeableConcept.coding [ fhir:index 0 ; fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ] ; fhir:Coding.code [ fhir:value "IE" ] ; fhir:Coding.display [ fhir:value "Ireland" ] ] ] ; fhir:StructureDefinition.fhirVersion [ fhir:value "4.0.1"] ; fhir:StructureDefinition.mapping [ fhir:index 0 ; fhir:StructureDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/fhir/workflow" ] ; fhir:StructureDefinition.mapping.name [ fhir:value "Workflow Pattern" ] ], [ fhir:index 1 ; fhir:StructureDefinition.mapping.identity [ fhir:value "script10.6" ] ; fhir:StructureDefinition.mapping.uri [ fhir:value "http://ncpdp.org/SCRIPT10_6" ] ; fhir:StructureDefinition.mapping.name [ fhir:value "Mapping to NCPDP SCRIPT 10.6" ] ], [ fhir:index 2 ; fhir:StructureDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v3" ] ; fhir:StructureDefinition.mapping.name [ fhir:value "RIM Mapping" ] ], [ fhir:index 3 ; fhir:StructureDefinition.mapping.identity [ fhir:value "w5" ] ; fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/fhir/fivews" ] ; fhir:StructureDefinition.mapping.name [ fhir:value "FiveWs Pattern Mapping" ] ], [ fhir:index 4 ; fhir:StructureDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v2" ] ; fhir:StructureDefinition.mapping.name [ fhir:value "HL7 v2 Mapping" ] ] ; fhir:StructureDefinition.kind [ fhir:value "resource"] ; fhir:StructureDefinition.abstract [ fhir:value "false"^^xsd:boolean] ; fhir:StructureDefinition.type [ fhir:value "MedicationRequest"] ; fhir:StructureDefinition.baseDefinition [ fhir:value "http://hl7.eu/fhir/mpd/StructureDefinition/MedicationRequest-eu-mpd|1.0.0" ; fhir:link <http://hl7.eu/fhir/mpd/StructureDefinition/MedicationRequest-eu-mpd|1.0.0> ] ; fhir:StructureDefinition.derivation [ fhir:value "constraint"] ; fhir:StructureDefinition.snapshot [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version" ] ; fhir:Extension.valueString [ fhir:value "1.0.0" ] ] ; fhir:StructureDefinition.snapshot.element [ fhir:index 0 ; fhir:Element.id [ fhir:value "MedicationRequest" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest" ] ; fhir:ElementDefinition.short [ fhir:value "Ordering of medication for patient or group" ] ; fhir:ElementDefinition.definition [ fhir:value "An order or request for both supply of the medication and the instructions for administration of the medication to a patient. The resource is called \"MedicationRequest\" rather than \"MedicationPrescription\" or \"MedicationOrder\" to generalize the use across inpatient and outpatient settings, including care plans, etc., and to harmonize with workflow patterns." ] ; fhir:ElementDefinition.alias [ fhir:value "Prescription" ; fhir:index 0 ], [ fhir:value "Order" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "dom-2" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "If the resource is contained in another resource, it SHALL NOT contain nested Resources" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "contained.contained.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(parent::f:contained and f:contained)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource|4.0.1> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "dom-3" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource|4.0.1> ] ], [ fhir:index 2 ; fhir:ElementDefinition.constraint.key [ fhir:value "dom-4" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource|4.0.1> ] ], [ fhir:index 3 ; fhir:ElementDefinition.constraint.key [ fhir:value "dom-5" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "If a resource is contained in another resource, it SHALL NOT have a security label" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "contained.meta.security.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:contained/*/f:meta/f:security))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource|4.0.1> ] ], [ fhir:index 4 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice" ] ; fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 1 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation" ] ; fhir:Extension.valueMarkdown [ fhir:value "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." ] ] ; fhir:ElementDefinition.constraint.key [ fhir:value "dom-6" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "warning" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "A resource should have narrative for robust management" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "text.`div`.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:text/h:div)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource|4.0.1> ] ], [ fhir:index 5 ; fhir:ElementDefinition.constraint.key [ fhir:value "ie-rx-status-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "A status reason SHALL be given unless the prescription item is active, completed or draft (HIQA EP 3.5.2.2 / 3.5.2.3)" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(status = 'active' or status = 'completed' or status = 'draft') or statusReason.exists()" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medicationrequest-eprescription|0.1.0" ; fhir:link <https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medicationrequest-eprescription|0.1.0> ] ], [ fhir:index 6 ; fhir:ElementDefinition.constraint.key [ fhir:value "ie-rx-age-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "If the patient is under 12 years old at the date of prescribing, or the date of birth is not a full date, the patient's age SHALL be recorded on the prescription (HIQA EP 1.4.2; a legal requirement in Ireland)" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "subject.resolve().ofType(Patient).birthDate.empty() or authoredOn.empty() or ((subject.resolve().ofType(Patient).birthDate.toString().length() = 10) and ((subject.resolve().ofType(Patient).birthDate + 12 years).toString() <= authoredOn.toString().substring(0,10))) or extension('https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-patient-age-at-prescribing').exists()" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medicationrequest-eprescription|0.1.0" ; fhir:link <https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medicationrequest-eprescription|0.1.0> ] ], [ fhir:index 7 ; fhir:ElementDefinition.constraint.key [ fhir:value "ie-rx-cd-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "A prescription for a controlled drug (any schedule of the Misuse of Drugs Regulations 2017) SHALL state the quantity in words and figures (HIQA EP 3.5.7.2)" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(medication.ofType(Reference).resolve().extension('https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification').value.ofType(CodeableConcept).coding.where(system = 'https://hl7-ie.github.io/medication-events/fhir/CodeSystem/ie-mpd-mda-schedule').exists()) implies extension('https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-quantity-in-words-and-figures').exists()" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medicationrequest-eprescription|0.1.0" ; fhir:link <https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medicationrequest-eprescription|0.1.0> ] ], [ fhir:index 8 ; fhir:ElementDefinition.constraint.key [ fhir:value "ie-rx-cd-2" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "A prescription for a Schedule 2 or 3 controlled drug SHALL have a validity period ending no later than 14 days after the date of issue, or, for an instalment prescription, no later than two months after (the final instalment) (HIQA EP 3.5.9.1; Misuse of Drugs Regulations 2017)" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(medication.ofType(Reference).resolve().extension('https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification').value.ofType(CodeableConcept).coding.where(system = 'https://hl7-ie.github.io/medication-events/fhir/CodeSystem/ie-mpd-mda-schedule' and (code = 'schedule-2' or code = 'schedule-3')).exists()) implies (dispenseRequest.validityPeriod.end.exists() and ((dispenseRequest.extension('https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-number-of-instalments').exists() and dispenseRequest.validityPeriod.end.toString().substring(0,10) <= (authoredOn + 2 months).toString().substring(0,10)) or (dispenseRequest.validityPeriod.end.toString().substring(0,10) <= (authoredOn + 14 days).toString().substring(0,10))))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medicationrequest-eprescription|0.1.0" ; fhir:link <https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medicationrequest-eprescription|0.1.0> ] ], [ fhir:index 9 ; fhir:ElementDefinition.constraint.key [ fhir:value "ie-rx-cd-3" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "A prescription for a Schedule 2, 3 or 4 Part 1 controlled drug SHALL state the number of instalments and, when there is more than one, the interval between them (HIQA EP 3.5.12, 3.5.13; Misuse of Drugs Regulations 2017)" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(medication.ofType(Reference).resolve().extension('https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification').value.ofType(CodeableConcept).coding.where(system = 'https://hl7-ie.github.io/medication-events/fhir/CodeSystem/ie-mpd-mda-schedule' and (code = 'schedule-2' or code = 'schedule-3' or code = 'schedule-4-part-1')).exists()) implies (dispenseRequest.extension('https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-number-of-instalments').exists() and ((dispenseRequest.extension('https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-number-of-instalments').value.ofType(positiveInt) > 1) implies dispenseRequest.dispenseInterval.exists()))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medicationrequest-eprescription|0.1.0" ; fhir:link <https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medicationrequest-eprescription|0.1.0> ] ], [ fhir:index 10 ; fhir:ElementDefinition.constraint.key [ fhir:value "ie-rx-subst-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "When substitution is not allowed ('Do Not Substitute'), a reason SHALL be given (HIQA EP 3.5.10.3)" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "substitution.allowed.ofType(boolean).where($this = false).exists() implies substitution.reason.exists()" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medicationrequest-eprescription|0.1.0" ; fhir:link <https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medicationrequest-eprescription|0.1.0> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Entity. Role, or Act" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Request" ] ], [ fhir:index 2 ; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Message/Body/NewRx" ] ], [ fhir:index 3 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "CombinedMedicationRequest" ] ] ], [ fhir:index 1 ; fhir:Element.id [ fhir:value "MedicationRequest.id" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.id" ] ; fhir:ElementDefinition.short [ fhir:value "Logical id of this artifact" ] ; fhir:ElementDefinition.definition [ fhir:value "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." ] ; fhir:ElementDefinition.comment [ fhir:value "The only time that a resource does not have an id is when it is being submitted to the server using a create operation." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Resource.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "id" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 2 ; fhir:Element.id [ fhir:value "MedicationRequest.meta" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.meta" ] ; fhir:ElementDefinition.short [ fhir:value "Metadata about the resource" ] ; fhir:ElementDefinition.definition [ fhir:value "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Resource.meta" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Meta" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 3 ; fhir:Element.id [ fhir:value "MedicationRequest.implicitRules" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.implicitRules" ] ; fhir:ElementDefinition.short [ fhir:value "A set of rules under which this content was created" ] ; fhir:ElementDefinition.definition [ fhir:value "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc." ] ; fhir:ElementDefinition.comment [ fhir:value "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Resource.implicitRules" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "uri" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 4 ; fhir:Element.id [ fhir:value "MedicationRequest.language" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.language" ] ; fhir:ElementDefinition.short [ fhir:value "Language of the resource content" ] ; fhir:ElementDefinition.definition [ fhir:value "The base language in which the resource is written." ] ; fhir:ElementDefinition.comment [ fhir:value "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Resource.language" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "code" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet" ] ; fhir:Extension.valueCanonical [ fhir:value "http://hl7.org/fhir/ValueSet/all-languages|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/all-languages|4.0.1> ] ], [ fhir:index 1 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "Language" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ] ; fhir:ElementDefinition.binding.description [ fhir:value "A human language." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/languages|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/languages|4.0.1> ] ] ], [ fhir:index 5 ; fhir:Element.id [ fhir:value "MedicationRequest.text" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.text" ] ; fhir:ElementDefinition.short [ fhir:value "Text summary of the resource, for human interpretation" ] ; fhir:ElementDefinition.definition [ fhir:value "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety." ] ; fhir:ElementDefinition.comment [ fhir:value "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later." ] ; fhir:ElementDefinition.alias [ fhir:value "narrative" ; fhir:index 0 ], [ fhir:value "html" ; fhir:index 1 ], [ fhir:value "xhtml" ; fhir:index 2 ], [ fhir:value "display" ; fhir:index 3 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "DomainResource.text" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Narrative" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Act.text?" ] ] ], [ fhir:index 6 ; fhir:Element.id [ fhir:value "MedicationRequest.contained" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.contained" ] ; fhir:ElementDefinition.short [ fhir:value "Contained, inline Resources" ] ; fhir:ElementDefinition.definition [ fhir:value "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope." ] ; fhir:ElementDefinition.comment [ fhir:value "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels." ] ; fhir:ElementDefinition.alias [ fhir:value "inline resources" ; fhir:index 0 ], [ fhir:value "anonymous resources" ; fhir:index 1 ], [ fhir:value "contained resources" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "DomainResource.contained" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Resource" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 7 ; fhir:Element.id [ fhir:value "MedicationRequest.extension" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.extension" ] ; fhir:ElementDefinition.slicing [ fhir:ElementDefinition.slicing.discriminator [ fhir:index 0 ; fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "value" ] ; fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "url" ] ] ; fhir:ElementDefinition.slicing.ordered [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.slicing.rules [ fhir:value "open" ] ] ; fhir:ElementDefinition.short [ fhir:value "Extension" ] ; fhir:ElementDefinition.definition [ fhir:value "An Extension" ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "DomainResource.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ], [ fhir:index 8 ; fhir:Element.id [ fhir:value "MedicationRequest.extension:offLabelUse" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.extension" ] ; fhir:ElementDefinition.sliceName [ fhir:value "offLabelUse" ] ; fhir:ElementDefinition.short [ fhir:value "Off-label use" ] ; fhir:ElementDefinition.definition [ fhir:value "Indicates that the prescriber has intentionally prescribed the medication in a manner not covered by the product authorization — such as for a different indication, age group, dosage, or route of administration." ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.5.14 Off label (Required): 3.5.14.1 off-label use (Mandatory within the cluster) and 3.5.14.2 reason (coded or free text). IHE ihe-ext-offLabel, inherited from HL7 Europe MPD; replaces the retired IEMpdOffLabelUse." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "DomainResource.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ; fhir:ElementDefinition.type.profile [ fhir:value "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-offLabel|1.0.0-comment-2" ; fhir:index 0 ; fhir:link <https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-offLabel|1.0.0-comment-2> ] ] ; fhir:ElementDefinition.condition [ fhir:value "ele-1" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension|4.0.1> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ], [ fhir:index 9 ; fhir:Element.id [ fhir:value "MedicationRequest.extension:effectiveDosePeriod" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.extension" ] ; fhir:ElementDefinition.sliceName [ fhir:value "effectiveDosePeriod" ] ; fhir:ElementDefinition.short [ fhir:value "R5: Period over which the medication is to be taken (new)" ] ; fhir:ElementDefinition.definition [ fhir:value "R5: `MedicationRequest.effectiveDosePeriod` (new:Period)" ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.5.6 Period of use (Required 0..1): overall period of all dosage schemes." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "DomainResource.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ; fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.effectiveDosePeriod|0.1.0" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.effectiveDosePeriod|0.1.0> ] ] ; fhir:ElementDefinition.condition [ fhir:value "ele-1" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension|4.0.1> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ], [ fhir:index 10 ; fhir:Element.id [ fhir:value "MedicationRequest.extension:renderedDosageInstruction" ] ; fhir:Element.extension [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "code" ] ; fhir:Extension.valueCode [ fhir:value "SHOULD:able-to-populate" ] ], [ fhir:index 1 ; fhir:Extension.url [ fhir:value "actor" ] ; fhir:Extension.valueCanonical [ fhir:value "https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0" ; fhir:link <https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0> ] ], [ fhir:index 2 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ; fhir:Extension.valueCanonical [ fhir:value "http://hl7.eu/fhir/mpd/StructureDefinition/MedicationRequest-eu-mpd|1.0.0" ; fhir:link <http://hl7.eu/fhir/mpd/StructureDefinition/MedicationRequest-eu-mpd|1.0.0> ] ] ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ] ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.extension" ] ; fhir:ElementDefinition.sliceName [ fhir:value "renderedDosageInstruction" ] ; fhir:ElementDefinition.short [ fhir:value "Full representation of the dosage instructions" ] ; fhir:ElementDefinition.definition [ fhir:value "R5: `MedicationRequest.renderedDosageInstruction` (new:markdown)" ] ; fhir:ElementDefinition.comment [ fhir:value "Element `MedicationRequest.renderedDosageInstruction` has a context of MedicationRequest based on following the parent source element upwards and mapping to `MedicationRequest`.\nElement `MedicationRequest.renderedDosageInstruction` has no mapping targets in FHIR R4. Typically, this is because the element has been added (is a new element)." ] ; fhir:ElementDefinition.requirements [ fhir:value "EHDSDosage" ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "DomainResource.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ; fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction|0.1.0" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction|0.1.0> ] ] ; fhir:ElementDefinition.condition [ fhir:value "ele-1" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ], [ fhir:index 11 ; fhir:Element.id [ fhir:value "MedicationRequest.extension:ageAtPrescribing" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.extension" ] ; fhir:ElementDefinition.sliceName [ fhir:value "ageAtPrescribing" ] ; fhir:ElementDefinition.short [ fhir:value "Patient age at prescribing (a legal requirement if under 12)" ] ; fhir:ElementDefinition.definition [ fhir:value "HIQA EP 1.4.2 Age (cluster): the patient's age recorded on the prescription. HIQA: if the date of birth shows the patient is under 12 years, recording the age on the prescription record is a legal requirement in Ireland. Age should be entered in years, and to the nearest three months (or less) for children under two. 1.4.2.1 value and 1.4.2.2 type are Mandatory within the cluster." ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 1.4.2 Age (Required 0..1; 1.4.2.1 value and 1.4.2.2 type Mandatory within the cluster). Required when the patient is under 12 at authoredOn (invariants ie-rx-age-1, ie-bnd-rx-3)." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "DomainResource.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ; fhir:ElementDefinition.type.profile [ fhir:value "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-patient-age-at-prescribing|0.1.0" ; fhir:index 0 ; fhir:link <https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-patient-age-at-prescribing|0.1.0> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension|4.0.1> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ], [ fhir:index 12 ; fhir:Element.id [ fhir:value "MedicationRequest.extension:quantityInWordsAndFigures" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.extension" ] ; fhir:ElementDefinition.sliceName [ fhir:value "quantityInWordsAndFigures" ] ; fhir:ElementDefinition.short [ fhir:value "IE MPD Quantity Prescribed (Words and Figures)" ] ; fhir:ElementDefinition.definition [ fhir:value "HIQA EP 3.5.7.2 Quantity prescribed (free text): the overall quantity in words and figures, e.g. 'twenty-eight (28) tablets'. HIQA: a legal requirement if the item is a controlled drug under the Misuse of Drugs Act 1977 (as amended) and the Misuse of Drugs Regulations 2017 (S.I. No. 173/2017). Enforced for MDA Schedules 2, 3 and 4 Part 1 by invariant ie-rx-cd-1." ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.5.7.2 Quantity prescribed (free text, words and figures): must be recorded for any medication listed as a controlled drug under the Misuse of Drugs Regulations 2017 (invariant ie-rx-cd-1)." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "DomainResource.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ; fhir:ElementDefinition.type.profile [ fhir:value "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-quantity-in-words-and-figures|0.1.0" ; fhir:index 0 ; fhir:link <https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-quantity-in-words-and-figures|0.1.0> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension|4.0.1> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ], [ fhir:index 13 ; fhir:Element.id [ fhir:value "MedicationRequest.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it 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 manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to 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:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "DomainResource.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 14 ; fhir:Element.id [ fhir:value "MedicationRequest.identifier" ] ; fhir:Element.extension [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "code" ] ; fhir:Extension.valueCode [ fhir:value "SHALL:able-to-populate" ] ], [ fhir:index 1 ; fhir:Extension.url [ fhir:value "actor" ] ; fhir:Extension.valueCanonical [ fhir:value "https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0" ; fhir:link <https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0> ] ], [ fhir:index 2 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ; fhir:Extension.valueCanonical [ fhir:value "http://hl7.eu/fhir/mpd/StructureDefinition/MedicationRequest-eu-mpd|1.0.0" ; fhir:link <http://hl7.eu/fhir/mpd/StructureDefinition/MedicationRequest-eu-mpd|1.0.0> ] ] ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ] ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.identifier" ] ; fhir:ElementDefinition.short [ fhir:value "Prescription/prescribed item ID" ] ; fhir:ElementDefinition.definition [ fhir:value "Identifiers associated with this medication request that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate. They are business identifiers assigned to this resource by the performer or other systems and remain constant as the resource is updated and propagates from server to server." ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.5.1 Prescription item identifier (Mandatory 1..*). For a single-item prescription this is typically the same as the electronic prescription identifier (EP 3.1)." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.identifier" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Identifier" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Request.identifier" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Message/Header/PrescriberOrderNumber" ] ], [ fhir:index 2 ; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.identifier" ] ], [ fhir:index 3 ; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "ORC-2-Placer Order Number / ORC-3-Filler Order Number" ] ], [ fhir:index 4 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".id" ] ] ], [ fhir:index 15 ; fhir:Element.id [ fhir:value "MedicationRequest.status" ] ; fhir:Element.extension [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "code" ] ; fhir:Extension.valueCode [ fhir:value "SHALL:able-to-populate" ] ], [ fhir:index 1 ; fhir:Extension.url [ fhir:value "actor" ] ; fhir:Extension.valueCanonical [ fhir:value "https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0" ; fhir:link <https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0> ] ], [ fhir:index 2 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ; fhir:Extension.valueCanonical [ fhir:value "http://hl7.eu/fhir/mpd/StructureDefinition/MedicationRequest-eu-mpd|1.0.0" ; fhir:link <http://hl7.eu/fhir/mpd/StructureDefinition/MedicationRequest-eu-mpd|1.0.0> ] ] ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ] ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.status" ] ; fhir:ElementDefinition.short [ fhir:value "active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown" ] ; fhir:ElementDefinition.definition [ fhir:value "A code specifying the current state of the order. Generally, this will be active or completed state." ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.5.2.1 Prescription item status (Mandatory 1..1): e.g. active, on-hold (inactive) or completed (dispensed). The status of the whole prescription (EP 3.3) is derived from its items: all completed = complete; any active = active; otherwise inactive." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.status" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "code" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "MedicationRequestStatus" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "required" ] ; fhir:ElementDefinition.binding.description [ fhir:value "A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/medicationrequest-status|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/medicationrequest-status|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Request.status" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "no mapping" ] ], [ fhir:index 2 ; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.status" ] ], [ fhir:index 3 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".statusCode" ] ] ], [ fhir:index 16 ; fhir:Element.id [ fhir:value "MedicationRequest.statusReason" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.statusReason" ] ; fhir:ElementDefinition.short [ fhir:value "Reason for current status" ] ; fhir:ElementDefinition.definition [ fhir:value "Captures the reason for the current state of the MedicationRequest." ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.5.2.2 (Required) and 3.5.2.3 (free text, in statusReason.text). Must be given unless the status is active or completed (invariant ie-rx-status-1)." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.statusReason" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "MedicationRequestStatusReason" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Identifies the reasons for a given status." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/medicationrequest-status-reason|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/medicationrequest-status-reason|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Request.statusReason" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN].reasonCOde" ] ] ], [ fhir:index 17 ; fhir:Element.id [ fhir:value "MedicationRequest.intent" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.intent" ] ; fhir:ElementDefinition.short [ fhir:value "proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option" ] ; fhir:ElementDefinition.definition [ fhir:value "Whether the request is a proposal, plan, or an original order." ] ; fhir:ElementDefinition.comment [ fhir:value "It is expected that the type of requester will be restricted for different stages of a MedicationRequest. For example, Proposals can be created by a patient, relatedPerson, Practitioner or Device. Plans can be created by Practitioners, Patients, RelatedPersons and Devices. Original orders can be created by a Practitioner only.\r\rAn instance-order is an instantiation of a request or order and may be used to populate Medication Administration Record.\r\rThis element is labeled as a modifier because the intent alters when and how the resource is actually applicable." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.intent" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "code" ] ] ; fhir:ElementDefinition.patternCode [ fhir:value "order" ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "This element changes the interpretation of all descriptive attributes. For example \"the time the request is recommended to occur\" vs. \"the time the request is authorized to occur\" or \"who is recommended to perform the request\" vs. \"who is authorized to perform the request" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "MedicationRequestIntent" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "required" ] ; fhir:ElementDefinition.binding.description [ fhir:value "The kind of medication order." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/medicationrequest-intent|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/medicationrequest-intent|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Request.intent" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.class" ] ], [ fhir:index 2 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".moodCode (nuances beyond PRP/PLAN/RQO would need to be elsewhere)" ] ] ], [ fhir:index 18 ; fhir:Element.id [ fhir:value "MedicationRequest.category" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.category" ] ; fhir:ElementDefinition.short [ fhir:value "Type of medication usage" ] ; fhir:ElementDefinition.definition [ fhir:value "Indicates the type of medication request (for example, where the medication is expected to be consumed or administered (i.e. inpatient or outpatient))." ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.5.5 Intended use of prescription item (Optional), e.g. prophylaxis, therapeutic or diagnostic." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.category" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "MedicationRequestCategory" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "A coded concept identifying the category of medication request. For example, where the medication is to be consumed or administered, or the type of medication treatment." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/medicationrequest-category|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/medicationrequest-category|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Message/Body/NewRx/MedicationPrescribed/Directions\r\ror \r\rMessage/Body/NewRx/MedicationPrescribed/StructuredSIG" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.class" ] ], [ fhir:index 2 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code=\"type of medication usage\"].value" ] ] ], [ fhir:index 19 ; fhir:Element.id [ fhir:value "MedicationRequest.priority" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.priority" ] ; fhir:ElementDefinition.short [ fhir:value "routine | urgent | asap | stat" ] ; fhir:ElementDefinition.definition [ fhir:value "Indicates how quickly the Medication Request should be addressed with respect to other requests." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.priority" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "code" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "MedicationRequestPriority" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "required" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Identifies the level of importance to be assigned to actioning the request." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/request-priority|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/request-priority|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Request.priority" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.grade" ] ], [ fhir:index 2 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".priorityCode" ] ] ], [ fhir:index 20 ; fhir:Element.id [ fhir:value "MedicationRequest.doNotPerform" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.doNotPerform" ] ; fhir:ElementDefinition.short [ fhir:value "True if request is prohibiting action" ] ; fhir:ElementDefinition.definition [ fhir:value "If true indicates that the provider is asking for the medication request not to occur." ] ; fhir:ElementDefinition.comment [ fhir:value "If do not perform is not specified, the request is a positive request e.g. \"do perform\"." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.doNotPerform" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "This element is labeled as a modifier because this element negates the request to occur (ie, this is a request for the medication not to be ordered or prescribed, etc)" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "SubstanceAdministration.actionNegationInd" ] ] ], [ fhir:index 21 ; fhir:Element.id [ fhir:value "MedicationRequest.reported[x]" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.reported[x]" ] ; fhir:ElementDefinition.short [ fhir:value "Reported rather than primary record" ] ; fhir:ElementDefinition.definition [ fhir:value "Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. It may also indicate the source of the report." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.reported[x]" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ], [ fhir:index 1 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Patient|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Patient|4.0.1> ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner|4.0.1" ; fhir:index 1 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Practitioner|4.0.1> ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/PractitionerRole|4.0.1" ; fhir:index 2 ; fhir:link <http://hl7.org/fhir/StructureDefinition/PractitionerRole|4.0.1> ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/RelatedPerson|4.0.1" ; fhir:index 3 ; fhir:link <http://hl7.org/fhir/StructureDefinition/RelatedPerson|4.0.1> ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Organization|4.0.1" ; fhir:index 4 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Organization|4.0.1> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=INF].role" ] ] ], [ fhir:index 22 ; fhir:Element.id [ fhir:value "MedicationRequest.medication[x]" ] ; fhir:Element.extension [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "code" ] ; fhir:Extension.valueCode [ fhir:value "SHALL:able-to-populate" ] ], [ fhir:index 1 ; fhir:Extension.url [ fhir:value "actor" ] ; fhir:Extension.valueCanonical [ fhir:value "https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0" ; fhir:link <https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0> ] ], [ fhir:index 2 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ; fhir:Extension.valueCanonical [ fhir:value "http://hl7.eu/fhir/mpd/StructureDefinition/MedicationRequest-eu-mpd|1.0.0" ; fhir:link <http://hl7.eu/fhir/mpd/StructureDefinition/MedicationRequest-eu-mpd|1.0.0> ] ] ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ] ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.medication[x]" ] ; fhir:ElementDefinition.short [ fhir:value "Medication to be taken" ] ; fhir:ElementDefinition.definition [ fhir:value "Identifies the medication being requested. This is a link to a resource that represents the medication which may be the details of the medication or simply an attribute carrying a code that identifies the medication from a known list of medications." ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.5.3 Prescribed medication item (Mandatory 1..1); see Section 4 (IEMpdMedicationEPrescription). A reference is required (not an inline CodeableConcept): HIQA EP 4.7.2 makes the ingredient Mandatory, and the controlled-drug rules (ie-rx-cd-1/2/3) read the MDA schedule from the Medication (independent review R-01). SNOMED CT Irish Edition / NMPC coding in Medication.code." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.medication[x]" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medication-eprescription|0.1.0" ; fhir:index 0 ; fhir:link <https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medication-eprescription|0.1.0> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Request.code" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Message/Body/NewRx/MedicationPrescribed\r\rMedication.code.coding.code = Message/Body/NewRx/MedicationPrescribed/DrugCoded/ProductCode\r\rMedication.code.coding.system = Message/Body/NewRx/MedicationPrescribed/DrugCoded/ProductCodeQualifier\r\rMedication.code.coding.display = Message/Body/NewRx/MedicationPrescribed/DrugDescription" ] ], [ fhir:index 2 ; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.what[x]" ] ], [ fhir:index 3 ; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "RXE-2-Give Code / RXO-1-Requested Give Code / RXC-2-Component Code" ] ], [ fhir:index 4 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "consumable.administrableMedication" ] ] ], [ fhir:index 23 ; fhir:Element.id [ fhir:value "MedicationRequest.subject" ] ; fhir:Element.extension [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "code" ] ; fhir:Extension.valueCode [ fhir:value "SHALL:able-to-populate" ] ], [ fhir:index 1 ; fhir:Extension.url [ fhir:value "actor" ] ; fhir:Extension.valueCanonical [ fhir:value "https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0" ; fhir:link <https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0> ] ], [ fhir:index 2 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ; fhir:Extension.valueCanonical [ fhir:value "http://hl7.eu/fhir/mpd/StructureDefinition/MedicationRequest-eu-mpd|1.0.0" ; fhir:link <http://hl7.eu/fhir/mpd/StructureDefinition/MedicationRequest-eu-mpd|1.0.0> ] ] ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ] ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.subject" ] ; fhir:ElementDefinition.short [ fhir:value "Who or group medication request is for" ] ; fhir:ElementDefinition.definition [ fhir:value "A link to a resource representing the person or set of individuals to whom the medication will be given." ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP Section 1 Patient Details. The patient profile carries only the HIQA EP dataset (IE Core ADR-002)." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.subject" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-patient-eprescription|0.1.0" ; fhir:index 0 ; fhir:link <https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-patient-eprescription|0.1.0> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Request.subject" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Message/Body/NewRx/Patient\r\r(need detail to link to specific patient … Patient.Identification in SCRIPT)" ] ], [ fhir:index 2 ; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.subject[x]" ] ], [ fhir:index 3 ; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "PID-3-Patient ID List" ] ], [ fhir:index 4 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=AUT].role" ] ], [ fhir:index 5 ; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.subject" ] ] ], [ fhir:index 24 ; fhir:Element.id [ fhir:value "MedicationRequest.encounter" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.encounter" ] ; fhir:ElementDefinition.short [ fhir:value "Encounter created as part of encounter/admission/stay" ] ; fhir:ElementDefinition.definition [ fhir:value "The Encounter during which this [x] was created or to which the creation of this record is tightly associated." ] ; fhir:ElementDefinition.comment [ fhir:value "This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter.\" If there is a need to link to episodes of care they will be handled with an extension." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.encounter" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Encounter|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Encounter|4.0.1> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Request.context" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "no mapping" ] ], [ fhir:index 2 ; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.context" ] ], [ fhir:index 3 ; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "PV1-19-Visit Number" ] ], [ fhir:index 4 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN, code=\"type of encounter or episode\"]" ] ] ], [ fhir:index 25 ; fhir:Element.id [ fhir:value "MedicationRequest.supportingInformation" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.supportingInformation" ] ; fhir:ElementDefinition.short [ fhir:value "Information to support ordering of the medication" ] ; fhir:ElementDefinition.definition [ fhir:value "Include additional information (for example, patient height and weight) that supports the ordering of the medication." ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 1.6 Clinical information: SHALL reference the allergy statement (IEMpdListAllergiesAtPrescribing; EP 1.6.1/1.6.2, invariant ie-bnd-rx-2) and MAY reference weight (IEMpdBodyWeight, EP 1.6.3) and height (IEMpdBodyHeight, EP 1.6.4)." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.supportingInformation" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Resource|4.0.1> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Request.supportingInfo" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.context" ] ], [ fhir:index 2 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=PERT].target[A_SupportingClinicalStatement CMET minimal with many different choices of classCodes(ORG, ENC, PROC, SPLY, SBADM, OBS) and each of the act class codes draws from one or more of the following moodCodes (EVN, DEF, INT PRMS, RQO, PRP, APT, ARQ, GOL)]" ] ] ], [ fhir:index 26 ; fhir:Element.id [ fhir:value "MedicationRequest.authoredOn" ] ; fhir:Element.extension [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "code" ] ; fhir:Extension.valueCode [ fhir:value "SHALL:able-to-populate" ] ], [ fhir:index 1 ; fhir:Extension.url [ fhir:value "actor" ] ; fhir:Extension.valueCanonical [ fhir:value "https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0" ; fhir:link <https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0> ] ], [ fhir:index 2 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ; fhir:Extension.valueCanonical [ fhir:value "http://hl7.eu/fhir/mpd/StructureDefinition/MedicationRequest-eu-mpd|1.0.0" ; fhir:link <http://hl7.eu/fhir/mpd/StructureDefinition/MedicationRequest-eu-mpd|1.0.0> ] ] ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ] ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.authoredOn" ] ; fhir:ElementDefinition.short [ fhir:value "When request was initially authored" ] ; fhir:ElementDefinition.definition [ fhir:value "The date (and perhaps time) when the prescription was initially written or authored on." ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.2 Date and time of issuing the prescription (Mandatory 1..1)." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.authoredOn" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "dateTime" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Request.authoredOn" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Message/Body/NewRx/MedicationPrescribed/WrittenDate" ] ], [ fhir:index 2 ; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.recorded" ] ], [ fhir:index 3 ; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "RXE-32-Original Order Date/Time / ORC-9-Date/Time of Transaction" ] ], [ fhir:index 4 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "author.time" ] ] ], [ fhir:index 27 ; fhir:Element.id [ fhir:value "MedicationRequest.requester" ] ; fhir:Element.extension [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "code" ] ; fhir:Extension.valueCode [ fhir:value "SHALL:able-to-populate" ] ], [ fhir:index 1 ; fhir:Extension.url [ fhir:value "actor" ] ; fhir:Extension.valueCanonical [ fhir:value "https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0" ; fhir:link <https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0> ] ], [ fhir:index 2 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ; fhir:Extension.valueCanonical [ fhir:value "http://hl7.eu/fhir/mpd/StructureDefinition/MedicationRequest-eu-mpd|1.0.0" ; fhir:link <http://hl7.eu/fhir/mpd/StructureDefinition/MedicationRequest-eu-mpd|1.0.0> ] ] ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ] ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.requester" ] ; fhir:ElementDefinition.short [ fhir:value "Who/What requested the Request" ] ; fhir:ElementDefinition.definition [ fhir:value "The individual, organization, or device that initiated the request and has responsibility for its activation." ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP Section 2 Health Practitioner Details. The prescriber must be a registered health practitioner (EP 2.6, Mandatory), so an Organization is not allowed. Prefer PractitionerRole, which carries the role (2.5), facility (2.7–2.12) and contact details (2.10)." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.requester" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-practitionerrole|0.1.0" ; fhir:index 0 ; fhir:link <https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-practitionerrole|0.1.0> ], [ fhir:value "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-practitioner|0.1.0" ; fhir:index 1 ; fhir:link <https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-practitioner|0.1.0> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Request.requester" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.author" ] ], [ fhir:index 2 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=AUT].role" ] ] ], [ fhir:index 28 ; fhir:Element.id [ fhir:value "MedicationRequest.performer" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.performer" ] ; fhir:ElementDefinition.short [ fhir:value "Intended performer of administration" ] ; fhir:ElementDefinition.definition [ fhir:value "The specified desired performer of the medication treatment (e.g. the performer of the medication administration)." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.performer" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Practitioner|4.0.1> ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/PractitionerRole|4.0.1" ; fhir:index 1 ; fhir:link <http://hl7.org/fhir/StructureDefinition/PractitionerRole|4.0.1> ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Organization|4.0.1" ; fhir:index 2 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Organization|4.0.1> ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Patient|4.0.1" ; fhir:index 3 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Patient|4.0.1> ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Device|4.0.1" ; fhir:index 4 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Device|4.0.1> ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/RelatedPerson|4.0.1" ; fhir:index 5 ; fhir:link <http://hl7.org/fhir/StructureDefinition/RelatedPerson|4.0.1> ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/CareTeam|4.0.1" ; fhir:index 6 ; fhir:link <http://hl7.org/fhir/StructureDefinition/CareTeam|4.0.1> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Request.performer" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.actor" ] ], [ fhir:index 2 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]" ] ] ], [ fhir:index 29 ; fhir:Element.id [ fhir:value "MedicationRequest.performerType" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.performerType" ] ; fhir:ElementDefinition.short [ fhir:value "Desired kind of performer of the medication administration" ] ; fhir:ElementDefinition.definition [ fhir:value "Indicates the type of performer of the administration of the medication." ] ; fhir:ElementDefinition.comment [ fhir:value "If specified without indicating a performer, this indicates that the performer must be of the specified type. If specified with a performer then it indicates the requirements of the performer if the designated performer is not available." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.performerType" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "MedicationRequestPerformerType" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Identifies the type of individual that is desired to administer the medication." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/performer-role|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/performer-role|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Request.performerType" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=PRF].role[scoper.determinerCode=KIND].code" ] ] ], [ fhir:index 30 ; fhir:Element.id [ fhir:value "MedicationRequest.recorder" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.recorder" ] ; fhir:ElementDefinition.short [ fhir:value "Person who entered the request" ] ; fhir:ElementDefinition.definition [ fhir:value "The person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.recorder" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Practitioner|4.0.1> ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/PractitionerRole|4.0.1" ; fhir:index 1 ; fhir:link <http://hl7.org/fhir/StructureDefinition/PractitionerRole|4.0.1> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.who" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=TRANS].role[classCode=ASSIGNED].code (HealthcareProviderType)" ] ] ], [ fhir:index 31 ; fhir:Element.id [ fhir:value "MedicationRequest.reasonCode" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.reasonCode" ] ; fhir:ElementDefinition.short [ fhir:value "Reason or indication for this prescription" ] ; fhir:ElementDefinition.definition [ fhir:value "The reason or the indication for ordering or not ordering the medication." ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.5.4.1 Indication (coded, Optional) and 3.5.4.2 (free text, in reasonCode.text)." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.reasonCode" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "purpose" ] ; fhir:Extension.valueCode [ fhir:value "candidate" ] ], [ fhir:index 1 ; fhir:Extension.url [ fhir:value "valueSet" ] ; fhir:Extension.valueCanonical [ fhir:value "http://terminology.ehdsi.eu/ValueSet/eHDSIIllnessandDisorder" ; fhir:link <http://terminology.ehdsi.eu/ValueSet/eHDSIIllnessandDisorder> ] ], [ fhir:index 2 ; fhir:Extension.url [ fhir:value "documentation" ] ; fhir:Extension.valueMarkdown [ fhir:value "MyHealth@EU crossborder value set for diagnoses. Based on WHO ICD 10." ] ] ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/additional-binding" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "A coded concept indicating why the medication was ordered." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/condition-code|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/condition-code|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Request.reasonCode" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Message/Body/NewRx/MedicationPrescribed/Diagnosis/Primary/Value" ] ], [ fhir:index 2 ; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.why[x]" ] ], [ fhir:index 3 ; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "ORC-16-Order Control Code Reason /RXE-27-Give Indication/RXO-20-Indication / RXD-21-Indication / RXG-22-Indication / RXA-19-Indication" ] ], [ fhir:index 4 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "reason.observation.reasonCode" ] ] ], [ fhir:index 32 ; fhir:Element.id [ fhir:value "MedicationRequest.reasonReference" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.reasonReference" ] ; fhir:ElementDefinition.short [ fhir:value "Condition or observation that supports this prescription" ] ; fhir:ElementDefinition.definition [ fhir:value "Condition or observation that supports why the medication was ordered." ] ; fhir:ElementDefinition.comment [ fhir:value "This is a reference to a condition or observation that is the reason for the medication order. If only a code exists, use reasonCode." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.reasonReference" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Condition|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Condition|4.0.1> ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Observation|4.0.1" ; fhir:index 1 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Observation|4.0.1> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Request.reasonReference" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "no mapping" ] ], [ fhir:index 2 ; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.why[x]" ] ], [ fhir:index 3 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "reason.observation[code=ASSERTION].value" ] ] ], [ fhir:index 33 ; fhir:Element.id [ fhir:value "MedicationRequest.instantiatesCanonical" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.instantiatesCanonical" ] ; fhir:ElementDefinition.short [ fhir:value "Instantiates FHIR protocol or definition" ] ; fhir:ElementDefinition.definition [ fhir:value "The URL pointing to a protocol, guideline, orderset, or other definition that is adhered to in whole or in part by this MedicationRequest." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.instantiatesCanonical" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "canonical" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Request.instantiates" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=DEFN].target" ] ] ], [ fhir:index 34 ; fhir:Element.id [ fhir:value "MedicationRequest.instantiatesUri" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.instantiatesUri" ] ; fhir:ElementDefinition.short [ fhir:value "Instantiates external protocol or definition" ] ; fhir:ElementDefinition.definition [ fhir:value "The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this MedicationRequest." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.instantiatesUri" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "uri" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=DEFN].target" ] ] ], [ fhir:index 35 ; fhir:Element.id [ fhir:value "MedicationRequest.basedOn" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.basedOn" ] ; fhir:ElementDefinition.short [ fhir:value "What request fulfills" ] ; fhir:ElementDefinition.definition [ fhir:value "A plan or request that is fulfilled in whole or in part by this medication request." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.basedOn" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/CarePlan|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/CarePlan|4.0.1> ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/MedicationRequest|4.0.1" ; fhir:index 1 ; fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationRequest|4.0.1> ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/ServiceRequest|4.0.1" ; fhir:index 2 ; fhir:link <http://hl7.org/fhir/StructureDefinition/ServiceRequest|4.0.1> ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation|4.0.1" ; fhir:index 3 ; fhir:link <http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation|4.0.1> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Request.basedOn" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=FLFS].target[classCode=SBADM or PROC or PCPR or OBS, moodCode=RQO orPLAN or PRP]" ] ] ], [ fhir:index 36 ; fhir:Element.id [ fhir:value "MedicationRequest.groupIdentifier" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.groupIdentifier" ] ; fhir:ElementDefinition.short [ fhir:value "Prescription this is part of. Not needed if a presciption includes only one prescribed item." ] ; fhir:ElementDefinition.definition [ fhir:value "A shared identifier common to all requests that were authorized more or less simultaneously by a single author, representing the identifier of the requisition or prescription." ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.1 Electronic prescription (group) identifier (Mandatory 1..*): the NePS identifier used throughout the prescription and dispensation life cycle. Required when the prescription has more than one item (Bundle invariant ie-bnd-rx-1)." ] ; fhir:ElementDefinition.requirements [ fhir:value "Requests are linked either by a \"basedOn\" relationship (i.e. one request is fulfilling another) or by having a common requisition. Requests that are part of the same requisition are generally treated independently from the perspective of changing their state or maintaining them after initial creation." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.groupIdentifier" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Identifier" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Request.groupIdentifier" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship(typeCode=COMP].target[classCode=SBADM, moodCode=INT].id" ] ] ], [ fhir:index 37 ; fhir:Element.id [ fhir:value "MedicationRequest.courseOfTherapyType" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.courseOfTherapyType" ] ; fhir:ElementDefinition.short [ fhir:value "Overall pattern of medication administration" ] ; fhir:ElementDefinition.definition [ fhir:value "The description of the overall patte3rn of the administration of the medication to the patient." ] ; fhir:ElementDefinition.comment [ fhir:value "Acute or continuous (repeat) prescribing. Not a HIQA element; supports EP 3.5.11." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.courseOfTherapyType" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "MedicationRequestCourseOfTherapy" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Identifies the overall pattern of medication administratio." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/medicationrequest-course-of-therapy|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/medicationrequest-course-of-therapy|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Act.code where classCode = LIST and moodCode = EVN" ] ] ], [ fhir:index 38 ; fhir:Element.id [ fhir:value "MedicationRequest.insurance" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.insurance" ] ; fhir:ElementDefinition.short [ fhir:value "Associated insurance coverage" ] ; fhir:ElementDefinition.definition [ fhir:value "Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be required for delivering the requested service." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.insurance" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Coverage|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Coverage|4.0.1> ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/ClaimResponse|4.0.1" ; fhir:index 1 ; fhir:link <http://hl7.org/fhir/StructureDefinition/ClaimResponse|4.0.1> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Request.insurance" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=COVBY].target" ] ] ], [ fhir:index 39 ; fhir:Element.id [ fhir:value "MedicationRequest.note" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.note" ] ; fhir:ElementDefinition.short [ fhir:value "Information about the prescription" ] ; fhir:ElementDefinition.definition [ fhir:value "Extra information about the prescription that could not be conveyed by the other attributes." ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.6.1 Note (Optional) and 1.6.5 Additional clinical notes (Optional): for the patient or the pharmacist." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.note" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Annotation" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Request.note" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Message/Body/NewRx/MedicationPrescribed/Note" ] ], [ fhir:index 2 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".inboundRelationship[typeCode=SUBJ]/source[classCode=OBS,moodCode=EVN,code=\"annotation\"].value" ] ] ], [ fhir:index 40 ; fhir:Element.id [ fhir:value "MedicationRequest.note.id" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.note.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 41 ; fhir:Element.id [ fhir:value "MedicationRequest.note.extension" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.note.extension" ] ; fhir:ElementDefinition.slicing [ fhir:ElementDefinition.slicing.discriminator [ fhir:index 0 ; fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "value" ] ; fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "url" ] ] ; fhir:ElementDefinition.slicing.description [ fhir:value "Extensions are always sliced by (at least) url" ] ; fhir:ElementDefinition.slicing.rules [ fhir:value "open" ] ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 42 ; fhir:Element.id [ fhir:value "MedicationRequest.note.author[x]" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.note.author[x]" ] ; fhir:ElementDefinition.short [ fhir:value "Individual responsible for the annotation" ] ; fhir:ElementDefinition.definition [ fhir:value "The individual responsible for making the annotation." ] ; fhir:ElementDefinition.comment [ fhir:value "Organization is used when there's no need for specific attribution as to who made the comment." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Annotation.author[x]" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Practitioner|4.0.1> ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Patient|4.0.1" ; fhir:index 1 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Patient|4.0.1> ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/RelatedPerson|4.0.1" ; fhir:index 2 ; fhir:link <http://hl7.org/fhir/StructureDefinition/RelatedPerson|4.0.1> ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Organization|4.0.1" ; fhir:index 3 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Organization|4.0.1> ] ], [ fhir:index 1 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Act.participant[typeCode=AUT].role" ] ] ], [ fhir:index 43 ; fhir:Element.id [ fhir:value "MedicationRequest.note.time" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.note.time" ] ; fhir:ElementDefinition.short [ fhir:value "When the annotation was made" ] ; fhir:ElementDefinition.definition [ fhir:value "Indicates when this particular annotation was made." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Annotation.time" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "dateTime" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Act.effectiveTime" ] ] ], [ fhir:index 44 ; fhir:Element.id [ fhir:value "MedicationRequest.note.text" ] ; fhir:Element.extension [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "code" ] ; fhir:Extension.valueCode [ fhir:value "SHOULD:able-to-populate" ] ], [ fhir:index 1 ; fhir:Extension.url [ fhir:value "actor" ] ; fhir:Extension.valueCanonical [ fhir:value "https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0" ; fhir:link <https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0> ] ], [ fhir:index 2 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ; fhir:Extension.valueCanonical [ fhir:value "http://hl7.eu/fhir/mpd/StructureDefinition/MedicationRequest-eu-mpd|1.0.0" ; fhir:link <http://hl7.eu/fhir/mpd/StructureDefinition/MedicationRequest-eu-mpd|1.0.0> ] ] ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ] ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.note.text" ] ; fhir:ElementDefinition.short [ fhir:value "The annotation - text content (as markdown)" ] ; fhir:ElementDefinition.definition [ fhir:value "The text of the annotation in markdown format." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Annotation.text" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "markdown" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Act.text" ] ] ], [ fhir:index 45 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction" ] ; fhir:Element.extension [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "code" ] ; fhir:Extension.valueCode [ fhir:value "SHALL:able-to-populate" ] ], [ fhir:index 1 ; fhir:Extension.url [ fhir:value "actor" ] ; fhir:Extension.valueCanonical [ fhir:value "https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0" ; fhir:link <https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0> ] ], [ fhir:index 2 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ; fhir:Extension.valueCanonical [ fhir:value "http://hl7.eu/fhir/mpd/StructureDefinition/MedicationRequest-eu-mpd|1.0.0" ; fhir:link <http://hl7.eu/fhir/mpd/StructureDefinition/MedicationRequest-eu-mpd|1.0.0> ] ] ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ] ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction" ] ; fhir:ElementDefinition.short [ fhir:value "How the medication should be taken." ] ; fhir:ElementDefinition.definition [ fhir:value "Indicates how the medication is to be used by the patient." ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.5.8 Dosage instructions (Mandatory 1..1) and Section 5 Dosaging." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.dosageInstruction" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Dosage" ] ; fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.eu/fhir/mpd/StructureDefinition/Dosage-eu-mpd|1.0.0" ; fhir:index 0 ; fhir:link <http://hl7.eu/fhir/mpd/StructureDefinition/Dosage-eu-mpd|1.0.0> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ie-rx-dosage-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "A structured dosage SHALL be accompanied by a human-readable dosage text (safety fallback; HIQA EP 5.1 / 5.2)" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(timing.exists() or doseAndRate.exists()) implies text.exists()" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medicationrequest-eprescription|0.1.0" ; fhir:link <https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medicationrequest-eprescription|0.1.0> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Request.occurrence[x]" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "see dosageInstruction mapping" ] ] ], [ fhir:index 46 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.id" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 47 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.extension" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.extension" ] ; fhir:ElementDefinition.slicing [ fhir:ElementDefinition.slicing.discriminator [ fhir:index 0 ; fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "value" ] ; fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "url" ] ] ; fhir:ElementDefinition.slicing.description [ fhir:value "Extensions are always sliced by (at least) url" ] ; fhir:ElementDefinition.slicing.rules [ fhir:value "open" ] ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 48 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. 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:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ], [ fhir:value "modifiers" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 49 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.sequence" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.sequence" ] ; fhir:ElementDefinition.short [ fhir:value "The order of the dosage instructions" ] ; fhir:ElementDefinition.definition [ fhir:value "Indicates the order in which the dosage instructions should be applied or interpreted." ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 5.2.1 Sequence (Optional)." ] ; fhir:ElementDefinition.requirements [ fhir:value "EHDSDosage" ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Dosage.sequence" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "integer" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "TQ1-1" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".text" ] ] ], [ fhir:index 50 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.text" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.text" ] ; fhir:ElementDefinition.short [ fhir:value "Free text dosage instructions" ] ; fhir:ElementDefinition.definition [ fhir:value "Free text dosage instructions e.g. SIG." ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 5.1 Rendered dosage instruction (Optional). IE Medication Events requires it (stricter than HIQA, IE Core OI-012) as a human-readable safety fallback for the structured dosage." ] ; fhir:ElementDefinition.requirements [ fhir:value "Free text dosage instructions can be used for cases where the instructions are too complex to code. The content of this attribute does not include the name or description of the medication. When coded instructions are present, the free text instructions may still be present for display to humans taking or administering the medication. It is expected that the text instructions will always be populated. If the dosage.timing attribute is also populated, then the dosage.text should reflect the same information as the timing. Additional information about administration or preparation of the medication should be included as text." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Dosage.text" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "RXO-6; RXE-21" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".text" ] ] ], [ fhir:index 51 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.additionalInstruction" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.additionalInstruction" ] ; fhir:ElementDefinition.short [ fhir:value "Supplemental instruction or warnings to the patient - e.g. \"with meals\", \"may cause drowsiness\"" ] ; fhir:ElementDefinition.definition [ fhir:value "Supplemental instructions to the patient on how to take the medication (e.g. \"with meals\" or\"take half to one hour before food\") or warnings for the patient about the medication (e.g. \"may cause drowsiness\" or \"avoid exposure of skin to direct sunlight or sunlamps\")." ] ; fhir:ElementDefinition.comment [ fhir:value "Additional instructions (e.g. 'with food'); complements HIQA EP 5.2.2." ] ; fhir:ElementDefinition.requirements [ fhir:value "Additional instruction is intended to be coded, but where no code exists, the element could include text. For example, \"Swallow with plenty of water\" which might or might not be coded." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Dosage.additionalInstruction" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "AdditionalInstruction" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "A coded concept identifying additional instructions such as \"take with water\" or \"avoid operating heavy machinery\"." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/additional-instruction-codes|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/additional-instruction-codes|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "RXO-7" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".text" ] ] ], [ fhir:index 52 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.patientInstruction" ] ; fhir:Element.extension [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "code" ] ; fhir:Extension.valueCode [ fhir:value "SHOULD:able-to-populate" ] ], [ fhir:index 1 ; fhir:Extension.url [ fhir:value "actor" ] ; fhir:Extension.valueCanonical [ fhir:value "https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0" ; fhir:link <https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0> ] ], [ fhir:index 2 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ; fhir:Extension.valueCanonical [ fhir:value "http://hl7.eu/fhir/mpd/StructureDefinition/Dosage-eu-mpd|1.0.0" ; fhir:link <http://hl7.eu/fhir/mpd/StructureDefinition/Dosage-eu-mpd|1.0.0> ] ] ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ] ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.patientInstruction" ] ; fhir:ElementDefinition.short [ fhir:value "Patient or consumer oriented instructions" ] ; fhir:ElementDefinition.definition [ fhir:value "Instructions in terms that are understood by the patient or consumer." ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 5.2.2 Note for patient (Required)." ] ; fhir:ElementDefinition.requirements [ fhir:value "EHDSDosage" ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Dosage.patientInstruction" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "RXO-7" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".text" ] ] ], [ fhir:index 53 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.timing" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.timing" ] ; fhir:ElementDefinition.short [ fhir:value "Administration schedule" ] ; fhir:ElementDefinition.definition [ fhir:value "When medication should be administered." ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 5.2.4 Repeat administration (Required): bounds (5.2.4.1), duration (5.2.4.2), frequency and period (5.2.4.3), day of week (5.2.4.4), time of day (5.2.4.5), event (5.2.4.6)." ] ; fhir:ElementDefinition.requirements [ fhir:value "The timing schedule for giving the medication to the patient. This data type allows many different expressions. For example: \"Every 8 hours\"; \"Three times a day\"; \"1/2 an hour before breakfast for 10 days from 23-Dec 2011:\"; \"15 Oct 2013, 17 Oct 2013 and 1 Nov 2013\". Sometimes, a rate can imply duration when expressed as total volume / duration (e.g. 500mL/2 hours implies a duration of 2 hours). However, when rate doesn't imply duration (e.g. 250mL/hour), then the timing.repeat.duration is needed to convey the infuse over time period." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Dosage.timing" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Timing" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".effectiveTime" ] ] ], [ fhir:index 54 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.timing.id" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.timing.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 55 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.timing.extension" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.timing.extension" ] ; fhir:ElementDefinition.slicing [ fhir:ElementDefinition.slicing.discriminator [ fhir:index 0 ; fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "value" ] ; fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "url" ] ] ; fhir:ElementDefinition.slicing.description [ fhir:value "Extensions are always sliced by (at least) url" ] ; fhir:ElementDefinition.slicing.rules [ fhir:value "open" ] ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 56 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.timing.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.timing.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. 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:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ], [ fhir:value "modifiers" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 57 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.timing.event" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.timing.event" ] ; fhir:ElementDefinition.short [ fhir:value "When the event occurs" ] ; fhir:ElementDefinition.definition [ fhir:value "Identifies specific times when the event occurs." ] ; fhir:ElementDefinition.requirements [ fhir:value "In a Medication Administration Record, for instance, you need to take a general specification, and turn it into a precise specification." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Timing.event" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "dateTime" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "QLIST<TS>" ] ] ], [ fhir:index 58 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat" ] ; fhir:Element.extension [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "code" ] ; fhir:Extension.valueCode [ fhir:value "SHALL:able-to-populate" ] ], [ fhir:index 1 ; fhir:Extension.url [ fhir:value "actor" ] ; fhir:Extension.valueCanonical [ fhir:value "https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0" ; fhir:link <https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0> ] ], [ fhir:index 2 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ; fhir:Extension.valueCanonical [ fhir:value "http://hl7.eu/fhir/mpd/StructureDefinition/Dosage-eu-mpd|1.0.0" ; fhir:link <http://hl7.eu/fhir/mpd/StructureDefinition/Dosage-eu-mpd|1.0.0> ] ] ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ] ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat" ] ; fhir:ElementDefinition.short [ fhir:value "When the event is to occur" ] ; fhir:ElementDefinition.definition [ fhir:value "A set of rules that describe when the event is scheduled." ] ; fhir:ElementDefinition.requirements [ fhir:value "EHDSDosage" ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Timing.repeat" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Element" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "tim-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "if there's a duration, there needs to be duration units" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "duration.empty() or durationUnit.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:duration)) or exists(f:durationUnit)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Dosage|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Dosage|4.0.1> ] ], [ fhir:index 2 ; fhir:ElementDefinition.constraint.key [ fhir:value "tim-2" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "if there's a period, there needs to be period units" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "period.empty() or periodUnit.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:period)) or exists(f:periodUnit)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Dosage|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Dosage|4.0.1> ] ], [ fhir:index 3 ; fhir:ElementDefinition.constraint.key [ fhir:value "tim-4" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "duration SHALL be a non-negative value" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "duration.exists() implies duration >= 0" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "f:duration/@value >= 0 or not(f:duration/@value)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Dosage|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Dosage|4.0.1> ] ], [ fhir:index 4 ; fhir:ElementDefinition.constraint.key [ fhir:value "tim-5" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "period SHALL be a non-negative value" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "period.exists() implies period >= 0" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "f:period/@value >= 0 or not(f:period/@value)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Dosage|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Dosage|4.0.1> ] ], [ fhir:index 5 ; fhir:ElementDefinition.constraint.key [ fhir:value "tim-6" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "If there's a periodMax, there must be a period" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "periodMax.empty() or period.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:periodMax)) or exists(f:period)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Dosage|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Dosage|4.0.1> ] ], [ fhir:index 6 ; fhir:ElementDefinition.constraint.key [ fhir:value "tim-7" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "If there's a durationMax, there must be a duration" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "durationMax.empty() or duration.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:durationMax)) or exists(f:duration)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Dosage|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Dosage|4.0.1> ] ], [ fhir:index 7 ; fhir:ElementDefinition.constraint.key [ fhir:value "tim-8" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "If there's a countMax, there must be a count" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "countMax.empty() or count.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:countMax)) or exists(f:count)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Dosage|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Dosage|4.0.1> ] ], [ fhir:index 8 ; fhir:ElementDefinition.constraint.key [ fhir:value "tim-9" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "If there's an offset, there must be a when (and not C, CM, CD, CV)" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:offset)) or exists(f:when)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Dosage|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Dosage|4.0.1> ] ], [ fhir:index 9 ; fhir:ElementDefinition.constraint.key [ fhir:value "tim-10" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "If there's a timeOfDay, there cannot be a when, or vice versa" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "timeOfDay.empty() or when.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:timeOfDay)) or not(exists(f:when))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Dosage|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Dosage|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Implies PIVL or EIVL" ] ] ], [ fhir:index 59 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.id" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 60 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.extension" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.extension" ] ; fhir:ElementDefinition.slicing [ fhir:ElementDefinition.slicing.discriminator [ fhir:index 0 ; fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "value" ] ; fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "url" ] ] ; fhir:ElementDefinition.slicing.description [ fhir:value "Extensions are always sliced by (at least) url" ] ; fhir:ElementDefinition.slicing.rules [ fhir:value "open" ] ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 61 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]" ] ; fhir:Element.extension [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "code" ] ; fhir:Extension.valueCode [ fhir:value "SHALL:able-to-populate" ] ], [ fhir:index 1 ; fhir:Extension.url [ fhir:value "actor" ] ; fhir:Extension.valueCanonical [ fhir:value "https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0" ; fhir:link <https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0> ] ], [ fhir:index 2 ; fhir:Extension.url [ fhir:value "documentation" ] ; fhir:Extension.valueMarkdown [ fhir:value "System SHALL support at least Duration data type for the element" ] ], [ fhir:index 3 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ; fhir:Extension.valueCanonical [ fhir:value "http://hl7.eu/fhir/mpd/StructureDefinition/Dosage-eu-mpd|1.0.0" ; fhir:link <http://hl7.eu/fhir/mpd/StructureDefinition/Dosage-eu-mpd|1.0.0> ] ] ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ] ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]" ] ; fhir:ElementDefinition.short [ fhir:value "Length/Range of lengths, or (Start and/or end) limits" ] ; fhir:ElementDefinition.definition [ fhir:value "Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule." ] ; fhir:ElementDefinition.requirements [ fhir:value "EHDSDosage" ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Timing.repeat.bounds[x]" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Duration" ] ], [ fhir:index 1 ; fhir:ElementDefinition.type.code [ fhir:value "Range" ] ], [ fhir:index 2 ; fhir:ElementDefinition.type.code [ fhir:value "Period" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "IVL(TS) used in a QSI" ] ] ], [ fhir:index 62 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.count" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.count" ] ; fhir:ElementDefinition.short [ fhir:value "Number of times to repeat" ] ; fhir:ElementDefinition.definition [ fhir:value "A total count of the desired number of repetitions across the duration of the entire timing specification. If countMax is present, this element indicates the lower bound of the allowed range of count values." ] ; fhir:ElementDefinition.comment [ fhir:value "If you have both bounds and count, then this should be understood as within the bounds period, until count times happens." ] ; fhir:ElementDefinition.requirements [ fhir:value "Repetitions may be limited by end time or total occurrences." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Timing.repeat.count" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "positiveInt" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "PIVL.count" ] ] ], [ fhir:index 63 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.countMax" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.countMax" ] ; fhir:ElementDefinition.short [ fhir:value "Maximum number of times to repeat" ] ; fhir:ElementDefinition.definition [ fhir:value "If present, indicates that the count is a range - so to perform the action between [count] and [countMax] times." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Timing.repeat.countMax" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "positiveInt" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "PIVL.count" ] ] ], [ fhir:index 64 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.duration" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.duration" ] ; fhir:ElementDefinition.short [ fhir:value "Duration of the treatment" ] ; fhir:ElementDefinition.definition [ fhir:value "How long this thing happens for when it happens. If durationMax is present, this element indicates the lower bound of the allowed range of the duration." ] ; fhir:ElementDefinition.comment [ fhir:value "For some events the duration is part of the definition of the event (e.g. IV infusions, where the duration is implicit in the specified quantity and rate). For others, it's part of the timing specification (e.g. exercise)." ] ; fhir:ElementDefinition.requirements [ fhir:value "EHDSDosage" ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Timing.repeat.duration" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "decimal" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "PIVL.phase" ] ] ], [ fhir:index 65 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.durationMax" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.durationMax" ] ; fhir:ElementDefinition.short [ fhir:value "How long when it happens (Max)" ] ; fhir:ElementDefinition.definition [ fhir:value "If present, indicates that the duration is a range - so to perform the action between [duration] and [durationMax] time length." ] ; fhir:ElementDefinition.comment [ fhir:value "For some events the duration is part of the definition of the event (e.g. IV infusions, where the duration is implicit in the specified quantity and rate). For others, it's part of the timing specification (e.g. exercise)." ] ; fhir:ElementDefinition.requirements [ fhir:value "Some activities are not instantaneous and need to be maintained for a period of time." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Timing.repeat.durationMax" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "decimal" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "PIVL.phase" ] ] ], [ fhir:index 66 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.durationUnit" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.durationUnit" ] ; fhir:ElementDefinition.short [ fhir:value "s | min | h | d | wk | mo | a - unit of time (UCUM)" ] ; fhir:ElementDefinition.definition [ fhir:value "The units of time for the duration, in UCUM units." ] ; fhir:ElementDefinition.requirements [ fhir:value "EHDSDosage" ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Timing.repeat.durationUnit" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "code" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "UnitsOfTime" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "required" ] ; fhir:ElementDefinition.binding.description [ fhir:value "A unit of time (units from UCUM)." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/units-of-time|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/units-of-time|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "PIVL.phase.unit" ] ] ], [ fhir:index 67 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.frequency" ] ; fhir:Element.extension [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "code" ] ; fhir:Extension.valueCode [ fhir:value "SHALL:able-to-populate" ] ], [ fhir:index 1 ; fhir:Extension.url [ fhir:value "actor" ] ; fhir:Extension.valueCanonical [ fhir:value "https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0" ; fhir:link <https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0> ] ], [ fhir:index 2 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ; fhir:Extension.valueCanonical [ fhir:value "http://hl7.eu/fhir/mpd/StructureDefinition/Dosage-eu-mpd|1.0.0" ; fhir:link <http://hl7.eu/fhir/mpd/StructureDefinition/Dosage-eu-mpd|1.0.0> ] ] ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ] ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.frequency" ] ; fhir:ElementDefinition.short [ fhir:value "Frequency times per period" ] ; fhir:ElementDefinition.definition [ fhir:value "The number of times to repeat the action within the specified period. If frequencyMax is present, this element indicates the lower bound of the allowed range of the frequency." ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 5.2.4.3.1 Frequency of administration (Mandatory within the frequency cluster)." ] ; fhir:ElementDefinition.requirements [ fhir:value "EHDSDosage" ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Timing.repeat.frequency" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "positiveInt" ] ] ; fhir:ElementDefinition.meaningWhenMissing [ fhir:value "If no frequency is stated, the assumption is that the event occurs once per period, but systems SHOULD always be specific about this" ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "PIVL.phase" ] ] ], [ fhir:index 68 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.frequencyMax" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.frequencyMax" ] ; fhir:ElementDefinition.short [ fhir:value "Event occurs up to frequencyMax times per period" ] ; fhir:ElementDefinition.definition [ fhir:value "If present, indicates that the frequency is a range - so to repeat between [frequency] and [frequencyMax] times within the period or period range." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Timing.repeat.frequencyMax" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "positiveInt" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "PIVL.phase" ] ] ], [ fhir:index 69 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.period" ] ; fhir:Element.extension [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "code" ] ; fhir:Extension.valueCode [ fhir:value "SHALL:able-to-populate" ] ], [ fhir:index 1 ; fhir:Extension.url [ fhir:value "actor" ] ; fhir:Extension.valueCanonical [ fhir:value "https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0" ; fhir:link <https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0> ] ], [ fhir:index 2 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ; fhir:Extension.valueCanonical [ fhir:value "http://hl7.eu/fhir/mpd/StructureDefinition/Dosage-eu-mpd|1.0.0" ; fhir:link <http://hl7.eu/fhir/mpd/StructureDefinition/Dosage-eu-mpd|1.0.0> ] ] ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ] ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.period" ] ; fhir:ElementDefinition.short [ fhir:value "Duration of time over which repetitions are to occur" ] ; fhir:ElementDefinition.definition [ fhir:value "Indicates the duration of time over which repetitions are to occur; e.g. to express \"3 times per day\", 3 would be the frequency and \"1 day\" would be the period. If periodMax is present, this element indicates the lower bound of the allowed range of the period length." ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 5.2.4.3.2 Period (Mandatory within the frequency cluster), with periodUnit." ] ; fhir:ElementDefinition.requirements [ fhir:value "EHDSDosage" ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Timing.repeat.period" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "decimal" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "PIVL.phase" ] ] ], [ fhir:index 70 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.periodMax" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.periodMax" ] ; fhir:ElementDefinition.short [ fhir:value "Upper limit of period (3-4 hours)" ] ; fhir:ElementDefinition.definition [ fhir:value "If present, indicates that the period is a range from [period] to [periodMax], allowing expressing concepts such as \"do this once every 3-5 days." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Timing.repeat.periodMax" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "decimal" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "PIVL.phase" ] ] ], [ fhir:index 71 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.periodUnit" ] ; fhir:Element.extension [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "code" ] ; fhir:Extension.valueCode [ fhir:value "SHALL:able-to-populate" ] ], [ fhir:index 1 ; fhir:Extension.url [ fhir:value "actor" ] ; fhir:Extension.valueCanonical [ fhir:value "https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0" ; fhir:link <https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0> ] ], [ fhir:index 2 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ; fhir:Extension.valueCanonical [ fhir:value "http://hl7.eu/fhir/mpd/StructureDefinition/Dosage-eu-mpd|1.0.0" ; fhir:link <http://hl7.eu/fhir/mpd/StructureDefinition/Dosage-eu-mpd|1.0.0> ] ] ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ] ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.periodUnit" ] ; fhir:ElementDefinition.short [ fhir:value "Unit of the period (e.g. day)" ] ; fhir:ElementDefinition.definition [ fhir:value "The units of time for the period in UCUM units." ] ; fhir:ElementDefinition.requirements [ fhir:value "EHDSDosage" ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Timing.repeat.periodUnit" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "code" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "UnitsOfTime" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "required" ] ; fhir:ElementDefinition.binding.description [ fhir:value "A unit of time (units from UCUM)." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/units-of-time|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/units-of-time|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "PIVL.phase.unit" ] ] ], [ fhir:index 72 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.dayOfWeek" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.dayOfWeek" ] ; fhir:ElementDefinition.short [ fhir:value "mon | tue | wed | thu | fri | sat | sun" ] ; fhir:ElementDefinition.definition [ fhir:value "If one or more days of week is provided, then the action happens only on the specified day(s)." ] ; fhir:ElementDefinition.comment [ fhir:value "If no days are specified, the action is assumed to happen every day as otherwise specified. The elements frequency and period cannot be used as well as dayOfWeek." ] ; fhir:ElementDefinition.requirements [ fhir:value "EHDSDosage" ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Timing.repeat.dayOfWeek" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "code" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "DayOfWeek" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "required" ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/days-of-week|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/days-of-week|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 73 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.timeOfDay" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.timeOfDay" ] ; fhir:ElementDefinition.short [ fhir:value "Time of day for action" ] ; fhir:ElementDefinition.definition [ fhir:value "Specified time of day for action to take place." ] ; fhir:ElementDefinition.comment [ fhir:value "When time of day is specified, it is inferred that the action happens every day (as filtered by dayofWeek) on the specified times. The elements when, frequency and period cannot be used as well as timeOfDay." ] ; fhir:ElementDefinition.requirements [ fhir:value "EHDSDosage" ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Timing.repeat.timeOfDay" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "time" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 74 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.when" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.when" ] ; fhir:ElementDefinition.short [ fhir:value "Code for time period of occurrence" ] ; fhir:ElementDefinition.definition [ fhir:value "An approximate time period during the day, potentially linked to an event of daily living that indicates when the action should occur." ] ; fhir:ElementDefinition.comment [ fhir:value "When more than one event is listed, the event is tied to the union of the specified events." ] ; fhir:ElementDefinition.requirements [ fhir:value "EHDSDosage" ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Timing.repeat.when" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "code" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "EventTiming" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "required" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Real world event relating to the schedule." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/event-timing|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/event-timing|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "EIVL.event" ] ] ], [ fhir:index 75 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.offset" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.offset" ] ; fhir:ElementDefinition.short [ fhir:value "Minutes from event (before or after)" ] ; fhir:ElementDefinition.definition [ fhir:value "The number of minutes from the event. If the event code does not indicate whether the minutes is before or after the event, then the offset is assumed to be after the event." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Timing.repeat.offset" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "unsignedInt" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "EIVL.offset" ] ] ], [ fhir:index 76 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.timing.code" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.timing.code" ] ; fhir:ElementDefinition.short [ fhir:value "A code for the timing schedule." ] ; fhir:ElementDefinition.definition [ fhir:value "A code for the timing schedule (or just text in code.text). Some codes such as BID are ubiquitous, but many institutions define their own additional codes. If a code is provided, the code is understood to be a complete statement of whatever is specified in the structured timing data, and either the code or the data may be used to interpret the Timing, with the exception that .repeat.bounds still applies over the code (and is not contained in the code)." ] ; fhir:ElementDefinition.comment [ fhir:value "BID etc. are defined as 'at institutionally specified times'. For example, an institution may choose that BID is \"always at 7am and 6pm\". If it is inappropriate for this choice to be made, the code BID should not be used. Instead, a distinct organization-specific code should be used in place of the HL7-defined BID code and/or a structured representation should be used (in this case, specifying the two event times)." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Timing.code" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "TimingAbbreviation" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Code for a known / defined timing pattern." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/timing-abbreviation|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/timing-abbreviation|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "QSC.code" ] ] ], [ fhir:index 77 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.asNeeded[x]" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.asNeeded[x]" ] ; fhir:ElementDefinition.slicing [ fhir:ElementDefinition.slicing.discriminator [ fhir:index 0 ; fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "type" ] ; fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "$this" ] ] ; fhir:ElementDefinition.slicing.ordered [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.slicing.rules [ fhir:value "closed" ] ] ; fhir:ElementDefinition.short [ fhir:value "Take \"as needed\" (for x)" ] ; fhir:ElementDefinition.definition [ fhir:value "Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept)." ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 5.2.5 Administer as needed (Optional)." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Dosage.asNeeded[x]" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ], [ fhir:index 1 ; fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "MedicationAsNeededReason" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example \"pain\", \"30 minutes prior to sexual intercourse\", \"on flare-up\" etc." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/medication-as-needed-reason|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/medication-as-needed-reason|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "TQ1-9" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=PRCN].target[classCode=OBS, moodCode=EVN, code=\"as needed\"].value=boolean or codable concept" ] ] ], [ fhir:index 78 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.asNeeded[x]:asNeededBoolean" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.asNeeded[x]" ] ; fhir:ElementDefinition.sliceName [ fhir:value "asNeededBoolean" ] ; fhir:ElementDefinition.short [ fhir:value "Take \"as needed\" (for x)" ] ; fhir:ElementDefinition.definition [ fhir:value "Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept)." ] ; fhir:ElementDefinition.comment [ fhir:value "Can express \"as needed\" without a reason by setting the Boolean = True. In this case the CodeableConcept is not populated. Or you can express \"as needed\" with a reason by including the CodeableConcept. In this case the Boolean is assumed to be True. If you set the Boolean to False, then the dose is given according to the schedule and is not \"prn\" or \"as needed\"." ] ; fhir:ElementDefinition.requirements [ fhir:value "EHDSDosage" ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Dosage.asNeeded[x]" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "TQ1-9" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=PRCN].target[classCode=OBS, moodCode=EVN, code=\"as needed\"].value=boolean or codable concept" ] ] ], [ fhir:index 79 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.site" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.site" ] ; fhir:ElementDefinition.short [ fhir:value "Body site to administer to" ] ; fhir:ElementDefinition.definition [ fhir:value "Body site to administer to." ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 5.2.6 Body site (Optional): morphology, location, qualifier and laterality post-coordinated in SNOMED CT, or described in site.text (5.2.6.5)." ] ; fhir:ElementDefinition.requirements [ fhir:value "EHDSDosage" ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Dosage.site" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "MedicationAdministrationSite" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "A coded concept describing the site location the medicine enters into or onto the body." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/approach-site-codes|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/approach-site-codes|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "RXR-2" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".approachSiteCode" ] ] ], [ fhir:index 80 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.route" ] ; fhir:Element.extension [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "code" ] ; fhir:Extension.valueCode [ fhir:value "SHOULD:able-to-populate" ] ], [ fhir:index 1 ; fhir:Extension.url [ fhir:value "actor" ] ; fhir:Extension.valueCanonical [ fhir:value "https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0" ; fhir:link <https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0> ] ], [ fhir:index 2 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ; fhir:Extension.valueCanonical [ fhir:value "http://hl7.eu/fhir/mpd/StructureDefinition/Dosage-eu-mpd|1.0.0" ; fhir:link <http://hl7.eu/fhir/mpd/StructureDefinition/Dosage-eu-mpd|1.0.0> ] ] ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ] ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.route" ] ; fhir:ElementDefinition.short [ fhir:value "Route of administration" ] ; fhir:ElementDefinition.definition [ fhir:value "How drug should enter body." ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 5.2.7 Route of administration (Required); EDQM Standard Terms preferred." ] ; fhir:ElementDefinition.requirements [ fhir:value "EHDSDosage" ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Dosage.route" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "RouteOfAdministration" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/route-codes|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/route-codes|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "RXR-1" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".routeCode" ] ] ], [ fhir:index 81 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.method" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.method" ] ; fhir:ElementDefinition.short [ fhir:value "Technique for administering medication" ] ; fhir:ElementDefinition.definition [ fhir:value "Technique for administering medication." ] ; fhir:ElementDefinition.comment [ fhir:value "Terminologies used often pre-coordinate this term with the route and or form of administration." ] ; fhir:ElementDefinition.requirements [ fhir:value "A coded value indicating the method by which the medication is introduced into or onto the body. Most commonly used for injections. For examples, Slow Push; Deep IV." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Dosage.method" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "MedicationAdministrationMethod" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "A coded concept describing the technique by which the medicine is administered." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/administration-method-codes|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/administration-method-codes|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "RXR-4" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".doseQuantity" ] ] ], [ fhir:index 82 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.doseAndRate" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.doseAndRate" ] ; fhir:ElementDefinition.short [ fhir:value "Amount of medication administered" ] ; fhir:ElementDefinition.definition [ fhir:value "The amount of medication administered." ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 5.2.3 Dose and rate (Required): dose quantity or range (5.2.3.1), rate (5.2.3.2)." ] ; fhir:ElementDefinition.requirements [ fhir:value "EHDSDosage" ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Dosage.doseAndRate" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Element" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "TQ1-2" ] ] ], [ fhir:index 83 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.doseAndRate.id" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.doseAndRate.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 84 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.doseAndRate.extension" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.doseAndRate.extension" ] ; fhir:ElementDefinition.slicing [ fhir:ElementDefinition.slicing.discriminator [ fhir:index 0 ; fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "value" ] ; fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "url" ] ] ; fhir:ElementDefinition.slicing.description [ fhir:value "Extensions are always sliced by (at least) url" ] ; fhir:ElementDefinition.slicing.rules [ fhir:value "open" ] ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 85 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.doseAndRate.type" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.doseAndRate.type" ] ; fhir:ElementDefinition.short [ fhir:value "The kind of dose or rate specified" ] ; fhir:ElementDefinition.definition [ fhir:value "The kind of dose or rate specified, for example, ordered or calculated." ] ; fhir:ElementDefinition.requirements [ fhir:value "If the type is not populated, assume to be \"ordered\"." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Dosage.doseAndRate.type" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "DoseAndRateType" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "The kind of dose or rate specified." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/dose-rate-type|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/dose-rate-type|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "RXO-21; RXE-23" ] ] ], [ fhir:index 86 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.doseAndRate.dose[x]" ] ; fhir:Element.extension [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "code" ] ; fhir:Extension.valueCode [ fhir:value "SHALL:able-to-populate" ] ], [ fhir:index 1 ; fhir:Extension.url [ fhir:value "actor" ] ; fhir:Extension.valueCanonical [ fhir:value "https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0" ; fhir:link <https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0> ] ], [ fhir:index 2 ; fhir:Extension.url [ fhir:value "documentation" ] ; fhir:Extension.valueMarkdown [ fhir:value "System SHALL support at least Quantity data type for the element" ] ], [ fhir:index 3 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ; fhir:Extension.valueCanonical [ fhir:value "http://hl7.eu/fhir/mpd/StructureDefinition/Dosage-eu-mpd|1.0.0" ; fhir:link <http://hl7.eu/fhir/mpd/StructureDefinition/Dosage-eu-mpd|1.0.0> ] ] ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ] ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.doseAndRate.dose[x]" ] ; fhir:ElementDefinition.slicing [ fhir:ElementDefinition.slicing.discriminator [ fhir:index 0 ; fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "type" ] ; fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "$this" ] ] ; fhir:ElementDefinition.slicing.ordered [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.slicing.rules [ fhir:value "closed" ] ] ; fhir:ElementDefinition.short [ fhir:value "Amount of medication per dose" ] ; fhir:ElementDefinition.definition [ fhir:value "Amount of medication per dose." ] ; fhir:ElementDefinition.comment [ fhir:value "Note that this specifies the quantity of the specified medication, not the quantity for each active ingredient(s). Each ingredient amount can be communicated in the Medication resource. For example, if one wants to communicate that a tablet was 375 mg, where the dose was one tablet, you can use the Medication resource to document that the tablet was comprised of 375 mg of drug XYZ. Alternatively if the dose was 375 mg, then you may only need to use the Medication resource to indicate this was a tablet. If the example were an IV such as dopamine and you wanted to communicate that 400mg of dopamine was mixed in 500 ml of some IV solution, then this would all be communicated in the Medication resource. If the administration is not intended to be instantaneous (rate is present or timing has a duration), this can be specified to convey the total amount to be administered over the period of time as indicated by the schedule e.g. 500 ml in dose, with timing used to convey that this should be done over 4 hours." ] ; fhir:ElementDefinition.requirements [ fhir:value "EHDSDosage" ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Dosage.doseAndRate.dose[x]" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Range" ] ], [ fhir:index 1 ; fhir:ElementDefinition.type.code [ fhir:value "Quantity" ] ; fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "RXO-2, RXE-3" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".doseQuantity" ] ] ], [ fhir:index 87 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantity" ] ; fhir:Element.extension [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "code" ] ; fhir:Extension.valueCode [ fhir:value "SHALL:able-to-populate" ] ], [ fhir:index 1 ; fhir:Extension.url [ fhir:value "actor" ] ; fhir:Extension.valueCanonical [ fhir:value "https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0" ; fhir:link <https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0> ] ], [ fhir:index 2 ; fhir:Extension.url [ fhir:value "documentation" ] ; fhir:Extension.valueMarkdown [ fhir:value "System SHALL support at least Quantity data type for the element" ] ], [ fhir:index 3 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ; fhir:Extension.valueCanonical [ fhir:value "http://hl7.eu/fhir/mpd/StructureDefinition/Dosage-eu-mpd|1.0.0" ; fhir:link <http://hl7.eu/fhir/mpd/StructureDefinition/Dosage-eu-mpd|1.0.0> ] ] ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ] ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.doseAndRate.dose[x]" ] ; fhir:ElementDefinition.sliceName [ fhir:value "doseQuantity" ] ; fhir:ElementDefinition.short [ fhir:value "Amount of medication per dose" ] ; fhir:ElementDefinition.definition [ fhir:value "Amount of medication per dose." ] ; fhir:ElementDefinition.comment [ fhir:value "Note that this specifies the quantity of the specified medication, not the quantity for each active ingredient(s). Each ingredient amount can be communicated in the Medication resource. For example, if one wants to communicate that a tablet was 375 mg, where the dose was one tablet, you can use the Medication resource to document that the tablet was comprised of 375 mg of drug XYZ. Alternatively if the dose was 375 mg, then you may only need to use the Medication resource to indicate this was a tablet. If the example were an IV such as dopamine and you wanted to communicate that 400mg of dopamine was mixed in 500 ml of some IV solution, then this would all be communicated in the Medication resource. If the administration is not intended to be instantaneous (rate is present or timing has a duration), this can be specified to convey the total amount to be administered over the period of time as indicated by the schedule e.g. 500 ml in dose, with timing used to convey that this should be done over 4 hours." ] ; fhir:ElementDefinition.requirements [ fhir:value "EHDSDosage" ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Dosage.doseAndRate.dose[x]" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Quantity" ] ; fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "RXO-2, RXE-3" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".doseQuantity" ] ] ], [ fhir:index 88 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.doseAndRate.rate[x]" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.doseAndRate.rate[x]" ] ; fhir:ElementDefinition.short [ fhir:value "Amount of medication per unit of time" ] ; fhir:ElementDefinition.definition [ fhir:value "Amount of medication per unit of time." ] ; fhir:ElementDefinition.comment [ fhir:value "It is possible to supply both a rate and a doseQuantity to provide full details about how the medication is to be administered and supplied. If the rate is intended to change over time, depending on local rules/regulations, each change should be captured as a new version of the MedicationRequest with an updated rate, or captured with a new MedicationRequest with the new rate.\r\rIt is possible to specify a rate over time (for example, 100 ml/hour) using either the rateRatio and rateQuantity. The rateQuantity approach requires systems to have the capability to parse UCUM grammer where ml/hour is included rather than a specific ratio where the time is specified as the denominator. Where a rate such as 500ml over 2 hours is specified, the use of rateRatio may be more semantically correct than specifying using a rateQuantity of 250 mg/hour." ] ; fhir:ElementDefinition.requirements [ fhir:value "EHDSDosage" ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Dosage.doseAndRate.rate[x]" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Ratio" ] ], [ fhir:index 1 ; fhir:ElementDefinition.type.code [ fhir:value "Range" ] ], [ fhir:index 2 ; fhir:ElementDefinition.type.code [ fhir:value "Quantity" ] ; fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "RXE22, RXE23, RXE-24" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".rateQuantity" ] ] ], [ fhir:index 89 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.maxDosePerPeriod" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.maxDosePerPeriod" ] ; fhir:ElementDefinition.short [ fhir:value "Upper limit on medication per unit of time" ] ; fhir:ElementDefinition.definition [ fhir:value "Upper limit on medication per unit of time." ] ; fhir:ElementDefinition.comment [ fhir:value "Maximum dose per period (not a distinct HIQA element; supports safe 'as needed' dosing)." ] ; fhir:ElementDefinition.requirements [ fhir:value "The maximum total quantity of a therapeutic substance that may be administered to a subject over the period of time. For example, 1000mg in 24 hours." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Dosage.maxDosePerPeriod" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Ratio" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "RXO-23, RXE-19" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".maxDoseQuantity" ] ] ], [ fhir:index 90 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.maxDosePerAdministration" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.maxDosePerAdministration" ] ; fhir:ElementDefinition.short [ fhir:value "Upper limit on medication per administration" ] ; fhir:ElementDefinition.definition [ fhir:value "Upper limit on medication per administration." ] ; fhir:ElementDefinition.comment [ fhir:value "This is intended for use as an adjunct to the dosage when there is an upper cap. For example, a body surface area related dose with a maximum amount, such as 1.5 mg/m2 (maximum 2 mg) IV over 5 – 10 minutes would have doseQuantity of 1.5 mg/m2 and maxDosePerAdministration of 2 mg." ] ; fhir:ElementDefinition.requirements [ fhir:value "The maximum total quantity of a therapeutic substance that may be administered to a subject per administration." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Dosage.maxDosePerAdministration" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Quantity" ] ; fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "not supported" ] ] ], [ fhir:index 91 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.maxDosePerLifetime" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.maxDosePerLifetime" ] ; fhir:ElementDefinition.short [ fhir:value "Upper limit on medication per lifetime of the patient" ] ; fhir:ElementDefinition.definition [ fhir:value "Upper limit on medication per lifetime of the patient." ] ; fhir:ElementDefinition.requirements [ fhir:value "The maximum total quantity of a therapeutic substance that may be administered per lifetime of the subject." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Dosage.maxDosePerLifetime" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Quantity" ] ; fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "not supported" ] ] ], [ fhir:index 92 ; fhir:Element.id [ fhir:value "MedicationRequest.dispenseRequest" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dispenseRequest" ] ; fhir:ElementDefinition.short [ fhir:value "Medication supply authorization" ] ; fhir:ElementDefinition.definition [ fhir:value "Indicates the specific details for the dispense or medication supply part of a medication request (also known as a Medication Prescription or Medication Order). Note that this information is not always sent with the order. There may be in some settings (e.g. hospitals) institutional or system support for completing the dispense details in the pharmacy department." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.dispenseRequest" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Message/Body/NewRx/MedicationPrescribed/ExpirationDate" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "component.supplyEvent" ] ] ], [ fhir:index 93 ; fhir:Element.id [ fhir:value "MedicationRequest.dispenseRequest.id" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dispenseRequest.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 94 ; fhir:Element.id [ fhir:value "MedicationRequest.dispenseRequest.extension" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dispenseRequest.extension" ] ; fhir:ElementDefinition.slicing [ fhir:ElementDefinition.slicing.discriminator [ fhir:index 0 ; fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "value" ] ; fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "url" ] ] ; fhir:ElementDefinition.slicing.ordered [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.slicing.rules [ fhir:value "open" ] ] ; fhir:ElementDefinition.short [ fhir:value "Extension" ] ; fhir:ElementDefinition.definition [ fhir:value "An Extension" ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ], [ fhir:index 95 ; fhir:Element.id [ fhir:value "MedicationRequest.dispenseRequest.extension:prescribedQuantity" ] ; fhir:Element.extension [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "code" ] ; fhir:Extension.valueCode [ fhir:value "SHOULD:able-to-populate" ] ], [ fhir:index 1 ; fhir:Extension.url [ fhir:value "actor" ] ; fhir:Extension.valueCanonical [ fhir:value "https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0" ; fhir:link <https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0> ] ], [ fhir:index 2 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ; fhir:Extension.valueCanonical [ fhir:value "http://hl7.eu/fhir/mpd/StructureDefinition/MedicationRequest-eu-mpd|1.0.0" ; fhir:link <http://hl7.eu/fhir/mpd/StructureDefinition/MedicationRequest-eu-mpd|1.0.0> ] ] ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ] ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dispenseRequest.extension" ] ; fhir:ElementDefinition.sliceName [ fhir:value "prescribedQuantity" ] ; fhir:ElementDefinition.short [ fhir:value "MedicationRequest - Prescribed Quantity" ] ; fhir:ElementDefinition.definition [ fhir:value "Total amount of product being requested. This may refer to number of packages when package size is indicated in Medication resource." ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.5.7.1 Quantity prescribed (Required): overall quantity, independent of repeats (IHE extension via HL7 Europe MPD)." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ; fhir:ElementDefinition.type.profile [ fhir:value "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medicationrequest-prescribedQuantity|1.0.0-comment-2" ; fhir:index 0 ; fhir:link <https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medicationrequest-prescribedQuantity|1.0.0-comment-2> ] ] ; fhir:ElementDefinition.condition [ fhir:value "ele-1" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension|4.0.1> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ], [ fhir:index 96 ; fhir:Element.id [ fhir:value "MedicationRequest.dispenseRequest.extension:numberOfInstalments" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dispenseRequest.extension" ] ; fhir:ElementDefinition.sliceName [ fhir:value "numberOfInstalments" ] ; fhir:ElementDefinition.short [ fhir:value "IE MPD Number of Instalments" ] ; fhir:ElementDefinition.definition [ fhir:value "HIQA EP 3.5.12 Number of instalments (Required 0..1): whether the total quantity can be dispensed in smaller, specified amounts at specified intervals (phased dispensing). This differs from repeats (numberOfRepeatsAllowed, EP 3.5.11). HIQA: a legal requirement for Schedule 2, 3 and 4 Part 1 controlled drugs; the interval is dispenseRequest.dispenseInterval (EP 3.5.13)." ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.5.12 Number of instalments (Required): a legal requirement for Schedule 2, 3 and 4 Part 1 controlled drugs (invariant ie-rx-cd-3)." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ; fhir:ElementDefinition.type.profile [ fhir:value "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-number-of-instalments|0.1.0" ; fhir:index 0 ; fhir:link <https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-number-of-instalments|0.1.0> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension|4.0.1> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ], [ fhir:index 97 ; fhir:Element.id [ fhir:value "MedicationRequest.dispenseRequest.extension:doNotExtend" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dispenseRequest.extension" ] ; fhir:ElementDefinition.sliceName [ fhir:value "doNotExtend" ] ; fhir:ElementDefinition.short [ fhir:value "IE MPD Do Not Extend" ] ; fhir:ElementDefinition.definition [ fhir:value "HIQA EP 3.5.9.2 'Do Not Extend' (Optional 0..1): true when the prescriber does not want the pharmacist to extend the prescription beyond its validity period. HIQA: pharmacists can extend a six-month prescription for up to a further six months." ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.5.9.2 'Do Not Extend' (Optional)." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ; fhir:ElementDefinition.type.profile [ fhir:value "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-do-not-extend|0.1.0" ; fhir:index 0 ; fhir:link <https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-do-not-extend|0.1.0> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ], [ fhir:index 98 ; fhir:Element.id [ fhir:value "MedicationRequest.dispenseRequest.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dispenseRequest.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. 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:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ], [ fhir:value "modifiers" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 99 ; fhir:Element.id [ fhir:value "MedicationRequest.dispenseRequest.initialFill" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dispenseRequest.initialFill" ] ; fhir:ElementDefinition.short [ fhir:value "First fill details" ] ; fhir:ElementDefinition.definition [ fhir:value "Indicates the quantity or duration for the first dispense of the medication." ] ; fhir:ElementDefinition.comment [ fhir:value "If populating this element, either the quantity or the duration must be included." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.dispenseRequest.initialFill" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "SubstanceAdministration -> ActRelationship[sequenceNumber = '1'] -> Supply" ] ] ], [ fhir:index 100 ; fhir:Element.id [ fhir:value "MedicationRequest.dispenseRequest.initialFill.id" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dispenseRequest.initialFill.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 101 ; fhir:Element.id [ fhir:value "MedicationRequest.dispenseRequest.initialFill.extension" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dispenseRequest.initialFill.extension" ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 102 ; fhir:Element.id [ fhir:value "MedicationRequest.dispenseRequest.initialFill.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dispenseRequest.initialFill.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. 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:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ], [ fhir:value "modifiers" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 103 ; fhir:Element.id [ fhir:value "MedicationRequest.dispenseRequest.initialFill.quantity" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dispenseRequest.initialFill.quantity" ] ; fhir:ElementDefinition.short [ fhir:value "First fill quantity" ] ; fhir:ElementDefinition.definition [ fhir:value "The amount or quantity to provide as part of the first dispense." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.dispenseRequest.initialFill.quantity" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Quantity" ] ; fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Supply.quantity[moodCode=RQO]" ] ] ], [ fhir:index 104 ; fhir:Element.id [ fhir:value "MedicationRequest.dispenseRequest.initialFill.duration" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dispenseRequest.initialFill.duration" ] ; fhir:ElementDefinition.short [ fhir:value "First fill duration" ] ; fhir:ElementDefinition.definition [ fhir:value "The length of time that the first dispense is expected to last." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.dispenseRequest.initialFill.duration" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Duration" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Supply.effectivetime[moodCode=RQO]" ] ] ], [ fhir:index 105 ; fhir:Element.id [ fhir:value "MedicationRequest.dispenseRequest.dispenseInterval" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dispenseRequest.dispenseInterval" ] ; fhir:ElementDefinition.short [ fhir:value "Minimum period of time between dispenses" ] ; fhir:ElementDefinition.definition [ fhir:value "The minimum period of time that must occur between dispenses of the medication." ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.5.13 Minimum dispense interval (Required); also the instalment interval, which must be specified for Schedule 2, 3 and 4 Part 1 instalment prescriptions (invariant ie-rx-cd-3)." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.dispenseRequest.dispenseInterval" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Duration" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Supply.effectivetime[moodCode=RQO]" ] ] ], [ fhir:index 106 ; fhir:Element.id [ fhir:value "MedicationRequest.dispenseRequest.validityPeriod" ] ; fhir:Element.extension [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "code" ] ; fhir:Extension.valueCode [ fhir:value "SHOULD:able-to-populate" ] ], [ fhir:index 1 ; fhir:Extension.url [ fhir:value "actor" ] ; fhir:Extension.valueCanonical [ fhir:value "https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0" ; fhir:link <https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0> ] ], [ fhir:index 2 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ; fhir:Extension.valueCanonical [ fhir:value "http://hl7.eu/fhir/mpd/StructureDefinition/MedicationRequest-eu-mpd|1.0.0" ; fhir:link <http://hl7.eu/fhir/mpd/StructureDefinition/MedicationRequest-eu-mpd|1.0.0> ] ] ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ] ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dispenseRequest.validityPeriod" ] ; fhir:ElementDefinition.short [ fhir:value "Time period supply is authorized for" ] ; fhir:ElementDefinition.definition [ fhir:value "This indicates the validity period of a prescription (stale dating the Prescription)." ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.5.9.1 Validity period (Required). If no start is given, it is the date of issue. Up to 12 months for non-controlled drugs. Schedule 2 and 3 controlled drugs: 14 days, or for instalment prescriptions the final instalment within two months (the first instalment within 14 days is checked at dispensing, IE Core OI-027) (invariant ie-rx-cd-2)." ] ; fhir:ElementDefinition.requirements [ fhir:value "Indicates when the Prescription becomes valid, and when it ceases to be a dispensable Prescription." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.dispenseRequest.validityPeriod" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Period" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Message/Body/NewRx/MedicationPrescribed/Refills" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "effectiveTime" ] ] ], [ fhir:index 107 ; fhir:Element.id [ fhir:value "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed" ] ; fhir:ElementDefinition.short [ fhir:value "Number of refills authorized" ] ; fhir:ElementDefinition.definition [ fhir:value "An integer indicating the number of times, in addition to the original dispense, (aka refills or repeats) that the patient can receive the prescribed medication. Usage Notes: This integer does not include the original order dispense. This means that if an order indicates dispense 30 tablets plus \"3 repeats\", then the order can be dispensed a total of 4 times and the patient can receive a total of 120 tablets. A prescriber may explicitly say that zero refills are permitted after the initial dispense." ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.5.11 Repeats of prescription item allowed (Optional); default 0. Repeats already dispensed are DERIVED from the completed MedicationDispense records that reference this request, not stored (IE Core ADR-003)." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "unsignedInt" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Message/Body/NewRx/MedicationPrescribed/Quantity" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "RXE-12-Number of Refills" ] ], [ fhir:index 2 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "repeatNumber" ] ] ], [ fhir:index 108 ; fhir:Element.id [ fhir:value "MedicationRequest.dispenseRequest.quantity" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dispenseRequest.quantity" ] ; fhir:ElementDefinition.short [ fhir:value "Amount of medication to supply per dispense" ] ; fhir:ElementDefinition.definition [ fhir:value "The amount that is to be dispensed for one fill." ] ; fhir:ElementDefinition.comment [ fhir:value "Quantity to supply per dispense. IE Medication Events requires it (1..1, stricter than HIQA EP 3.5.7 Required 0..1; IE Core OI-012)." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.dispenseRequest.quantity" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Quantity" ] ; fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Message/Body/NewRx/MedicationPrescribed/DaysSupply" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "RXD-4-Actual Dispense Amount / RXD-5.1-Actual Dispense Units.code / RXD-5.3-Actual Dispense Units.name of coding system" ] ], [ fhir:index 2 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "quantity" ] ] ], [ fhir:index 109 ; fhir:Element.id [ fhir:value "MedicationRequest.dispenseRequest.expectedSupplyDuration" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dispenseRequest.expectedSupplyDuration" ] ; fhir:ElementDefinition.short [ fhir:value "Number of days supply per dispense" ] ; fhir:ElementDefinition.definition [ fhir:value "Identifies the period time over which the supplied product is expected to be used, or the length of time the dispense is expected to last." ] ; fhir:ElementDefinition.comment [ fhir:value "In some situations, this attribute may be used instead of quantity to identify the amount supplied by how long it is expected to last, rather than the physical quantity issued, e.g. 90 days supply of medication (based on an ordered dosage). When possible, it is always better to specify quantity, as this tends to be more precise. expectedSupplyDuration will always be an estimate that can be influenced by external factors." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.dispenseRequest.expectedSupplyDuration" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Duration" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Message/Body/NewRx/MedicationPrescribed/Substitutions" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "expectedUseTime" ] ] ], [ fhir:index 110 ; fhir:Element.id [ fhir:value "MedicationRequest.dispenseRequest.performer" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dispenseRequest.performer" ] ; fhir:ElementDefinition.short [ fhir:value "Intended dispenser" ] ; fhir:ElementDefinition.definition [ fhir:value "Indicates the intended dispensing Organization specified by the prescriber." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.dispenseRequest.performer" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Organization|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Organization|4.0.1> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.who" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=COMP].target[classCode=SPLY, moodCode=RQO] .participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]" ] ] ], [ fhir:index 111 ; fhir:Element.id [ fhir:value "MedicationRequest.substitution" ] ; fhir:Element.extension [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "code" ] ; fhir:Extension.valueCode [ fhir:value "SHOULD:able-to-populate" ] ], [ fhir:index 1 ; fhir:Extension.url [ fhir:value "actor" ] ; fhir:Extension.valueCanonical [ fhir:value "https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0" ; fhir:link <https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0> ] ], [ fhir:index 2 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ; fhir:Extension.valueCanonical [ fhir:value "http://hl7.eu/fhir/mpd/StructureDefinition/MedicationRequest-eu-mpd|1.0.0" ; fhir:link <http://hl7.eu/fhir/mpd/StructureDefinition/MedicationRequest-eu-mpd|1.0.0> ] ] ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ] ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.substitution" ] ; fhir:ElementDefinition.short [ fhir:value "Any restrictions on medication substitution. Substitution rules (including the definition of substitution) vary across different countries, and the semantics of this element should be interpreted accordingly." ] ; fhir:ElementDefinition.definition [ fhir:value "Indicates whether or not substitution can or should be part of the dispense. In some cases, substitution must happen, in other cases substitution must not happen. This block explains the prescriber's intent. If nothing is specified substitution may be done." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.substitution" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "specific values within Message/Body/NewRx/MedicationPrescribed/Substitutions" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "subjectOf.substitutionPersmission" ] ] ], [ fhir:index 112 ; fhir:Element.id [ fhir:value "MedicationRequest.substitution.id" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.substitution.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 113 ; fhir:Element.id [ fhir:value "MedicationRequest.substitution.extension" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.substitution.extension" ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 114 ; fhir:Element.id [ fhir:value "MedicationRequest.substitution.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.substitution.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. 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:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ], [ fhir:value "modifiers" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 115 ; fhir:Element.id [ fhir:value "MedicationRequest.substitution.allowed[x]" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.substitution.allowed[x]" ] ; fhir:ElementDefinition.slicing [ fhir:ElementDefinition.slicing.discriminator [ fhir:index 0 ; fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "type" ] ; fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "$this" ] ] ; fhir:ElementDefinition.slicing.ordered [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.slicing.rules [ fhir:value "closed" ] ] ; fhir:ElementDefinition.short [ fhir:value "Whether substitution is allowed or not" ] ; fhir:ElementDefinition.definition [ fhir:value "True if the prescriber allows a different drug to be dispensed from what was prescribed." ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.5.10.2 'Do Not Substitute' (Optional): allowedBoolean = false means 'Do Not Substitute'. A legal requirement to endorse the item if the prescriber invokes it." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.substitution.allowed[x]" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ], [ fhir:index 1 ; fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "MedicationRequestSubstitution" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Identifies the type of substitution allowed." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode|3.0.0" ; fhir:link <http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode|3.0.0> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "specific values within Message/Body/NewRx/MedicationPrescribed/Substitutions" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "RXO-9-Allow Substitutions / RXE-9-Substitution Status" ] ], [ fhir:index 2 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "code" ] ] ], [ fhir:index 116 ; fhir:Element.id [ fhir:value "MedicationRequest.substitution.allowed[x]:allowedBoolean" ] ; fhir:Element.extension [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "code" ] ; fhir:Extension.valueCode [ fhir:value "SHALL:able-to-populate" ] ], [ fhir:index 1 ; fhir:Extension.url [ fhir:value "actor" ] ; fhir:Extension.valueCanonical [ fhir:value "https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0" ; fhir:link <https://www.xt-ehr.eu/specifications/fhir/actor-producer|1.0.0> ] ], [ fhir:index 2 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ; fhir:Extension.valueCanonical [ fhir:value "http://hl7.eu/fhir/mpd/StructureDefinition/MedicationRequest-eu-mpd|1.0.0" ; fhir:link <http://hl7.eu/fhir/mpd/StructureDefinition/MedicationRequest-eu-mpd|1.0.0> ] ] ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ] ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.substitution.allowed[x]" ] ; fhir:ElementDefinition.sliceName [ fhir:value "allowedBoolean" ] ; fhir:ElementDefinition.short [ fhir:value "Whether substitution is allowed or not" ] ; fhir:ElementDefinition.definition [ fhir:value "True if the prescriber allows a different drug to be dispensed from what was prescribed." ] ; fhir:ElementDefinition.comment [ fhir:value "This element is labeled as a modifier because whether substitution is allow or not, it cannot be ignored." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.substitution.allowed[x]" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "specific values within Message/Body/NewRx/MedicationPrescribed/Substitutions" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "RXO-9-Allow Substitutions / RXE-9-Substitution Status" ] ], [ fhir:index 2 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "code" ] ] ], [ fhir:index 117 ; fhir:Element.id [ fhir:value "MedicationRequest.substitution.reason" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.substitution.reason" ] ; fhir:ElementDefinition.short [ fhir:value "Why should (not) substitution be made" ] ; fhir:ElementDefinition.definition [ fhir:value "Indicates the reason for the substitution, or why substitution must or must not be performed." ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.5.10.3 Reason for not allowing substitution (Required when 'Do Not Substitute'; free text in reason.text; invariant ie-rx-subst-1)." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.substitution.reason" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "MedicationIntendedSubstitutionReason" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason|3.0.0" ; fhir:link <http://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason|3.0.0> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "not mapped" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "RXE-9 Substition status" ] ], [ fhir:index 2 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "reasonCode" ] ] ], [ fhir:index 118 ; fhir:Element.id [ fhir:value "MedicationRequest.priorPrescription" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.priorPrescription" ] ; fhir:ElementDefinition.short [ fhir:value "An order/prescription that is being replaced" ] ; fhir:ElementDefinition.definition [ fhir:value "A link to a resource representing an earlier order related order or prescription." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.priorPrescription" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/MedicationRequest|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationRequest|4.0.1> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Request.replaces" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "script10.6" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "not mapped" ] ], [ fhir:index 2 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=?RPLC or ?SUCC]/target[classCode=SBADM,moodCode=RQO]" ] ] ], [ fhir:index 119 ; fhir:Element.id [ fhir:value "MedicationRequest.detectedIssue" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.detectedIssue" ] ; fhir:ElementDefinition.short [ fhir:value "Clinical Issue with action" ] ; fhir:ElementDefinition.definition [ fhir:value "Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient; e.g. Drug-drug interaction, duplicate therapy, dosage alert etc." ] ; fhir:ElementDefinition.comment [ fhir:value "This element can include a detected issue that has been identified either by a decision support system or by a clinician and may include information on the steps that were taken to address the issue." ] ; fhir:ElementDefinition.alias [ fhir:value "Contraindication" ; fhir:index 0 ], [ fhir:value "Drug Utilization Review (DUR)" ; fhir:index 1 ], [ fhir:value "Alert" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.detectedIssue" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/DetectedIssue|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/DetectedIssue|4.0.1> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".inboundRelationship[typeCode=SUBJ]/source[classCode=ALRT,moodCode=EVN].value" ] ] ], [ fhir:index 120 ; fhir:Element.id [ fhir:value "MedicationRequest.eventHistory" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.eventHistory" ] ; fhir:ElementDefinition.short [ fhir:value "A list of events of interest in the lifecycle" ] ; fhir:ElementDefinition.definition [ fhir:value "Links to Provenance records for past versions of this resource or fulfilling request or event resources that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the resource." ] ; fhir:ElementDefinition.comment [ fhir:value "This might not include provenances for all versions of the request – only those deemed “relevant” or important. This SHALL NOT include the provenance associated with this current version of the resource. (If that provenance is deemed to be a “relevant” change, it will need to be added as part of a later update. Until then, it can be queried directly as the provenance that points to this version using _revinclude All Provenances should have some historical version of this Request as their subject.)." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "MedicationRequest.eventHistory" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Provenance|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Provenance|4.0.1> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element|4.0.1" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element|4.0.1> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Request.relevantHistory" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]" ] ] ] ] ; fhir:StructureDefinition.differential [ fhir:StructureDefinition.differential.element [ fhir:index 0 ; fhir:Element.id [ fhir:value "MedicationRequest" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest" ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ie-rx-status-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "A status reason SHALL be given unless the prescription item is active, completed or draft (HIQA EP 3.5.2.2 / 3.5.2.3)" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(status = 'active' or status = 'completed' or status = 'draft') or statusReason.exists()" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medicationrequest-eprescription|0.1.0" ; fhir:link <https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medicationrequest-eprescription|0.1.0> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ie-rx-age-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "If the patient is under 12 years old at the date of prescribing, or the date of birth is not a full date, the patient's age SHALL be recorded on the prescription (HIQA EP 1.4.2; a legal requirement in Ireland)" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "subject.resolve().ofType(Patient).birthDate.empty() or authoredOn.empty() or ((subject.resolve().ofType(Patient).birthDate.toString().length() = 10) and ((subject.resolve().ofType(Patient).birthDate + 12 years).toString() <= authoredOn.toString().substring(0,10))) or extension('https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-patient-age-at-prescribing').exists()" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medicationrequest-eprescription|0.1.0" ; fhir:link <https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medicationrequest-eprescription|0.1.0> ] ], [ fhir:index 2 ; fhir:ElementDefinition.constraint.key [ fhir:value "ie-rx-cd-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "A prescription for a controlled drug (any schedule of the Misuse of Drugs Regulations 2017) SHALL state the quantity in words and figures (HIQA EP 3.5.7.2)" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(medication.ofType(Reference).resolve().extension('https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification').value.ofType(CodeableConcept).coding.where(system = 'https://hl7-ie.github.io/medication-events/fhir/CodeSystem/ie-mpd-mda-schedule').exists()) implies extension('https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-quantity-in-words-and-figures').exists()" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medicationrequest-eprescription|0.1.0" ; fhir:link <https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medicationrequest-eprescription|0.1.0> ] ], [ fhir:index 3 ; fhir:ElementDefinition.constraint.key [ fhir:value "ie-rx-cd-2" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "A prescription for a Schedule 2 or 3 controlled drug SHALL have a validity period ending no later than 14 days after the date of issue, or, for an instalment prescription, no later than two months after (the final instalment) (HIQA EP 3.5.9.1; Misuse of Drugs Regulations 2017)" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(medication.ofType(Reference).resolve().extension('https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification').value.ofType(CodeableConcept).coding.where(system = 'https://hl7-ie.github.io/medication-events/fhir/CodeSystem/ie-mpd-mda-schedule' and (code = 'schedule-2' or code = 'schedule-3')).exists()) implies (dispenseRequest.validityPeriod.end.exists() and ((dispenseRequest.extension('https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-number-of-instalments').exists() and dispenseRequest.validityPeriod.end.toString().substring(0,10) <= (authoredOn + 2 months).toString().substring(0,10)) or (dispenseRequest.validityPeriod.end.toString().substring(0,10) <= (authoredOn + 14 days).toString().substring(0,10))))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medicationrequest-eprescription|0.1.0" ; fhir:link <https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medicationrequest-eprescription|0.1.0> ] ], [ fhir:index 4 ; fhir:ElementDefinition.constraint.key [ fhir:value "ie-rx-cd-3" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "A prescription for a Schedule 2, 3 or 4 Part 1 controlled drug SHALL state the number of instalments and, when there is more than one, the interval between them (HIQA EP 3.5.12, 3.5.13; Misuse of Drugs Regulations 2017)" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(medication.ofType(Reference).resolve().extension('https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification').value.ofType(CodeableConcept).coding.where(system = 'https://hl7-ie.github.io/medication-events/fhir/CodeSystem/ie-mpd-mda-schedule' and (code = 'schedule-2' or code = 'schedule-3' or code = 'schedule-4-part-1')).exists()) implies (dispenseRequest.extension('https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-number-of-instalments').exists() and ((dispenseRequest.extension('https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-number-of-instalments').value.ofType(positiveInt) > 1) implies dispenseRequest.dispenseInterval.exists()))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medicationrequest-eprescription|0.1.0" ; fhir:link <https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medicationrequest-eprescription|0.1.0> ] ], [ fhir:index 5 ; fhir:ElementDefinition.constraint.key [ fhir:value "ie-rx-subst-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "When substitution is not allowed ('Do Not Substitute'), a reason SHALL be given (HIQA EP 3.5.10.3)" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "substitution.allowed.ofType(boolean).where($this = false).exists() implies substitution.reason.exists()" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medicationrequest-eprescription|0.1.0" ; fhir:link <https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medicationrequest-eprescription|0.1.0> ] ] ], [ fhir:index 1 ; fhir:Element.id [ fhir:value "MedicationRequest.extension:offLabelUse" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.extension" ] ; fhir:ElementDefinition.sliceName [ fhir:value "offLabelUse" ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.5.14 Off label (Required): 3.5.14.1 off-label use (Mandatory within the cluster) and 3.5.14.2 reason (coded or free text). IHE ihe-ext-offLabel, inherited from HL7 Europe MPD; replaces the retired IEMpdOffLabelUse." ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 2 ; fhir:Element.id [ fhir:value "MedicationRequest.extension:effectiveDosePeriod" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.extension" ] ; fhir:ElementDefinition.sliceName [ fhir:value "effectiveDosePeriod" ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.5.6 Period of use (Required 0..1): overall period of all dosage schemes." ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 3 ; fhir:Element.id [ fhir:value "MedicationRequest.extension:ageAtPrescribing" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.extension" ] ; fhir:ElementDefinition.sliceName [ fhir:value "ageAtPrescribing" ] ; fhir:ElementDefinition.short [ fhir:value "Patient age at prescribing (a legal requirement if under 12)" ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 1.4.2 Age (Required 0..1; 1.4.2.1 value and 1.4.2.2 type Mandatory within the cluster). Required when the patient is under 12 at authoredOn (invariants ie-rx-age-1, ie-bnd-rx-3)." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ; fhir:ElementDefinition.type.profile [ fhir:value "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-patient-age-at-prescribing|0.1.0" ; fhir:index 0 ; fhir:link <https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-patient-age-at-prescribing|0.1.0> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 4 ; fhir:Element.id [ fhir:value "MedicationRequest.extension:quantityInWordsAndFigures" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.extension" ] ; fhir:ElementDefinition.sliceName [ fhir:value "quantityInWordsAndFigures" ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.5.7.2 Quantity prescribed (free text, words and figures): must be recorded for any medication listed as a controlled drug under the Misuse of Drugs Regulations 2017 (invariant ie-rx-cd-1)." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ; fhir:ElementDefinition.type.profile [ fhir:value "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-quantity-in-words-and-figures|0.1.0" ; fhir:index 0 ; fhir:link <https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-quantity-in-words-and-figures|0.1.0> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 5 ; fhir:Element.id [ fhir:value "MedicationRequest.identifier" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.identifier" ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.5.1 Prescription item identifier (Mandatory 1..*). For a single-item prescription this is typically the same as the electronic prescription identifier (EP 3.1)." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 6 ; fhir:Element.id [ fhir:value "MedicationRequest.status" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.status" ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.5.2.1 Prescription item status (Mandatory 1..1): e.g. active, on-hold (inactive) or completed (dispensed). The status of the whole prescription (EP 3.3) is derived from its items: all completed = complete; any active = active; otherwise inactive." ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 7 ; fhir:Element.id [ fhir:value "MedicationRequest.statusReason" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.statusReason" ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.5.2.2 (Required) and 3.5.2.3 (free text, in statusReason.text). Must be given unless the status is active or completed (invariant ie-rx-status-1)." ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 8 ; fhir:Element.id [ fhir:value "MedicationRequest.intent" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.intent" ] ; fhir:ElementDefinition.patternCode [ fhir:value "order" ] ], [ fhir:index 9 ; fhir:Element.id [ fhir:value "MedicationRequest.category" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.category" ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.5.5 Intended use of prescription item (Optional), e.g. prophylaxis, therapeutic or diagnostic." ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 10 ; fhir:Element.id [ fhir:value "MedicationRequest.medication[x]" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.medication[x]" ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.5.3 Prescribed medication item (Mandatory 1..1); see Section 4 (IEMpdMedicationEPrescription). A reference is required (not an inline CodeableConcept): HIQA EP 4.7.2 makes the ingredient Mandatory, and the controlled-drug rules (ie-rx-cd-1/2/3) read the MDA schedule from the Medication (independent review R-01). SNOMED CT Irish Edition / NMPC coding in Medication.code." ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medication-eprescription|0.1.0" ; fhir:index 0 ; fhir:link <https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medication-eprescription|0.1.0> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 11 ; fhir:Element.id [ fhir:value "MedicationRequest.subject" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.subject" ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP Section 1 Patient Details. The patient profile carries only the HIQA EP dataset (IE Core ADR-002)." ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-patient-eprescription|0.1.0" ; fhir:index 0 ; fhir:link <https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-patient-eprescription|0.1.0> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 12 ; fhir:Element.id [ fhir:value "MedicationRequest.supportingInformation" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.supportingInformation" ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 1.6 Clinical information: SHALL reference the allergy statement (IEMpdListAllergiesAtPrescribing; EP 1.6.1/1.6.2, invariant ie-bnd-rx-2) and MAY reference weight (IEMpdBodyWeight, EP 1.6.3) and height (IEMpdBodyHeight, EP 1.6.4)." ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 13 ; fhir:Element.id [ fhir:value "MedicationRequest.authoredOn" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.authoredOn" ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.2 Date and time of issuing the prescription (Mandatory 1..1)." ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 14 ; fhir:Element.id [ fhir:value "MedicationRequest.requester" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.requester" ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP Section 2 Health Practitioner Details. The prescriber must be a registered health practitioner (EP 2.6, Mandatory), so an Organization is not allowed. Prefer PractitionerRole, which carries the role (2.5), facility (2.7–2.12) and contact details (2.10)." ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-practitionerrole|0.1.0" ; fhir:index 0 ; fhir:link <https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-practitionerrole|0.1.0> ], [ fhir:value "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-practitioner|0.1.0" ; fhir:index 1 ; fhir:link <https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-practitioner|0.1.0> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 15 ; fhir:Element.id [ fhir:value "MedicationRequest.reasonCode" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.reasonCode" ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.5.4.1 Indication (coded, Optional) and 3.5.4.2 (free text, in reasonCode.text)." ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 16 ; fhir:Element.id [ fhir:value "MedicationRequest.groupIdentifier" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.groupIdentifier" ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.1 Electronic prescription (group) identifier (Mandatory 1..*): the NePS identifier used throughout the prescription and dispensation life cycle. Required when the prescription has more than one item (Bundle invariant ie-bnd-rx-1)." ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 17 ; fhir:Element.id [ fhir:value "MedicationRequest.courseOfTherapyType" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.courseOfTherapyType" ] ; fhir:ElementDefinition.comment [ fhir:value "Acute or continuous (repeat) prescribing. Not a HIQA element; supports EP 3.5.11." ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 18 ; fhir:Element.id [ fhir:value "MedicationRequest.note" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.note" ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.6.1 Note (Optional) and 1.6.5 Additional clinical notes (Optional): for the patient or the pharmacist." ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 19 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction" ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.5.8 Dosage instructions (Mandatory 1..1) and Section 5 Dosaging." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ie-rx-dosage-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "A structured dosage SHALL be accompanied by a human-readable dosage text (safety fallback; HIQA EP 5.1 / 5.2)" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(timing.exists() or doseAndRate.exists()) implies text.exists()" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medicationrequest-eprescription|0.1.0" ; fhir:link <https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medicationrequest-eprescription|0.1.0> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 20 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.sequence" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.sequence" ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 5.2.1 Sequence (Optional)." ] ], [ fhir:index 21 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.text" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.text" ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 5.1 Rendered dosage instruction (Optional). IE Medication Events requires it (stricter than HIQA, IE Core OI-012) as a human-readable safety fallback for the structured dosage." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 22 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.additionalInstruction" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.additionalInstruction" ] ; fhir:ElementDefinition.comment [ fhir:value "Additional instructions (e.g. 'with food'); complements HIQA EP 5.2.2." ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 23 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.patientInstruction" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.patientInstruction" ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 5.2.2 Note for patient (Required)." ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 24 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.timing" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.timing" ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 5.2.4 Repeat administration (Required): bounds (5.2.4.1), duration (5.2.4.2), frequency and period (5.2.4.3), day of week (5.2.4.4), time of day (5.2.4.5), event (5.2.4.6)." ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 25 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.frequency" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.frequency" ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 5.2.4.3.1 Frequency of administration (Mandatory within the frequency cluster)." ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 26 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.period" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.period" ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 5.2.4.3.2 Period (Mandatory within the frequency cluster), with periodUnit." ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 27 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.periodUnit" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.timing.repeat.periodUnit" ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 28 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.asNeeded[x]" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.asNeeded[x]" ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 5.2.5 Administer as needed (Optional)." ] ], [ fhir:index 29 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.site" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.site" ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 5.2.6 Body site (Optional): morphology, location, qualifier and laterality post-coordinated in SNOMED CT, or described in site.text (5.2.6.5)." ] ], [ fhir:index 30 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.route" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.route" ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 5.2.7 Route of administration (Required); EDQM Standard Terms preferred." ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 31 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.doseAndRate" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.doseAndRate" ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 5.2.3 Dose and rate (Required): dose quantity or range (5.2.3.1), rate (5.2.3.2)." ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 32 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.doseAndRate.dose[x]" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.doseAndRate.dose[x]" ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 33 ; fhir:Element.id [ fhir:value "MedicationRequest.dosageInstruction.maxDosePerPeriod" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dosageInstruction.maxDosePerPeriod" ] ; fhir:ElementDefinition.comment [ fhir:value "Maximum dose per period (not a distinct HIQA element; supports safe 'as needed' dosing)." ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 34 ; fhir:Element.id [ fhir:value "MedicationRequest.dispenseRequest" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dispenseRequest" ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 35 ; fhir:Element.id [ fhir:value "MedicationRequest.dispenseRequest.extension:prescribedQuantity" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dispenseRequest.extension" ] ; fhir:ElementDefinition.sliceName [ fhir:value "prescribedQuantity" ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.5.7.1 Quantity prescribed (Required): overall quantity, independent of repeats (IHE extension via HL7 Europe MPD)." ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 36 ; fhir:Element.id [ fhir:value "MedicationRequest.dispenseRequest.extension:numberOfInstalments" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dispenseRequest.extension" ] ; fhir:ElementDefinition.sliceName [ fhir:value "numberOfInstalments" ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.5.12 Number of instalments (Required): a legal requirement for Schedule 2, 3 and 4 Part 1 controlled drugs (invariant ie-rx-cd-3)." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ; fhir:ElementDefinition.type.profile [ fhir:value "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-number-of-instalments|0.1.0" ; fhir:index 0 ; fhir:link <https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-number-of-instalments|0.1.0> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 37 ; fhir:Element.id [ fhir:value "MedicationRequest.dispenseRequest.extension:doNotExtend" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dispenseRequest.extension" ] ; fhir:ElementDefinition.sliceName [ fhir:value "doNotExtend" ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.5.9.2 'Do Not Extend' (Optional)." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ; fhir:ElementDefinition.type.profile [ fhir:value "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-do-not-extend|0.1.0" ; fhir:index 0 ; fhir:link <https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-do-not-extend|0.1.0> ] ] ], [ fhir:index 38 ; fhir:Element.id [ fhir:value "MedicationRequest.dispenseRequest.dispenseInterval" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dispenseRequest.dispenseInterval" ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.5.13 Minimum dispense interval (Required); also the instalment interval, which must be specified for Schedule 2, 3 and 4 Part 1 instalment prescriptions (invariant ie-rx-cd-3)." ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 39 ; fhir:Element.id [ fhir:value "MedicationRequest.dispenseRequest.validityPeriod" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dispenseRequest.validityPeriod" ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.5.9.1 Validity period (Required). If no start is given, it is the date of issue. Up to 12 months for non-controlled drugs. Schedule 2 and 3 controlled drugs: 14 days, or for instalment prescriptions the final instalment within two months (the first instalment within 14 days is checked at dispensing, IE Core OI-027) (invariant ie-rx-cd-2)." ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 40 ; fhir:Element.id [ fhir:value "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed" ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.5.11 Repeats of prescription item allowed (Optional); default 0. Repeats already dispensed are DERIVED from the completed MedicationDispense records that reference this request, not stored (IE Core ADR-003)." ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 41 ; fhir:Element.id [ fhir:value "MedicationRequest.dispenseRequest.quantity" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.dispenseRequest.quantity" ] ; fhir:ElementDefinition.comment [ fhir:value "Quantity to supply per dispense. IE Medication Events requires it (1..1, stricter than HIQA EP 3.5.7 Required 0..1; IE Core OI-012)." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 42 ; fhir:Element.id [ fhir:value "MedicationRequest.substitution" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.substitution" ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 43 ; fhir:Element.id [ fhir:value "MedicationRequest.substitution.allowed[x]" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.substitution.allowed[x]" ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.5.10.2 'Do Not Substitute' (Optional): allowedBoolean = false means 'Do Not Substitute'. A legal requirement to endorse the item if the prescriber invokes it." ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 44 ; fhir:Element.id [ fhir:value "MedicationRequest.substitution.reason" ] ; fhir:ElementDefinition.path [ fhir:value "MedicationRequest.substitution.reason" ] ; fhir:ElementDefinition.comment [ fhir:value "HIQA EP 3.5.10.3 Reason for not allowing substitution (Required when 'Do Not Substitute'; free text in reason.text; invariant ie-rx-subst-1)." ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ] ] . # - ontology header ------------------------------------------------------------ <http://hl7.org/fhir/StructureDefinition/ie-mpd-medicationrequest-eprescription.ttl> a owl:Ontology ; owl:imports fhir:fhir.ttl ; owl:versionIRI <http://build.fhir.org/StructureDefinition/ie-mpd-medicationrequest-eprescription.ttl> .
IG © 2026+ Nithin Mohan (proof of concept). Package nostalgic-ie.fhir.medication-events#0.1.0 based on FHIR 4.0.1. Generated 2026-09-28
Links: Table of Contents |
QA Report