Investigators developed a multi-agent GPT-5 framework to review inpatient records and map compliance with the 2025 American College of Gastroenterology guidelines for acute severe ulcerative colitis. The system first confirmed whether a hospitalization met ASUC criteria. Next, for each guideline element it classified applicability, whether consultants recommended the action, whether orders were placed, and whether the action was executed as documented. The source did not provide granular prompts, model chain logic, or specific parsing rules beyond describing this guideline-constrained cascade.
The study team benchmarked the automated annotations against manual chart review. Data indicated the framework identified ASUC hospitalizations with sensitivity of 0.93. Annotation of the guideline cascade showed overall accuracy 0.95 in the reported validation set (N=60). The paper did not report additional performance metrics such as specificity, interrater reliability of the manual review, or per-item error profiles beyond the aggregated accuracy figure.
The framework was then applied to all documented first seven days of ASUC hospitalizations at UCSF spanning 2019–2024. The analytic cohort comprised 121 hospitalizations representing 104 patients. The source explicitly framed this as retrospective data from a single tertiary center. The authors noted code will be publicly available and that data may be shared following a data use agreement with UCSF.
Across the cohort, measured clinician adherence exceeded 80% for guideline-recommended items. The automated system characterized adherence at multiple steps — recommendation, ordering, and execution — rather than reporting a single binary measure. The paper did not enumerate adherence by every guideline item; instead it reported the overall adherence level and highlighted specific areas of breakdown.
Deviation from guidelines clustered in two areas. First, DVT prophylaxis showed a specific pattern: recommendations and orders were often present, yet execution failed in a subset of cases. In other words, the process broke down between order placement and documented administration. Second, delays in initiating timely rescue therapy accounted for additional deviations. The authors reported that 62% of observed non-adherence lacked documented clinical justification; most of these unjustified events reflected process delays in DVT prophylaxis rather than deliberate, documented decisions to withhold care.
A separate LLM agent assessed whether documented deviations had explicit clinical justification. The study team reported that a majority of non-adherence events — 62% — were classified as unjustified by this adjudication step. The source did not provide the LLM’s decision rules, confidence thresholds, or example adjudications; those methodological details were not reported in the preprint.
The retrospective project received UCSF Institutional Review Board approval under Study #25-44405, and the IRB granted a waiver of informed consent. The authors stated the work complied with the U.S. Common Rule and the Declaration of Helsinki. Code accompanying the framework will be publicly available; the preprint notes that data can be made available under a data use agreement with UCSF.
The authors described real-world ASUC care at a tertiary center and reported high overall guideline concordance, but actionable gaps remained in DVT prophylaxis execution and rescue therapy timing. Key limitations documented in the source include the retrospective design and single-center setting. The manuscript did not report some technical details of the LLM pipeline — for example, complete model prompts, error case examples, or per-item specificity — and did not present prospective validation outside UCSF. The paper therefore leaves open practical questions for operational deployment: can the framework generalize to other hospitals with different documentation practices, will real-time integration reduce execution failures, and what governance will be required for clinical monitoring using LLMs? These implementation questions, along with the stated plan to release code and share data under DUA, represent the next concrete steps reported by the authors.