"Medication, Order"
Data elements that meet criteria using this datatype should document a request to a pharmacy to provide the medication indicated by the QDM category and its corresponding value set.
Timing:
- relevantPeriod addresses the time referenced in the dosage instruction indicating when the medication administration should start and end.
- author dateTime references the date and time the medication order (prescription) is authored.
Notes:
- The medication order (prescription) is unlikely to indicate a relevantPeriod, the time period for which the ordered supply is to be administered/taken including all refills. Therefore, to determine the number of days covered by a single dispensing event, use the daysSupplied attribute and the relevant dateTime of the event to determine when the ordered medication will run out. If daysSupplied is not available, derive it from the supply (quantity of medication ordered) divided by the dosage (amount of medication to be taken at a single administration) times the frequency (number of units per time period – e.g., per day):
daysSupplied = supply / (dosage x frequency)
And multiply the daysSupplied per dispensing event multiplied by one plus the number of refills to determine the total daysSupplied ordered.
daysSupplied x (1 + #refills)
Starting with the relevant dateTime add the total daysSupplied (including refills) to determine when the ordered medication quantity will run out. - negation rationale indicates a one-time documentation of a reason an activity is not performed. Negation of QDM datatype-related actions for a reason always use the author dateTime attribute to reference timing and must not use relevantPeriod.
Refer to Special Cases in Section 4.1.16 for scenarios to consider in calculating cumulative medication duration.
Medication
authorDateTime
The time the data element was entered into the clinical software. Note, some datatypes include both relevant dateTime and author dateTime attributes. When both are present, author dateTime is included to accommodate negation rationale.
The author dateTime addresses when an activity is documented. Documentation can occur at the beginning, during, at the end, or subsequent to the end of the activity. The author dateTime should be used only if the relevantPeriod cannot be obtained or to represent the time negation rationale is documented.
Note: negation rationale indicates a one-time documentation of a reason an activity is not performed. Negation of QDM datatype related actions for a reason always use the author dateTime attribute to reference timing and must not use relevantPeriod.
daysSupplied
dosage
frequency
- Is administered to a patient for an active medication (a).
- Was administered to the patient (b).
- Should be taken by the patient or administered to the patient (c).
- Is recommended to be given to the patient (d).
negationRationale
Indicates the reason that an action was not performed. Only QDM datatypes that represent actions (e.g., performed, recommended, communication, order, dispensed) allow the negation rationale attribute. The intent is to indicate a justification that such action did not happen as expected. This attribute specifically does not address the presence or absence of information in a clinical record (e.g., documented absence of allergies versus lack of documentation about allergies). QDM assumes a world view that absence of evidence indicates information does not exist or an action did not happen. To express such lack of evidence, an eCQM author should use the CQL expression not exists with reference to the data element rather than the QDM data model. negation rationale in QDM signifies only a reason for such absence, i.e., the reason must be present to qualify for negation rationale. The syntax in the human readable HQMF is addressed in CQL examples and in the MAT User Guide. Prior versions of QDM used the syntax, Procedure, Performed not done. QDM versions starting with 5.3 use the syntax, Procedure, not Performed. Section A-5 provides examples for expressing negation rationale in CQL.
Note: negation rationale indicates a one-time documentation of a reason an activity is not performed. Negation of QDM datatype-related actions for a reason always use the author dateTime attribute to reference timing and must not use relevantPeriod.
For updated guidance and implementer feedback regarding use of the QDM negation rationale attribute see Section 6.6.
prescriber
The person who ordered the prescription.
The prescriber attribute references the QDM entities (Patient, Care Partner, Practitioner, or Organization) and any or all of the attributes of the respective QDM entity. For example, to reference that a physician who prescribed a medication is the same person who was the primary participant in an Encounter and assure the physician’s specialty meets the measures requirements, the eCQM can use the Practitioner entity and its attributes.
Should the eCQM choose to reference a physician practice or a hospital, the performer can reference the Organization entity and indicate the identifier and/or the organization type.
[See Section 2.6 for description of Entities].
The CQL can specify which identifier the measure expects to be used (e.g., NPI or Tax Identifier Number) or it can avoid referencing an identifier to allow the implementing organization or practice to use its own identifier.
reason
The thought process or justification for the datatype. In some measures, specific treatments are acceptable inclusion criteria only if a justified reason is present. Each of these measures uses a value set (often, but not exclusively, using SNOMED CT) to express acceptable justification reasons. Other measures specify reasons as justification for exclusions.
Examples include patient, system, or medical-related reasons for declining to perform specific actions. Each of these measures also uses a value set to express acceptable justification reasons for declining to perform expected actions.
refills
relatedTo
An attribute that indicates one QDM data element fulfills the expectations of another QDM data element.
See Section 5.8 for examples for using relatedTo.
Note: QDM 5.6 relatedTo attribute is consistent with the FHIR element basedOn which is available for many FHIR resources addressed by the QDM datatypes added in the QDM 5.6 version. These QDM additions allow evaluation and testing during a period of FHIR transition specifically to relate actions with orders that generate them. However, measure developers should carefully determine feasibility for each use case when using the relatedTo attribute.
relevantPeriod
relevantPeriod addresses the time between the start of an action to the end of an action. Each QDM datatype using relevantPeriod defines specific definitions for the start and stop time for the action listed.
Note: negation rationale indicates a one-time documentation of a reason an activity is not performed. Negation of QDM datatype-related actions for a reason always use the author dateTime attribute to reference timing and must not use relevantPeriod
route
setting
- Inpatient - in the hospital during the current inpatient stay
- Outpatient - in an outpatient facility such as an ambulatory surgical center
- Community - in the ambulatory setting (e.g., at home)
supply
The quantity (amount) of therapeutic agent provided to a patient per dispensing event (i.e., number of doses, number of tablets or pills, volume of medication) indicated to be given during a procedure, diagnostic test, or medication, or substance administration.
Note: "Medication, Discharge" includes medications the provider has indicated the patient should take after discharge from the hospital. This medication list is part of the discharge instructions provided to a patient. The list may include medication supply if it incorporates medication orders written at discharge even though the supply will not be present for medications the patient already has at home or purchases over-the-counter (without a prescription).