Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2023 Feb;38(2):241-250.
doi: 10.1111/jgh.16029. Epub 2022 Nov 18.

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

Affiliations

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

Paris Charilaou et al. J Gastroenterol Hepatol. 2023 Feb.

Abstract

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).

Methods: 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.

Results: 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 (https://clinicalc.ai/im-ibd/) was developed allowing bedside model predictions.

Conclusions: 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.

Keywords: IBD; artificial intelligence; calculator; hospitalized patients; machine learning; prediction model.

PubMed Disclaimer

Figures

Figure 1
Figure 1
Flowchart of data selection. NIS, National Inpatient Sample; IBD, inflammatory bowel disease; LOS, length of stay.
Figure 2
Figure 2
Model performance by sensitivity and positive likelihood ratio for inpatient mortality. White area is the acceptance area with > 80% sensitivity and positive likelihood ratio of > 3. DOR, diagnostic odds ratio.
Figure 3
Figure 3
QLattice model structure. Gray boxes are predictors, white boxes are interactions between each predictor. Each predictor carries a learned weight (coefficient) per category level, plus additional bias (estimated error). Moving from left to right, a probability is finally calculated and converted to a binary outcome prediction (1 for probability > 0.5, else 0). (a) All adults admitted for IBD. (b) All adults admitted for IBD who underwent IBD‐related surgery.

Similar articles

Cited by

References

    1. Ye Y, Manne S, Treem WR, Bennett D. Prevalence of inflammatory bowel disease in pediatric and adult populations: recent estimates from large national databases in the United States, 2007‐2016. Inflamm. Bowel Dis. 2020; 26: 619–625. - PubMed
    1. Bewtra M, Su C, Lewis JD. Trends in hospitalization rates for inflammatory bowel disease in the United States. Clin. Gastroenterol. Hepatol. 2007; 5: 597–601. - PubMed
    1. Ma C, Smith MK, Guizzetti L et al. Assessing national trends and disparities in ambulatory, emergency department, and inpatient visits for inflammatory bowel disease in the United States (2005‐2016). Clin. Gastroenterol. Hepatol. 2020; 18: 2500–2509. - PMC - PubMed
    1. Ananthakrishnan AN, McGinley EL, Binion DG. Inflammatory bowel disease in the elderly is associated with worse outcomes: a national study of hospitalizations. Inflamm. Bowel Dis. 2009; 15: 182–189. - PubMed
    1. Bollegala N, Jackson TD, Nguyen GC. Increased postoperative mortality and complications among elderly patients with inflammatory bowel diseases: an analysis of the national surgical quality improvement program cohort. Clin. Gastroenterol. Hepatol. 2016; 14: 1274–1281. - PubMed