Back to top
Top
U.S. flag

An official website of the United States government

Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

"Medication, Dispensed"

Performance/Reporting Period
2023
QDM Datatype (QDM Version 5.6):

Data elements that meet criteria using this datatype should document that a prescription for the medication indicated by the QDM category and its corresponding value set has been dispensed and provided to the patient or patient proxy. In the ambulatory setting, medications are primarily taken directly by patients and not directly observed. Hence, dispensed or fulfillment information is the closest health provider documentation of medication compliance. In settings where patients attest to taking medications in electronic format (perhaps a Personal Health Record), patient attestation of medication taken may be available. The QDM datatype, “Medication, Administered” addresses medication taken; to address the source of the information, a measure addressing such patient attestation would require use of the QDM entity (Patient, Care Partner, or Practitioner) fulfilling the role of the performer attribute for the administration event.

Timing:

  • relevant dateTime references the dateTime the prescription dispensing event occurred, i.e., the time the prescription was handed over to the patient or patient’s representative.
  • relevantPeriod addresses the time period for which the dispensed supply is to be administered/taken (i.e., not including refills; each dispensing event relevantPeriod is evaluated individually).
  • In the initial publication of QDM 5.5, relevantPeriod referenced the validity period, i.e., the time period for which the ordered supply is authorized by the prescription authorizing the dispensing event.
  • author dateTime references the date and time the dispensing event is recorded.

Notes:

  • The dispensing record is unlikely to indicate a relevantPeriod, the date or time at which a patient should start taking a medication and the date and time at which the patient should stop taking the medication. 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 dispensed medication will run out. If daysSupplied is not available, derive it from the supply (quantity of medication dispensed) 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, starting with the relevant dateTime add the number of daysSupplied to determine when the dispensed medication quantity will run out.
  • Each dispensing event is unique. Therefore, when calculating cumulative medication duration (CMD) the measure developer should use CQL logic to address multiple dispensing events over a period of time.
  • 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 5.7 for scenarios to consider in calculating cumulative medication duration.

QDM Category

Medication

Medication represents clinical drugs or chemical substances intended for use in the medical diagnosis, cure, treatment, or prevention of disease. Medications are defined as directly referenced values or value sets containing values derived from code systems such as RxNorm.
Data Elements defined by this QDM Datatype:
QDM Attributes

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

Number of days of medication supplied per dispense.

dispenser

The individual performing the dispense.

The dispenser attribute references the new QDM entities (Patient, Care Partner, Practitioner, Organization, or Location) and any or all of the attributes of the respective QDM entity. For example, a measure developer seeking to assure the dispensing pharmacy is part of the same organization as the prescribing physician can specify that both the "Medication, Order" prescriber and dispenser and specify the same QDM entity = organization identifer for each.

dosage

Quantity (e.g., mg, mL) of medication per unit.

frequency

Number of units per time period the medication or substance:
  • 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.

refills

The number of refills allowed by the prescription.

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.

relevantDateTime

relevant dateTime addresses the time an activity occurs as a single point in time. If the activity occurs over a period of time, use relevantPeriod.

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

Refers to the path by which the medication or substance should be taken into the body system, such as intradermally, intrathecally, intramuscularly, intranasally, intravenously, orally, rectally, subcutaneously, sublingually, topically, or vaginally.

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).

Last Updated: Jan 15, 2024