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

利用机器学习预测儿科医院医疗任务等待时间:一项全面、回顾性、真实世界的研究

阅读:1

Abstract

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 R2 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.

特别声明

1、本页面内容包含部分的内容是基于公开信息的合理引用;引用内容仅为补充信息,不代表本站立场。

2、若认为本页面引用内容涉及侵权,请及时与本站联系,我们将第一时间处理。

3、其他媒体/个人如需使用本页面原创内容,需注明“来源:[生知库]”并获得授权;使用引用内容的,需自行联系原作者获得许可。

4、投稿及合作请联系:info@biocloudy.com。