description: Profile of MedicationRequest for decision support/quality metrics. Defines the core set of elements and extensions for quality rule and measure authors. package_name: hl7.fhir.us.quality-core derivation: constraint name: USQualityCoreMedicationRequest type: MedicationRequest elements: encounter: type: Reference refers: ['http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-encounter'] index: 15 medication[x]: extensions: codeOptions: {url: 'http://hl7.org/fhir/StructureDefinition/codeOptions', min: 0, max: 1, short: (USCDI+ Quality) Url of a value set of candidate medications, type: Extension, index: 13} elements: extension: short: (USCDI+ Quality) Url of a value set of candidate medications type: Extension url: http://hl7.org/fhir/StructureDefinition/codeOptions index: 13 slicing: slices: codeOptions: match: {} schema: {short: (USCDI+ Quality) Url of a value set of candidate medications, type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/codeOptions', index: 13} min: 0 max: 1 dispenseRequest: short: (USCDI+ Quality) Medication supply authorization index: 37 elements: validityPeriod: {short: (USCDI+ Quality) Time period supply is authorized for, index: 38} numberOfRepeatsAllowed: {short: (USCDI+ Quality) Number of refills authorized, index: 39} quantity: {short: (USCDI+ Quality) Amount of medication to supply per dispense, index: 40} expectedSupplyDuration: {short: (USCDI+ Quality) Number of days supply per dispense, index: 41} reported: short: (USCDI+ Quality) Reported rather than primary record choices: [reportedReference] index: 9 slicing: slices: reportedReference: match: {} schema: short: (USCDI+ Quality) Reported rather than primary record choices: [reportedReference] index: 9 min: 0 max: 1 reasonCode: {short: (USCDI+ Quality) Reason or indication for ordering or not ordering the medication, index: 18} authoredOn: {short: (USCDI+ Quality) When request was initially authored, index: 16} extension: type: Extension short: (USCDI+ Quality) Reported adherence to prescribed medication instructions. url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication-adherence|9.0.0 index: 0 slicing: slices: medicationAdherence: match: {} schema: {type: Extension, short: (USCDI+ Quality) Reported adherence to prescribed medication instructions., url: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication-adherence|9.0.0', index: 0} requester: type: Reference short: (USCDI+ Quality) Who/What requested the Request refers: ['http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-patient', 'http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-practitioner', 'http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-practitionerrole'] index: 17 reportedReference: short: (USCDI+ Quality) Reported rather than primary record refers: ['http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-patient', 'http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-practitioner', 'http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-practitionerrole', 'http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-relatedperson'] type: Reference choiceOf: reported index: 10 slicing: slices: reportedReference: match: {} schema: short: (USCDI+ Quality) Reported rather than primary record refers: ['http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-patient', 'http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-practitioner', 'http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-practitionerrole', 'http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-relatedperson'] type: Reference choiceOf: reported index: 10 min: 0 max: 1 status: {short: (USCDI+ Quality) active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown, index: 1} dosageInstruction: short: (USCDI+ Quality) How medication should be taken index: 20 elements: text: {short: (USCDI+ Quality) Free text dosage instructions e.g. SIG, index: 21} timing: short: (USCDI+ Quality) When medication should be administered index: 22 elements: repeat: short: (USCDI+ Quality) When the event is to occur index: 23 elements: bounds: short: (USCDI+ Quality) Length/Range of lengths, or (Start and/or end) limits choices: [] index: 25 frequency: {short: (USCDI+ Quality) Event occurs frequency times per period, index: 26} frequencyMax: {short: (USCDI+ Quality) Event occurs frequencyMax times per period, index: 27} period: {short: (USCDI+ Quality) Event occurs frequency times per period, index: 28} periodMax: {short: (USCDI+ Quality) Upper limit of period (3-4 hours), index: 29} periodUnit: {short: (USCDI+ Quality) s | min | h | d | wk | mo | a - unit of time (UCUM), index: 30} asNeeded: short: (USCDI+ Quality) Take "as needed" (for x) choices: [] index: 32 route: {short: (USCDI+ Quality) How drug should enter body, index: 33} doseAndRate: short: (USCDI+ Quality) Amount of medication administered index: 34 elements: dose: short: (USCDI+ Quality) Amount of medication per dose choices: [] index: 36 reportedBoolean: {type: boolean, choiceOf: reported, index: 6} doNotPerform: {short: (USCDI+ Quality) True if the order is not to provide the medication, index: 3} intent: {short: (USCDI+ Quality) proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option, index: 2} subject: type: Reference refers: ['http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-patient'] index: 14 medication: short: (USCDI+ Quality) Medication to be taken choices: [] index: 12 reasonReference: type: Reference short: (USCDI+ Quality) US Quality Core Condition or Observation that supports the prescription refers: ['http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-condition-encounter-diagnosis', 'http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-condition-problems-health-concerns', 'http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-simple-observation'] index: 19 package_version: 1.0.0-ballot extensions: medicationAdherence: {url: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication-adherence|9.0.0', type: Extension, short: (USCDI+ Quality) Reported adherence to prescribed medication instructions., index: 0} class: profile kind: resource url: http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-medicationrequest base: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest|9.0.0 version: 1.0.0-ballot