Predicting the risk of early intensive care unit admission for patients hospitalized with acute pancreatitis using supervised machine learning

Proc (Bayl Univ Med Cent). 2024 Mar 21;37(3):437-447. doi: 10.1080/08998280.2024.2326371. eCollection 2024.

Abstract

Background: Acute pancreatitis (AP) is a complex and life-threatening disease. Early recognition of factors predicting morbidity and mortality is crucial. We aimed to develop and validate a pragmatic model to predict the individualized risk of early intensive care unit (ICU) admission for patients with AP.

Methods: The 2019 Nationwide Readmission Database was used to identify patients hospitalized with a primary diagnosis of AP without ICU admission. A matched comparison cohort of AP patients with ICU admission within 7 days of hospitalization was identified from the National Inpatient Sample after 1:N propensity score matching. The least absolute shrinkage and selection operator (LASSO) regression was used to select predictors and develop an ICU acute pancreatitis risk (IAPR) score validated by 10-fold cross-validation.

Results: A total of 1513 patients hospitalized for AP were included. The median age was 50.0 years (interquartile range: 39.0-63.0). The three predictors that were selected included hypoxia (area under the curve [AUC] 0.78), acute kidney injury (AUC 0.72), and cardiac arrhythmia (AUC 0.61). These variables were used to develop a nomogram that displayed excellent discrimination (AUC 0.874) (bootstrap bias-corrected 95% confidence interval 0.824-0.876). There was no evidence of miscalibration (test statistic = 2.88; P = 0.09). For high-risk patients (total score >6 points), the sensitivity was 68.94% and the specificity was 92.66%.

Conclusions: This supervised machine learning-based model can help recognize high-risk AP hospitalizations. Clinicians may use the IAPR score to identify patients with AP at high risk of ICU admission within the first week of hospitalization.

Keywords: Acute pancreatitis; clinical decision support; intensive care unit; risk score; supervised machine learning.