Healthcare · · 8 min read
How to evaluate AI in hospital pharmacy
Acumen Editorial · Updated November 26, 2026
Evaluating AI in hospital pharmacy means testing each tool against pharmacist-built cases from your own formulary, order sets and compounding workflow. Score order verification, IV preparation checks, diversion surveillance and alerts separately. Measure missed errors before speed, review results at 30, 60 and 90 days, and keep a pharmacist accountable for every output.
Hospital pharmacy is where AI meets the medication-use process at full speed. Thousands of orders, compounded doses and dispensing transactions move through the department every day, and staffing is thin. That is why vendors pitch AI here, and why a weak evaluation is expensive. A tool that misses one high-alert dose has not saved time.
Why is AI showing up in hospital pharmacy now?
Workload is the driver. Per the ASHP National Survey (2024 data), cited in Pharmacy Times in May 2026, over 80% of pharmacy directors report shortages of experienced technicians, and about 60% report shortages of clinical specialists. The same commentary notes that patient acuity in US hospitals rose about 3% from 2019 to 2023, per the American Hospital Association.
Pharmacists are using AI, but mostly away from the patient. In the Royal College of Pharmacy's 2026 member survey, reported by The Pharmaceutical Journal in July 2026, 63.8% of 141 respondents had used AI at work. Most use was administrative (85.6% of users). Clinical uses were rarer: drug interaction checkers (37%) and clinical decision support (36%). Seventy-four percent said AI gives them some cause for concern. Among non-users, 78% cited accuracy or safety and 65% cited unclear governance or accountability. The sample was self-selected and weighted toward hospital pharmacists, so treat it as a signal, not a census.
Which hospital pharmacy AI tools need the hardest evaluation?
Not every tool carries the same risk. At ASHP Midyear 2025, Steven Smoke, PharmD, a clinical informatics pharmacist at RWJBarnabas Health, proposed two questions for sorting AI uses, as reported by Pharmacy Times: is the output predictive or generative, and how close is it to the patient? Tools that touch patient-specific care need a higher bar than tools that touch billing or inventory.
We apply that lens to the main categories.
| Tool category | What it does | Proximity to patient | What to measure first | Who builds ground truth |
|---|---|---|---|---|
| Order verification support | Flags dosing, duplication, allergy and renal issues before a pharmacist verifies | High | Missed high-alert errors per 1,000 orders | Clinical pharmacists by service line |
| IV compounding checks | Gravimetric, barcode and image checks on sterile preparations | High | Compounding errors caught vs. missed; false rejects | Sterile compounding pharmacists |
| Clinical surveillance | Monitors labs, cultures and orders for interventions such as stewardship or renal dosing | High | Actionable alerts vs. noise; interventions missed | Specialist pharmacists (ID, critical care) |
| Diversion surveillance | Scans dispensing and cabinet transactions for anomalies | Medium | Confirmed cases found; false accusations | Pharmacy compliance and controlled substance leads |
| Generative drafting | Drafts monographs, notes, patient education and policy text | Medium to high | Factual errors per document; unsupported claims | Clinical pharmacists, drug information specialists |
| Inventory and shortage forecasting | Predicts usage, expiry and shortage impact | Low | Forecast error; stockouts avoided | Pharmacy operations and buyers |
How do you build a test set for pharmacy AI?
Start from your own work, not the vendor's demo. A useful test set has four layers.
- Real orders, de-identified. Pull a sample of verified orders across services, including the ones a pharmacist intervened on. Interventions are your positives.
- Seeded errors. Have pharmacists write realistic error cases: weight-based pediatric doses with the wrong unit, renal adjustments missed after a creatinine change, duplicate therapy across order sets, look-alike drug names. Seed them at a known rate.
- Hard negatives. Include orders that look wrong but are correct, such as off-label oncology dosing or intentional duplicate opioids in a palliative plan. These measure alert noise.
- Local rules. Your formulary, compounding recipes and protocols differ from the vendor's training data. Cases must reflect them.
Every case needs a reference answer written by a credentialed pharmacist, and a second pharmacist should review a sample blind. Where they disagree, a third adjudicates. Track agreement. If your own pharmacists agree only part of the time on a category, the tool's score on that category means little. Our guide to inter-rater reliability for medical AI covers how to report it.
What metrics matter most?
Lead with safety, then efficiency. A Pharmacy Times commentary in June 2026 on health-system automation suggested a practical metric set: medication errors per 1,000 orders, time from verification to dispensing for urgent medications, automated dispensing cabinet override rate, compounding error rate and staff satisfaction. It also recommended formal reviews at 30, 60 and 90 days after go-live and an annual review of decision support alerts with tiered severity, to limit alert fatigue.
We add three measures that vendors rarely report on their own:
- Miss rate on seeded high-alert errors, reported per category, not averaged.
- Override behavior. How often pharmacists accept a suggestion that was wrong. This is the automation bias test, and it matters most on night shifts. Read more on automation bias in clinical AI.
- Explanation quality for generative and surveillance tools, graded by pharmacists on a rubric: correct drug, correct reason, correct source, safe next step.
Diversion tools need their own care. Coverage can expand fast: one children's hospital expanded review of drug transaction records from 15% to 100% using automated surveillance, according to a 2024 Digital Health Insights report cited by Pharmacy Times. Coverage is not accuracy. Measure confirmed findings against false flags, because a false flag lands on a colleague.
What should you ask a hospital pharmacy AI vendor?
- Which order types, populations and drug classes were in the validation data?
- Were results reported for pediatrics, renal impairment and high-alert drugs separately?
- Who wrote the reference answers, and what were their credentials?
- How does the tool handle local formulary and compounding recipes?
- What is the false alert rate per 1,000 orders, and how is it tuned?
- How are model updates validated before they reach production?
- What evidence supports compliance with USP <797> for sterile compounding workflows?
- Who is accountable when a pharmacist accepts a wrong recommendation?
Ask for performance on your own test set before signing. Our clinical AI pilot acceptance criteria shows how to write pass and fail thresholds into the pilot.
How does this differ from evaluating AI for individual pharmacists?
A pharmacist judging an LLM's drug answer is evaluating knowledge. A hospital pharmacy evaluating a verification or surveillance tool is evaluating a system that runs inside a workflow, at volume, with people who trust it after week two. The test set, the metrics and the governance differ. For the individual view, see our guide to how pharmacists evaluate AI.
How Acumen helps
Acumen supplies the pharmacist-built evaluation data behind these decisions. We source credential-verified clinical pharmacists across critical care, oncology, pediatrics, infectious diseases and sterile compounding. They write seeded error cases and hard negatives, build reference answers, grade model outputs blind and adjudicate disagreements. Every item carries reviewer specialty and agreement, so results hold up with your P&T committee and in procurement. See medical model evaluation for scope.
For adjacent programs, read our guides to evaluating AI drug interaction checkers, evaluating AI clinical decision support and clinical AI model monitoring.
FAQ
What is AI in hospital pharmacy used for?
Health systems use it for order verification support, IV compounding checks, clinical surveillance such as stewardship and renal dosing alerts, controlled substance diversion monitoring, drafting documents and forecasting inventory and shortages. In a 2026 pharmacist survey, most AI use was still administrative, and clinical uses such as decision support were less common.
How do you evaluate AI in hospital pharmacy?
Build a test set from your own de-identified orders, add pharmacist-written seeded errors and hard negatives, and have credentialed pharmacists write reference answers. Score each tool category separately, lead with missed high-alert errors, then measure alert noise and speed. Review results at 30, 60 and 90 days after go-live.
Can AI replace pharmacist order verification?
Not today. Current tools support verification by flagging dosing, allergy, duplication and renal issues, but a pharmacist remains accountable. A clinical informatics pharmacist presenting at ASHP Midyear 2025 stressed pharmacist oversight, especially for tools close to the patient. Measure how often pharmacists accept wrong suggestions to catch automation bias early.
How accurate are AI pharmacy automation tools?
Vendors rarely publish accuracy on independent, local test sets, so the honest answer is that it varies by tool and site. Ask for miss rates on seeded high-alert errors, false alert rates per 1,000 orders and results for pediatrics and renal impairment. Then confirm them on your own cases before signing.
What metrics should a hospital pharmacy track for AI?
Track medication errors per 1,000 orders, verification-to-dispense time for urgent drugs, dispensing cabinet override rate, compounding error rate and staff satisfaction, as suggested in Pharmacy Times in 2026. Add the miss rate on seeded high-alert errors, wrong-suggestion acceptance and pharmacist-graded explanation quality for generative and surveillance tools.
Who should build the ground truth for pharmacy AI evaluation?
Credentialed pharmacists matched to the task: clinical pharmacists by service line for order verification, sterile compounding pharmacists for IV checks, infectious diseases and critical care pharmacists for surveillance, and compliance leads for diversion. A second reviewer should grade a blind sample, with a third adjudicating disagreements and agreement reported.