Using machine learning and natural language processing in triage for prediction of clinical disposition in the emergency department.

IF 2.3 3区 医学 Q1 EMERGENCY MEDICINE BMC Emergency Medicine Pub Date : 2024-12-18 DOI:10.1186/s12873-024-01152-1
Yu-Hsin Chang, Ying-Chen Lin, Fen-Wei Huang, Dar-Min Chen, Yu-Ting Chung, Wei-Kung Chen, Charles C N Wang
{"title":"Using machine learning and natural language processing in triage for prediction of clinical disposition in the emergency department.","authors":"Yu-Hsin Chang, Ying-Chen Lin, Fen-Wei Huang, Dar-Min Chen, Yu-Ting Chung, Wei-Kung Chen, Charles C N Wang","doi":"10.1186/s12873-024-01152-1","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>Accurate triage is required for efficient allocation of resources and to decrease patients' length of stay. Triage decisions are often subjective and vary by provider, leading to patients being over-triaged or under-triaged. This study developed machine learning models that incorporated natural language processing (NLP) to predict patient disposition. The models were assessed by comparing their performance with the judgements of emergency physicians (EPs).</p><p><strong>Method: </strong>This retrospective study obtained data from patients visiting EDs between January 2018 and December 2019. Internal validation data came from China Medical University Hospital (CMUH), while external validation data were obtained from Asia University Hospital (AUH). Nontrauma patients aged ≥ 20 years were included. The models were trained using structured data and unstructured data (free-text notes) processed by NLP. The primary outcome was death in the ED or admission to the intensive care unit, and the secondary outcome was either admission to a general ward or transferal to another hospital. Six machine learning models (CatBoost, Light Gradient Boosting Machine, Logistic Regression, Random Forest, Extremely Randomized Trees, and Gradient Boosting) and one Logistic Regression derived from triage level were developed and evaluated using EPs' predictions as reference.</p><p><strong>Result: </strong>A total of 17,2101 and 41,883 patients were enrolled from CMUH and AUH, respectively. EPs achieved F1 core of 0.361 and 0.498 for the primary and secondary outcomes, respectively. All machine learning models achieved higher F1 scores compared to EPs and Logistic Regression derived from triage level. Random Forest was selected for further evaluation and fine-tuning, because of its robust calibration and predictive performance. In internal validation, it achieved Brier scores of 0.072 and 0.089 for the primary and secondary outcomes, respectively, and 0.076 and 0.095 in external validation. Further analysis revealed that incorporating unstructured data significantly enhanced the model's performance. Threshold adjustments were applied to improve clinical applicability, aiming to balance the trade-off between sensitivity and positive predictive value.</p><p><strong>Conclusion: </strong>This study developed and validated machine learning models that integrate structured and unstructured triage data to predict patient dispositions, distinguishing between general ward and critical conditions like ICU admissions and ED deaths. Integrating both structured and unstructured data significantly improved model performance.</p>","PeriodicalId":9002,"journal":{"name":"BMC Emergency Medicine","volume":"24 1","pages":"237"},"PeriodicalIF":2.3000,"publicationDate":"2024-12-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC11657801/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"BMC Emergency Medicine","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1186/s12873-024-01152-1","RegionNum":3,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"EMERGENCY MEDICINE","Score":null,"Total":0}
引用次数: 0

Abstract

Background: Accurate triage is required for efficient allocation of resources and to decrease patients' length of stay. Triage decisions are often subjective and vary by provider, leading to patients being over-triaged or under-triaged. This study developed machine learning models that incorporated natural language processing (NLP) to predict patient disposition. The models were assessed by comparing their performance with the judgements of emergency physicians (EPs).

Method: This retrospective study obtained data from patients visiting EDs between January 2018 and December 2019. Internal validation data came from China Medical University Hospital (CMUH), while external validation data were obtained from Asia University Hospital (AUH). Nontrauma patients aged ≥ 20 years were included. The models were trained using structured data and unstructured data (free-text notes) processed by NLP. The primary outcome was death in the ED or admission to the intensive care unit, and the secondary outcome was either admission to a general ward or transferal to another hospital. Six machine learning models (CatBoost, Light Gradient Boosting Machine, Logistic Regression, Random Forest, Extremely Randomized Trees, and Gradient Boosting) and one Logistic Regression derived from triage level were developed and evaluated using EPs' predictions as reference.

Result: A total of 17,2101 and 41,883 patients were enrolled from CMUH and AUH, respectively. EPs achieved F1 core of 0.361 and 0.498 for the primary and secondary outcomes, respectively. All machine learning models achieved higher F1 scores compared to EPs and Logistic Regression derived from triage level. Random Forest was selected for further evaluation and fine-tuning, because of its robust calibration and predictive performance. In internal validation, it achieved Brier scores of 0.072 and 0.089 for the primary and secondary outcomes, respectively, and 0.076 and 0.095 in external validation. Further analysis revealed that incorporating unstructured data significantly enhanced the model's performance. Threshold adjustments were applied to improve clinical applicability, aiming to balance the trade-off between sensitivity and positive predictive value.

Conclusion: This study developed and validated machine learning models that integrate structured and unstructured triage data to predict patient dispositions, distinguishing between general ward and critical conditions like ICU admissions and ED deaths. Integrating both structured and unstructured data significantly improved model performance.

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
利用机器学习和自然语言处理在分诊中预测急诊科的临床处置。
背景:准确的分诊是有效分配资源和减少患者住院时间所必需的。分诊决定往往是主观的,因提供者而异,导致患者分诊过多或不足。本研究开发了结合自然语言处理(NLP)的机器学习模型来预测患者的情绪。通过将模型的性能与急诊医生(EPs)的判断进行比较,对模型进行评估。方法:本回顾性研究获得了2018年1月至2019年12月访问急诊室的患者数据。内部验证数据来自中国医科大学医院(CMUH),外部验证数据来自亚洲大学医院(AUH)。纳入年龄≥20岁的非创伤患者。使用NLP处理的结构化数据和非结构化数据(自由文本注释)来训练模型。主要结局是在急诊科死亡或入住重症监护病房,次要结局是入住普通病房或转到另一家医院。我们开发了6个机器学习模型(CatBoost、Light Gradient Boosting machine、Logistic Regression、Random Forest、extreme Random Trees和Gradient Boosting)和1个基于分类水平的Logistic Regression模型,并以EPs的预测为参考进行了评估。结果:共纳入CMUH患者17,2101例,AUH患者41,883例。EPs主要结局和次要结局的F1核心分别为0.361和0.498。与EPs和从分类水平得出的逻辑回归相比,所有机器学习模型都获得了更高的F1分数。选择随机森林进行进一步的评估和微调,因为它具有鲁棒的校准和预测性能。内部验证的主要结局和次要结局Brier评分分别为0.072和0.089,外部验证的Brier评分分别为0.076和0.095。进一步的分析表明,纳入非结构化数据显著提高了模型的性能。应用阈值调整来提高临床适用性,旨在平衡敏感性和阳性预测值之间的权衡。结论:本研究开发并验证了机器学习模型,该模型集成了结构化和非结构化分诊数据,以预测患者的倾向,区分普通病房和重症病房(如ICU入院和急诊科死亡)。集成结构化和非结构化数据显著提高了模型性能。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
BMC Emergency Medicine
BMC Emergency Medicine Medicine-Emergency Medicine
CiteScore
3.50
自引率
8.00%
发文量
178
审稿时长
29 weeks
期刊介绍: BMC Emergency Medicine is an open access, peer-reviewed journal that considers articles on all urgent and emergency aspects of medicine, in both practice and basic research. In addition, the journal covers aspects of disaster medicine and medicine in special locations, such as conflict areas and military medicine, together with articles concerning healthcare services in the emergency departments.
期刊最新文献
Construction and evaluation of a triage assessment model for patients with acute non-traumatic chest pain: mixed retrospective and prospective observational study. Design and psychometric testing of a moral intelligence instrument for pre-hospital emergency medical services personnel: a sequential-exploratory mixed-method study. Empowerment of volunteer nursing service providers during disasters: A qualitative study. Enhancing trauma triage in low-resource settings using machine learning: a performance comparison with the Kampala Trauma Score. Incidence and outcomes of dysnatremia in crush injury patients admitted to Türkiye's largest hospital following the Kahramanmaraş earthquake.
×
引用
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