description: Negation profile of MedicationDispense for decision support/quality metrics. Defines the core set of elements and extensions for quality rule and measure authors. package_name: hl7.fhir.us.qicore derivation: constraint name: QICoreMedicationDispenseDeclined type: MedicationDispense elements: medication[x]: extensions: notDoneValueSet: {url: 'http://hl7.org/fhir/StructureDefinition/cqf-notDoneValueSet', min: 0, max: 1, type: Extension, short: (QI) Url of a value set of activities not requested or performed, index: 9} elements: extension: type: Extension short: (QI) Url of a value set of activities not requested or performed url: http://hl7.org/fhir/StructureDefinition/cqf-notDoneValueSet index: 9 slicing: slices: notDoneValueSet: match: {} schema: {type: Extension, short: (QI) Url of a value set of activities not requested or performed, url: 'http://hl7.org/fhir/StructureDefinition/cqf-notDoneValueSet', index: 9} min: 0 max: 1 medicationCodeableConcept: {type: CodeableConcept, short: (QI) What medication was supplied, choiceOf: medication, index: 7} statusReason: short: (QI) Why a dispense was not performed choices: [statusReasonCodeableConcept] index: 3 statusReasonCodeableConcept: {type: CodeableConcept, short: (QI) Why a dispense was not performed, choiceOf: statusReason, index: 4} extension: type: Extension short: (QI) Extension url: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.recorded index: 0 slicing: slices: recorded: match: {} schema: {type: Extension, short: (QI) Extension, url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.recorded', index: 0} min: 1 max: 1 status: type: code short: (QI) preparation | in-progress | cancelled | on-hold | completed | entered-in-error | stopped | declined | unknown binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/medicationdispense-status'} pattern: {type: Code, value: declined} index: 1 dosageInstruction: index: 12 elements: text: {short: (QI) Free text dosage instructions e.g. SIG, index: 13} timing: {short: (QI) When medication should be administered, index: 14} route: binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/route-codes'} mustSupport: false index: 15 doseAndRate: short: (QI) Amount of medication administered index: 16 elements: type: short: (QI) The kind of dose or rate specified binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/us/qicore/ValueSet/qicore-medication-dose-type'} index: 17 dose: short: (QI) Amount of medication per dose choices: [] index: 19 required: [type] medicationReference: short: (QI) What medication was supplied refers: ['http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medication'] type: Reference choiceOf: medication index: 8 authorizingPrescription: type: Reference refers: ['http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest'] index: 11 subject: type: Reference short: (QI) Who the dispense is for refers: ['http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient'] index: 10 medication: short: (QI) What medication was supplied choices: [medicationCodeableConcept, medicationReference] index: 6 package_version: 7.0.0-ballot extensions: recorded: {url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.recorded', min: 1, max: 1, type: Extension, short: (QI) Extension, index: 0} class: profile kind: resource url: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationdispensedeclined base: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationdispense version: 7.0.0-ballot required: [medicationCodeableConcept, statusReasonCodeableConcept, medication, statusReason, medicationReference]