Two operations that happen to share a name
Outpatient and inpatient pharmacy are different businesses running under one department head. The outpatient pharmacy is a retail operation: a patient arrives with a prescription, waits, pays, receives a full course of medicines, and leaves with them. The inpatient pharmacy is a supply-chain operation: it moves medicines to wards against orders and indents, in doses timed to administration rounds, for patients it usually never meets, and nobody pays at the point of transfer.
The differences are not cosmetic. The unit of dispensing differs — a full pack against a single timed dose. The recipient differs — a patient against a nurse. The payment moment differs — at the counter against consolidation into the final admission bill. The performance measure differs — queue time at the counter against on-time availability at the ward. The failure mode differs — a patient leaves without a medicine against a dose is missed at 2 p.m.
This article is a comparison rather than a set of instructions, because the design decision most hospitals get wrong is treating the two as configurations of one process. Almost every downstream problem — the crowded counter, the missed dose, the stock that reconciles to nothing — descends from that single decision.
The inpatient job: unit dose and ward indent
The inpatient pharmacy's core task is to deliver the right dose to the right patient at the right administration time, repeatedly, for the duration of the stay. Two supply models dominate. Unit-dose dispensing supplies individually packaged, patient-labelled doses timed to each round, which gives the tightest control and the cleanest administration record but demands more pharmacy labour and a reliable delivery cycle. Ward indent supplies bulk stock to a ward-held cupboard from which nurses draw, which is far less labour-intensive and correspondingly less traceable.
Most hospitals run a hybrid, and the design question is where the line sits. A defensible split puts high-alert medicines, controlled substances, expensive agents, and anything requiring dose calculation on patient-specific dispensing, while a defined and deliberately short floor-stock list covers common analgesics, antipyretics, IV fluids, and emergency-trolley items. The failure pattern is a floor-stock list that grows quietly until most of the formulary is sitting anonymously in ward cupboards.
Everything else about inpatient pharmacy follows from this. Returns and credits exist because a discontinued order leaves undispensed doses, which is a transaction outpatient pharmacy never has. Stop orders and automatic discontinuation matter because an order can persist beyond its intended course. Ward stock counts, expiry checks in cupboards the pharmacy does not physically control, and reconciliation of indent against consumption are all unique to this half of the operation.

Inpatient-only transactions with no outpatient equivalent
- Ward indent against ward stock, distinct from patient dispensing
- Returns and credits when an order is discontinued mid-course
- Automatic stop orders and course-length enforcement
- Ward cupboard expiry checks and periodic physical counts
- Charge posting to the admission bill rather than payment at the counter
The outpatient job: retail dispensing and counselling
The outpatient pharmacy has a different core task: convert a prescription into a dispensed course, collect payment, and send the patient home able to take the medicines correctly. The whole operation is optimised around queue time and counselling quality, because those are what the patient experiences and what determines whether the prescription is actually taken as intended.
Substitution decisions sit here in a way they do not inpatient. A patient who cannot afford a branded product needs an available generic equivalent and an explanation, in the moment, at the counter. Partial dispensing when the full course is unavailable, and the follow-up so the patient returns for the balance, is a routine outpatient transaction with no inpatient analogue. So is refusing to dispense against an incomplete or unclear prescription while the prescriber has already moved to the next patient.
Counselling is the outpatient pharmacy's clinical output, and it is what the counter design either enables or prevents. A patient going home on a new inhaler, an insulin pen, or an anticoagulant needs several minutes of demonstration and teach-back. A counter arrangement where that conversation blocks a queue of thirty people will not produce it, no matter what the policy says.
Counter design and staffing follow the difference
Outpatient counter design is a queueing problem shaped by OPD session times. Demand arrives in waves as clinics finish, and a counter count set for the daily average will have idle staff at eleven and a thirty-minute queue at one. Separating the transaction into stages — prescription receipt and billing, then assembly, then a distinct handover-and-counselling position — lets each stage be staffed to its own rate and stops the counselling conversation from blocking the queue behind it.
A separate counselling window is the highest-return change available to most outpatient pharmacies. It gives the patient on a new complex medicine somewhere to go that is not the front of the payment queue, and it protects that conversation from the pressure of everyone waiting.
Inpatient staffing is scheduled against a different clock entirely: order verification through the day with peaks after morning rounds, preparation and trolley assembly ahead of administration rounds, ward deliveries on a fixed cycle, and a thin but genuinely capable night presence for new admissions and urgent orders. The two rosters cannot be a single pool without one side being starved — and in practice it is always the inpatient side, because the outpatient queue is visible and a missed ward dose is not.

“We ran one roster for both and wondered why ward deliveries slipped every afternoon. The visible queue always won, because a queue complains and a delayed dose does not.”
Stock separation and pricing logic
The two operations should hold separate stock, or at minimum separately tracked stock within a shared physical store, because they consume from different pack sizes and against different demand patterns. Outpatient dispensing needs retail packs, strips, and full courses. Inpatient supply needs bulk packs, injectables, IV fluids, and often different presentations of the same molecule. A single stock pool with a single reorder rule serves neither well and produces the recurring situation where outpatient demand consumes stock that inpatient orders were relying on.
Pricing logic differs more fundamentally, and this is where a shared configuration causes real problems. Outpatient dispensing is a point-of-sale event: the patient pays at the counter, price control ceilings apply directly to what is charged, tax is computed on that transaction, and the receipt is a retail invoice. Inpatient dispensing posts a charge to the admission account, may fall under a package rate, a PM-JAY or CGHS or ESIC scheme rate, or a corporate tariff, and is settled with a payer rather than the patient at the counter.
This is where forcing one workflow to serve both fails most visibly. A system configured for retail point-of-sale will fight every inpatient scheme-rate and package scenario, and one configured for inpatient charge posting will be clumsy at the counter. A platform such as HealUDoc can hold distinct dispensing and pricing workflows for outpatient and inpatient within a single item master, which preserves one clinical medication dictionary while allowing the two commercial models to differ as they must.
Why one workflow for both fails
The single-workflow approach fails in a predictable sequence. It starts as a reasonable simplification, since both operations do issue medicines against an order and reduce stock. Then the inpatient-specific transactions arrive — returns, ward indents, stop orders, charge posting — and get bolted on as exceptions. Then the outpatient counter, optimised around a screen carrying inpatient fields it never uses, slows down. Then staff develop workarounds, and the workarounds become the process.
The concrete symptoms are recognisable across many hospitals: ward indents processed as patient dispensing so consumption cannot be attributed, returns handled as negative sales that corrupt the outpatient revenue figure, counselling skipped because the workflow gives it no step, and inpatient stock quietly consumed by the outpatient counter during a busy afternoon. Each is treated locally as a discipline problem when it is a design consequence.
The reporting damage is the part that surfaces last. When both operations post to the same transaction type, the pharmacy cannot separate retail revenue from inpatient consumption, cannot compute outpatient margin, cannot measure ward-level drug cost per bed day, and cannot tell whether an inventory movement was a sale or a supply. By the time anyone needs those numbers, there are two years of undifferentiated history behind them.

What should legitimately be shared
Separating the workflows does not mean separating everything, and over-correction has its own costs. One item master and one medication dictionary must be shared, or the hospital ends up with two names for the same molecule and interaction checking that works on one side only. Formulary status, interaction and allergy rules, batch and expiry tracking, supplier and purchase management, and recall capability should all be common — a recall must reach both operations from one query. HealUDoc keeps that shared clinical and inventory foundation underneath the two separate dispensing workflows, which is what makes the separation safe rather than fragmenting.
What should differ is everything downstream of the dictionary: the dispensing transaction type, the pricing and billing logic, the screen layout, the staffing model, the physical stock location, and the performance measures. The clean formulation is one clinical foundation, two operational workflows.
The same logic extends to a third case many hospitals under-serve: the discharge prescription, which is clinically an inpatient event and commercially an outpatient one. Handled well — dispensed before the patient leaves the ward, counselled at the bedside, with the reconciled discharge list in hand — it is one of the highest-value touchpoints the pharmacy has. Handled as an afterthought, it sends a just-discharged patient to join the OPD queue with their luggage, which is where a good inpatient stay goes to acquire its worst memory.


