Skip to main content
medRxiv
  • Home
  • About
  • Submit
  • ALERTS / RSS
Advanced Search

A deep learning model for clinical outcome prediction using longitudinal inpatient electronic health records

Ruichen Rong, View ORCID ProfileZifan Gu, Hongyin Lai, Tanna L. Nelson, Tony Keller, Clark Walker, Kevin W. Jin, Catherine Chen, Ann Marie Navar, Ferdinand Velasco, Eric D. Peterson, Guanghua Xiao, Donghan M. Yang, Yang Xie
doi: https://doi.org/10.1101/2025.01.21.25320916
Ruichen Rong
1Quantitative Biomedical Research Center, Peter O’Donnell Jr. School of Public Health, The University of Texas Southwestern Medical Center, Dallas, Texas, 75390, USA
PhD
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Zifan Gu
1Quantitative Biomedical Research Center, Peter O’Donnell Jr. School of Public Health, The University of Texas Southwestern Medical Center, Dallas, Texas, 75390, USA
MS
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Zifan Gu
Hongyin Lai
1Quantitative Biomedical Research Center, Peter O’Donnell Jr. School of Public Health, The University of Texas Southwestern Medical Center, Dallas, Texas, 75390, USA
MS
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Tanna L. Nelson
2Texas Health Resources, Arlington, Texas
RN, PhD
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Tony Keller
2Texas Health Resources, Arlington, Texas
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Clark Walker
2Texas Health Resources, Arlington, Texas
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Kevin W. Jin
1Quantitative Biomedical Research Center, Peter O’Donnell Jr. School of Public Health, The University of Texas Southwestern Medical Center, Dallas, Texas, 75390, USA
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Catherine Chen
3Department of Internal Medicine, The University of Texas Southwestern Medical Center, Dallas, TX 75390, USA
MD
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Ann Marie Navar
3Department of Internal Medicine, The University of Texas Southwestern Medical Center, Dallas, TX 75390, USA
MD, PhD
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Ferdinand Velasco
2Texas Health Resources, Arlington, Texas
MD
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Eric D. Peterson
3Department of Internal Medicine, The University of Texas Southwestern Medical Center, Dallas, TX 75390, USA
MD, MPH
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Guanghua Xiao
1Quantitative Biomedical Research Center, Peter O’Donnell Jr. School of Public Health, The University of Texas Southwestern Medical Center, Dallas, Texas, 75390, USA
4Department of Bioinformatics, The University of Texas Southwestern Medical Center, Dallas, Texas, 75390, USA
5Simmons Comprehensive Cancer Center, The University of Texas Southwestern Medical Center, Dallas, Texas, 75390, USA
PhD
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Donghan M. Yang
1Quantitative Biomedical Research Center, Peter O’Donnell Jr. School of Public Health, The University of Texas Southwestern Medical Center, Dallas, Texas, 75390, USA
PhD
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • For correspondence: donghan.yang{at}utsouthwestern.edu yang.xie{at}utsouthwestern.edu
Yang Xie
1Quantitative Biomedical Research Center, Peter O’Donnell Jr. School of Public Health, The University of Texas Southwestern Medical Center, Dallas, Texas, 75390, USA
4Department of Bioinformatics, The University of Texas Southwestern Medical Center, Dallas, Texas, 75390, USA
5Simmons Comprehensive Cancer Center, The University of Texas Southwestern Medical Center, Dallas, Texas, 75390, USA
PhD
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • For correspondence: donghan.yang{at}utsouthwestern.edu yang.xie{at}utsouthwestern.edu
  • Abstract
  • Full Text
  • Info/History
  • Metrics
  • Supplementary material
  • Preview PDF
Loading

ABSTRACT

Objective Recent advances in deep learning show significant potential in analyzing continuous monitoring electronic health records (EHR) data for clinical outcome prediction. We aim to develop a Transformer-based, Encounter-level Clinical Outcome (TECO) model to predict mortality in the intensive care unit (ICU) using inpatient EHR data.

Materials and Methods TECO was developed using multiple baseline and time-dependent clinical variables from 2579 hospitalized COVID-19 patients to predict ICU mortality, and was validated externally in an ARDS cohort (n=2799) and a sepsis cohort (n=6622) from the Medical Information Mart for Intensive Care (MIMIC)-IV. Model performance was evaluated based on area under the receiver operating characteristic (AUC) and compared with Epic Deterioration Index (EDI), random forest (RF), and extreme gradient boosting (XGBoost).

Results In the COVID-19 development dataset, TECO achieved higher AUC (0.89–0.97) across various time intervals compared to EDI (0.86–0.95), RF (0.87–0.96), and XGBoost (0.88–0.96). In the two MIMIC testing datasets (EDI not available), TECO yielded higher AUC (0.65–0.76) than RF (0.57–0.73) and XGBoost (0.57–0.73). In addition, TECO was able to identify clinically interpretable features that were correlated with the outcome.

Discussion TECO outperformed proprietary metrics and conventional machine learning models in predicting ICU mortality among COVID-19 and non-COVID-19 patients.

Conclusions TECO demonstrates a strong capability for predicting ICU mortality using continuous monitoring data. While further validation is needed, TECO has the potential to serve as a powerful early warning tool across various diseases in inpatient settings.

LAY SUMMARY In intensive care units (ICUs), accurately estimating the risk of death is crucial for timely and effective medical intervention. This study developed a new AI algorithm, TECO (Transformer-based, Encounter-level Clinical Outcome model), which uses electronic health records to continuously predict ICU mortality after admission, with the capability to update predictions on an hourly basis. TECO was trained on data from over 2,500 COVID-19 patients and was designed to analyze multiple types of continuous monitoring data collected during a patient’s ICU stay. We tested TECO’s performance against a widely used proprietary tool, the Epic Deterioration Index (EDI), and other machine learning methods, such as random forest and XGBoost, across three patient groups: COVID-19, ARDS (acute respiratory distress syndrome), and sepsis. TECO consistently showed better performance and was able to predict death risk earlier than other methods. Additionally, TECO identified key health indicators associated with ICU mortality, making its predictions more interpretable for clinicians. These findings suggest that TECO could become a valuable early warning tool, helping doctors monitor patients’ health and take timely action in a range of critical care situations.

Competing Interest Statement

The authors have declared no competing interest.

Funding Statement

This study was supported in part by the National Institutes of Health under award number R01GM140012 (GX), R01DE030656 (GX), R01GM115473 (GX), U01CA249245 (GX), U01AI169298 (YX), R35GM136375 (YX), the Cancer Prevention and Research Institute of Texas (CPRIT RP180805: YX; CPRIT RP230330: GX), and the Texas Health Resources Clinical Scholars Program.

Author Declarations

I confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.

Yes

The details of the IRB/oversight body that provided approval or exemption for the research described are given below:

The institutional review boards at Texas Health Resources and the University of Texas Southwestern Medical Center approved this study (Protocol #STU-2020-0786; activated on 8/24/2020). All patient identifiers were removed before EHR data extraction.

I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.

Yes

I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).

Yes

I have followed all appropriate research reporting guidelines, such as any relevant EQUATOR Network research reporting checklist(s) and other pertinent material, if applicable.

Yes

Copyright 
The copyright holder for this preprint is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. It is made available under a CC-BY 4.0 International license.
Back to top
PreviousNext
Posted January 23, 2025.
Download PDF

Supplementary Material

Email

Thank you for your interest in spreading the word about medRxiv.

NOTE: Your email address is requested solely to identify you as the sender of this article.

Enter multiple addresses on separate lines or separate them with commas.
A deep learning model for clinical outcome prediction using longitudinal inpatient electronic health records
(Your Name) has forwarded a page to you from medRxiv
(Your Name) thought you would like to see this page from the medRxiv website.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Share
A deep learning model for clinical outcome prediction using longitudinal inpatient electronic health records
Ruichen Rong, Zifan Gu, Hongyin Lai, Tanna L. Nelson, Tony Keller, Clark Walker, Kevin W. Jin, Catherine Chen, Ann Marie Navar, Ferdinand Velasco, Eric D. Peterson, Guanghua Xiao, Donghan M. Yang, Yang Xie
medRxiv 2025.01.21.25320916; doi: https://doi.org/10.1101/2025.01.21.25320916
Twitter logo Facebook logo LinkedIn logo Mendeley logo
Citation Tools
A deep learning model for clinical outcome prediction using longitudinal inpatient electronic health records
Ruichen Rong, Zifan Gu, Hongyin Lai, Tanna L. Nelson, Tony Keller, Clark Walker, Kevin W. Jin, Catherine Chen, Ann Marie Navar, Ferdinand Velasco, Eric D. Peterson, Guanghua Xiao, Donghan M. Yang, Yang Xie
medRxiv 2025.01.21.25320916; doi: https://doi.org/10.1101/2025.01.21.25320916

Citation Manager Formats

  • BibTeX
  • Bookends
  • EasyBib
  • EndNote (tagged)
  • EndNote 8 (xml)
  • Medlars
  • Mendeley
  • Papers
  • RefWorks Tagged
  • Ref Manager
  • RIS
  • Zotero
  • Tweet Widget
  • Facebook Like
  • Google Plus One

Subject Area

  • Health Informatics
Subject Areas
All Articles
  • Addiction Medicine (576)
  • Allergy and Immunology (868)
  • Anesthesia (306)
  • Cardiovascular Medicine (4483)
  • Dentistry and Oral Medicine (449)
  • Dermatology (385)
  • Emergency Medicine (615)
  • Endocrinology (including Diabetes Mellitus and Metabolic Disease) (1528)
  • Epidemiology (15283)
  • Forensic Medicine (31)
  • Gastroenterology (1134)
  • Genetic and Genomic Medicine (6651)
  • Geriatric Medicine (671)
  • Health Economics (1006)
  • Health Informatics (4606)
  • Health Policy (1378)
  • Health Systems and Quality Improvement (1624)
  • Hematology (545)
  • HIV/AIDS (1276)
  • Infectious Diseases (except HIV/AIDS) (15965)
  • Intensive Care and Critical Care Medicine (1111)
  • Medical Education (626)
  • Medical Ethics (147)
  • Nephrology (675)
  • Neurology (6699)
  • Nursing (346)
  • Nutrition (1006)
  • Obstetrics and Gynecology (1153)
  • Occupational and Environmental Health (961)
  • Oncology (3370)
  • Ophthalmology (989)
  • Orthopedics (370)
  • Otolaryngology (421)
  • Pain Medicine (437)
  • Palliative Medicine (131)
  • Pathology (670)
  • Pediatrics (1704)
  • Pharmacology and Therapeutics (700)
  • Primary Care Research (717)
  • Psychiatry and Clinical Psychology (5497)
  • Public and Global Health (9288)
  • Radiology and Imaging (2225)
  • Rehabilitation Medicine and Physical Therapy (1375)
  • Respiratory Medicine (1202)
  • Rheumatology (598)
  • Sexual and Reproductive Health (721)
  • Sports Medicine (536)
  • Surgery (722)
  • Toxicology (100)
  • Transplantation (290)
  • Urology (267)