Pharmacy
The pharmacy module covers inventory, batch and expiry tracking, prescription fulfilment, and counter billing.
Inventory
Pharmacy → Items — every medicine you stock. Each item carries:
- Brand and generic name.
- Manufacturer.
- Form (tablet, syrup, injection, etc.).
- Pack size and unit.
- HSN / SAC code, GST class.
- Default reorder level.
Each item can have multiple batches, each with its own MRP, cost price, manufacturing date, and expiry date. Batches deplete in FEFO (first-expiry-first-out) order automatically.
Goods inward
Pharmacy → Purchases → New — record a supplier bill. The form captures:
- Supplier and invoice number.
- Items, batches, quantities, MRPs, expiry dates.
- Discount and tax breakdown.
On save, the stock is added to the inventory and the supplier account is updated.
Prescription fulfilment
When a doctor writes a prescription in a consultation, it appears on the pharmacy counter dashboard before the patient arrives. The pharmacist:
- Picks the patient by token or MRN.
- Reviews the prescribed lines.
- Adjusts quantities (substitutes, partial fills).
- Dispenses; the system deducts from FEFO batches.
- Bills.
The bill flows to the consolidated visit bill if the patient still has an open visit; otherwise it is a standalone pharmacy bill.
Returns and refunds
Pharmacy bills can be partially or fully returned within a configured window (default 7 days). Returns reverse the stock back into the batch they came from.
Expiry alerts
The dashboard shows three rolling alert bands:
- Red — expiring this month.
- Amber — expiring in 90 days.
- Yellow — slow-moving stock (no movement in 60 days).
Click any band to see the list and trigger a transfer-out, return-to- supplier, or write-off.
Reports
- Stock-on-hand by item / batch / location.
- Expiring stock by date band.
- Top-selling items by revenue and by quantity.
- Margin analysis (cost vs MRP).
- Supplier-wise purchase analysis.
Related modules
- Consultations — the source of prescriptions.
- Billing — where pharmacy lines roll into the visit bill.