Guide · Running the hospital

Hospital pharmacy inventory management: FEFO, expiry and recalls

How a hospital pharmacy keeps stock accurate, cuts expiry losses and dispenses exactly what was prescribed and billed.

Where pharmacy money leaks

  • Medicines expiring on the shelf because older batches were not issued first.
  • Dispensing that does not match the prescription or the bill.
  • Returns accepted without verification.
  • Purchases made without comparing quotes or checking approval limits.
  • Stock moved to wards and departments without a record.

FEFO: issue what expires first

First-expiry-first-out (FEFO) means the batch with the nearest expiry date is issued first, whatever order it arrived in. It is stricter than FIFO and is the right rule for medicines. Good practice:

  • Record batch and expiry for every receipt of stock.
  • Let the system propose the batch at dispensing; allow an override only with a recorded reason.
  • Review stock expiring in the next 30, 60 and 90 days every week, and return or transfer it in time.

Recalls and damage

When a manufacturer or regulator recalls a batch, you need to know within minutes where every unit is: on which rack, in which store, and which patients received it. That is only possible if every movement, from receipt to transfer to dispensing, is recorded against the batch. Damaged and expired stock should be written off through a report, not quietly removed.

Purchasing with control

  • Compare supplier quotes side by side before raising a purchase order.
  • Enforce approval limits by role.
  • Receive goods against the order, and resolve invoice price variances before payment.
  • Pay suppliers through accounts, not from the counter.

Dispensing that matches the bill

When the pharmacy works from the doctor's electronic prescription and the bill is created from the same order, the pharmacist picks, checks and hands over exactly what was billed. Patient returns should be verified, for example with a code sent to the patient's phone.

How Docran handles it

Docran's pharmacy dispenses against the prescription and the bill, issues FEFO stock with recorded overrides, tracks recalls, damage and transfers, and runs purchasing with approvals and a central store for every department. See pharmacy and stores.

Written by the Docran team in Hyderabad. Updated 2026-10-29. Product screens and examples on this site use sample data only.

Questions hospitals ask

What is the difference between FIFO and FEFO?

FIFO issues the stock that arrived first. FEFO issues the stock that expires first. For medicines, FEFO is the safer rule because batches do not always arrive in expiry order.

How often should a hospital pharmacy do a stock count?

Run cycle counts of high-value and fast-moving items weekly, and a full physical count at least once a year, reconciled against the system.

Live Docran walkthrough

with Q&A for your team

Satya, our co-founder and CEO, runs a full hospital day on a demo branch with sample patients, with the engineers who built the product on the call: registration, consultation, lab, pharmacy, billing and the cashier's day close. Bring your questions.

Sessions every week, scheduled around your team.

Book a session
Docran executive reports with collections by day

Ready to see it in your hospital?

Book a 30-minute live walkthrough with your teams.

Book a demo

One patient, one day

Setup, the day, the books: watch it play out

Setup · configured, not codedOne patient, one dayThe books · audit and governance
Configured, not coded
Setup Administrator · Example Hospital
Departments · 12
Roles 16 · permissions 475
Tariffs and packages
Approval ladder · maker-checker
Branch letterhead
Fails closed until configured
Registered once
Registration UHID 000148 · Female · 34 y
Phone, consent and preferencesOn file
Duplicate check · phone and namePassed
Visit · General MedicineCreated
DPDP consent recorded
Token issued on payment
Consultation fee ₹500.00 · UPI
Receipt on the hospital letterheadPrinted
Token C-014In queue
GST on the receipt
Orders become the bill
e-Prescription Token C-014
HbA1c, Complete blood countBill line added
Metformin 500 mg · 30 daysBill line added
Posted · append-only
Result released same day
Laboratory Accession 261013-0035
Turnaround2 h 40 m of 4 h
Complete blood countVerified · released
Hidden for your role
Dispensed as billed
Pharmacy Rx · UHID 000148
Metformin 500 mg × 30 · batch B2611FEFO
Dispensed quantity = billedMatch
First expiry, first out
Drawer proven
Close my cash · Cashier 2 14 Oct · 18:30 IST
Opening float₹5,000.00
Cash collected₹38,500.00
Cash refunds− ₹1,200.00
Expected in drawer₹42,300.00
Counted₹42,300.00
Difference₹0.00
Handed over to AccountsAwaiting verify
Maker and checker
Day closed · ₹0.00 difference
Books that add up
Accounting Today · all departments
Net billed₹45,102.50
Collections₹33,762.50
Refunds₹2,350.00
Day close · Cashier 2 · ₹42,300.00Verified
Deposit matched to bank statementMatched
Exact to the paise
Governed and auditable
Audit trail Append-only · same transaction as the change
09:41 · Sign-in · Front office · Branch MAINLogged
09:52 · Bill posted · INV-2026-000231Posted
10:18 · Lab result released · Lab headLogged
18:30 · Day close verified · AccountsLogged
Data in India · DPDP-aligned
Configured, not coded
Setup Administrator · Example Hospital
Departments · 12
Roles 16 · permissions 475
Tariffs and packages
Approval ladder · maker-checker
Branch letterhead
Fails closed until configured
Registered once
Registration UHID 000148 · Female · 34 y
Phone, consent and preferencesOn file
Duplicate check · phone and namePassed
Visit · General MedicineCreated
DPDP consent recorded
Token issued on payment
Consultation fee ₹500.00 · UPI
Receipt on the hospital letterheadPrinted
Token C-014In queue
GST on the receipt
Orders become the bill
e-Prescription Token C-014
HbA1c, Complete blood countBill line added
Metformin 500 mg · 30 daysBill line added
Posted · append-only
Result released same day
Laboratory Accession 261013-0035
Turnaround2 h 40 m of 4 h
Complete blood countVerified · released
Hidden for your role
Dispensed as billed
Pharmacy Rx · UHID 000148
Metformin 500 mg × 30 · batch B2611FEFO
Dispensed quantity = billedMatch
First expiry, first out
Drawer proven
Close my cash · Cashier 2 14 Oct · 18:30 IST
Opening float₹5,000.00
Cash collected₹38,500.00
Cash refunds− ₹1,200.00
Expected in drawer₹42,300.00
Counted₹42,300.00
Difference₹0.00
Handed over to AccountsAwaiting verify
Maker and checker
Day closed · ₹0.00 difference
Books that add up
Accounting Today · all departments
Net billed₹45,102.50
Collections₹33,762.50
Refunds₹2,350.00
Day close · Cashier 2 · ₹42,300.00Verified
Deposit matched to bank statementMatched
Exact to the paise
Governed and auditable
Audit trail Append-only · same transaction as the change
09:41 · Sign-in · Front office · Branch MAINLogged
09:52 · Bill posted · INV-2026-000231Posted
10:18 · Lab result released · Lab headLogged
18:30 · Day close verified · AccountsLogged
Data in India · DPDP-aligned

A full hospital day in Docran HMS: configured once, every counter on one record, the books that add up. Explore Docran HMS