S167 Optimizing Emergency Department Discharge for Acute Pancreatitis Using Machine Learning
Introduction: Acute pancreatitis is a leading cause of admission for gastrointestinal disease and is increasing in incidence. While one-third of patients suffer considerable morbidity, the majority have uneventful courses with rapid recovery. There are clinical tools to stratify disease severity like the Ranson score, bedside index for severity in acute pancreatitis, and revised Atlanta classification (RAC). However, few models address emergency room disposition. A recent study showed early safe emergency department discharge for mild acute pancreatitis patients with age <50, a Charlson Comorbidity Index <2, and idiopathic etiology. The goal of this study is to build upon these safe discharge criteria using a machine learning model to identify additional optimal predictors. Methods: We analyzed an extensively characterized cohort of 896 patients who presented to an urban safety-net teaching hospital between 2015 to 2022. First, we validated the original model using our cohort where a safe discharge was defined as meeting the criteria from the original study. Next, we trained a gradient-boosted machine learning model (XGBoost) using 76 predictors including demographics, comorbidities, initial lab values, triage vitals, and etiology. We evaluated performance with stratified 5-fold cross-validation. Predictive performance was assessed using area under the receiver operating characteristic curve. The top 10 influential predictors were identified using Shapley Additive exPlanations. Results: Only 12.5% of patients in our cohort met eligibility compared to 26% in the original study (P < 0.0001). Those who met criteria had similar readmission rates (10.7% vs 12%, P = 0.785). Those who did not meet criteria also had similar readmission rates (11.7% vs 13.3%, P = 0.216). Our machine learning model had high predictive accuracy (UAC ≈ 0.95). The most influential features included age, etiology, triglycerides, white blood cell count, cholesterol, oral morphine equivalents, blood pressure, and glucose. Conclusion: Our revised model potentially improves existing discharge criteria from the emergency department for patients with acute pancreatitis. By identifying other high-yield predictors while maintaining safety, our model may further reduce unnecessary admissions.
Authors
- Paul Yoon (ORCID: https://orcid.org/0000-0002-0313-8131)
- Sunil Sheth
- Daniel Wang (ORCID: https://orcid.org/0000-0003-4825-4547)
- James Buxbaum (ORCID: https://orcid.org/0000-0003-0868-5238)
- Helen Lee
- Cameron M. Quon
Publication Details
- Journal
- The American Journal of Gastroenterology
- Published
- 2025-10-01
- DOI
- https://doi.org/10.14309/01.ajg.0001127128.19857.57
- Primary Topic
- COVID-19 diagnosis using AI
- Type
- article
- Field-Weighted Citation Impact
- 0.00