PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.qicore@1.6.0
    http://hl7.org/fhir/qicore/StructureDefinition/qicore-medicationorder
{
  "description": null,
  "_filename": "StructureDefinition-qicore-medicationorder.json",
  "package_name": "hl7.fhir.us.qicore",
  "date": "2015-02-27",
  "derivation": "constraint",
  "publisher": "Health Level Seven International (Clinical Quality Information - QICore)",
  "name": "Profile qicore-medicationorder",
  "mapping": [ {
    "uri": "http://www.healthit.gov/quality-data-model",
    "name": "Quality Data Model",
    "identity": "qdm"
  }, {
    "uri": "http://www.hl7.org/implement/standards/product_brief.cfm?product_id=378",
    "name": "Quality Improvement Domain Analysis Model",
    "identity": "qidam"
  }, {
    "uri": "http://ncpdp.org/SCRIPT10_6",
    "name": "Mapping to NCPDP SCRIPT 10.6",
    "identity": "script10.6"
  }, {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  }, {
    "uri": "http://hl7.org/fhir/w5",
    "name": "W5 Mapping",
    "identity": "w5"
  }, {
    "uri": "http://hl7.org/v2",
    "name": "HL7 v2 Mapping",
    "identity": "v2"
  } ],
  "abstract": false,
  "type": "MedicationOrder",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "1.6.0",
  "snapshot": {
    "element": [ {
      "constraint": [ {
        "key": "dom-2",
        "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
        "xpath": "not(parent::f:contained and f:contained)",
        "severity": "error",
        "expression": "contained.contained.empty()"
      }, {
        "key": "dom-1",
        "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative",
        "xpath": "not(parent::f:contained and f:text)",
        "severity": "error",
        "expression": "contained.text.empty()"
      }, {
        "key": "dom-4",
        "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
        "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
        "severity": "error",
        "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"
      }, {
        "key": "dom-3",
        "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource",
        "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))",
        "severity": "error",
        "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()"
      } ],
      "path": "MedicationOrder",
      "min": 0,
      "definition": "Profile of medication prescription, indicating which elements must be supported in rule and measure interpreters.",
      "short": "Prescription of medication to for patient",
      "name": "QICore-MedicationOrder",
      "comments": "The WG will be updating the MedicationOrder resource  to adjust each affected resource to align with the workflow pattern (see workflow.html).  MedicationOrder will be renamed to MedicationRequest as part of these changes.",
      "mapping": [ {
        "map": "Entity. Role, or Act",
        "identity": "rim"
      }, {
        "map": "Message/Body/NewRx",
        "identity": "script10.6"
      }, {
        "map": "CombinedMedicationRequest",
        "identity": "rim"
      }, {
        "map": "clinical.medication",
        "identity": "w5"
      }, {
        "map": "Medication, Order",
        "identity": "qdm"
      } ],
      "mustSupport": false,
      "alias": [ "Prescription" ],
      "max": "*",
      "id": "MedicationOrder:qicore-medicationorder",
      "base": {
        "max": "*",
        "min": 0,
        "path": "MedicationOrder"
      },
      "isSummary": false
    }, {
      "path": "MedicationOrder.id",
      "min": 0,
      "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
      "short": "Logical id of this artifact",
      "comments": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
      "type": [ {
        "code": "id"
      } ],
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.id",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Resource.id"
      },
      "isSummary": true
    }, {
      "path": "MedicationOrder.meta",
      "min": 0,
      "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.",
      "short": "Metadata about the resource",
      "type": [ {
        "code": "Meta"
      } ],
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.meta",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Resource.meta"
      },
      "isSummary": true
    }, {
      "path": "MedicationOrder.implicitRules",
      "min": 0,
      "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.",
      "isModifier": true,
      "short": "A set of rules under which this content was created",
      "comments": "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 as much as possible.",
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.implicitRules",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Resource.implicitRules"
      },
      "isSummary": true
    }, {
      "path": "MedicationOrder.language",
      "min": 0,
      "definition": "The base language in which the resource is written.",
      "short": "Language of the resource content",
      "comments": "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).",
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
          "valueReference": {
            "reference": "http://hl7.org/fhir/ValueSet/all-languages"
          }
        } ],
        "description": "A human language.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/languages"
        }
      },
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.language",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Resource.language"
      }
    }, {
      "path": "MedicationOrder.text",
      "min": 0,
      "definition": "A human-readable narrative that contains a summary of the resource, and may 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.",
      "short": "Text summary of the resource, for human interpretation",
      "comments": "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 in formation is added later.",
      "mapping": [ {
        "map": "Act.text?",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Narrative"
      } ],
      "alias": [ "narrative", "html", "xhtml", "display" ],
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.text",
      "condition": [ "dom-1" ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.text"
      }
    }, {
      "path": "MedicationOrder.contained",
      "min": 0,
      "definition": "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.",
      "short": "Contained, inline Resources",
      "comments": "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.",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Resource"
      } ],
      "alias": [ "inline resources", "anonymous resources", "contained resources" ],
      "max": "*",
      "id": "MedicationOrder:qicore-medicationorder.contained",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.contained"
      }
    }, {
      "path": "MedicationOrder.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the resource. In order 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.",
      "short": "Additional Content defined by implementations",
      "comments": "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.",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "MedicationOrder:qicore-medicationorder.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      }
    }, {
      "path": "MedicationOrder.modifierExtension",
      "min": 0,
      "definition": "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. Usually modifier elements provide negation or qualification. In order 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.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "comments": "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.",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "MedicationOrder:qicore-medicationorder.modifierExtension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.modifierExtension"
      }
    }, {
      "path": "MedicationOrder.identifier",
      "min": 0,
      "definition": "External identifier - one that would be used by another non-FHIR system - for example a re-imbursement system might issue its own id for each prescription that is created.  This is particularly important where FHIR only provides part of an entire workflow process where records have to be tracked through an entire system.",
      "short": "External identifier",
      "mapping": [ {
        "map": "Message/Header/PrescriberOrderNumber",
        "identity": "script10.6"
      }, {
        "map": "ORC-2-Placer Order Number / ORC-3-Filler Order Number",
        "identity": "v2"
      }, {
        "map": "id",
        "identity": "rim"
      }, {
        "map": "id",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Identifier"
      } ],
      "max": "*",
      "id": "MedicationOrder:qicore-medicationorder.identifier",
      "base": {
        "max": "*",
        "min": 0,
        "path": "MedicationOrder.identifier"
      }
    }, {
      "path": "MedicationOrder.status",
      "min": 0,
      "definition": "A code specifying the state of the order.  Generally this will be active or completed state.",
      "isModifier": true,
      "short": "active | on-hold | completed | entered-in-error | stopped | draft",
      "mapping": [ {
        "map": "no mapping",
        "identity": "script10.6"
      }, {
        "map": "statusCode",
        "identity": "rim"
      }, {
        "map": "status",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": true,
      "binding": {
        "strength": "required",
        "description": "A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/medication-order-status"
        }
      },
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.status",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationOrder.status"
      },
      "isSummary": false
    }, {
      "path": "MedicationOrder.medication[x]",
      "min": 1,
      "definition": "Identifies the medication being administered. 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.",
      "short": "Medication to be taken",
      "comments": "If only a code is specified, then it needs to be a code for a specific product.  If more information is required, then the use of the medication resource is recommended.  Note: do not use Medication.name to describe the prescribed medication. When the only available information is a text description of the medication, Medication.code.text should be used.",
      "mapping": [ {
        "map": "Message/Body/NewRx/MedicationPrescribed  Medication.code.coding.code = Message/Body/NewRx/MedicationPrescribed/DrugCoded/ProductCode  Medication.code.coding.system = Message/Body/NewRx/MedicationPrescribed/DrugCoded/ProductCodeQualifier  Medication.code.coding.display = Message/Body/NewRx/MedicationPrescribed/DrugDescription",
        "identity": "script10.6"
      }, {
        "map": "RXE-2-Give Code / RXO-1-Requested Give Code / RXC-2-Component Code",
        "identity": "v2"
      }, {
        "map": "consumable.administrableMedication",
        "identity": "rim"
      }, {
        "map": "what",
        "identity": "w5"
      }, {
        "map": "primary code",
        "identity": "qdm"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      }, {
        "code": "Reference",
        "profile": "http://hl7.org/fhir/qicore/StructureDefinition/qicore-medication"
      } ],
      "mustSupport": true,
      "binding": {
        "strength": "preferred",
        "description": "The set of RxNorm codes to represent medications",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/daf/ValueSet/daf-medication-codes"
        }
      },
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.medication[x]",
      "base": {
        "max": "1",
        "min": 1,
        "path": "MedicationOrder.medication[x]"
      },
      "isSummary": false
    }, {
      "path": "MedicationOrder.patient",
      "min": 0,
      "definition": "A link to a resource representing the person to whom the medication will be given.",
      "short": "Who prescription is for",
      "comments": "SubstanceAdministration->subject->Patient.",
      "mapping": [ {
        "map": "Message/Body/NewRx/Patient  (need detail to link to specific patient … Patient.Identification in SCRIPT)",
        "identity": "script10.6"
      }, {
        "map": "PID-3-Patient ID List",
        "identity": "v2"
      }, {
        "map": "subject.role",
        "identity": "rim"
      }, {
        "map": "who.focus",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Reference",
        "profile": "http://hl7.org/fhir/qicore/StructureDefinition/qicore-patient"
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.patient",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationOrder.patient"
      },
      "isSummary": false
    }, {
      "path": "MedicationOrder.encounter",
      "min": 0,
      "definition": "An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient.",
      "short": "An interaction during which services are provided to the patient",
      "mapping": [ {
        "map": "Entity. Role, or Act",
        "identity": "rim"
      }, {
        "map": "Encounter[@moodCode='EVN']",
        "identity": "rim"
      }, {
        "map": "workflow.encounter",
        "identity": "w5"
      }, {
        "map": "Encounter, Active or Performed",
        "identity": "qdm"
      } ],
      "type": [ {
        "code": "Reference",
        "profile": "http://hl7.org/fhir/qicore/StructureDefinition/qicore-encounter"
      } ],
      "mustSupport": true,
      "alias": [ "Visit" ],
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.encounter",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationOrder.encounter"
      },
      "isSummary": false
    }, {
      "path": "MedicationOrder.dateWritten",
      "min": 0,
      "definition": "The date (and perhaps time) when the prescription was initially written.",
      "short": "When prescription was initially authorized",
      "mapping": [ {
        "map": "Message/Body/NewRx/MedicationPrescribed/WrittenDate",
        "identity": "script10.6"
      }, {
        "map": "RXE-32-Original Order Date/Time / ORC-9-Date/Time of Transaction",
        "identity": "v2"
      }, {
        "map": "author.time",
        "identity": "rim"
      }, {
        "map": "when.recorded",
        "identity": "w5"
      }, {
        "map": "active datetime",
        "identity": "qdm"
      } ],
      "type": [ {
        "code": "dateTime"
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.dateWritten",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationOrder.dateWritten"
      },
      "isSummary": false
    }, {
      "path": "MedicationOrder.prescriber",
      "min": 0,
      "definition": "The healthcare professional responsible for authorizing the initial prescription.",
      "short": "Who ordered the initial medication(s)",
      "mapping": [ {
        "map": "Message/Body/NewRx/Prescriber  (need detail to link to specific prescriber … Prescriber.Identification in SCRIPT)",
        "identity": "script10.6"
      }, {
        "map": "RXE-13-Ordering Provider's DEA Number / RXO-14-Ordering Provider's DEA Number / RXE-14-Pharmacist/Treatment Supplier's Verifier ID / RXO-15-Pharmacist/Treatment Supplier's Verifier ID / ORC-12-Ordering Provider / PRT-5-Participation Person: PRT-4-Participation='OP' (all but last deprecated)",
        "identity": "v2"
      }, {
        "map": "author.role",
        "identity": "rim"
      }, {
        "map": "who.actor",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Reference",
        "profile": "http://hl7.org/fhir/qicore/StructureDefinition/qicore-practitioner"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.prescriber",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationOrder.prescriber"
      },
      "isSummary": false
    }, {
      "path": "MedicationOrder.reasonCode",
      "min": 0,
      "definition": "Can be the reason or the indication for writing the prescription.",
      "short": "Reason or indication for writing the prescription",
      "comments": "This could be a diagnosis code. If a full condition record exists or additional detail is needed, use reasonReference.",
      "mapping": [ {
        "map": "Message/Body/NewRx/MedicationPrescribed/Diagnosis/Primary/Value",
        "identity": "script10.6"
      }, {
        "map": "ORC-16-Order Control Code Reason /RXE-27-Give Indication/RXO-20-Indication / RXD-21-Indication / RXG-22-Indication / RXA-19-Indication",
        "identity": "v2"
      }, {
        "map": "reason.observation.reasonCode",
        "identity": "rim"
      }, {
        "map": "why",
        "identity": "w5"
      }, {
        "map": "reason",
        "identity": "qdm"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": false,
      "binding": {
        "strength": "preferred",
        "description": "The reason code for the presecription",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/daf/ValueSet/daf-problem"
        }
      },
      "max": "*",
      "id": "MedicationOrder:qicore-medicationorder.reasonCode",
      "base": {
        "max": "*",
        "min": 0,
        "path": "MedicationOrder.reasonCode"
      },
      "isSummary": false
    }, {
      "path": "MedicationOrder.reasonReference",
      "min": 0,
      "definition": "Condition that supports why the prescription is being written.",
      "short": "Condition that supports why the prescription is being written",
      "comments": "This is a reference to a condition that is the reason for the medication order.  If only a code exists, use reasonCode.",
      "mapping": [ {
        "map": "no mapping",
        "identity": "script10.6"
      }, {
        "map": "reason.observation[code=ASSERTION].value",
        "identity": "rim"
      }, {
        "map": "why",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Reference",
        "profile": "http://hl7.org/fhir/StructureDefinition/Condition"
      } ],
      "max": "*",
      "id": "MedicationOrder:qicore-medicationorder.reasonReference",
      "base": {
        "max": "*",
        "min": 0,
        "path": "MedicationOrder.reasonReference"
      }
    }, {
      "path": "MedicationOrder.note",
      "min": 0,
      "definition": "Extra information about the prescription that could not be conveyed by the other attributes.",
      "short": "Information about the prescription",
      "mapping": [ {
        "map": "Message/Body/NewRx/MedicationPrescribed/Note",
        "identity": "script10.6"
      }, {
        "map": ".inboundRelationship[typeCode=SUBJ]/source[classCode=OBS,moodCode=EVN,code=\"annotation\"].value",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Annotation"
      } ],
      "max": "*",
      "id": "MedicationOrder:qicore-medicationorder.note",
      "base": {
        "max": "*",
        "min": 0,
        "path": "MedicationOrder.note"
      }
    }, {
      "path": "MedicationOrder.category",
      "min": 0,
      "definition": "Indicates where type of medication order and where the medication is expected to be consumed or administered.",
      "short": "Type of medication usage",
      "mapping": [ {
        "map": "Message/Body/NewRx/MedicationPrescribed/Directions  or   Message/Body/NewRx/MedicationPrescribed/StructuredSIG",
        "identity": "script10.6"
      }, {
        "map": "not mapped",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "example",
        "description": "A coded concept identifying where the medication ordered is expected to be consumed or administered",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/medication-order-category"
        }
      },
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.category",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationOrder.category"
      }
    }, {
      "path": "MedicationOrder.dosageInstruction",
      "min": 0,
      "definition": "Indicates how the medication is to be used by the patient.",
      "short": "How medication should be taken",
      "comments": "When the dose or rate is intended to change over the entire administration period, e.g. Tapering dose prescriptions, multiple instances of dosage instructions will need to be supplied to convey the different doses/rates. Another common example in institutional settings is 'titration' of an IV medication dose to maintain a specific stated hemodynamic value or range e.g. drug x to be administered to maintain AM (arterial mean) greater than 65.",
      "mapping": [ {
        "map": "Message/Body/NewRx/MedicationPrescribed/Directions  or   //element(*,SIGType)/FreeText",
        "identity": "script10.6"
      }, {
        "map": "component.substanceAdministrationRequest",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "mustSupport": true,
      "max": "*",
      "id": "MedicationOrder:qicore-medicationorder.dosageInstruction",
      "base": {
        "max": "*",
        "min": 0,
        "path": "MedicationOrder.dosageInstruction"
      },
      "isSummary": false
    }, {
      "path": "MedicationOrder.dosageInstruction.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.dosageInstruction.id",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "MedicationOrder.dosageInstruction.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "slicing": {
        "id": "11",
        "rules": "open",
        "ordered": false,
        "discriminator": [ "url" ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "MedicationOrder:qicore-medicationorder.dosageInstruction.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "children().count() > id.count()"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "MedicationOrder.dosageInstruction.extension",
      "min": 0,
      "definition": "An Extension",
      "isModifier": false,
      "short": "Extension",
      "name": "MedicationOrder.dosageInstruction.doseType",
      "mapping": [ {
        "map": "Dosage.doseType",
        "identity": "qidam"
      } ],
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/pharmacy-core-doseType"
      } ],
      "mustSupport": false,
      "binding": {
        "strength": "preferred",
        "description": "Medication dose types (e.g., loading, maintenance, etc.)",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/qicore/ValueSet/qicore-medication-dose-type"
        }
      },
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.dosageInstruction.extension:medicationorderdosageinstructiondosetype$pharmacy-core-doseType",
      "condition": [ "ele-1" ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "children().count() > id.count()"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "MedicationOrder.dosageInstruction.extension",
      "min": 0,
      "definition": "An Extension",
      "isModifier": false,
      "short": "Extension",
      "name": "MedicationOrder.dosageInstruction.infuseOver",
      "mapping": [ {
        "map": "Dosage.infuseOver",
        "identity": "qidam"
      } ],
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/pharmacy-core-infuseOver"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.dosageInstruction.extension:medicationorderdosageinstructioninfuseover$pharmacy-core-infuseOver",
      "condition": [ "ele-1" ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "children().count() > id.count()"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "MedicationOrder.dosageInstruction.extension",
      "min": 0,
      "definition": "An Extension",
      "isModifier": false,
      "short": "Extension",
      "name": "MedicationOrder.dosageInstruction.rateIncrement",
      "mapping": [ {
        "map": "Dosage.rateIncrement",
        "identity": "qidam"
      } ],
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrement"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.dosageInstruction.extension:medicationorderdosageinstructionrateincrement$pharmacy-core-rateIncrement",
      "condition": [ "ele-1" ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "children().count() > id.count()"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "MedicationOrder.dosageInstruction.extension",
      "min": 0,
      "definition": "An Extension",
      "isModifier": false,
      "short": "Extension",
      "name": "MedicationOrder.dosageInstruction.rateIncrementInterval",
      "mapping": [ {
        "map": "Dosage.rateIncrementInterval",
        "identity": "qidam"
      } ],
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrementInterval"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.dosageInstruction.extension:medicationorderdosageinstructionrateincrementinterval$pharmacy-core-rateIncrementInterval",
      "condition": [ "ele-1" ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "children().count() > id.count()"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "MedicationOrder.dosageInstruction.extension",
      "min": 0,
      "definition": "An Extension",
      "isModifier": false,
      "short": "Extension",
      "name": "MedicationOrder.dosageInstruction.rateGoal",
      "mapping": [ {
        "map": "Dosage.rateGoal",
        "identity": "qidam"
      } ],
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateGoal"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.dosageInstruction.extension:medicationorderdosageinstructionrategoal$pharmacy-core-rateGoal",
      "condition": [ "ele-1" ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "children().count() > id.count()"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "MedicationOrder.dosageInstruction.extension",
      "min": 0,
      "definition": "An Extension",
      "isModifier": false,
      "short": "Extension",
      "name": "MedicationOrder.dosageInstruction.minDosePerPeriod",
      "mapping": [ {
        "map": "Dosage.minDosePerPeriod",
        "identity": "qidam"
      } ],
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/pharmacy-core-minDosePerPeriod"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.dosageInstruction.extension:medicationorderdosageinstructionmindoseperperiod$pharmacy-core-minDosePerPeriod",
      "condition": [ "ele-1" ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "children().count() > id.count()"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "MedicationOrder.dosageInstruction.extension",
      "min": 0,
      "definition": "An Extension",
      "isModifier": false,
      "short": "Extension",
      "name": "MedicationOrder.dosageInstruction.maxDeliveryRate",
      "mapping": [ {
        "map": "Dosage.maxDeliveryRate",
        "identity": "qidam"
      } ],
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/pharmacy-core-maxDeliveryRate"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.dosageInstruction.extension:medicationorderdosageinstructionmaxdeliveryrate$pharmacy-core-maxDeliveryRate",
      "condition": [ "ele-1" ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "children().count() > id.count()"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "MedicationOrder.dosageInstruction.extension",
      "min": 0,
      "definition": "An Extension",
      "isModifier": false,
      "short": "Extension",
      "name": "MedicationOrder.dosageInstruction.maxDeliveryVolume",
      "mapping": [ {
        "map": "Dosage.maxDeliveryVolume",
        "identity": "qidam"
      } ],
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/pharmacy-core-maxDeliveryVolume"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.dosageInstruction.extension:medicationorderdosageinstructionmaxdeliveryvolume$pharmacy-core-maxDeliveryVolume",
      "condition": [ "ele-1" ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "path": "MedicationOrder.dosageInstruction.modifierExtension",
      "min": 0,
      "definition": "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 that contains it. Usually modifier elements provide negation or qualification. In order 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.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "comments": "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.",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "MedicationOrder:qicore-medicationorder.dosageInstruction.modifierExtension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "path": "MedicationOrder.dosageInstruction.text",
      "min": 0,
      "definition": "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.",
      "short": "Free text dosage instructions e.g. SIG",
      "mapping": [ {
        "map": "RXE-7.2-Provider's Administration Instructions.text / RXO-7.2-Provider's Administration Instructions.text / TQ1-10-Condition Text / TQ1-11-Text Instruction",
        "identity": "v2"
      }, {
        "map": "text",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.dosageInstruction.text",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationOrder.dosageInstruction.text"
      }
    }, {
      "path": "MedicationOrder.dosageInstruction.additionalInstructions",
      "min": 0,
      "definition": "Additional instructions such as \"Swallow with plenty of water\" which may or may not be coded.",
      "short": "Supplemental instructions - e.g. \"with meals\"",
      "mapping": [ {
        "map": "//element(*,SIGType)/Timing",
        "identity": "script10.6"
      }, {
        "map": "RXE-7.2-Provider's Administration Instructions.text / RXO-7.2-Provider's Administration Instructions.text / TQ1-10-Condition Text / TQ1-11-Text Instruction",
        "identity": "v2"
      }, {
        "map": "component.substanceAdministrationRequest.text",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "description": "A coded concept identifying additional instructions such as \"take with water\" or \"avoid operating heavy machinery\".",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/additional-instructions-codes"
        }
      },
      "max": "*",
      "id": "MedicationOrder:qicore-medicationorder.dosageInstruction.additionalInstructions",
      "base": {
        "max": "*",
        "min": 0,
        "path": "MedicationOrder.dosageInstruction.additionalInstructions"
      }
    }, {
      "path": "MedicationOrder.dosageInstruction.timing",
      "min": 0,
      "definition": "The timing schedule for giving the medication to the patient. The Schedule 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.",
      "short": "When medication should be administered",
      "comments": "This attribute may not always be populated while the DosageInstruction.text is expected to be populated.  If both are populated, then the DosageInstruction.text should reflect the content of the Dosage.timing.",
      "mapping": [ {
        "map": "//element(*,SIGType)/SiteofAdministration",
        "identity": "script10.6"
      }, {
        "map": "TQ1-X / ORC Quantity/timing",
        "identity": "v2"
      }, {
        "map": "effectiveTime",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Timing"
      } ],
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.dosageInstruction.timing",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationOrder.dosageInstruction.timing"
      }
    }, {
      "path": "MedicationOrder.dosageInstruction.asNeeded[x]",
      "min": 0,
      "definition": "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).",
      "short": "Take \"as needed\" (for x)",
      "comments": "Specifically if 'boolean' datatype is selected, then the following logic applies:  If set to True, this indicates that the medication is only taken when needed, within the specified schedule.",
      "mapping": [ {
        "map": "Message/Body/NewRx/MedicationPrescribed/StructuredSIG/SiteofAdministration",
        "identity": "script10.6"
      }, {
        "map": "boolean: precondition.negationInd (inversed - so negationInd = true means asNeeded=false  CodeableConcept: precondition.observationEventCriterion[code=\"Assertion\"].value",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "boolean"
      }, {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "description": "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.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/medication-as-needed-reason"
        }
      },
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.dosageInstruction.asNeeded[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationOrder.dosageInstruction.asNeeded[x]"
      }
    }, {
      "path": "MedicationOrder.dosageInstruction.site[x]",
      "min": 0,
      "definition": "A coded specification of the anatomic site where the medication first enters the body.",
      "short": "Body site to administer to",
      "mapping": [ {
        "map": "//element(*,SIGType)/RouteofAdministration",
        "identity": "script10.6"
      }, {
        "map": "RXR-2-Administration Site",
        "identity": "v2"
      }, {
        "map": "approachSiteCode",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      }, {
        "code": "Reference",
        "profile": "http://hl7.org/fhir/StructureDefinition/BodySite"
      } ],
      "mustSupport": false,
      "binding": {
        "strength": "preferred",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/daf/ValueSet/daf-bodysite"
        }
      },
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.dosageInstruction.site[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationOrder.dosageInstruction.site[x]"
      },
      "isSummary": false
    }, {
      "path": "MedicationOrder.dosageInstruction.route",
      "min": 0,
      "definition": "A code specifying the route or physiological path of administration of a therapeutic agent into or onto a patient's body.",
      "short": "How drug should enter body",
      "mapping": [ {
        "map": "//element(*,SIGType)/Dose/DoseDeliveryMethodCode",
        "identity": "script10.6"
      }, {
        "map": "RXR-1-Route",
        "identity": "v2"
      }, {
        "map": "routeCode",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "description": "A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/route-codes"
        }
      },
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.dosageInstruction.route",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationOrder.dosageInstruction.route"
      }
    }, {
      "path": "MedicationOrder.dosageInstruction.method",
      "min": 0,
      "definition": "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.",
      "short": "Technique for administering medication",
      "comments": "Terminologies used often pre-coordinate this term with the route and or form of administration.",
      "mapping": [ {
        "map": "//element(*,SIGType)/Dose",
        "identity": "script10.6"
      }, {
        "map": "RXR-4-Administration Method",
        "identity": "v2"
      }, {
        "map": "methodCode",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "description": "A coded concept describing the technique by which the medicine is administered.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/administration-method-codes"
        }
      },
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.dosageInstruction.method",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationOrder.dosageInstruction.method"
      }
    }, {
      "path": "MedicationOrder.dosageInstruction.dose[x]",
      "min": 0,
      "definition": "The amount of therapeutic or other substance given at one administration event.",
      "short": "Amount of medication per dose",
      "comments": "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.",
      "mapping": [ {
        "map": "//element(*,SIGType)/MaximumDoseRestriction",
        "identity": "script10.6"
      }, {
        "map": "RXE-23-Give Rate Amount / RXE-24.1-Give Rate Units.code / RXE-24.3-Give Rate Units.name of coding system",
        "identity": "v2"
      }, {
        "map": "doseQuantity",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Range"
      }, {
        "code": "Quantity",
        "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
      } ],
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.dosageInstruction.dose[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationOrder.dosageInstruction.dose[x]"
      }
    }, {
      "path": "MedicationOrder.dosageInstruction.maxDosePerPeriod",
      "min": 0,
      "definition": "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.",
      "short": "Upper limit on medication per unit of time",
      "comments": "This is intended for use as an adjunct to the dosage when there is an upper cap.  For example \"2 tablets every 4 hours to a maximum of 8/day\".",
      "mapping": [ {
        "map": "//element(*,SIGType)/MaximumDoseRestriction",
        "identity": "script10.6"
      }, {
        "map": "RXE-4-Give Amount - Maximum / RXE-5-Give Units",
        "identity": "v2"
      }, {
        "map": "maxDoseQuantity",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Ratio"
      } ],
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.dosageInstruction.maxDosePerPeriod",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationOrder.dosageInstruction.maxDosePerPeriod"
      }
    }, {
      "path": "MedicationOrder.dosageInstruction.maxDosePerAdministration",
      "min": 0,
      "definition": "The maximum total quantity of a therapeutic substance that may be administered to a subject per administration.",
      "short": "Upper limit on medication per administration",
      "comments": "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.",
      "mapping": [ {
        "map": "//element(*,SIGType)/MaximumDoseRestriction",
        "identity": "script10.6"
      }, {
        "map": "no mapping",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Quantity",
        "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
      } ],
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.dosageInstruction.maxDosePerAdministration",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationOrder.dosageInstruction.maxDosePerAdministration"
      }
    }, {
      "path": "MedicationOrder.dosageInstruction.maxDosePerLifetime",
      "min": 0,
      "definition": "The maximum total quantity of a therapeutic substance that may be administered per lifetime of the subject.",
      "short": "Upper limit on medication per lifetime of the patient",
      "mapping": [ {
        "map": "no mapping",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Quantity",
        "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
      } ],
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.dosageInstruction.maxDosePerLifetime",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationOrder.dosageInstruction.maxDosePerLifetime"
      }
    }, {
      "path": "MedicationOrder.dosageInstruction.rate[x]",
      "min": 0,
      "definition": "Identifies the speed with which the medication was or will be introduced into the patient. Typically the rate for an infusion e.g. 100 ml per 1 hour or 100 ml/hr.  May also be expressed as a rate per unit of time e.g. 500 ml per 2 hours.   Other examples: 200 mcg/min or 200 mcg/1 minute; 1 liter/8 hours.  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.",
      "short": "Amount of medication per unit of time",
      "comments": "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 MedicationOrder with an updated rate, or captured with a new MedicationOrder with the new rate.",
      "mapping": [ {
        "map": "no mapping",
        "identity": "script10.6"
      }, {
        "map": "RXE-22-Give Per (Time Unit)",
        "identity": "v2"
      }, {
        "map": "rateQuantity",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Ratio"
      }, {
        "code": "Range"
      }, {
        "code": "Quantity",
        "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
      } ],
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.dosageInstruction.rate[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationOrder.dosageInstruction.rate[x]"
      }
    }, {
      "path": "MedicationOrder.dispenseRequest",
      "min": 0,
      "definition": "Indicates the specific details for the dispense or medication supply part of a medication order (also known as a Medication Prescription).  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.",
      "short": "Medication supply authorization",
      "mapping": [ {
        "map": "Message/Body/NewRx/MedicationPrescribed/ExpirationDate",
        "identity": "script10.6"
      }, {
        "map": "component.supplyEvent",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.dispenseRequest",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationOrder.dispenseRequest"
      },
      "isSummary": false
    }, {
      "path": "MedicationOrder.dispenseRequest.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.dispenseRequest.id",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "MedicationOrder.dispenseRequest.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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.",
      "short": "Additional Content defined by implementations",
      "comments": "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.",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "MedicationOrder:qicore-medicationorder.dispenseRequest.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "MedicationOrder.dispenseRequest.modifierExtension",
      "min": 0,
      "definition": "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 that contains it. Usually modifier elements provide negation or qualification. In order 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.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "comments": "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.",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "MedicationOrder:qicore-medicationorder.dispenseRequest.modifierExtension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "path": "MedicationOrder.dispenseRequest.validityPeriod",
      "requirements": "Indicates when the Prescription becomes valid, and when it ceases to be a dispensable Prescription.",
      "min": 0,
      "definition": "This indicates the validity period of a prescription (stale dating the Prescription).",
      "short": "Time period supply is authorized for",
      "comments": "It reflects the prescriber perspective for the validity of the prescription. Dispenses must not be made against the prescription outside of this period. The lower-bound of the Dispensing Window signifies the earliest date that the prescription can be filled for the first time. If an upper-bound is not specified then the Prescription is open-ended or will default to a stale-date based on regulations.",
      "mapping": [ {
        "map": "Message/Body/NewRx/MedicationPrescribed/Refills",
        "identity": "script10.6"
      }, {
        "map": "effectiveTime",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Period"
      } ],
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.dispenseRequest.validityPeriod",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationOrder.dispenseRequest.validityPeriod"
      }
    }, {
      "path": "MedicationOrder.dispenseRequest.numberOfRepeatsAllowed",
      "min": 0,
      "definition": "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.",
      "short": "Number of refills authorized",
      "comments": "If displaying \"number of authorized fills\", add 1 to this number.",
      "mapping": [ {
        "map": "Message/Body/NewRx/MedicationPrescribed/Quantity",
        "identity": "script10.6"
      }, {
        "map": "RXE-12-Number of Refills",
        "identity": "v2"
      }, {
        "map": "repeatNumber",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "positiveInt"
      } ],
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.dispenseRequest.numberOfRepeatsAllowed",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationOrder.dispenseRequest.numberOfRepeatsAllowed"
      }
    }, {
      "path": "MedicationOrder.dispenseRequest.quantity",
      "min": 0,
      "definition": "The amount that is to be dispensed for one fill.",
      "short": "Amount of medication to supply per dispense",
      "mapping": [ {
        "map": "Message/Body/NewRx/MedicationPrescribed/DaysSupply",
        "identity": "script10.6"
      }, {
        "map": "RXD-4-Actual Dispense Amount / RXD-5.1-Actual Dispense Units.code / RXD-5.3-Actual Dispense Units.name of coding system",
        "identity": "v2"
      }, {
        "map": "quantity",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Quantity",
        "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
      } ],
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.dispenseRequest.quantity",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationOrder.dispenseRequest.quantity"
      }
    }, {
      "path": "MedicationOrder.dispenseRequest.expectedSupplyDuration",
      "min": 0,
      "definition": "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.",
      "short": "Number of days supply per dispense",
      "comments": "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.",
      "mapping": [ {
        "map": "Message/Body/NewRx/MedicationPrescribed/Substitutions",
        "identity": "script10.6"
      }, {
        "map": "expectedUseTime",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Duration"
      } ],
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.dispenseRequest.expectedSupplyDuration",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationOrder.dispenseRequest.expectedSupplyDuration"
      }
    }, {
      "path": "MedicationOrder.substitution",
      "min": 0,
      "definition": "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, and in others it does not matter. This block explains the prescriber's intent. If nothing is specified substitution may be done.",
      "short": "Any restrictions on medication substitution",
      "mapping": [ {
        "map": "specific values within Message/Body/NewRx/MedicationPrescribed/Substitutions",
        "identity": "script10.6"
      }, {
        "map": "subjectOf.substitutionPersmission",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.substitution",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationOrder.substitution"
      }
    }, {
      "path": "MedicationOrder.substitution.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.substitution.id",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "MedicationOrder.substitution.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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.",
      "short": "Additional Content defined by implementations",
      "comments": "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.",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "MedicationOrder:qicore-medicationorder.substitution.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "MedicationOrder.substitution.modifierExtension",
      "min": 0,
      "definition": "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 that contains it. Usually modifier elements provide negation or qualification. In order 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.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "comments": "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.",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "MedicationOrder:qicore-medicationorder.substitution.modifierExtension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "path": "MedicationOrder.substitution.allowed",
      "min": 1,
      "definition": "True if the prescriber allows a different drug to be dispensed from what was prescribed.",
      "short": "Whether substitution is allowed or not",
      "mapping": [ {
        "map": "specific values within Message/Body/NewRx/MedicationPrescribed/Substitutions",
        "identity": "script10.6"
      }, {
        "map": "RXO-9-Allow Substitutions / RXE-9-Substitution Status",
        "identity": "v2"
      }, {
        "map": "code",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.substitution.allowed",
      "base": {
        "max": "1",
        "min": 1,
        "path": "MedicationOrder.substitution.allowed"
      }
    }, {
      "path": "MedicationOrder.substitution.reason",
      "min": 0,
      "definition": "Indicates the reason for the substitution, or why substitution must or must not be performed.",
      "short": "Why should (not) substitution be made",
      "mapping": [ {
        "map": "not mapped",
        "identity": "script10.6"
      }, {
        "map": "RXE-9 Substition status",
        "identity": "v2"
      }, {
        "map": "reasonCode",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "description": "A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/v3-SubstanceAdminSubstitutionReason"
        }
      },
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.substitution.reason",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationOrder.substitution.reason"
      }
    }, {
      "path": "MedicationOrder.priorPrescription",
      "min": 0,
      "definition": "A link to a resource representing an earlier order related order or prescription.",
      "short": "An order/prescription that this supersedes",
      "mapping": [ {
        "map": "not mapped",
        "identity": "script10.6"
      }, {
        "map": ".outboundRelationship[typeCode=?RPLC or ?SUCC]/target[classCode=SBADM,moodCode=RQO]",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Reference",
        "profile": "http://hl7.org/fhir/StructureDefinition/MedicationOrder"
      } ],
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.priorPrescription",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationOrder.priorPrescription"
      }
    }, {
      "path": "MedicationOrder.eventHistory",
      "min": 0,
      "definition": "A summary of the events of interest that have occurred as the request is processed; e.g. when the order was verified or when it was completed.",
      "short": "A list of events of interest in the lifecycle",
      "comments": "This is not the same as an audit trail. It is a view of the important things that happened in the past. Typically, there would only be one entry for any given status, and systems may not record all the status events.",
      "mapping": [ {
        "map": "not mapped",
        "identity": "script10.6"
      }, {
        "map": "not mapped",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "*",
      "id": "MedicationOrder:qicore-medicationorder.eventHistory",
      "base": {
        "max": "*",
        "min": 0,
        "path": "MedicationOrder.eventHistory"
      }
    }, {
      "path": "MedicationOrder.eventHistory.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.eventHistory.id",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "MedicationOrder.eventHistory.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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.",
      "short": "Additional Content defined by implementations",
      "comments": "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.",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "MedicationOrder:qicore-medicationorder.eventHistory.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "MedicationOrder.eventHistory.modifierExtension",
      "min": 0,
      "definition": "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 that contains it. Usually modifier elements provide negation or qualification. In order 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.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "comments": "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.",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "MedicationOrder:qicore-medicationorder.eventHistory.modifierExtension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "path": "MedicationOrder.eventHistory.status",
      "min": 1,
      "definition": "The status for the event.",
      "short": "active | on-hold | completed | entered-in-error | stopped | draft",
      "mapping": [ {
        "map": "not mapped",
        "identity": "script10.6"
      }, {
        "map": "not mapped",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "description": "A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/medication-order-status"
        }
      },
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.eventHistory.status",
      "base": {
        "max": "1",
        "min": 1,
        "path": "MedicationOrder.eventHistory.status"
      }
    }, {
      "path": "MedicationOrder.eventHistory.action",
      "min": 0,
      "definition": "The action that was taken (e.g. verify, discontinue).",
      "short": "Action taken (e.g. verify, discontinue)",
      "mapping": [ {
        "map": "not mapped",
        "identity": "script10.6"
      }, {
        "map": "not mapped",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "description": "A coded concept describing an action taken on a medication order."
      },
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.eventHistory.action",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationOrder.eventHistory.action"
      }
    }, {
      "path": "MedicationOrder.eventHistory.dateTime",
      "min": 1,
      "definition": "The date/time at which the event occurred.",
      "short": "The date at which the event happened",
      "mapping": [ {
        "map": "not mapped",
        "identity": "script10.6"
      }, {
        "map": "not mapped",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "dateTime"
      } ],
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.eventHistory.dateTime",
      "base": {
        "max": "1",
        "min": 1,
        "path": "MedicationOrder.eventHistory.dateTime"
      }
    }, {
      "path": "MedicationOrder.eventHistory.actor",
      "min": 0,
      "definition": "The person responsible for taking the action.",
      "short": "Who took the action",
      "mapping": [ {
        "map": "not mapped",
        "identity": "script10.6"
      }, {
        "map": "not mapped",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Reference",
        "profile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
      } ],
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.eventHistory.actor",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationOrder.eventHistory.actor"
      }
    }, {
      "path": "MedicationOrder.eventHistory.reason",
      "min": 0,
      "definition": "The reason why the action was taken.",
      "short": "Reason the action was taken",
      "mapping": [ {
        "map": "not mapped",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "description": "A coded concept describing the reason for an action taken on a medication order."
      },
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.eventHistory.reason",
      "base": {
        "max": "1",
        "min": 0,
        "path": "MedicationOrder.eventHistory.reason"
      }
    } ]
  },
  "status": "draft",
  "id": "10cd8139-5067-4563-bfda-7e7988eb643b",
  "kind": "resource",
  "url": "http://hl7.org/fhir/qicore/StructureDefinition/qicore-medicationorder",
  "version": null,
  "differential": {
    "element": [ {
      "id": "MedicationOrder:qicore-medicationorder",
      "name": "QICore-MedicationOrder",
      "path": "MedicationOrder",
      "mapping": [ {
        "map": "Medication, Order",
        "identity": "qdm"
      } ],
      "isSummary": false,
      "definition": "Profile of medication prescription, indicating which elements must be supported in rule and measure interpreters.",
      "isModifier": false,
      "mustSupport": false
    }, {
      "id": "MedicationOrder:qicore-medicationorder.status",
      "path": "MedicationOrder.status",
      "isSummary": false,
      "isModifier": false,
      "mustSupport": true
    }, {
      "id": "MedicationOrder:qicore-medicationorder.medication[x]",
      "path": "MedicationOrder.medication[x]",
      "type": [ {
        "code": "CodeableConcept"
      }, {
        "code": "Reference",
        "profile": "http://hl7.org/fhir/qicore/StructureDefinition/qicore-medication"
      } ],
      "binding": {
        "strength": "preferred",
        "description": "The set of RxNorm codes to represent medications",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/daf/ValueSet/daf-medication-codes"
        }
      },
      "mapping": [ {
        "map": "primary code",
        "identity": "qdm"
      } ],
      "isSummary": false,
      "isModifier": false,
      "mustSupport": true
    }, {
      "id": "MedicationOrder:qicore-medicationorder.patient",
      "path": "MedicationOrder.patient",
      "type": [ {
        "code": "Reference",
        "profile": "http://hl7.org/fhir/qicore/StructureDefinition/qicore-patient"
      } ],
      "isSummary": false,
      "isModifier": false,
      "mustSupport": true
    }, {
      "id": "MedicationOrder:qicore-medicationorder.encounter",
      "path": "MedicationOrder.encounter",
      "type": [ {
        "code": "Reference",
        "profile": "http://hl7.org/fhir/qicore/StructureDefinition/qicore-encounter"
      } ],
      "isSummary": false,
      "isModifier": false,
      "mustSupport": true
    }, {
      "id": "MedicationOrder:qicore-medicationorder.dateWritten",
      "path": "MedicationOrder.dateWritten",
      "mapping": [ {
        "map": "active datetime",
        "identity": "qdm"
      } ],
      "isSummary": false,
      "isModifier": false,
      "mustSupport": true
    }, {
      "id": "MedicationOrder:qicore-medicationorder.prescriber",
      "path": "MedicationOrder.prescriber",
      "type": [ {
        "code": "Reference",
        "profile": "http://hl7.org/fhir/qicore/StructureDefinition/qicore-practitioner"
      } ],
      "isSummary": false,
      "isModifier": false,
      "mustSupport": false
    }, {
      "id": "MedicationOrder:qicore-medicationorder.reasonCode",
      "path": "MedicationOrder.reasonCode",
      "binding": {
        "strength": "preferred",
        "description": "The reason code for the presecription",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/daf/ValueSet/daf-problem"
        }
      },
      "mapping": [ {
        "map": "reason",
        "identity": "qdm"
      } ],
      "isSummary": false,
      "isModifier": false,
      "mustSupport": false
    }, {
      "id": "MedicationOrder:qicore-medicationorder.dosageInstruction",
      "path": "MedicationOrder.dosageInstruction",
      "isSummary": false,
      "isModifier": false,
      "mustSupport": true
    }, {
      "path": "MedicationOrder.dosageInstruction.extension",
      "min": 0,
      "isModifier": false,
      "name": "MedicationOrder.dosageInstruction.doseType",
      "mapping": [ {
        "map": "Dosage.doseType",
        "identity": "qidam"
      } ],
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/pharmacy-core-doseType"
      } ],
      "mustSupport": false,
      "binding": {
        "strength": "preferred",
        "description": "Medication dose types (e.g., loading, maintenance, etc.)",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/qicore/ValueSet/qicore-medication-dose-type"
        }
      },
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.dosageInstruction.extension:medicationorderdosageinstructiondosetype$pharmacy-core-doseType",
      "isSummary": false
    }, {
      "path": "MedicationOrder.dosageInstruction.extension",
      "min": 0,
      "isModifier": false,
      "name": "MedicationOrder.dosageInstruction.infuseOver",
      "mapping": [ {
        "map": "Dosage.infuseOver",
        "identity": "qidam"
      } ],
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/pharmacy-core-infuseOver"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.dosageInstruction.extension:medicationorderdosageinstructioninfuseover$pharmacy-core-infuseOver",
      "isSummary": false
    }, {
      "path": "MedicationOrder.dosageInstruction.extension",
      "min": 0,
      "isModifier": false,
      "name": "MedicationOrder.dosageInstruction.rateIncrement",
      "mapping": [ {
        "map": "Dosage.rateIncrement",
        "identity": "qidam"
      } ],
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrement"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.dosageInstruction.extension:medicationorderdosageinstructionrateincrement$pharmacy-core-rateIncrement",
      "isSummary": false
    }, {
      "path": "MedicationOrder.dosageInstruction.extension",
      "min": 0,
      "isModifier": false,
      "name": "MedicationOrder.dosageInstruction.rateIncrementInterval",
      "mapping": [ {
        "map": "Dosage.rateIncrementInterval",
        "identity": "qidam"
      } ],
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrementInterval"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.dosageInstruction.extension:medicationorderdosageinstructionrateincrementinterval$pharmacy-core-rateIncrementInterval",
      "isSummary": false
    }, {
      "path": "MedicationOrder.dosageInstruction.extension",
      "min": 0,
      "isModifier": false,
      "name": "MedicationOrder.dosageInstruction.rateGoal",
      "mapping": [ {
        "map": "Dosage.rateGoal",
        "identity": "qidam"
      } ],
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateGoal"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.dosageInstruction.extension:medicationorderdosageinstructionrategoal$pharmacy-core-rateGoal",
      "isSummary": false
    }, {
      "path": "MedicationOrder.dosageInstruction.extension",
      "min": 0,
      "isModifier": false,
      "name": "MedicationOrder.dosageInstruction.minDosePerPeriod",
      "mapping": [ {
        "map": "Dosage.minDosePerPeriod",
        "identity": "qidam"
      } ],
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/pharmacy-core-minDosePerPeriod"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.dosageInstruction.extension:medicationorderdosageinstructionmindoseperperiod$pharmacy-core-minDosePerPeriod",
      "isSummary": false
    }, {
      "path": "MedicationOrder.dosageInstruction.extension",
      "min": 0,
      "isModifier": false,
      "name": "MedicationOrder.dosageInstruction.maxDeliveryRate",
      "mapping": [ {
        "map": "Dosage.maxDeliveryRate",
        "identity": "qidam"
      } ],
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/pharmacy-core-maxDeliveryRate"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.dosageInstruction.extension:medicationorderdosageinstructionmaxdeliveryrate$pharmacy-core-maxDeliveryRate",
      "isSummary": false
    }, {
      "path": "MedicationOrder.dosageInstruction.extension",
      "min": 0,
      "isModifier": false,
      "name": "MedicationOrder.dosageInstruction.maxDeliveryVolume",
      "mapping": [ {
        "map": "Dosage.maxDeliveryVolume",
        "identity": "qidam"
      } ],
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/pharmacy-core-maxDeliveryVolume"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "MedicationOrder:qicore-medicationorder.dosageInstruction.extension:medicationorderdosageinstructionmaxdeliveryvolume$pharmacy-core-maxDeliveryVolume",
      "isSummary": false
    }, {
      "id": "MedicationOrder:qicore-medicationorder.dosageInstruction.site[x]",
      "path": "MedicationOrder.dosageInstruction.site[x]",
      "binding": {
        "strength": "preferred",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/daf/ValueSet/daf-bodysite"
        }
      },
      "isSummary": false,
      "isModifier": false,
      "mustSupport": false
    }, {
      "id": "MedicationOrder:qicore-medicationorder.dispenseRequest",
      "path": "MedicationOrder.dispenseRequest",
      "isSummary": false,
      "isModifier": false,
      "mustSupport": true
    } ]
  },
  "contact": [ {
    "telecom": [ {
      "value": "http://hl7.org/special/committees/CQI",
      "system": "other"
    } ]
  } ],
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationOrder"
}