Development and internal validation of triage-stage prediction models for short-term critical outcomes among adult emergency department patients entering observation or hospital-based care: a retrospective study.

IF 3.6 3区 医学 Q1 MEDICINE, GENERAL & INTERNAL
Frontiers in Medicine Pub Date : 2026-10-07 eCollection Date: 2026-01-01 DOI:10.3389/fmed.2026.1921692
Mingwei Wu, Yao Liu, Chengli Zhou, Jinfeng Li
{"title":"Development and internal validation of triage-stage prediction models for short-term critical outcomes among adult emergency department patients entering observation or hospital-based care: a retrospective study.","authors":"Mingwei Wu, Yao Liu, Chengli Zhou, Jinfeng Li","doi":"10.3389/fmed.2026.1921692","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>Risk stratification at emergency department triage may help identify patients who require closer assessment or monitoring. However, prediction models that rely only on information available at the triage stage remain less well evaluated. This study aimed to develop and internally validate machine learning models based on triage-stage information for predicting short-term critical outcomes in adult emergency department patients and to interpret a representative explainable model using SHAP analysis.</p><p><strong>Methods: </strong>This retrospective observational study included 1,842 consecutive adult patients who completed standardized electronic triage and subsequently entered an emergency observation or hospital-based care pathway at a tertiary general hospital between January 2022 and December 2025. The prediction time point and landmark were defined as completion of electronic emergency triage. Only patients who were free of all outcome components at the landmark were included, and candidate predictors were restricted to routinely available information recorded no later than triage completion. The primary outcome was the first critical event occurring during the subsequent 72 h: intensive care unit admission, endotracheal intubation or invasive mechanical ventilation, cardiopulmonary resuscitation, objectively documented escalation involving an implemented resuscitation-level intervention, or in-hospital death. Additional sensitivity analyses restricted the outcome to intensive care unit admission, intubation or invasive ventilation, cardiopulmonary resuscitation, or death and refitted the model without emergency triage level. The cohort was randomly divided into a development cohort and a 30% hold-out cohort. Because the hold-out cohort had already been examined during the original analysis, it was not considered an independent validation set. The primary internal-validation analysis therefore consisted of 10 repetitions of nested cross-validation within the development cohort, using five stratified outer folds for performance estimation and four stratified inner folds for preprocessing and hyperparameter tuning. Logistic regression, random forest, support vector machine, XGBoost, and LightGBM were evaluated using the same resampling framework. The previously examined exploratory hold-out cohort was retained only for secondary exploratory analysis. Model performance was assessed using discrimination, calibration, classification metrics, Brier score, decision-curve analysis, and SHAP-based interpretation. Bootstrap optimism correction was additionally used to assess overfitting.</p><p><strong>Results: </strong>All 1,842 included patients were event-free at triage completion, and 214 experienced a short-term critical outcome during the subsequent 72-hour period, corresponding to an event rate of 11.6%. The development cohort included 1,289 patients with 150 events, and the previously examined exploratory hold-out cohort included 553 patients with 64 events. In 10 repetitions of nested cross-validation, the mean AUCs were 0.821 ± 0.012 for logistic regression, 0.817 ± 0.015 for random forest, 0.752 ± 0.018 for support vector machine, 0.831 ± 0.013 for XGBoost, and 0.833 ± 0.014 for LightGBM. XGBoost was highest ranked in 42% of repeated outer-validation results, LightGBM in 48%, and logistic regression in 10%. These primary internal-validation results supported broadly comparable performance among XGBoost, LightGBM, and logistic regression rather than consistent superiority of one algorithm. In the secondary exploratory analysis, the representative XGBoost model achieved an AUC of 0.828 in the previously examined exploratory hold-out cohort. At the development-derived threshold of 0.106, its accuracy was 0.770, sensitivity 0.656, specificity 0.785, positive predictive value 0.286, negative predictive value 0.946, F1 score 0.398, and Brier score 0.080. Its paired comparisons, sensitivity analyses, calibration, decision-curve analysis, and SHAP findings in this cohort were interpreted as exploratory.</p><p><strong>Conclusions: </strong>Repeated nested cross-validation showed broadly comparable discrimination for XGBoost, LightGBM, and logistic regression in predicting post-triage short-term critical outcomes. XGBoost was retained as a representative explainable model, whereas its performance and benchmark comparisons in the previously examined exploratory hold-out cohort should be regarded as secondary exploratory analyses. The study does not establish the superiority or independent validation of XGBoost. Evaluation in a genuinely unused temporal cohort and external prospective validation remain necessary before clinical implementation.</p>","PeriodicalId":12488,"journal":{"name":"Frontiers in Medicine","volume":"13 ","pages":"1921692"},"PeriodicalIF":3.6000,"publicationDate":"2026-10-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC13683636/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Frontiers in Medicine","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.3389/fmed.2026.1921692","RegionNum":3,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/1/1 0:00:00","PubModel":"eCollection","JCR":"Q1","JCRName":"MEDICINE, GENERAL & INTERNAL","Score":null,"Total":0}
引用次数: 0

Abstract

Background: Risk stratification at emergency department triage may help identify patients who require closer assessment or monitoring. However, prediction models that rely only on information available at the triage stage remain less well evaluated. This study aimed to develop and internally validate machine learning models based on triage-stage information for predicting short-term critical outcomes in adult emergency department patients and to interpret a representative explainable model using SHAP analysis.

Methods: This retrospective observational study included 1,842 consecutive adult patients who completed standardized electronic triage and subsequently entered an emergency observation or hospital-based care pathway at a tertiary general hospital between January 2022 and December 2025. The prediction time point and landmark were defined as completion of electronic emergency triage. Only patients who were free of all outcome components at the landmark were included, and candidate predictors were restricted to routinely available information recorded no later than triage completion. The primary outcome was the first critical event occurring during the subsequent 72 h: intensive care unit admission, endotracheal intubation or invasive mechanical ventilation, cardiopulmonary resuscitation, objectively documented escalation involving an implemented resuscitation-level intervention, or in-hospital death. Additional sensitivity analyses restricted the outcome to intensive care unit admission, intubation or invasive ventilation, cardiopulmonary resuscitation, or death and refitted the model without emergency triage level. The cohort was randomly divided into a development cohort and a 30% hold-out cohort. Because the hold-out cohort had already been examined during the original analysis, it was not considered an independent validation set. The primary internal-validation analysis therefore consisted of 10 repetitions of nested cross-validation within the development cohort, using five stratified outer folds for performance estimation and four stratified inner folds for preprocessing and hyperparameter tuning. Logistic regression, random forest, support vector machine, XGBoost, and LightGBM were evaluated using the same resampling framework. The previously examined exploratory hold-out cohort was retained only for secondary exploratory analysis. Model performance was assessed using discrimination, calibration, classification metrics, Brier score, decision-curve analysis, and SHAP-based interpretation. Bootstrap optimism correction was additionally used to assess overfitting.

Results: All 1,842 included patients were event-free at triage completion, and 214 experienced a short-term critical outcome during the subsequent 72-hour period, corresponding to an event rate of 11.6%. The development cohort included 1,289 patients with 150 events, and the previously examined exploratory hold-out cohort included 553 patients with 64 events. In 10 repetitions of nested cross-validation, the mean AUCs were 0.821 ± 0.012 for logistic regression, 0.817 ± 0.015 for random forest, 0.752 ± 0.018 for support vector machine, 0.831 ± 0.013 for XGBoost, and 0.833 ± 0.014 for LightGBM. XGBoost was highest ranked in 42% of repeated outer-validation results, LightGBM in 48%, and logistic regression in 10%. These primary internal-validation results supported broadly comparable performance among XGBoost, LightGBM, and logistic regression rather than consistent superiority of one algorithm. In the secondary exploratory analysis, the representative XGBoost model achieved an AUC of 0.828 in the previously examined exploratory hold-out cohort. At the development-derived threshold of 0.106, its accuracy was 0.770, sensitivity 0.656, specificity 0.785, positive predictive value 0.286, negative predictive value 0.946, F1 score 0.398, and Brier score 0.080. Its paired comparisons, sensitivity analyses, calibration, decision-curve analysis, and SHAP findings in this cohort were interpreted as exploratory.

Conclusions: Repeated nested cross-validation showed broadly comparable discrimination for XGBoost, LightGBM, and logistic regression in predicting post-triage short-term critical outcomes. XGBoost was retained as a representative explainable model, whereas its performance and benchmark comparisons in the previously examined exploratory hold-out cohort should be regarded as secondary exploratory analyses. The study does not establish the superiority or independent validation of XGBoost. Evaluation in a genuinely unused temporal cohort and external prospective validation remain necessary before clinical implementation.

进入观察或住院治疗的成年急诊科患者的短期关键结果的分诊阶段预测模型的开发和内部验证:一项回顾性研究
背景:急诊科分诊时的风险分层可能有助于确定需要进一步评估或监测的患者。然而,仅依赖于分诊阶段可用信息的预测模型仍然没有得到很好的评估。本研究旨在开发和内部验证基于分诊阶段信息的机器学习模型,用于预测成人急诊科患者的短期关键结果,并使用SHAP分析解释具有代表性的可解释模型。方法:这项回顾性观察性研究纳入了1842名连续的成年患者,这些患者于2022年1月至2025年12月期间在一家三级综合医院完成了标准化的电子分诊,随后进入了紧急观察或医院护理途径。预测时间点和标志定义为完成电子急救分诊。仅纳入在该里程碑时不存在所有结果成分的患者,候选预测因子仅限于在分诊完成前记录的常规可用信息。主要结局是在随后的72小时内发生的第一个关键事件:重症监护病房入住、气管插管或有创机械通气、心肺复苏、客观记录的涉及实施复苏水平干预的升级,或院内死亡。额外的敏感性分析将结果限制在重症监护病房入院、插管或有创通气、心肺复苏或死亡,并在没有紧急分诊级别的情况下修改了模型。研究对象随机分为发展组和30%坚持组。因为在最初的分析中已经检查了滞留队列,所以它不被认为是一个独立的验证集。因此,主要的内部验证分析包括在开发队列中进行10次重复的嵌套交叉验证,使用5个分层的外部折叠进行性能评估,4个分层的内部折叠进行预处理和超参数调整。使用相同的重采样框架对逻辑回归、随机森林、支持向量机、XGBoost和LightGBM进行评估。先前检查的探索性滞留队列仅保留用于二次探索性分析。通过判别、校准、分类指标、Brier评分、决策曲线分析和基于shap的解释来评估模型的性能。此外,还使用自举乐观修正来评估过拟合。结果:所有纳入的1842例患者在分诊完成时均无事件发生,214例患者在随后的72小时内出现了短期关键结果,事件发生率为11.6%。发展队列包括1,289例患者,150例事件,先前检查的探索性滞留队列包括553例患者,64例事件。10次嵌套交叉验证的平均auc分别为:logistic回归(0.821±0.012)、随机森林(0.817±0.015)、支持向量机(0.752±0.018)、XGBoost(0.831±0.013)、LightGBM(0.833±0.014)。XGBoost在42%的重复外部验证结果中排名最高,LightGBM在48%,逻辑回归在10%。这些主要的内部验证结果支持XGBoost、LightGBM和逻辑回归之间具有广泛可比性的性能,而不是一种算法的一致性优势。在二次探索性分析中,具有代表性的XGBoost模型在先前考察的探索性滞留队列中获得了0.828的AUC。在发育衍生阈值0.106下,其准确率为0.770,灵敏度为0.656,特异性为0.785,阳性预测值为0.286,阴性预测值为0.946,F1评分为0.398,Brier评分为0.080。该队列的配对比较、敏感性分析、校准、决策曲线分析和SHAP结果被解释为探索性的。结论:重复嵌套交叉验证显示,XGBoost、LightGBM和逻辑回归在预测分诊后短期关键结果方面具有广泛的可比性。XGBoost被保留为具有代表性的可解释模型,而其在先前考察的探索性滞留队列中的表现和基准比较应被视为次要探索性分析。该研究没有建立XGBoost的优越性或独立验证。在临床应用之前,在真正未使用的时间队列中进行评估和外部前瞻性验证仍然是必要的。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Frontiers in Medicine
Frontiers in Medicine Medicine-General Medicine
CiteScore
5.10
自引率
5.10%
发文量
3710
审稿时长
12 weeks
期刊介绍: Frontiers in Medicine publishes rigorously peer-reviewed research linking basic research to clinical practice and patient care, as well as translating scientific advances into new therapies and diagnostic tools. Led by an outstanding Editorial Board of international experts, this multidisciplinary open-access journal is at the forefront of disseminating and communicating scientific knowledge and impactful discoveries to researchers, academics, clinicians and the public worldwide. In addition to papers that provide a link between basic research and clinical practice, a particular emphasis is given to studies that are directly relevant to patient care. In this spirit, the journal publishes the latest research results and medical knowledge that facilitate the translation of scientific advances into new therapies or diagnostic tools. The full listing of the Specialty Sections represented by Frontiers in Medicine is as listed below. As well as the established medical disciplines, Frontiers in Medicine is launching new sections that together will facilitate - the use of patient-reported outcomes under real world conditions - the exploitation of big data and the use of novel information and communication tools in the assessment of new medicines - the scientific bases for guidelines and decisions from regulatory authorities - access to medicinal products and medical devices worldwide - addressing the grand health challenges around the world
×
引用
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学术文献互助群
群 号:604180095
Book学术官方微信
小红书