Real-world adherence to guidelines in acute severe ulcerative colitis: automated assessment using large language models
Listed in
This article is not in any list yet, why not save it to one of your lists.Abstract
Background and Aims
Acute severe ulcerative colitis (ASUC) is a medical emergency which requires close guideline adherence for optimal outcomes. However, measuring real-world adherence to guidelines and identifying guideline deviations are labor-intensive. We assessed how well a large language model (LLM)-based framework can measure real-world adherence to ASUC guidelines and identify reasons for deviations.
Methods
The retrospective study focused on clinician adherence to the 2025 American College of Gastroenterology guidelines on ASUC. A multi-agent GPT-5 framework first reviewed inpatient health records to confirm ASUC status. Then for each guideline, it assessed whether it was applicable, recommended by consultants, ordered, or executed. This system was benchmarked against manual chart review. The framework was then applied to all the first seven days of all ASUC hospitalizations in 2019–2024 at UCSF. An additional LLM assessed clinical justification of guideline deviations.
Results
The system reliably recognized ASUC hospitalizations (sensitivity: 0.93) and annotated the guideline cascade (overall accuracy: 0.95, N=60). Across 121 hospitalizations (104 patients), adherence was >80%. Deviations concentrated in deep vein thrombosis prophylaxis (DVTp) and timely rescue therapy. Particularly, DVTp broke down at execution despite appropriate recommendation and ordering, whereas "avoidance" recommendations were followed in practice but seldom explicitly documented. Overall, 62% of non-adherence was unjustified, mostly process delays in DVTp.
Conclusions
Real-world ASUC care at a tertiary center was largely guideline-concordant, with actionable gaps in DVT prophylaxis execution and rescue therapy timing. A guideline-constrained LLM system enables scalable monitoring of clinical quality and creates the potential in simultaneously improving clinical care and guidelines.