LLM medication safety reviews exposed a narrow gap between finding problems and fixing them
Large language models are moving fast into clinical workflows, but medication safety remains a high-stakes test of whether software can think like a prescriber rather than merely recognize risk. In an evaluation of an LLM medication safety system in NHS primary care, issue detection performed strongly, yet fully correct issue–intervention pairs were achieved in only 46.9% of an assessment sample enriched for clinical complexity. The result matters because medication review is not a search problem alone; it is a reasoning task shaped by diagnosis, comorbidity, drug interactions, dose history, prior adverse effects, and the practical limits of what can safely be changed in a real consultation.
The central finding is blunt. The system could often identify that something might be wrong, but it did not reliably connect the identified problem to the right clinical response.
Contextual reasoning failures outweighed gaps in drug knowledge
The evaluation points to a specific failure mode: contextual reasoning, not core medication knowledge, emerged as the main barrier to safe performance. That distinction is clinically important. A model can appear competent when tested on tidy benchmark questions about drug classes, dose ranges, or common interactions, yet still stumble when the same drug appears in a patient with renal impairment, prior intolerance, polypharmacy, or a competing indication that changes the preferred intervention.
In primary care, those contextual variables define whether an alert should trigger monitoring, dose adjustment, substitution, continuation, or no action at all. An LLM that knows the pharmacology but cannot map it onto the patient’s immediate clinical context may generate recommendations that are technically plausible yet operationally unsafe. The study’s taxonomy of failures and de-identified vignettes were designed to make those breakdowns visible, and they suggest the hardest problems sit at the interface between language generation and bedside judgment.
The system’s strongest skill was spotting potential safety issues. Its weaker skill was deciding what to do next.
Why medication review is a harder AI problem than it looks
Medication review compresses several clinical disciplines into one step. Prescribers must reconcile records, interpret indications, assess benefit-risk balance, and anticipate downstream consequences of changing therapy. In that setting, a model must understand not only the drug but the reason it was prescribed, whether the issue is acute or longstanding, and whether the most appropriate intervention is to stop, switch, reduce, monitor, or leave treatment unchanged. A wrong recommendation here is not a cosmetic error; it can destabilize blood pressure control, impair glycemic management, worsen pain, or provoke withdrawal and rebound effects depending on the drug involved.
The study’s real-world framing is especially relevant because benchmark superiority often overstates clinical readiness. Synthetic or decontextualized tests reward recognition, recall, and pattern completion. Real primary care records punish shallow inference. A model trained to answer generalized questions may still miss subtle but crucial contextual cues embedded in the patient narrative, medication history, or comorbidity profile. This is exactly where clinicians rely on tacit reasoning built from years of seeing the same medication behave differently across different bodies.
De-identified vignettes offer a practical safety map for deployment
The published taxonomy and de-identified vignettes do more than document error; they define a path for safer development. By separating medication knowledge gaps from contextual reasoning failures, the evaluation gives developers a way to target improvement rather than treating all mistakes as equivalent. If the model misunderstands a drug mechanism, the remedy is different from the one needed when it misreads a patient’s context or assigns the wrong intervention to a correctly recognized issue.
That sort of error profiling is essential before clinical rollout. NHS primary care operates under time pressure, with broad case mix and frequent multimorbidity. A medication safety system that produces too many superficially correct but clinically mismatched suggestions could increase cognitive load instead of reducing it. At the same time, the existence of a structured failure taxonomy is encouraging in a narrow sense: the limitations are becoming measurable rather than anecdotal, which creates a foundation for targeted model refinement, human-in-the-loop safeguards, and more realistic validation standards.
Real-world validation now matters more than benchmark performance
This evaluation adds to a growing recognition that LLM performance claims need to be tested in the environment where clinicians actually work. In practice, safe deployment will depend on whether the model can sustain accuracy when the record is messy, the indication is ambiguous, and the intervention must be tailored to a specific patient rather than a generic scenario. An issue detector alone is not enough. Medication review requires the final step: a recommendation that is clinically coherent, proportionate, and actionable.
The study did not present the kind of polished victory that AI marketing often prefers. It delivered a more useful message for medicine: detection can look strong while downstream reasoning still fails often enough to threaten safe use. That is the central barrier to automation in primary care medication review, and it is likely to remain the critical benchmark for future systems.
The next test is whether better reasoning can survive messy clinical data
The article’s funding statement noted no specific grant support, and the investigators reported no competing interests. The publication details identify the paper as an open-access report in npj Digital Medicine, with a DOI-linked citation available for the 2026 article. What remains clinically unresolved is whether future versions of the system can improve the issue-to-intervention chain without sacrificing the speed and scalability that make LLM tools attractive in the first place. Until then, this evaluation stands as a cautionary clinical signal: in medication safety, identifying the problem is only half the job.
- • Journal DOI 10.1038/s41746-026-03457-w: https://doi.org/10.1038/s41746-026-03457-w