EUVIMEDEUVIMED entdecken
Open Access

Predicting Waiting Times for Medical Tasks in a Pediatric Hospital Using Machine Learning: Comprehensive, Retrospective, Real-World Study

Lin Lin Guo iD, Rui Tang iD, Jia Yang Wang iD, Si Zheng iD, Yin Zeng iD, Jun Hou iD, Mo Chen Dong iD, Jiao Li iD, Ying Cui iD

JMIR Medical Informatics · 2025

DOI: 10.2196/77297 ↗

Kurz gefasst

Fachartikel in der Zeitschrift JMIR Medical Informatics, 2025. Verfasst von Lin Lin Guo und 8 weiteren Autor:innen. Beteiligte Einrichtung: Capital Center for Children's Health, Capital Medical University, No.2 Yabao Road, ChaoYang District, Beijing, 100020, China, 86 18380382165. Hauptthemen laut MEDLINE: Machine Learning, Hospitals, Pediatric, Waiting Lists. Die Arbeit wurde bisher 3-mal zitiert (Crossref) und nennt 38 Literaturangaben. Der Volltext ist frei in PubMed Central verfügbar.

AbstractSchlagwörterBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Background

The shortage of pediatric medical resources and overcrowding in children’s hospitals are severe issues in China. Accurately predicting waiting times can help optimize hospital operational efficiency.

Objective

This study aims to develop machine learning models to predict waiting times for various laboratory and radiology examinations at a pediatric hospital.

Methods

Time stamp data from laboratory and radiology examinations were retrospectively collected from the pediatric hospital information system between November 1, 2024, and March 13, 2025. Two queue-related and 4 time-based features were extracted using queue theory. Linear regression and 8 machine learning models were trained to predict waiting times for each medical task. Hyperparameters were fine-tuned using randomized search and 10-fold cross-validation, and the bootstrap method was used for model evaluation. Mean absolute error, mean square error, root mean square error, and the coefficient of determination ( R ²) were used as evaluation metrics. Shapley additive explanations values were used to assess feature importance.

Results

A total of 230,864 time-stamped records were included after data preprocessing. The median waiting time was 4.817 (IQR 1.867-12.050) minutes for all medical tasks. Waiting times for radiology examinations were generally longer than those for laboratory tests. Tree-based algorithms, such as random forest and classification and regression trees, performed best in predicting laboratory test waiting times, with R ² values ranging from mean 0.880(SD 0.003) to mean 0.934 (SD 0.003). However, the machine learning models did not perform well in predicting radiology examination waiting times, with R 2 ranging from 0.114 (SD 0.005) to 0.719 (SD 0.004). Feature importance analysis revealed that queue-related predictors, especially the number of queuing patients, were the most important in predicting waiting times.

Conclusions

Task-specific prediction models are more appropriate for accurately predicting waiting times across various medical tasks. Guided by queue theory principles, we developed machine learning models for the waiting time prediction of each medical task and highlighted the importance of queue-related predictors.

Schlagwörter

MeSH-Schlagwörter (MEDLINE)

Machine LearningHospitals, PediatricWaiting ListsHumansRetrospective StudiesChinaTime FactorsChildEfficiency, Organizational

Stichwörter der Autor:innen

machine learningmedical taskspediatric hospitalqueuewaiting time

Autor:innen und Institutionen

  • Capital Center for Children's Health, Capital Medical University, No.2 Yabao Road, ChaoYang District, Beijing, 100020, China, 86 18380382165.
  • Institute of Medical Information, Chinese Academy of Medical Sciences and Peking Union Medical College, Beijing, China.

ORCID-Profile: Lin Lin Guo, Rui Tang, Jia Yang Wang, Si Zheng, Yin Zeng, Jun Hou, Mo Chen Dong, Jiao Li, Ying Cui

Zitieren

APA

Guo, L. L., Tang, R., Wang, J. Y., Zheng, S., Zeng, Y., Hou, J., Dong, M. C., Li, J., & Cui, Y. (2025). Predicting Waiting Times for Medical Tasks in a Pediatric Hospital Using Machine Learning: Comprehensive, Retrospective, Real-World Study. JMIR Medical Informatics. https://doi.org/10.2196/77297

Vancouver

Guo LL, Tang R, Wang JY, Zheng S, Zeng Y, Hou J, et al. Predicting Waiting Times for Medical Tasks in a Pediatric Hospital Using Machine Learning: Comprehensive, Retrospective, Real-World Study. JMIR Medical Informatics. 2025. doi:10.2196/77297

BibTeX
@article{Guo2025,
  author = {Guo, Lin Lin and Tang, Rui and Wang, Jia Yang and Zheng, Si and Zeng, Yin and Hou, Jun and Dong, Mo Chen and Li, Jiao and Cui, Ying},
  title = {Predicting Waiting Times for Medical Tasks in a Pediatric Hospital Using Machine Learning: Comprehensive, Retrospective, Real-World Study},
  journal = {JMIR Medical Informatics},
  year = {2025},
  doi = {10.2196/77297}
}
Kostenlos starten →