Pharmacy Module

Dispense Queue

The Dispense Queue (pharmacy/pages/queue.php) lists pending and recently dispensed prescriptions that need action from pharmacy staff — this is where prescriptions written by doctors in the main clinical app actually get fulfilled.

How prescriptions arrive here

Whenever a doctor prescribes a medication, it's normally pushed to this queue automatically (grouped by prescription reference). The page also includes a self-healing sync: any active medications from the last 30 days that somehow weren't pushed to the queue (e.g., from an older code path) are automatically detected and added, so nothing silently falls through the cracks.

Step-by-step

  1. Go to Dispense Queue.
  2. Review pending prescriptions, grouped by patient/prescription.
  3. Verify the medication details against the prescription.
  4. Check for drug interactions if needed (see DDI Checker).
  5. Dispense — this deducts from stock (see Stock Batches) and marks the queue entry dispensed.

Common issues & fixes

the sync mechanism should catch it within the 30-day window; if it's older or still missing, check with the prescribing doctor that it was saved correctly.
check Stock Batches for the drug; may need a purchase order if genuinely out.
entries are grouped by prescription_ref; if duplicates appear, this may indicate the prescription was saved more than once — flag to IT/support.

Was this article helpful?

Thanks for the feedback!
ESC
navigate open esc close