Hospitals
RelationshipDraft

How hospital pharmacies work: formularies, drug buying and shortages

A hospital pharmacy is the department that buys, stores, prepares and dispenses every medicine the hospital uses; it decides which drugs are stocked through a formulary set by the pharmacy and therapeutics committee, buys through GPO contracts and a prime wholesaler, and spends much of its time managing shortages and drug costs, which are one of a hospital's largest non-labor expenses.

.md
Fig. What flows between them
  1. Hospital pharmacies & 340B programs
    ↓ Dispensed, compounded and IV-prepared medicines
    Nonprofit health systems (multi-hospital)
  2. Hospital pharmacies & 340B programs
    ↓ Formulary decisions, drug use reviews and alerts
    Nonprofit health systems (multi-hospital)
  3. ↓ Drug budget and pharmacy staffing
    Hospital pharmacies & 340B programs
The questions people ask

Quick answers

How do hospital pharmacies work?

Pharmacists verify every medication order entered in the EHR, technicians fill automated dispensing cabinets on each unit, and a central or satellite pharmacy compounds IV bags, chemotherapy and syringes. Pharmacists also round with clinical teams, manage anticoagulation and antibiotics, and run drug buying and inventory.

What is a hospital pharmacy formulary?

The list of drugs the hospital routinely stocks and allows prescribers to order, decided by a pharmacy and therapeutics (P&T) committee of doctors, pharmacists and nurses. It favors drugs with the best evidence and value, often one or two per class, with substitution rules for the rest.

Why do hospitals have drug shortages?

Most shortages hit cheap generic injectables made by few factories with thin margins; a quality problem, plant closure or raw material disruption can cut supply quickly. The FDA and ASHP track active shortages, and hospital pharmacies respond by substituting, rationing, compounding or buying at high prices from secondary suppliers.

Who do hospital pharmacies buy drugs from?

Mostly from one primary wholesaler (the prime vendor) at prices negotiated by a group purchasing organization, with some direct purchases, specialty distributors for infused drugs, and 340B pricing for eligible US hospitals.

What are automated dispensing cabinets?

Locked, computer-controlled cabinets on hospital units, such as BD Pyxis and Omnicell, that release a patient's medication to a nurse only after a pharmacist has verified the order. They track every withdrawal, which also helps detect drug diversion.

Do hospital pharmacies make money?

Inpatient drugs are mostly bundled into the hospital's per-case payment, so the inpatient pharmacy is a cost center. Outpatient infusions, specialty pharmacy and, for eligible US hospitals, 340B savings can make pharmacy one of the more profitable service lines.

01

How the relationship works#

01.1

Inside a health system, the pharmacy sits between suppliers and patients: it buys through GPO contracts and wholesalers, sets the formulary, verifies prescribers' orders, prepares doses and stocks units, and reports to the system's leadership on drug spend.[1]

Consensus Link
  1. GPO
    ↓ contract prices
    Hospital pharmacy
  2. ↓ verified doses
    Unit nurses
Where the pharmacy sits inside a hospital's drug flow.
01.2

A health-system pharmacy runs several businesses at once: inpatient dispensing, sterile compounding, clinical pharmacy, purchasing and inventory, outpatient and specialty pharmacy, infusion centers and, in the US, 340B program compliance.

Consensus Link
1
Inpatient dispensing
Order verification
2
Sterile compounding
IVs, chemo
3
Clinical pharmacy
Rounds, stewardship
4
Purchasing
GPO, wholesaler
5
Specialty pharmacy
Outpatient revenue
6
340B compliance
US only
The main functions of a hospital pharmacy department.
02

What flows between them#

02.1

Every inpatient dose follows the same loop: prescriber orders in the EHR, pharmacist verifies, the dose is prepared or pulled from a cabinet, the nurse scans the patient's wristband and drug barcode, and the system records administration.

Consensus Link
  1. 1
    Order entered
    Physician
  2. 2
    Order verified
    Pharmacist
  3. 3
    Dose prepared or stocked
    Technician, robot
  4. 4
    Barcode scan at bedside
    Nurse
  5. 5
    Administration charted
    EHR
The medication-use loop inside a hospital.
02.2

The P&T committee reviews new drugs, sets substitution rules, writes order sets and restrictions (for example, antibiotics only with infectious disease approval), and monitors drug use. Its decisions shape which manufacturers win hospital business.

Consensus Link
Governance
Pharmacy and therapeutics committeeMedical staff approval
Tools
Formulary listOrder setsTherapeutic interchange
Monitoring
Drug use evaluationAntimicrobial stewardship
↑ built on top of ↑
How formulary decisions are made and enforced.
03

Commercial structure#

03.1

Drugs are a large and fast-growing hospital cost, driven by specialty and oncology biologics. Inpatient drugs are mostly paid inside the DRG case rate, so the pharmacy cuts cost; outpatient infused drugs are billed separately, so they can earn margin.

Consensus Link
Inpatient drugs
  • 1Bundled in case payment
  • 2Cost to minimize
  • 3Formulary control
Outpatient infusions
  • 1Billed separately
  • 2Margin opportunity
  • 3Payer site-of-care pressure
Specialty pharmacy
  • 1Dispensed to patients
  • 2Needs payer network access
How drug payment differs by setting.
03.2

Purchasing runs on a GPO pharmacy contract portfolio, a prime vendor agreement with one wholesaler, direct contracts for some brands and 340B pricing where eligible. Biosimilar adoption is a major savings lever.[2]

Consensus Link
Price
GPO pharmacy contractsDirect manufacturer deals340B ceiling prices
Supply
Prime vendor agreementSpecialty distributors
Savings levers
BiosimilarsTherapeutic interchangeWaste reduction
↑ built on top of ↑
The contracts behind hospital drug buying.
03.3

Pharmacy technology is a big capital line: automated dispensing cabinets (BD Pyxis, Omnicell), carousels, IV compounding robots, smart infusion pumps integrated with the EHR, and diversion-detection software.

Consensus Link
1
Dispensing cabinets
BD Pyxis, Omnicell
2
Carousels
Central inventory
3
IV robots
Sterile compounding
4
Smart pumps
EHR-linked
5
Diversion analytics
Controlled substances
The technology a hospital pharmacy runs.
04

How they communicate#

04.1

The director of pharmacy (often a system chief pharmacy officer) reports to the COO or CMO, chairs or staffs P&T, and works daily with nursing, supply chain and finance. Clinical pharmacists sit with ICU, oncology and emergency teams.

Consensus Link
  1. P&T committee
    ↓ formulary decisions
    Chief pharmacy officer
  2. ↓ shortage alerts
    Nursing leaders
  3. ↓ safety reports
    Chief pharmacy officer
Who the pharmacy works with inside a health system.
04.2

During a shortage, a pharmacy-led team assesses stock, finds alternatives, restricts use, communicates changes to prescribers and builds EHR order changes, often within hours.[3]

Consensus Link
  1. 1
    Shortage flagged
    Buyer, wholesaler
  2. 2
    Stock and usage assessed
    Pharmacy
  3. 3
    Alternatives approved
    P&T / clinical leads
  4. 4
    EHR orders changed
    Informatics
  5. 5
    Staff notified
    Pharmacy, nursing
How hospitals manage a drug shortage.
05

Power dynamic#

05.1

Pharmacy leaders gain influence as drug spend grows: they control the formulary and drive savings, but they compete for capital and staff with other departments and depend on executives for 340B and specialty pharmacy strategy.

Consensus Link
Pharmacy department
Their levers
  • Formulary control
  • Savings and 340B income
  • Medication safety authority
Health system leadership
Their levers
  • Budget and headcount
  • Capital approvals
  • Strategic priorities
VS
The balance between pharmacy and system leadership.
06

Friction & conflict#

06.1

Tensions include staffing shortages of pharmacists and technicians, drug shortages, compounding compliance costs (USP standards), drug diversion risk, and prescribers pushing back on formulary restrictions.[4][5]

Consensus Link
1
Staffing gaps
Techs, pharmacists
2
Drug shortages
Generic injectables
3
Compounding rules
USP 797 / 800
4
Diversion
Controlled substances
5
Formulary pushback
Prescriber preferences
Where hospital pharmacies face friction.
06.2

Shortages persist because generic injectables earn little, manufacturing is concentrated, and buyers reward the lowest price rather than reliable supply.[5]

Consensus Link
  1. 1Low generic prices
  2. 2Few plants, thin margins
  3. 3Quality failure or exit
  4. 4Hospital shortage
Why hospital drug shortages keep happening.
07

Regional variations#

07.1

In the UK, NHS trust pharmacies buy under national frameworks and regional contracts; Germany's hospital pharmacies may supply other hospitals and run large compounding; China removed the hospital drug markup in 2017 under "zero markup" reform; Japan separated prescribing and dispensing for outpatients; India's private chains run in-house pharmacies as profit centers.

Consensus Link
  • 1National tenders
  • 2Trust pharmacy teams
  • 1Hospital pharmacies supply others
  • 2Strong compounding
  • 1Zero drug markup since 2017
  • 2Volume-based procurement
  • 1Outpatient dispensing separated
  • 1Pharmacy as profit center
How hospital pharmacy differs by country.
07.2

Clinical pharmacy on the wards is most developed in the US, Canada, UK and Australia; in many other countries the hospital pharmacy is still mainly a dispensing and supply function.

Inferred Link
United States
Advanced clinical roles
United Kingdom
Ward pharmacists, prescribers
Canada / Australia
Advanced roles
Germany / France
Mostly supply focus
China / India
Growing clinical roles
Relative weight by region
Relative development of clinical pharmacy roles (judgment).
09
Live · coming next

Pulse

What's happening with hospital pharmacies & 340B programs and nonprofit health systems (multi-hospital)

Every headline, story, and sentiment shift about hospital pharmacies & 340B programs and nonprofit health systems (multi-hospital): updated continuously, tagged to the map, and linked back to how it works.

Footnotes

Sources

  1. 1American Society of Health-System Pharmacists , ASHP
  2. 2340B Drug Pricing Program , Health Resources and Services Administration (HRSA), Office of Pharmacy Affairs
  3. 3Drug shortages resource center , ASHP
  4. 4USP compounding standards (General Chapters 795, 797, 800) , United States Pharmacopeia
  5. 5Drug shortages , US Food and Drug Administration
Before you go

Did you find what you came here for?