Predicting individual patient and hospital-level discharge using machine learning

IF 5.4 Q1 MEDICINE, RESEARCH & EXPERIMENTAL Communications medicine Pub Date : 2024-11-18 DOI:10.1038/s43856-024-00673-x
Jia Wei, Jiandong Zhou, Zizheng Zhang, Kevin Yuan, Qingze Gu, Augustine Luk, Andrew J. Brent, David A. Clifton, A. Sarah Walker, David W. Eyre
{"title":"Predicting individual patient and hospital-level discharge using machine learning","authors":"Jia Wei, Jiandong Zhou, Zizheng Zhang, Kevin Yuan, Qingze Gu, Augustine Luk, Andrew J. Brent, David A. Clifton, A. Sarah Walker, David W. Eyre","doi":"10.1038/s43856-024-00673-x","DOIUrl":null,"url":null,"abstract":"Accurately predicting hospital discharge events could help improve patient flow and the efficiency of healthcare delivery. However, using machine learning and diverse electronic health record (EHR) data for this task remains incompletely explored. We used EHR data from February-2017 to January-2020 from Oxfordshire, UK to predict hospital discharges in the next 24 h. We fitted separate extreme gradient boosting models for elective and emergency admissions, trained on the first two years of data and tested on the final year of data. We examined individual-level and hospital-level model performance and evaluated the impact of training data size and recency, prediction time, and performance in subgroups. Our models achieve AUROCs of 0.87 and 0.86, AUPRCs of 0.66 and 0.64, and F1 scores of 0.61 and 0.59 for elective and emergency admissions, respectively. These models outperform a logistic regression model using the same features and are substantially better than a baseline logistic regression model with more limited features. Notably, the relative performance increase from adding additional features is greater than the increase from using a sophisticated model. Aggregating individual probabilities, daily total discharge estimates are accurate with mean absolute errors of 8.9% (elective) and 4.9% (emergency). The most informative predictors include antibiotic prescriptions, medications, and hospital capacity factors. Performance remains robust across patient subgroups and different training strategies, but is lower in patients with longer admissions and those who died in hospital. Our findings highlight the potential of machine learning in optimising hospital patient flow and facilitating patient care and recovery. Wei and colleagues use electronic health records to predict individual hospital discharge events and hospital-wide discharge numbers. Detailed data and an extreme gradient boosting model predict hospital discharge better than simple logistic regression models, highlighting the potential of machine learning approaches to help optimise patient flow. Predicting when hospital patients are ready to be discharged could help hospitals run more smoothly and improve patient care. In this study, we used three years of patient records from Oxfordshire, UK, to build a machine learning model that predicts discharges within the next 24 h. Our model includes both planned and emergency admissions. The model performs well at accurately predicting the probability, or chance, that an individual patient will be discharged and also estimating the total number of discharges each day. Important information for making the predictions includes whether patients are taking antibiotics and other medications, and whether the hospital is crowded. Overall, we show that machine learning could help hospitals manage patient flow and improve patient care.","PeriodicalId":72646,"journal":{"name":"Communications medicine","volume":" ","pages":"1-14"},"PeriodicalIF":5.4000,"publicationDate":"2024-11-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC11574281/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Communications medicine","FirstCategoryId":"1085","ListUrlMain":"https://www.nature.com/articles/s43856-024-00673-x","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"MEDICINE, RESEARCH & EXPERIMENTAL","Score":null,"Total":0}
引用次数: 0

Abstract

Accurately predicting hospital discharge events could help improve patient flow and the efficiency of healthcare delivery. However, using machine learning and diverse electronic health record (EHR) data for this task remains incompletely explored. We used EHR data from February-2017 to January-2020 from Oxfordshire, UK to predict hospital discharges in the next 24 h. We fitted separate extreme gradient boosting models for elective and emergency admissions, trained on the first two years of data and tested on the final year of data. We examined individual-level and hospital-level model performance and evaluated the impact of training data size and recency, prediction time, and performance in subgroups. Our models achieve AUROCs of 0.87 and 0.86, AUPRCs of 0.66 and 0.64, and F1 scores of 0.61 and 0.59 for elective and emergency admissions, respectively. These models outperform a logistic regression model using the same features and are substantially better than a baseline logistic regression model with more limited features. Notably, the relative performance increase from adding additional features is greater than the increase from using a sophisticated model. Aggregating individual probabilities, daily total discharge estimates are accurate with mean absolute errors of 8.9% (elective) and 4.9% (emergency). The most informative predictors include antibiotic prescriptions, medications, and hospital capacity factors. Performance remains robust across patient subgroups and different training strategies, but is lower in patients with longer admissions and those who died in hospital. Our findings highlight the potential of machine learning in optimising hospital patient flow and facilitating patient care and recovery. Wei and colleagues use electronic health records to predict individual hospital discharge events and hospital-wide discharge numbers. Detailed data and an extreme gradient boosting model predict hospital discharge better than simple logistic regression models, highlighting the potential of machine learning approaches to help optimise patient flow. Predicting when hospital patients are ready to be discharged could help hospitals run more smoothly and improve patient care. In this study, we used three years of patient records from Oxfordshire, UK, to build a machine learning model that predicts discharges within the next 24 h. Our model includes both planned and emergency admissions. The model performs well at accurately predicting the probability, or chance, that an individual patient will be discharged and also estimating the total number of discharges each day. Important information for making the predictions includes whether patients are taking antibiotics and other medications, and whether the hospital is crowded. Overall, we show that machine learning could help hospitals manage patient flow and improve patient care.

Abstract Image

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
利用机器学习预测患者个人和医院层面的出院情况。
背景:准确预测出院事件有助于改善患者流程和提高医疗服务效率。然而,利用机器学习和多样化的电子健康记录(EHR)数据来完成这项任务的探索仍未完成:我们使用了英国牛津郡 2017 年 2 月至 2020 年 1 月的电子病历数据来预测未来 24 小时内的出院情况。我们为择期入院和急诊入院分别拟合了极端梯度提升模型,在前两年的数据上进行了训练,并在最后一年的数据上进行了测试。我们检查了个人层面和医院层面的模型性能,并评估了训练数据大小和重复性、预测时间以及分组性能的影响:我们的模型在择期入院和急诊入院方面的 AUROC 分别为 0.87 和 0.86,AUPRC 分别为 0.66 和 0.64,F1 分别为 0.61 和 0.59。这些模型优于使用相同特征的逻辑回归模型,也大大优于使用更有限特征的基线逻辑回归模型。值得注意的是,增加额外特征所带来的相对性能提升要大于使用复杂模型所带来的提升。汇总单个概率后,每日总出院率估计值准确,平均绝对误差为 8.9%(择期)和 4.9%(急诊)。最有参考价值的预测因素包括抗生素处方、药物和医院容量因素。在不同的患者亚群和不同的训练策略下,预测结果仍然保持稳定,但在入院时间较长的患者和在医院死亡的患者中,预测结果较低:我们的研究结果凸显了机器学习在优化医院患者流程、促进患者护理和康复方面的潜力。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Early nasal microbiota and subsequent respiratory tract infections in infants with cystic fibrosis Deep reinforcement learning extracts the optimal sepsis treatment policy from treatment records Morbidity of SARS-CoV-2 in the evolution to endemicity and in comparison with influenza A retrospective two-center cohort study of the bidirectional relationship between depression and tinnitus-related distress Accurate patient alignment without unnecessary imaging using patient-specific 3D CT images synthesized from 2D kV images
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1