Blog
Hospital Pharmacy Management: Dispensing, Stock and Safety
How a hospital pharmacy workflow runs from prescription to dispensing and stock control, what to look for in software, and where medication errors creep in.
- mid
- hospital
A hospital pharmacy system is the set of tools that carries a medication order from the doctor’s prescription to the patient’s bedside, while keeping stock accurate and every handover traceable. The short answer for decision-makers: pharmacy is where money, inventory and patient safety meet, so it deserves its own workflow design, not just a module bolted onto billing.
What the pharmacy workflow actually covers
Hospital pharmacy is wider than a counter that hands out tablets. A typical flow has five stages:
- Order. The doctor prescribes, ideally directly in the system, so nobody has to decipher handwriting.
- Review. A pharmacist checks the order against the patient record, such as allergies and duplicate drugs.
- Preparation and dispensing. Staff pick, label and release the medication, for outpatients at the counter and for inpatients to the ward.
- Administration. Nurses give the drug and record it.
- Stock and replenishment. Every release reduces stock, which triggers reordering from suppliers.
Each stage is a handover, and handovers are where mistakes happen. WHO notes that medication errors occur when weak medication systems or human factors such as fatigue or staff shortages affect prescribing, transcribing, dispensing, administration and monitoring (WHO Medication Without Harm). In 2024 WHO also published a systematic review and policy brief on preventable medication-related harm, aimed at helping health facilities make medication safety a priority (WHO Indonesia).
Dispensing: outpatient, inpatient and the gap between them
Outpatient dispensing is a queue problem. Patients wait, and waiting time is what they remember. Inpatient dispensing is a coordination problem: orders change daily, wards need their own supplies, and returns are common.
What to look for in software:
- Orders flow straight to the pharmacy without printing or retyping.
- Clear labels with patient name, drug, dose and instructions in Bahasa Indonesia.
- Substitution rules, so staff know when a generic can replace a brand and who approves it.
- Return and cancellation handling, because drugs go back to the pharmacy all the time and stock must follow.
- Separate treatment of drug packages for inpatient stays, so the same item is not billed twice or missed.
Be skeptical of any demo that only shows the outpatient counter. Ask to see a ward order changed mid-stay.
Stock control: the unglamorous money-saver
Medicines expire. Stock sitting in the wrong store, or ordered twice, ties up cash. Good stock control for a hospital pharmacy usually needs:
- Batch and expiry tracking, so you know which lot a patient received and what is about to expire.
- First-expiry-first-out issuing, so the oldest-expiring stock leaves first. This is a standard approach in inventory software. Odoo’s documentation, for example, describes expiration dates per lot and a FEFO removal strategy for perishable goods (Odoo docs).
- Multiple stock locations: main store, outpatient pharmacy, ward stock, emergency trolleys.
- Minimum levels and reorder suggestions, tied to real consumption.
- Stock counts that are quick to run and leave an audit trail of adjustments.
If you are comparing options, ask how the system handles an adjustment: who made it, when, and why. Quiet adjustments are where shrinkage hides.
Medication safety features worth paying for
Software cannot make care safe by itself, and nothing here replaces pharmacist and clinician judgment. But it can make the safe action the easy one. Features to ask about:
- Allergy and duplicate-therapy alerts at ordering or review time.
- Alerts that people actually read. Too many warnings train staff to click through them. Ask whether alert levels can be tuned by your own pharmacists and medical committee.
- High-alert drug flags. Your pharmacy and therapeutics committee defines which medicines count as high-alert, and the system should be able to reflect that list.
- Look-alike, sound-alike markers, in storage locations and on screens.
- Patient and drug checks at the bedside, where your ward process supports them.
- A traceable record of who ordered, verified, dispensed and administered.
The decisions about which checks apply, and at what thresholds, are clinical decisions for your own staff. The software only enforces what you configure.
What it costs
Pricing varies widely by vendor, hospital size and scope, so treat any single number with suspicion. The main cost drivers are:
- Number of users and locations (outpatient pharmacy, wards, stores).
- Whether pharmacy is part of a full hospital system or a separate product.
- Data migration of your drug master list, which is often underestimated.
- Hardware such as barcode scanners and label printers.
- Training and the first months of parallel running.
Ask every vendor for a written quote that separates licences, implementation, hardware and yearly support.
What goes wrong in practice
- A messy drug master list. Duplicate items, inconsistent units and missing pack sizes poison everything downstream. Clean it before go-live.
- Workarounds. If the system is slower than paper at the counter, staff will keep paper, and your data becomes unreliable.
- No owner. Pharmacy software needs a named person, usually the head pharmacist, who decides configuration and signs off changes.
- Weak links to billing. If dispensed items do not reach the invoice reliably, you lose revenue silently.
- Skipping the stock count discipline. Software shows system stock. It only matches the shelf if people record what they take.
Ready-made, custom or Odoo?
There are three realistic paths:
- A ready-made hospital system with a pharmacy module. Fastest to start, and usually the best fit when your workflows are standard.
- Custom software for unusual needs, for example a hospital group with several sites sharing a central warehouse. More flexible, but you pay for design and maintenance.
- Odoo for the supply side. Odoo is strong at inventory, purchasing and accounting, and can handle stock, expiry and procurement well. It is not a clinical system, so bedside ordering and clinical checks usually belong in a hospital system that connects to it.
A common, sensible pattern is a hospital system for clinical ordering and dispensing, with Odoo behind it for purchasing, warehouse and finance. The cost of that pattern is the integration itself, which needs to be scoped and tested properly.
Questions to ask before you buy
- Can we trace any dispensed item back to a batch and a prescriber?
- How are expiry dates and near-expiry stock handled?
- Can our pharmacists tune the alerts?
- What happens to stock when an order is cancelled or a drug is returned?
- How do dispensed items reach billing?
- Who trains our staff, and for how long after go-live?
- Can we export our own data if we leave?
Indonesia’s regulation on hospital pharmacy service standards, Permenkes No. 72 of 2016, is the reference many hospital pharmacies work from (summary on pasal.id). Check the current official text with your pharmacy head or legal adviser. No software makes a hospital compliant by itself.
When to get outside help
Bring in an independent adviser when you are choosing between systems, planning to connect pharmacy with finance or Odoo, or when you suspect stock losses but cannot prove where they happen. An outside view on workflow and data quality is cheaper before you sign than after go-live.
Talk to us
Teknologia Solutions builds custom software and Odoo solutions, and also offers our clinic management system and our hospital management system, which can integrate with Odoo. If you are weighing options for your pharmacy, we are happy to have a no-charge conversation about your workflow and what would suit it. No pressure, and no obligation.
Sources: WHO, Medication Without Harm; WHO Indonesia, medication safety review and policy brief (2024); Odoo documentation, expiration dates; pasal.id, Permenkes 72/2016. This article is general information, not legal or clinical advice. Please verify details against the primary sources and current official texts.