Clinic & Hospital · Pharmacy

Clinic pharmacy: dispense medicines by lot and expiry

The pharmacy screen in Daftiq dispenses medicines from your pharmacy warehouse, either onto a patient's visit or over the counter. Lot-tracked medicines are taken earliest expiry first and never from an expired lot, and stock can never go below zero. It lists medicines near expiry or below their minimum, and with Accounting on each dispense books its cost.

Last updated:

Clinic & Hospital · Module page: Clinic & Hospital

Dispense numbers
DSP-000001 per company
Lots
Earliest expiry first; expired lots are never used
Near expiry
Within 90 days by default, set in Clinic settings
Low stock
Inventory reorder minimum, else the clinic's low-stock level (10 by default)

What does the clinic pharmacy do?

It is the dispensing counter of a clinic or hospital pharmacy. Medicines are ordinary stocked products in your product list, kept in one warehouse that you choose as the Pharmacy warehouse in Clinic settings. The Medicines category marks which products appear here; if you choose no category, every stocked product does.

Clinic & Hospital → Pharmacy shows the stock of each medicine in that warehouse, the Near expiry list with lot, expiry date and days left, the Low stock list, and the Recent dispenses with what was given and whether it is billed. It is for pharmacists and the pharmacy in-charge.

How do I dispense medicines for a patient's visit?

  1. Open the patient's visit from Visits & billing.
  2. Under Dispense medicine, pick the medicine and the quantity. The list shows what is in stock.
  3. Click Dispense. The stock leaves the pharmacy warehouse at once and the medicine is added to the visit as a line at its sale price.
  4. Bill the visit as usual: the medicines are charged with the consultation and services on one invoice.

How do I sell over the counter?

  1. Open Clinic & Hospital → Pharmacy.
  2. Under Over the counter, optionally choose the Patient (optional), then use Add medicine for each line with the quantity.
  3. Click Dispense. The dispense appears in Recent dispenses.
  4. Click Bill on the dispense. Daftiq makes a sales invoice to the patient, or to the "Pharmacy counter" customer when no patient was chosen, posted or draft as set in Clinic settings.

What does dispensing post to stock and the books?

  • Each line is a stock move out of the pharmacy warehouse. It is refused if the warehouse does not hold enough, whatever your company allows elsewhere.
  • For medicines tracked by lot or serial in Inventory, Daftiq picks the lots with the earliest expiry, skips expired ones and keeps the lot numbers and expiry dates on the dispense line.
  • With Accounting on, each dispense records its cost: cost of goods sold up, inventory down.
  • The invoice that follows is a service invoice, so it does not take the stock out a second time.
  • A dispensed medicine cannot be removed from a visit, because the stock has already left.

How is the pharmacy restocked?

Medicines are bought like any stock: purchase orders and bills in Procurement or Purchases, received into the pharmacy warehouse with lot numbers and expiry dates. Set a minimum with reorder rules for the pharmacy warehouse and the low-stock list uses it. The AI pharmacy demand forecast in the clinic AI copilot suggests reorder quantities and can create draft RFQs per supplier through Procurement.

How does the pharmacy connect to the rest of the clinic?

Visits come from appointments and tokens; medicines go onto visits and billing; dispenses for a patient are written to the patient access log. The clinic dashboard shows the top near-expiry and low-stock medicines. See the Clinic & Hospital hub.

Frequently asked questions

Does Daftiq stop dispensing expired medicine?

Yes, for lot-tracked medicines. Lots are used earliest expiry first and an expired lot is never chosen. If only expired stock is left, the dispense is refused.

Can the pharmacy sell to people who are not patients?

Yes. Dispense over the counter without choosing a patient, and bill it to the Pharmacy counter customer.

Can I change the near-expiry window?

Yes. Set Near expiry within (days) in Clinic settings, from 1 to 730 days. The default is 90.

Is the pharmacy a separate stock from the shop or store?

Yes. The pharmacy dispenses only from the warehouse chosen as the Pharmacy warehouse. Move stock in with a stock transfer from your main store.

Can I return a dispensed medicine?

Not from the clinic screens. The pharmacy screen has no return step, and a dispensed line cannot be removed from a visit.

In this group: Clinic & Hospital

Stop losing medicines to expiry

Choose your pharmacy warehouse in Clinic settings, track medicines by lot and expiry, and dispense from one screen. See plans and pricing.

Create a free account · Book a demo · Pricing