Chang Yu-Hsin, Lin Ying-Chen, Huang Fen-Wei, Chen Dar-Min, Chung Yu-Ting, Chen Wei-Kung, Wang Charles C N
Department of Emergency Medicine, China Medical University Hospital, No. 2, Yude Rd., North Dist, Taichung City, 40447, Taiwan.
Institute of Information Science and Engineering, National Yang Ming Chiao Tung University, No. 1001, Daxue Rd. East Dist, Hsinchu City, 300093, Taiwan.
BMC Emerg Med. 2024 Dec 18;24(1):237. doi: 10.1186/s12873-024-01152-1.
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).
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.
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.
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.
准确的分诊对于有效分配资源和缩短患者住院时间至关重要。分诊决策往往具有主观性,且因提供者而异,导致患者被过度分诊或分诊不足。本研究开发了结合自然语言处理(NLP)的机器学习模型来预测患者的处置情况。通过将模型性能与急诊医师(EP)的判断进行比较来评估这些模型。
这项回顾性研究获取了2018年1月至2019年12月期间到急诊科就诊患者的数据。内部验证数据来自中国医科大学附设医院(CMUH),而外部验证数据则取自亚洲大学附属医院(AUH)。纳入年龄≥20岁的非创伤患者。使用NLP处理的结构化数据和非结构化数据(自由文本记录)对模型进行训练。主要结局是在急诊科死亡或入住重症监护病房,次要结局是入住普通病房或转至其他医院。开发了六种机器学习模型(CatBoost、轻量级梯度提升机、逻辑回归、随机森林、极端随机树和梯度提升)以及一种源自分诊级别的逻辑回归,并以急诊医师的预测作为参考进行评估。
分别从CMUH和AUH纳入了172101例和41883例患者。急诊医师在主要结局和次要结局方面的F1核心值分别为0.361和0.498。与急诊医师以及源自分诊级别的逻辑回归相比,所有机器学习模型均获得了更高的F1分数。由于其稳健的校准和预测性能,随机森林被选作进一步评估和微调。在内部验证中,其在主要结局和次要结局方面的布里尔分数分别为0.072和0.089,在外部验证中为0.076和0.095。进一步分析表明,纳入非结构化数据显著提高了模型性能。应用阈值调整以提高临床适用性,旨在平衡敏感性和阳性预测值之间的权衡。
本研究开发并验证了整合结构化和非结构化分诊数据以预测患者处置情况的机器学习模型,能够区分普通病房以及诸如入住重症监护病房和在急诊科死亡等危急情况。整合结构化和非结构化数据显著改善了模型性能。