World Journal of Emergency Medicine ›› 2025, Vol. 16 ›› Issue (3): 220-224.doi: 10.5847/wjem.j.1920-8642.2025.048
• Original Article • Previous Articles Next Articles
Weiming Wu1, Min Li1, Huilin Jiang1, Min Sun2, Yongcheng Zhu1, Gongxu Zhu1, Yanling Li1, Yunmei Li1, Junrong Mo1, Xiaohui Chen1, Haifeng Mao1()
Received:
2024-10-29
Accepted:
2025-03-16
Online:
2025-05-19
Published:
2025-05-01
Contact:
Haifeng Mao, Email: Weiming Wu, Min Li, Huilin Jiang, Min Sun, Yongcheng Zhu, Gongxu Zhu, Yanling Li, Yunmei Li, Junrong Mo, Xiaohui Chen, Haifeng Mao. Development of an emergency department length-of-stay prediction model based on machine learning[J]. World Journal of Emergency Medicine, 2025, 16(3): 220-224.
Add to citation manager EndNote|Ris|BibTeX
URL: http://wjem.com.cn/EN/10.5847/wjem.j.1920-8642.2025.048
Table 1.
Basic characteristics of the patients (n=187,028)
Variables | Results |
---|---|
Age, years | 51 (32, 67) |
Gender | |
Male | 90,330 (48.3) |
Arrival type | |
Walking | 161,767 (86.5) |
Walking help by others | 4,389 (2.3) |
Held by others | 271 (0.1) |
Ambulance | 10,533 (5.6) |
Wheelchair | 9,172 (4.9) |
Lathe | 896 (0.5) |
Arrival date | |
Monday | 26,708 (14.3) |
Tuesday | 25,205 (13.5) |
Wednesday | 25,353 (13.6) |
Thursday | 25,438 (13.6) |
Friday | 25,593 (13.7) |
Saturday | 28,045 (15.0) |
Sunday | 30,686 (16.4) |
Holiday | 66,085 (35.3) |
The number of the nurses on duty | |
7 | 73,006 (39.0) |
9 | 114,022 (61.0) |
The number of doctors on duty | |
5 | 81,707 (43.7) |
7 | 105,321 (56.3) |
Insurance type | |
Paid by employers | 7,744 (4.1) |
Medical insurance | 96,946 (51.8) |
Full self-pay | 82,338 (44.0) |
Green channel | 2,560 (1.4) |
Triage level | |
I | 1,259 (0.7) |
II | 11,298 (6.0) |
III | 121,913 (65.2) |
IVa | 52,380 (28.0) |
IVb | 181 (0.1) |
Diagnosis | |
Respiratory diseases | 25,801 (13.8) |
Musculoskeletal ship system and connective tissue diseases | 9,211 (4.9) |
Diseases of the urogenital system | 10,412 (5.6) |
Endocrine, nutritional and metabolic diseases | 821 (0.4) |
Diseases of the skin and subcutaneous tissue | 6,217 (3.3) |
Diseases of nervous system | 22,664 (12.1) |
Injury, poisoning and certain other consequences of external causes | 17,581 (9.4) |
Diseases of digestive system | 36,923 (19.7) |
Diseases of circulatory system | 19,817 (10.6) |
Symptoms, physical symptoms, and clinical and experimental abnormalities may not be classified elsewhere | 29,981 (16.0) |
Other diseases | 7,600 (4.2) |
Emergency department length of stay, min | 1469.5 (228, 2057) |
Emergency waiting time, min | 17.5 (6.3, 50.5) |
Table 2.
Prediction performance of machine learning model
Models | MAE | MSE | RMSE | R2 |
---|---|---|---|---|
LR | 552.7 | 826,918.416 | 909.351 | 0.371 |
LASSO | 554.425 | 832,412.452 | 912.366 | 0.367 |
Ridge | 566.901 | 830,210.089 | 911.159 | 0.368 |
XGBoost | 466.703 | 712,896.776 | 844.332 | 0.458 |
GBDT | 471.608 | 710,281.862 | 842.782 | 0.460 |
LightGBM | 443.519 | 683,570.072 | 826.783 | 0.480 |
1 |
Chang AM, Cohen DJ, Lin A, Augustine J, Handel DA, Howell E, et al. Hospital strategies for reducing emergency department crowding: a mixed-methods study. Ann Emerg Med. 2018; 71(4): 497-505.e4.
doi: S0196-0644(17)30922-8 pmid: 28844764 |
2 | Medicine IO. IOM report: the future of emergency care in the United States health system. Acad Emerg Med. 2006; 13(10): 1081-5. |
3 | Woodworth L. Swamped: emergency department crowding and patient mortality. J Health Econ. 2020; 70: 102279. |
4 | Tsai MT, Yen YL, Su CM, Hung CW, Kung CT, Wu KH, et al. The influence of emergency department crowding on the efficiency of care for acute stroke patients. Int J Qual Health Care. 2016; 28(6): 774-8. |
5 |
Pines JM, Russell Localio A, Hollander JE, Baxt WG, Lee H, Phillips C, et al. The impact of emergency department crowding measures on time to antibiotics for patients with community-acquired pneumonia. Ann Emerg Med. 2007; 50(5): 510-6.
doi: 10.1016/j.annemergmed.2007.07.021 pmid: 17913298 |
6 |
Schull MJ, Vermeulen M, Slaughter G, Morrison L, Daly P. Emergency department crowding and thrombolysis delays in acute myocardial infarction. Ann Emerg Med. 2004; 44(6): 577-85.
pmid: 15573032 |
7 |
Wu DQ, Zhou XX, Ye LG, Gan JX, Zhang M. Emergency department crowding and the performance of damage control resuscitation in major trauma patients with hemorrhagic shock. Acad Emerg Med. 2015; 22(8): 915-21.
doi: 10.1111/acem.12726 pmid: 26205164 |
8 |
Sun BC, Hsia RY, Weiss RE, Zingmond D, Liang LJ, Han WJ, et al. Effect of emergency department crowding on outcomes of admitted patients. Ann Emerg Med. 2013; 61(6): 605-11.e6.
doi: 10.1016/j.annemergmed.2012.10.026 pmid: 23218508 |
9 | Weber EJ, Mason S, Freeman JV, Coster J. Implications of England’s four-hour target for quality of care and resource use in the emergency department. Ann Emerg Med. 2012; 60(6): 699-706. |
10 | Chrusciel J, Girardon F, Roquette L, Laplanche D, Duclos A, Sanchez S. The prediction of hospital length of stay using unstructured data. BMC Med Inform Decis Mak. 2021; 21(1): 351. |
11 | Loggini A, Mansour A, El Ammar F, Lazaridis C, Kramer CL, Bulwa Z, et al. Early determinants of neurocritical care unit length of stay in patients with spontaneous intracerebral hemorrhage. Neurocrit Care. 2021; 34(2): 485-91. |
12 | Wu JY, Lin Y, Li PF, Hu YH, Zhang LX, Kong GL. Predicting prolonged length of ICU stay through machine learning. Diagnostics (Basel). 2021; 11(12): 2242. |
13 |
Ramzee AF, El-Menyar A, Asim M, Kanbar A, Ahmed K, Daoud B, et al. The impact of emergency department length of stay on the outcomes of trauma patients requiring hospitalization: a retrospective observational study. World J Emerg Med. 2023; 14(2):96-105.
doi: 10.5847/wjem.j.1920-8642.2023.016 pmid: 36911054 |
14 | Su LX, Xu Z, Chang FX, Ma YY, Liu SJ, Jiang HZ, et al. Early prediction of mortality, severity, and length of stay in the intensive care unit of sepsis patients based on sepsis 3.0 by machine learning models. Front Med (Lausanne). 2021; 8: 664966. |
15 |
Xie J, Gao J, Yang M, Zhang T, Liu Y, Chen Y, et al. Prediction of sepsis within 24 hours at the triage stage in emergency departments using machine learning. World J Emerg Med. 2024; 15(5):379-85.
doi: 10.5847/wjem.j.1920-8642.2024.074 pmid: 39290601 |
16 | Chen CH, Hsieh JG, Cheng SL, Lin YL, Lin PH, Jeng JH. Early short-term prediction of emergency department length of stay using natural language processing for low-acuity outpatients. Am J Emerg Med. 2020; 38(11): 2368-73. |
17 |
Phan JH, Hoffman R, Kothari S, Wu PY, Wang MD. Integration of multi-modal biomedical data to predict cancer grade and patient survival. IEEE EMBS Int Conf Biomed Health Inform. 2016; 2016: 577-80.
pmid: 27493999 |
18 | Liao HL, Zhang XY, Zhao C, Chen Y, Zeng XX, Li HF. LightGBM: an efficient and accurate method for predicting pregnancy diseases. J Obstet Gynaecol. 2022; 42(4): 620-9. |
19 | Zeng XR. Length of stay prediction model of indoor patients based on light gradient boosting machine. Comput Intell Neurosci. 2022; 2022: 9517029. |
20 | Viotti S, Cortese CG, Garlasco J, Rainero E, Emelurumonye IN, Passi S, et al. The buffering effect of humanity of care in the relationship between patient satisfaction and waiting time: a cross-sectional study in an emergency department. Int J Environ Res Public Health. 2020; 17(8): 2939. |
21 |
Deschodt M, Devriendt E, Sabbe M, Knockaert D, Deboutte P, Boonen S, et al. Characteristics of older adults admitted to the emergency department (ED) and their risk factors for ED readmission based on comprehensive geriatric assessment: a prospective cohort study. BMC Geriatr. 2015; 15: 54.
doi: 10.1186/s12877-015-0055-7 pmid: 25928799 |
22 |
Spechbach H, Rochat J, Gaspoz JM, Lovis C, Ehrler F. Patients’ time perception in the waiting room of an ambulatory emergency unit: a cross-sectional study. BMC Emerg Med. 2019; 19(1): 41.
doi: 10.1186/s12873-019-0254-1 pmid: 31370794 |
23 |
Klein LR, Driver BE, Miner JR, Martel ML, Cole JB. Emergency department length of stay for ethanol intoxication encounters. Am J Emerg Med. 2018; 36(7): 1209-14.
doi: S0735-6757(17)31005-7 pmid: 29305022 |
24 | Downing A, Wilson RC, Cooke MW. Which patients spend more than 4 hours in the Accident and Emergency department? J Public Health (Oxf). 2004; 26(2): 172-6. |
25 | Elsamna ST, Hasan S, Shapiro ME, Merchant AM. Factors contributing to extended hospital length of stay in emergency general surgery. J Invest Surg. 2021; 34(12): 1399-406. |
26 |
Casalino E, Wargon M, Peroziello A, Choquet C, Leroy C, Beaune S, et al. Predictive factors for longer length of stay in an emergency department: a prospective multicentre study evaluating the impact of age, patient’s clinical acuity and complexity, and care pathways. Emerg Med J. 2014; 31(5): 361-8.
doi: 10.1136/emermed-2012-202155 pmid: 23449890 |
27 | Beppu S, Hitosugi M, Ueda T, Koh M, Nishiyama K. Factors influencing the length of emergency room stay and hospital stay in non-fatal bicycle accidents: a retrospective analysis. Chin J Traumatol. 2021; 24(3): 148-52. |
28 |
Sarıyer G, Ataman MG, Kızıloğlu İ. Analyzing main and interaction effects of length of stay determinants in emergency departments. Int J Health Policy Manag. 2020; 9(5): 198-205.
doi: 10.15171/ijhpm.2019.107 pmid: 32563220 |
[1] | Zhongshu Kuang, Runrong Li, Su Lu, Yusong Wang, Yue Luo, Yongqi Shen, Li Yuan, Yilin Yang, Zhenju Song, Ning Jiang, Chaoyang Tong. Uncovering host response in adults with severe community-acquired pneumonia: a proteomics and metabolomics perspective study [J]. World Journal of Emergency Medicine, 2025, 16(3): 248-255. |
[2] | Qingyuan Liu, Yixin Zhang, Jian Sun, Kaipeng Wang, Yueguo Wang, Yulan Wang, Cailing Ren, Yan Wang, Jiashan Zhu, Shusheng Zhou, Mengping Zhang, Yinglei Lai, Kui Jin. Early identification of high-risk patients admitted to emergency departments using vital signs and machine learning [J]. World Journal of Emergency Medicine, 2025, 16(2): 113-120. |
[3] | Jingyuan Xie, Jiandong Gao, Mutian Yang, Ting Zhang, Yecheng Liu, Yutong Chen, Zetong Liu, Qimin Mei, Zhimao Li, Huadong Zhu, Ji Wu. Prediction of sepsis within 24 hours at the triage stage in emergency departments using machine learning [J]. World Journal of Emergency Medicine, 2024, 15(5): 379-385. |
[4] | Payush Chatta, Brian Diep, Jakrin Kewcharoen, Daniel Rossie, Cory Toomasian, Purvi Parwani, Dmitry Abramov. The diagnostic yield for computed tomography pulmonary angiography in patients with anticoagulation [J]. World Journal of Emergency Medicine, 2024, 15(4): 251-255. |
[5] | Jie Er Janice Soo, Yuan Helen Zhang, Gek Hsiang Lim, Fatimah Lateef. Bicycle-related traumatic injuries: a retrospective study during COVID-19 pandemic [J]. World Journal of Emergency Medicine, 2024, 15(4): 256-262. |
[6] | Rex Pui Kin Lam, Zonglin Dai, Eric Ho Yin Lau, Carrie Yuen Ting Ip, Ho Ching Chan, Lingyun Zhao, Tat Chi Tsang, Matthew Sik Hon Tsui, Timothy Hudson Rainer. Comparing 11 early warning scores and three shock indices in early sepsis prediction in the emergency department [J]. World Journal of Emergency Medicine, 2024, 15(4): 273-282. |
[7] | Jonathan Chabon, Jemer Garrido, Deanna Schreiber-Gregory, Jefferson Drapkin, Sergey Motov. Trends in oxycodone and oxycodone-containing analgesics administration for back pain in emergency departments in the USA (2007-2018) [J]. World Journal of Emergency Medicine, 2024, 15(3): 169-174. |
[8] | Yedalm Yoo, Shin Ahn, Bora Chae, Won Young Kim. Performance of the EDACS-ADP incorporating high-sensitivity troponin assay: Do components of major adverse cardiac events matter? [J]. World Journal of Emergency Medicine, 2024, 15(3): 175-180. |
[9] | Diogo de Almeida Fernandes, Guilherme de Freitas Camões, Diana Ferreira, Carolina Queijo, Carlos Fontes-Ribeiro, Lino Gonçalves, Rui Pina, Natália António. Prevalence and risk factors for acquired long QT syndrome in the emergency department: a retrospective observational study [J]. World Journal of Emergency Medicine, 2023, 14(6): 454-461. |
[10] | Fady Y. Hijji, Andrew D. Schneider, Matthew D. Thomas, Joseph G. Lyons, Daniel D. Bohl, Jennifer L. Jerele, Michael J. Prayson. Knowledge of radiation exposure associated with common trauma imaging modalities among orthopaedic surgeons, emergency medicine physicians, and general surgeons in the United States [J]. World Journal of Emergency Medicine, 2023, 14(4): 294-301. |
[11] | Xinlei Wang, Yao Sun, Xiaoyu Ni, Shu Zhang. Development and validation of an emergency bloodstream infection score for predicting in-hospital mortality in patients with community-acquired bloodstream infections [J]. World Journal of Emergency Medicine, 2023, 14(4): 280-286. |
[12] | Ahmed Faidh Ramzee, Ayman El-Menyar, Mohammad Asim, Ahad Kanbar, Khalid Ahmed, Bahaa Daoud, Saji Mathradikkal, Ahmad Kloub, Hassan Al-Thani, Sandro Rizoli. The impact of emergency department length of stay on the outcomes of trauma patients requiring hospitalization: a retrospective observational study [J]. World Journal of Emergency Medicine, 2023, 14(2): 96-105. |
[13] | Jee Yen Kuck, Abdul Muhaimin Noor Azhar, Neena Wee, Rishya Manikam. Diagnostic accuracy of the tongue blade test combined with clinical signs to detect maxillary and mandibular fractures in the emergency department [J]. World Journal of Emergency Medicine, 2023, 14(2): 122-127. |
[14] | Guang-mei Wang, Yong Li, Shuo Wu, Wen Zheng, Jing-jing Ma, Feng Xu, Jia-qi Zheng, He Zhang, Jia-li Wang, Yu-guo Chen. The combination of creatine kinase-myocardial band isoenzyme and point-of-care cardiac troponin/ contemporary cardiac troponin for the early diagnosis of acute myocardial infarction [J]. World Journal of Emergency Medicine, 2022, 13(3): 163-168. |
[15] | Ittai Shichman, Or Shaked, Shai Factor, Ahuva Weiss-Meilik, Amal Khoury. Emergency department electric scooter injuries after the introduction of shared e-scooter services: A retrospective review of 3,331 cases [J]. World Journal of Emergency Medicine, 2022, 13(1): 5-10. |
Viewed | ||||||
Full text |
|
|||||
Abstract |
|
|||||