Maintenance Notice

Due to necessary scheduled maintenance, the JMIR Publications website will be unavailable from Wednesday, July 01, 2020 at 8:00 PM to 10:00 PM EST. We apologize in advance for any inconvenience this may cause you.

Who will be affected?

Accepted for/Published in: JMIR Perioperative Medicine

Date Submitted: Apr 11, 2024
Date Accepted: Nov 1, 2024

The final, peer-reviewed published version of this preprint can be found here:

Development and Validation of a Routine Electronic Health Record-Based Delirium Prediction Model for Surgical Patients Without Dementia: Retrospective Case-Control Study

Holler E, Ludema C, Ben Miled Z, Rosenberg M, Kalbaugh C, Boustani M, Mohanty S

Development and Validation of a Routine Electronic Health Record-Based Delirium Prediction Model for Surgical Patients Without Dementia: Retrospective Case-Control Study

JMIR Perioper Med 2025;8:e59422

DOI: 10.2196/59422

PMID: 39786865

PMCID: 11757977

Development and Validation of a Routine Electronic Health Record-based Delirium Prediction Model for Surgical Patients Without Dementia

  • Emma Holler; 
  • Christina Ludema; 
  • Zina Ben Miled; 
  • Molly Rosenberg; 
  • Corey Kalbaugh; 
  • Malaz Boustani; 
  • Sanjay Mohanty

ABSTRACT

Background:

Postoperative delirium (POD) is a common complication after major surgery and is associated with poor outcomes in older adults. Early identification of patients at high risk of POD can enable targeted prevention efforts. However, existing POD prediction models require inpatient data collected during the hospital stay, which delays predictions and limits scalability.

Objective:

To develop and externally validate a machine learning-based prediction model for postoperative delirium using routine electronic health record (EHR) data.

Methods:

We identified all surgical encounters from 2014-2021 for patients aged 50 years and older who underwent an operation requiring general anesthesia with a length of stay of at least one day at three Indiana hospitals. Patients with pre-existing dementia or mild cognitive impairment were excluded. POD was identified using Confusion Assessment Method records and delirium ICD codes. Controls without delirium or nurse-documented confusion were matched to cases by age, sex, race, and year of admission. We trained logistic regression, random forest, extreme gradient boosting (XGB), and neural network models to predict POD using 143 features derived from routine EHR data available at the time of hospital admission. Separate models were developed for each hospital using surveillance periods of 3 months, 6 months, and 1 year before admission. Model performance was evaluated using the area under the receiver operating curve (AUC). Each model was internally validated using holdout data and externally validated using data from the other two hospitals. Calibration was assessed using calibration curves.

Results:

The study cohort included 7,167 delirium cases and 7,167 matched controls. XGB outperformed all other classifiers. AUCs were highest for XGB models trained on 12 months of pre-admission data. The best performing XGB model achieved an AUC of 0.79 (SD 0.01) on the holdout set, which decreased to 0.69-0.74 when externally validated on data from other hospitals.

Conclusions:

Our routine EHR-based POD prediction models demonstrated good predictive ability using a limited set of pre-admission and surgical variables, though their generalizability varied. The proposed models could be used as a scalable, automated screening tool to identify patients at high risk of POD at the time of hospital admission.


 Citation

Please cite as:

Holler E, Ludema C, Ben Miled Z, Rosenberg M, Kalbaugh C, Boustani M, Mohanty S

Development and Validation of a Routine Electronic Health Record-Based Delirium Prediction Model for Surgical Patients Without Dementia: Retrospective Case-Control Study

JMIR Perioper Med 2025;8:e59422

DOI: 10.2196/59422

PMID: 39786865

PMCID: 11757977

Download PDF


Request queued. Please wait while the file is being generated. It may take some time.

© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.