A medically grounded LLM agent-based tool to detect patient safety events in medical records.
Diego Trujillo, Dulin Wang, Nathan Bahr, Tina Yi-Jin Hsieh, Byeongyeon Cho, Garth Meckler, Matthew Hansen, Carl Eriksson,
Center for Learning Health Care Delivery, Beth Israel Deaconess Medical Center, Boston, Massachusetts, United States of America. · McWilliams School of Biomedical Informatics, UTHealth, Houston, Texas, United States of America.
Key points
From the paper's conclusion- We collected a sample of 18,402 lines of clinical information from 300 EMS clinical charts that were independently dually reviewed by two expert physicians for epinephrine adverse safety events (ASEs), with 96% inter-rater agreement.
Abstract
Large language models (LLMs) have shown incredible promise in medicine. While LLMs may be particularly useful in areas requiring extensive review of clinical records, their use remains limited due to their tendency to hallucinate and fabricate information. Hallucination issues, as well as their consequences, are exacerbated in low-probability, high-stakes scenarios such as rare adverse safety events or medical errors. We present SAFE-AI (Structured and Automated Framework for Explainable AI), a novel method for clinical decision making that combines the strengths of clinical expert knowledge with LLMs in an ontology-driven model that minimizes hallucinations using strict rules. We test this method to identify medication errors in medical charts. We collected a sample of 18,402 lines of clinical information from 300 EMS clinical charts that were independently dually reviewed by two expert physicians for epinephrine adverse safety events (ASEs), with 96% inter-rater agreement. We tested SAFE-AI against these labels, achieving similar performance to human experts in detecting epinephrine overdoses with 97.9% accuracy, and 91.6% accuracy in identifying delays in epinephrine administration, greatly outperforming baseline LLMs models. Notably, some disagreements between clinicians and the model were found to be justifiable differences in judgment rather than errors. SAFE-AI presents a novel approach for clinical AI applications that addresses two key limitations of current machine learning methods: 1) over-reliance on probabilistic pattern recognition instead of established medical knowledge, and 2) perpetuation of biases present in training data. This framework is easily adaptable to a range of clinical applications, paving the way for provable and trustworthy AI in medicine.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Cognition, oversight, and the safety case for documentation AI.Journal of hospital medicine · 2026
- The Crisis of Ground Truth in Medical AI: Evaluating the Tools Used to Detect LLM HallucinationsInternational Journal for Research in Applied Science and Engineering Technology · 2026
- Can LLM Judges Catch Unsafe Clinical Actions? A Fault-Injection StudyarXiv · 2026
- Safeguarding Agentic AI in Radiology Workflows: A Multimodel Evaluation of Rule-based and Large Language Model-based VerificationarXiv · 2026
- AI-driven analysis of patient safety reports using large language models: an exploratory multiple methods studyBMJ Quality & Safety · 2026
- LingSante MedGuard Technical ReportarXiv · 2026