Lu Tsung-Chien, Wang Chih-Hung, Chou Fan-Ya, Sun Jen-Tang, Chou Eric H, Huang Edward Pei-Chuan, Tsai Chu-Lin, Ma Matthew Huei-Ming, Fang Cheng-Chung, Huang Chien-Hua
Department of Emergency Medicine, National Taiwan University Hospital, 7, Zhongshan S. Rd, Taipei City, 100, Taiwan.
Department of Emergency Medicine, College of Medicine, National Taiwan University, Taipei, Taiwan.
Intern Emerg Med. 2023 Mar;18(2):595-605. doi: 10.1007/s11739-022-03143-1. Epub 2022 Nov 6.
In-hospital cardiac arrest (IHCA) in the emergency department (ED) is not uncommon but often fatal. Using the machine learning (ML) approach, we sought to predict ED-based IHCA (EDCA) in patients presenting to the ED based on triage data. We retrieved 733,398 ED records from a tertiary teaching hospital over a 7 year period (Jan. 1, 2009-Dec. 31, 2015). We included only adult patients (≥ 18 y) and excluded cases presenting as out-of-hospital cardiac arrest. Primary outcome (EDCA) was identified via a resuscitation code. Patient demographics, triage data, and structured chief complaints (CCs), were extracted. Stratified split was used to divide the dataset into the training and testing cohort at a 3-to-1 ratio. Three supervised ML models were trained and performances were evaluated and compared to the National Early Warning Score 2 (NEWS2) and logistic regression (LR) model by the area under the receiver operating characteristic curve (AUC). We included 316,465 adult ED records for analysis. Of them, 636 (0.2%) developed EDCA. Of the constructed ML models, Random Forest outperformed the others with the best AUC result (0.931, 95% CI 0.911-0.949), followed by Gradient Boosting (0.930, 95% CI 0.909-0.948) and Extra Trees classifier (0.915, 95% CI 0.892-0.936). Although the differences between each of ML models and LR (AUC: 0.905, 95% CI 0.882-0.926) were not significant, all constructed ML models performed significantly better than using the NEWS2 scoring system (AUC 0.678, 95% CI 0.635-0.722). Our ML models showed excellent discriminatory performance to identify EDCA based only on the triage information. This ML approach has the potential to reduce unexpected resuscitation events if successfully implemented in the ED information system.
急诊科(ED)内的院内心脏骤停(IHCA)并不罕见,但往往是致命的。我们采用机器学习(ML)方法,试图根据分诊数据预测到急诊科就诊患者的基于急诊科的院内心脏骤停(EDCA)。我们在7年期间(2009年1月1日至2015年12月31日)从一家三级教学医院检索了733398条急诊记录。我们仅纳入成年患者(≥18岁),并排除院外心脏骤停患者。通过复苏代码确定主要结局(EDCA)。提取患者人口统计学数据、分诊数据和结构化的主诉(CCs)。采用分层分割将数据集按3:1的比例分为训练队列和测试队列。训练了三个监督式ML模型,并通过受试者操作特征曲线(AUC)下的面积评估和比较其性能,与国家早期预警评分2(NEWS2)和逻辑回归(LR)模型进行比较。我们纳入了316465条成年急诊记录进行分析。其中,636例(0.2%)发生EDCA。在所构建的ML模型中,随机森林的表现优于其他模型,AUC结果最佳(0.931,95%可信区间0.911-0.949),其次是梯度提升(0.930,95%可信区间0.909-0.948)和极端随机树分类器(0.915,95%可信区间0.892-0.936)。尽管每个ML模型与LR之间的差异(AUC:0.905,95%可信区间0.882-0.926)不显著,但所有构建的ML模型的表现均显著优于使用NEWS2评分系统(AUC 0.678,95%可信区间0.635-0.722)。我们的ML模型仅基于分诊信息就显示出识别EDCA的出色辨别性能。如果在急诊信息系统中成功实施,这种ML方法有可能减少意外复苏事件。