Skip to main content
A medication dispense record represents the dispensing of a medication to a patient. This includes details about when the medication was prepared, dispensed, and the quantity provided. Reference Table: The medication_dispense_references table contains normalized references from the medication dispense to other entities. It supports the following reference properties:
  • medication_reference (required): links to the medication that was dispensed
  • subject (required): links to the patient who received the medication
  • performer.actor: links to practitioners who performed the dispensing
  • location: links to the location where the medication was dispensed
For detailed information about reference table structure and indexing, see the Reference Tables documentation. Medication Dispense Table: Primary Keys:
  • medication_dispense_id
Foreign Keys:
  • patient_id
  • medication_id
ColumnData TypeDescription
medication_dispense_idvarcharUnique identifier for the medication dispense
patient_idvarcharUnique identifier for the patient
medication_idvarcharUnique identifier for the medication
statusvarcharStatus of the medication dispense. Possible values:
preparation: The core event has not started yet, but some staging activities have begun (for example, initial preparing and labeling of medication).
in-progress: The dispensed product is being prepared and packaged.
cancelled: The dispensing event was terminated prior to any output product being created.
on-hold: The dispensing event has been temporarily halted but is expected to resume.
completed: The dispensed product has been handed over to the patient or patient representative.
entered-in-error: The dispense event was created in error and should not be considered valid.
stopped: Actions implied by the dispense event have been permanently halted, before all of them occurred.
declined: The dispense was declined and not performed.
unknown: The authoring system does not know which of the status values applies for this dispense.
when_handed_overdateDate when the medication was handed over
when_prepareddateDate when the medication was prepared
dose_unitvarcharUnit of measurement for the dose
dose_amountvarcharAmount of medication dispensed
days_supply_amountvarcharNumber of days the medication will last
days_supply_unitvarcharUnit for days supply (typically “d”)
note_textvarcharAdditional notes about the dispense
data_sourcevarcharSource of the medication dispense data