Machine learning for the prediction of urosepsis using electronic health record data

Varuni Sarwal, Nadav Rakocz, Georgina Dominique, Jeffrey N. Chiang, A. Lenore Ackerman
{"title":"Machine learning for the prediction of urosepsis using electronic health record data","authors":"Varuni Sarwal, Nadav Rakocz, Georgina Dominique, Jeffrey N. Chiang, A. Lenore Ackerman","doi":"10.1101/2024.05.28.24306956","DOIUrl":null,"url":null,"abstract":"Urosepsis, a medical condition resulting from the progression of urinary tract infection (UTI), is a leading cause of death in hospitals in the United States. Urosepsis commonly occurs due to complicated UTI and constitutes approximately 25% of all sepsis cases. Early prediction of urosepsis is critical in providing personalized care, reducing diagnostic uncertainty, and ultimately lowering mortality rates. While machine learning techniques have the potential to aid healthcare professionals in identifying potential risk factors, and high-risk patients, and recommending treatment options, no existing study has been developed so far to predict the development of urosepsis in patients with a suspected UTI presenting to an outpatient setting. In this research study, we develop and evaluate the utility of multiple machine learning models to predict the likelihood of hospital admission and urosepsis diagnosis for patients with an outpatient UTI encounter, leveraging de-identified electronic health records sourced from a large health care system encompassing a wide range of encounters spanning primary to quaternary care. Inclusion criteria included a positive diagnosis of urinary tract infection indicated by ICD-10 code N30 or N93.0 and positive bacteria result via urinalysis in an ambulatory setting (primary or emergent care settings). For these patients, we extracted demographic information, urinalysis findings, and any antibiotics prescribed for each instance of UTI. Reencounters we defined as all encounters within seven days of the initial UTI encounter. The reencounters were considered urosepsis-related if matching positive blood and urine cultures were found with a sepsis ICD-10 code of A41, R78, or R65. A variety of machine learning models were trained on this rich feature set and were evaluated on two tasks: the prediction of a reencounter leading to hospitalization, and the prediction of Urosepsis. Model performances were stratified by the patient ethnicities. Our models demonstrated high predictive performance with an area under the ROC curve (AUC) of 79.5% AUC and an area under the precision-recall curve (APR) of 13% APR for reencounters, and 90% ROC and 31% APR for Urosepsis. We computed shapley values to interpret our model predictions and found the patient age, sex, and urinary WBC count were the top three predictive features. Our study has the potential to assist clinicians in the identification of high-risk patients, making more informed decisions about antibiotic prescription and providing improved patient care.","PeriodicalId":501140,"journal":{"name":"medRxiv - Urology","volume":"28 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-05-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"medRxiv - Urology","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1101/2024.05.28.24306956","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Urosepsis, a medical condition resulting from the progression of urinary tract infection (UTI), is a leading cause of death in hospitals in the United States. Urosepsis commonly occurs due to complicated UTI and constitutes approximately 25% of all sepsis cases. Early prediction of urosepsis is critical in providing personalized care, reducing diagnostic uncertainty, and ultimately lowering mortality rates. While machine learning techniques have the potential to aid healthcare professionals in identifying potential risk factors, and high-risk patients, and recommending treatment options, no existing study has been developed so far to predict the development of urosepsis in patients with a suspected UTI presenting to an outpatient setting. In this research study, we develop and evaluate the utility of multiple machine learning models to predict the likelihood of hospital admission and urosepsis diagnosis for patients with an outpatient UTI encounter, leveraging de-identified electronic health records sourced from a large health care system encompassing a wide range of encounters spanning primary to quaternary care. Inclusion criteria included a positive diagnosis of urinary tract infection indicated by ICD-10 code N30 or N93.0 and positive bacteria result via urinalysis in an ambulatory setting (primary or emergent care settings). For these patients, we extracted demographic information, urinalysis findings, and any antibiotics prescribed for each instance of UTI. Reencounters we defined as all encounters within seven days of the initial UTI encounter. The reencounters were considered urosepsis-related if matching positive blood and urine cultures were found with a sepsis ICD-10 code of A41, R78, or R65. A variety of machine learning models were trained on this rich feature set and were evaluated on two tasks: the prediction of a reencounter leading to hospitalization, and the prediction of Urosepsis. Model performances were stratified by the patient ethnicities. Our models demonstrated high predictive performance with an area under the ROC curve (AUC) of 79.5% AUC and an area under the precision-recall curve (APR) of 13% APR for reencounters, and 90% ROC and 31% APR for Urosepsis. We computed shapley values to interpret our model predictions and found the patient age, sex, and urinary WBC count were the top three predictive features. Our study has the potential to assist clinicians in the identification of high-risk patients, making more informed decisions about antibiotic prescription and providing improved patient care.
利用电子健康记录数据预测尿毒症的机器学习
尿毒症是一种因尿路感染(UTI)恶化而导致的病症,是美国医院中导致死亡的主要原因。尿毒症常见于复杂性UTI,约占所有败血症病例的 25%。尿毒症的早期预测对于提供个性化护理、减少诊断不确定性并最终降低死亡率至关重要。虽然机器学习技术有可能帮助医护人员识别潜在的风险因素和高危患者,并推荐治疗方案,但迄今为止,还没有任何研究可以预测门诊疑似尿毒症患者发生尿毒症的情况。在这项研究中,我们开发并评估了多种机器学习模型的实用性,以预测门诊UTI 患者入院和尿毒症诊断的可能性,这些模型利用了从大型医疗保健系统中获取的去标识化电子健康记录,涵盖了从初级医疗到四级医疗的各种就诊情况。纳入标准包括 ICD-10 代码 N30 或 N93.0 所示的尿路感染阳性诊断,以及在门诊环境(初级或急诊环境)中通过尿液分析得出的细菌阳性结果。对于这些患者,我们提取了人口统计学信息、尿液分析结果以及每次UTI 的抗生素处方。我们将再次就诊定义为首次 UTI 就诊后七天内的所有就诊。如果血液和尿液培养结果均为阳性,且脓毒症 ICD-10 编码为 A41、R78 或 R65,则再次就诊被视为与脓毒症相关。在这一丰富的特征集上训练了各种机器学习模型,并对两项任务进行了评估:预测导致住院的再次就诊和预测尿毒症。模型的性能按患者的种族进行了分层。我们的模型具有很高的预测性能,对于再次就诊的患者,其 ROC 曲线下面积(AUC)为 79.5%,精确度-召回曲线下面积(APR)为 13%;对于尿崩症患者,其 ROC 为 90%,精确度-召回曲线下面积(APR)为 31%。我们计算了 shapley 值来解释我们的模型预测,发现患者年龄、性别和尿白细胞计数是前三个预测特征。我们的研究有望帮助临床医生识别高风险患者,为抗生素处方做出更明智的决定,并提供更好的患者护理。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信