Mazecare Logo
Inventory & Dispensary

Dispensary Queue & Medication Fulfillment

Manage the pharmacy order queue, dispense prescriptions through the guided Review → Inventory → Labels wizard with FEFO batch allocation, and print bilingual medication labels in Mazecare OS.

The Pharmacy module in Mazecare tracks every prescription order from creation through payment and fulfillment. Pharmacists work the order queue, allocate stock to each line item using the built-in FEFO (First-Expired, First-Out) batch recommendation, and print bilingual medication labels. All of this is validated against real-time inventory, so a dispense can never push stock negative.


Dispensary Workflow Architecture

An order enters the pharmacy queue, then moves through a guided three-step dispense wizard before it's marked fulfilled:


Step-by-Step Dispensary Procedures

Step 1: Access the Pharmacy Order Queue

  1. Navigate to Pharmacy (/pharmacy).
  2. The order table lists every pharmacy order with Order Number, Patient, Paid, Fulfilled, Created, Last modified, and Archived columns. Paid and Fulfilled are shown as simple green-check / red-cross indicators rather than a multi-stage status pipeline.
  3. Use Show Current to filter out archived orders, the Search box to find a specific order, or Columns to customize which columns are visible.
  4. Click + New Pharmacy Order to start one manually, or click any row to open its Pharmacy Order Detail view.

Step 2: Review the Order & Line Items

  1. On the order detail page, review each order line: item name, Unit, Quantity, Unit Amount, Tax %, Discount %, per-line Paid / Fulfilled flags, and a linked Invoice.
  2. Click + Order Item to add another line manually, or + Items for Prescriptions to pull items from the patient's prescriptions.
  3. The right-hand summary totals Subtotal (excluding Tax), Total Tax, and Total.
  4. Order-level actions live under the ⋮ menu next to Dispense: Link to Invoice and Archive. There's no separate flag-to-physician action on the order itself.


Step 3: Dispense (Review & Safety Check)

  1. Click Dispense to open the Dispense Prescriptions wizard.
  2. Step 1, Review, shows a Safety Check banner listing any active allergy flags recorded for the patient, followed by Prescription Details: each medication and its quantity.
  3. Click Confirm & Next.


Step 4: Dispense (Inventory Allocation, FEFO)

  1. Step 2, Inventory, is titled "System auto-selected batches based on FEFO." Mazecare recommends the batch expiring soonest for each item.
  2. Confirm the dispensing branch, then for each item review the Batch Assignment dropdown and the Recommended Batches (FEFO) panel, which shows the batch number, expiry date, and available quantity. It flags a partial supply warning if the assigned batch can't cover the full quantity ordered.
  3. Leave Track Inventory / Deduct physical stock on so the dispense decrements real stock; only turn it off for the rare case where stock was already accounted for elsewhere.
  4. Click Confirm & Next.

Insufficient Batch Stock
Completing a dispense is blocked if the assigned batch doesn't have enough on-hand quantity. Mazecare will not let a dispense push stock negative. Reassign a batch with sufficient stock, or top up inventory via a Stock Transfer or Stock Adjustment first (see Stock Management & Transfers).

Step 5: Dispense (Labels & Completion)

  1. Step 3, Labels, lists every item in the Print Queue with an individual print button, alongside a live label preview. Labels carry bilingual (HK) text.
  2. Click Print All Labels & Prescription to send every queued label and the prescription sheet to the printer.
  3. Click Complete Dispense. Mazecare deducts the allocated batch quantities, marks the order Fulfilled, and the balance updates immediately in Stocks.
  4. Settle payment separately by linking the order to an invoice (⋮ → Link to Invoice). Paid and Fulfilled are tracked independently.

Copyright © 2026