← All articles

Blog

Clinic Pharmacy Inventory: Expiry, Batches and Reorders

How a clinic can control medicine stock: batch tracking, expiry dates, FEFO picking and reorder levels, plus what goes wrong and when to get help.

6 min read
  • mid
  • clinic

If your clinic dispenses medicine, the short answer is this: track stock by batch, record an expiry date on every batch, dispense the earliest-expiring batch first, and set a reorder level for each item. A spreadsheet can do this for a few dozen items. Beyond that, it usually breaks, and a system that ties stock to prescriptions and billing starts to pay for itself.

This article is a business explainer, not clinical or regulatory advice. Your pharmacist-in-charge and the rules that apply to your licence decide what you must do.

Why clinic medicine stock goes wrong

Most clinics do not lose money on medicine through theft or dramatic errors. They lose it quietly:

  • Stock expires on the shelf because nobody saw the date coming.
  • The same item is bought twice because two staff members ordered separately.
  • A fast-moving item runs out, and the patient is sent to an outside pharmacy.
  • Dispensed medicine is not recorded or not billed, so the stock count never matches the books.
  • Counts are done rarely, so a gap is found months after it started.

None of these are technology problems at heart. They are process problems that a tool either helps with or hides.

The four building blocks

1. Batches (lots)

A batch is a group of units received together, sharing a manufacturer batch number and expiry date. Tracking by batch, not just by item name, tells you which units are on the shelf and when each group expires. It also lets you act quickly if a manufacturer or supplier notifies you about a specific batch.

2. Expiry dates

Record the expiry date at the moment of receiving, when the box is in your hands. If this is skipped, it is almost never fixed later. Good practice is to also set an early-warning window, for example a number of weeks before expiry, so the person responsible is alerted while there is still time to use, return or discuss the stock with the supplier. Whether a supplier accepts returns is a matter of your agreement with them, so ask before you rely on it.

3. Picking order: FEFO

FEFO means first expired, first out: the batch that expires soonest is dispensed first, even if it arrived later. WHO’s good storage and distribution practices for medical products state that stock should be rotated and the FEFO principle followed, as summarised by GMP Compliance. Plain FIFO (first in, first out) is simpler but can leave a short-dated batch behind a long-dated one.

For a clinic, the practical point is that the system, not the dispensing assistant’s memory, should suggest which batch to take. Some software does this automatically. For example, Odoo’s documentation describes setting a FEFO removal strategy so that stock is taken from the lot with the nearest expiration date, and raising alerts as a lot approaches its date.

4. Reorder levels

A reorder level is the quantity at which you buy more. The usual approach uses two numbers per item: a minimum (the trigger) and a maximum (the target to order back up to). Odoo’s older user documentation gives a worked example: with a minimum of 5 and a maximum of 25, stock dropping to 4 produces an order for 21 units.

The numbers should come from your own history: how fast the item sells, how long the supplier takes to deliver, and how much safety stock you are comfortable holding. There is no universal formula that suits every clinic.

Rupiah, not just units

Expiry is a cost, so it helps to measure it. Once purchase prices are recorded per batch, you can report the rupiah value of stock that expired or was written off each month. Many clinics have never seen this number. Seeing it tends to change purchasing habits more than any policy memo, because it shows whether you are over-buying slow items to chase supplier discounts.

Spreadsheet, ready-made system or custom build

OptionFits whenWatch out for
SpreadsheetOne location, a small item list, one person responsibleVersion confusion, no link to prescriptions or billing, easy to overwrite
Clinic management system with pharmacy moduleYou want dispensing tied to patient visits and billingCheck how it handles batches, expiry and multiple stock locations
ERP such as Odoo for stock and purchasingMulti-branch groups that already use ERP for finance and procurementIt is not a clinical system by default, so patient-side workflow needs separate handling
Custom buildUnusual workflows that standard products do not coverHigher cost and longer timeline, and you own maintenance

Be careful with feature claims. Whatever the option, test the exact behaviour you need during a demo, using your own scenarios, such as whether near-expiry stock can still be dispensed by mistake.

What to ask when you evaluate any option

  • Can I see stock by batch and expiry, per branch?
  • Does dispensing a prescription reduce the right batch automatically?
  • Will it warn me before expiry, and who receives the warning?
  • Can I set a different reorder level for each item and each branch?
  • What happens when a delivery arrives with several batches of the same item?
  • How are returns, damaged goods and write-offs recorded, and who approves them?
  • Can I export my data if I change systems later?

Also ask who can edit stock quantities. A good system records who changed what, and when.

Common mistakes to avoid

Skipping the physical count. Software shows what should be on the shelf. Regular counts, even a rotating partial count each week, show what is. Differences should be investigated, not just adjusted away. This is also consistent with good distribution practice as described by PPRI, which calls for periodic reconciliation of actual and recorded stock.

Over-complicating at the start. Begin with your top 50 to 100 items by value or usage. Add the long tail later.

Ignoring unit conversions. Boxes, strips, tablets and bottles are different units. If purchasing is in boxes and dispensing is in tablets, the system must convert correctly, or counts will drift.

No owner. Someone, usually the pharmacist or head nurse, needs clear responsibility for expiry review and reorder decisions. Software does not replace that.

Migrating messy data. Importing a spreadsheet with inconsistent item names creates duplicates on day one. Clean the list first.

When to get help

Consider outside help if you run several branches with separate stock, if medicine stock does not reconcile with billing, if you are outgrowing spreadsheets but find ready-made systems too rigid, or if you want stock, purchasing and accounting in one place. A short review of your current process often shows whether you need new software at all, or just clearer routines.

A no-charge conversation

Teknologia Solutions builds custom software and works with Odoo. We also offer our own hospital management system, which can integrate with Odoo. If you want to talk through your medicine inventory process, we are happy to have a no-charge conversation and tell you honestly whether you need software, or just a tidier routine.


Sources: GMP Compliance, FIFO, FEFO, LIFO; Odoo documentation, expiration dates; Odoo user documentation, reordering rules (v14); Austrian PPRI glossary, stock taking. Features and documentation change between versions, so verify against the primary sources and your own licensing and pharmacy rules before acting.