Journal of Gastroenterology and Hepatology.

Predicting inpatient mortality in patients with inflammatory bowel disease: A machine learning approach.

Paris Charilaou, Sonmoon Mohapatra, Sotirios Doukas, Maanit Kohli, Dhruvil Radadiya, Kalpit Devani, Arkady Broder, Olivier Elemento, Dana J Lukin, Robert Battat. Journal of Gastroenterology and Hepatology, (2022).


Background and aim.

Data are lacking on predicting inpatient mortality (IM) in patients admitted for inflammatory bowel disease (IBD). IM is a critical outcome; however, difficulty in its prediction exists due to infrequent occurrence. We assessed IM predictors and developed a predictive model for IM using machine-learning (ML).


Using the National Inpatient Sample (NIS) database (2005–2017), we extracted adults admitted for IBD. After ML-guided predictor selection, we trained and internally validated multiple algorithms, targeting minimum sensitivity and positive likelihood ratio (+LR) ≥ 80% and ≥ 3, respectively. Diagnostic odds ratio (DOR) compared algorithm performance. The best performing algorithm was additionally trained and validated for an IBD-related surgery sub-cohort. External validation was done using NIS 2018.


In 398 426 adult IBD admissions, IM was 0.32% overall, and 0.87% among the surgical cohort (n = 40 784). Increasing age, ulcerative colitis, IBD-related surgery, pneumonia, chronic lung disease, acute kidney injury, malnutrition, frailty, heart failure, blood transfusion, sepsis/septic shock and thromboembolism were associated with increased IM. The QLattice algorithm, provided the highest performance model (+LR: 3.2, 95% CI 3.0–3.3; area-under-curve [AUC]:0.87, 85% sensitivity, 73% specificity), distinguishing IM patients by 15.6-fold when comparing high to low-risk patients. The surgical cohort model (+LR: 8.5, AUC: 0.94, 85% sensitivity, 90% specificity), distinguished IM patients by 49-fold. Both models performed excellently in external validation. An online calculator ( was developed allowing bedside model predictions.


An online prediction-model calculator captured > 80% IM cases during IBD-related admissions, with high discriminatory effectiveness. This allows for risk stratification and provides a basis for assessing interventions to reduce mortality in high-risk patients.


This publication is open access.

Anyone can read, download, distribute, or cite this paper. You can opt out at any time. We’re cookieless, and our privacy policy is actually easy to read.

Share this publication.

Abzu accelerates discoveries.

Browse publications that cite the QLattice® artificial intelligence (AI) algorithm.

Abzu's QLattice cited Frontiers in Nutrition

Predicting weight loss success on a new Nordic diet: an untargeted multi-platform metabolomics and machine learning approach.

Read this paper pink arrow
Abzu's QLattice cited in Earth surface processes and landforms

A novel QLattice-based whitening machine learning model of landslide susceptibility mapping.

Read this paper pink arrow
Abzu's QLattice cited in Nature Mental Health

Plasma proteomics discovery of mental health risk biomarkers in adolescents.

Read this paper pink arrow
Abzu published in AIP Conference Proceedings

Analysis of the relationship between fetal health prediction features with machine learning Feyn QLattice regression model.

Read this paper pink arrow

Subscribe for
notifications from Abzu.

You can opt out at any time. We’re cookieless, and our privacy policy is actually easy to read.