Related Experiment Video
Updated: Jul 12, 2025

Implementation of a Real-Time Psychosis Risk Detection and Alerting System Based on Electronic Health Records using CogStack
Published on: May 15, 2020
Characteristics and Admission Preferences of Pediatric Emergency Patients and Their Waiting Time Prediction Using
Lin Lin Guo1, Lin Ying Guo1, Jiao Li2
1Children's Hospital Capital Institute of Pediatrics, Beijing, China.
Insights
Pediatric emergency room visits are frequent in young children, with fever and respiratory infections being common causes. Machine learning models accurately predict waiting times, aiding in optimizing care and reducing delays.
Area of Science:
- Pediatric Emergency Medicine
- Health Informatics
- Machine Learning in Healthcare
Background:
- Rising pediatric emergency department (ED) visits strain resources and impact urgent care.
- Limited large-scale studies analyze pediatric ED visits in China despite resource shortages.
- Continuous monitoring of pediatric ED admissions and waiting times is crucial.
Purpose of the Study:
- To analyze pediatric ED patient characteristics and admission patterns using electronic medical record (EMR) data.
- To develop and evaluate machine learning (ML) models for predicting pediatric ED waiting times.
- To identify key factors influencing waiting times in pediatric EDs.
Main Methods:
- Retrospective analysis of pediatric ED admissions from January 1, 2021, to December 31, 2021.
- Extraction of clinical data including demographics, diagnoses, and timestamps from EMRs.
- Development and evaluation of ML models (Random Forest, LightGBM, XGBoost) for waiting time prediction.
Main Results:
- 183,024 admissions from 127,368 pediatric patients were analyzed.
- Children under 5 years accounted for 71.26% of visits; fever and respiratory infections were leading diagnoses.
- Median waiting time was 27.53 minutes; ML models improved prediction accuracy by ~17.73% (RMSE) and ~29.33% (R²).
Conclusions:
- Significant variations in pediatric ED admission rates and patterns were observed.
- Ensemble ML models provide reliable waiting time predictions, with patient volume and triage status being key factors.
- Strategies like patient diversion and optimized triage systems can enhance pediatric ED care quality and reduce wait times.
Background:
The growing number of patients visiting pediatric emergency departments could have a detrimental impact on the care provided to children who are triaged as needing urgent attention. Therefore, it has become essential to continuously monitor and analyze the admissions and waiting times of pediatric emergency patients. Despite the significant challenge posed by the shortage of pediatric medical resources in China's health care system, there have been few large-scale studies conducted to analyze visits to the pediatric emergency room.
Objective:
This study seeks to examine the characteristics and admission patterns of patients in the pediatric emergency department using electronic medical record (EMR) data. Additionally, it aims to develop and assess machine learning models for predicting waiting times for pediatric emergency department visits.
Methods:
This retrospective analysis involved patients who were admitted to the emergency department of Children's Hospital Capital Institute of Pediatrics from January 1, 2021, to December 31, 2021. Clinical data from these admissions were extracted from the electronic medical records, encompassing various variables of interest such as patient demographics, clinical diagnoses, and time stamps of clinical visits. These indicators were collected and compared. Furthermore, we developed and evaluated several computational models for predicting waiting times.
Results:
In total, 183,024 eligible admissions from 127,368 pediatric patients were included. During the 12-month study period, pediatric emergency department visits were most frequent among children aged less than 5 years, accounting for 71.26% (130,423/183,024) of the total visits. Additionally, there was a higher proportion of male patients (104,147/183,024, 56.90%) compared with female patients (78,877/183,024, 43.10%). Fever (50,715/183,024, 27.71%), respiratory infection (43,269/183,024, 23.64%), celialgia (9560/183,024, 5.22%), and emesis (6898/183,024, 3.77%) were the leading causes of pediatric emergency room visits. The average daily number of admissions was 501.44, and 18.76% (34,339/183,204) of pediatric emergency department visits resulted in discharge without a prescription or further tests. The median waiting time from registration to seeing a doctor was 27.53 minutes. Prolonged waiting times were observed from April to July, coinciding with an increased number of arrivals, primarily for respiratory diseases. In terms of waiting time prediction, machine learning models, specifically random forest, LightGBM, and XGBoost, outperformed regression methods. On average, these models reduced the root-mean-square error by approximately 17.73% (8.951/50.481) and increased the R2 by approximately 29.33% (0.154/0.525). The SHAP method analysis highlighted that the features "wait.green" and "department" had the most significant influence on waiting times.
Conclusions:
This study offers a contemporary exploration of pediatric emergency room visits, revealing significant variations in admission rates across different periods and uncovering certain admission patterns. The machine learning models, particularly ensemble methods, delivered more dependable waiting time predictions. Patient volume awaiting consultation or treatment and the triage status emerged as crucial factors contributing to prolonged waiting times. Therefore, strategies such as patient diversion to alleviate congestion in emergency departments and optimizing triage systems to reduce average waiting times remain effective approaches to enhance the quality of pediatric health care services in China.
More Related Videos
10:02Event Related Potentials ERPs and other EEG Based Methods for Extracting Biomarkers of Brain Dysfunction: Examples from Pediatric Attention Deficit/Hyperactivity Disorder ADHD
Published on: March 12, 2020
06:55Inverse Probability of Treatment Weighting Propensity Score using the Military Health System Data Repository and National Death Index
Published on: January 8, 2020
Related Concept Videos
Methods of Documentation VII: EMR
Comparing the Survival Analysis of Two or More Groups
Introduction To Survival Analysis
The primary goal of survival analysis is to estimate survival time—the time...