| Literature DB >> 35596154 |
Yu-Hsin Chang1, Hong-Mo Shih1, Jia-En Wu2, Fen-Wei Huang3, Wei-Kung Chen1, Dar-Min Chen4, Yu-Ting Chung4, Charles C N Wang5.
Abstract
BACKGROUND: Overcrowding in emergency departments (ED) is a critical problem worldwide, and streaming can alleviate crowding to improve patient flows. Among triage scales, patients labeled as "triage level 3" or "urgent" generally comprise the majority, but there is no uniform criterion for classifying low-severity patients in this diverse population. Our aim is to establish a machine learning model for prediction of low-severity patients with short discharge length of stay (DLOS) in ED.Entities:
Keywords: Decision-making support; Discharge length of stay; Emergency department; Machine learning; Streaming; Triage
Mesh:
Year: 2022 PMID: 35596154 PMCID: PMC9123815 DOI: 10.1186/s12873-022-00632-6
Source DB: PubMed Journal: BMC Emerg Med ISSN: 1471-227X
Demographic characteristics of ED visits in CMUH and AUH
| Variables | CMUH | AUH |
|---|---|---|
| Age, mean ± SD | 45.65 ± 17.86 | 46.39 ± 18.21 |
| Sex-female, No. (%) | 26,185 (58.48) | 8807 (54.88) |
| Body mass index, mean ± SD | 23.76 ± 4.56 | 24.36 ± 4.49 |
| Respiratory rate, mean ± SD | 19.88 ± 1.24 | 18.45 ± 2.27 |
| SBP (mmHg), mean ± SD | 136.93 ± 23.50 | 138.33 ± 24.56 |
| DBP (mmHg), mean ± SD | 86.70 ± 16.05 | 80.17 ± 15.35 |
| Heart rate (bpm), mean ± SD | 89.36 ± 17.43 | 89.05 ± 18.39 |
| Body temperature (℃), mean ± SD | 36.95 ± 0.80 | 37.08 ± 0.87 |
| Consciousness, No. (%) | ||
| Alert (6) | 44,616 (99.64) | 15,987 (99.63) |
| Voice (5) | 100 (0.22) | 41 (0.26) |
| Pain (4) | 41 (0.09) | 12 (0.07) |
| Unresponsive (1–3) | 18 (0.04) | 7 (0.04) |
| Tracheostomy, No. (%) | 8 (0.02) | 1 (0.01) |
| Drainage tube, No. (%) | 16 (0.04) | 1 (0.01) |
| Nasogastric tube, No. (%) | 157 (0.35) | 15 (0.09) |
| FOLEY catheter, No. (%) | 209 (0.47) | 24 (0.15) |
| Transferred, No. (%) | 2212 (4.94) | 515 (3.21) |
| Hospitals | 418 (0.93) | 344 (2.14) |
| Clinics | 1685 (3.76) | 153 (0.93) |
| Nursing home | 34 (0.08) | 18 (0.11) |
| Others | 75 (0.17) | 0 (0.00) |
| Arrival by ambulance, No. (%) | 2364 (5.28) | 377 (2.34) |
| Bed request, No (%) | 3412 (7.62) | 999 (6.22) |
| Comorbidity, No. (%) | ||
| Diabetes mellitus | 4963 (11.08) | 1963 (12.23) |
| Hypertension | 8747 (19.54) | 3544 (24.58) |
| Unknown heart disease | 3545 (7.92) | 893 (5.56) |
| Congestive heart failure | 144 (0.32) | 49 (3.05) |
| Ischemic heart disease | 417 (0.93) | 50 (0.31) |
| End-stage renal disease | 672 (1.50) | 262 (1.63) |
| Liver cirrhosis | 413 (0.92) | 143 (0.89) |
| COPD | 155 (0.35) | 85 (0.52) |
| Cancer | 2969 (6.63) | 600 (3.74) |
| Pregnancy, No. (%) | 801 (1.79) | 173 (1.08) |
| ED visits over twice in a week, No. (%) | 2930 (6.54) | 1094 (6.82) |
| ED visits over 3 times in a month, No. (%) | 1634 (3.65) | 661 (4.12) |
| 72-h ED return, No. (%) | 1420 (3.17) | 504 (3.14) |
| Common system of complaints, No. (%) | ||
| Gastrointestinal-related | 15,097 (33.72) | 5199 (32.40) |
| Neurological-related | 7838 (17.51) | 3186 (19.85) |
| General | 5247 (11.72) | 2162 (13.47) |
| Cardiovascular-related | 4278 (9.55) | 1460 (9.10) |
| Urological-related | 2978 (6.65) | 1143 (7.12) |
| ≧ 4 h | 10,789 (24.1%) | 2778 (17.31) |
| < 4 h | 33,986 (75.9%) | 13,269 (82.69) |
Abbreviation: SD Standard deviation, SBP Systolic blood pressure, DBP Diastolic blood pressure, COPD Chronic obstructive pulmonary disease, ED Emergency department, DLOS Discharge length of stay, CMUH China Medical University Hospital, AUH Asia University Hospital
Fig. 1Receiver operating characteristic (ROC) curves. ROC curves of machine learning models for short discharge lengths of stay (DLOS) in the test set of internal validation
Prediction performance of internal validation in CMUH
| Model | AUC | Sensitivity | Specificity | PPV | NPV |
|---|---|---|---|---|---|
| XGBoost | 0.749 (0.736–0.761) | 51.50% (50.31–52.69) | 81.08% (79.32–82.75) | 90.13% (89.28–90.92) | 33.25% (32.55–33.97) |
| Random Forest | 0.733 (0.720–0.745) | 33.80% (34.67–36.95) | 88.18% (86.71–89.55) | 91.04% (90.00–91.99) | 29.05% (28.56–29.54) |
| Decision tree | 0.704 (0.691–0.717) | 44.05% (42.87–45.23) | 81.76% (80.02–83.41) | 89.02% (88.05–89.91) | 30.34% (29.72–30.96) |
| Logistic regression | 0.694 (0.681–0.707) | 28.71% (27.65–29.80) | 89.80% (88.46–91.03) | 89.80% (88.55–90.93) | 27.13% (28.30–29.14) |
Abbreviation: AUC Area under the receiver operating characteristic curve, PPV Positive predictive value, NPV Negative predictive value, CMUH China Medical University Hospital
Fig. 2Relative importance of top 15 predictive features. Measurement was scaled with a maximum value of 1.0 in A) the CATboost model and B) the Xgboost model
Operational performance among various thresholds in internal validation
| Threshold and models | Sensitivity | Specificity | PPV | Identification per 100 ED visits | ||
|---|---|---|---|---|---|---|
| Total | True | False | ||||
| CatBoost | 65.52% | 71.98% | 88.70% | 56.90 | 50.47 | 6.43 |
| XGBoost | 66.26% | 71.01% | 88.47% | 57.70 | 51.04 | 6.66 |
| Decision tree | 53.23% | 74.71% | 87.60% | 46.80 | 40.99 | 5.81 |
| Random forest | 53.86% | 78.26% | 89.26% | 46.50 | 41.51 | 4.99 |
| Logistic regression | 58.47% | 70.09% | 86.77% | 51.90 | 45.03 | 6.87 |
| CatBoost | 48.70% | 83.12% | 90.64% | 41.40 | 37.52 | 3.88 |
| XGBoost | 51.50% | 81.08% | 90.13% | 44.00 | 39.66 | 4.34 |
| Decision tree | 44.05% | 81.76% | 89.02% | 38.10 | 33.92 | 4.18 |
| Random forest | 35.18% | 88.42% | 91.07% | 29.80 | 27.14 | 2.66 |
| Logistic regression | 28.19% | 89.40% | 89.92% | 24.20 | 21.76 | 2.44 |
| CatBoost | 24.34% | 94.60% | 93.80% | 20.00 | 18.76 | 1.24 |
| XGBoost | 30.44% | 91.00% | 91.90% | 25.50 | 23.44 | 2.06 |
| Decision tree | 26.86% | 90.42% | 90.39% | 22.90 | 20.70 | 2.20 |
| Random forest | 0.00% | N/A | N/A | 0.00 | 0.00 | 0.00 |
| Logistic regression | 1.61% | 99.90% | 98.23% | 1.30 | 1.28 | 0.02 |
| CatBoost | 2.17% | 99.90% | 98.68% | 1.70 | 1.68 | 0.02 |
| XGBoost | 7.29% | 98.98% | 95.99% | 5.90 | 5.66 | 0.24 |
| Decision tree | 0.04% | 99.81% | 42.86% | 0.90 | 0.39 | 0.51 |
| Random forest | 0.00% | N/A | N/A | 0.00 | 0.00 | 0.00 |
| Logistic regression | 0.00% | N/A | N/A | 0.00 | 0.00 | 0.00 |
Abbreviation: PPV Positive predictive value
Prediction performance of external validation in AUH
| Model | AUC | Sensitivity | Specificity | PPV | NPV |
|---|---|---|---|---|---|
| CatBoost | 0.748 (0.735–0.756) | 59.09% (58.61–59-58) | 83.25% (82.51–83.96) | 93.21% (92.93–93.48) | 34.33% (34.01–34.66) |
| Random Forest | 0.741 (0.724–0.752) | 58.89% (58.40.59.37) | 81.84% (81.08–82.57) | 92.49% (92.20–92.78) | 34.38% (34.05–34.72) |
| Decision tree | 0.710 (0.692–0.722) | 56.14% (55.64–56.63) | 80.11% (79.33–80.86) | 91.28% (90.96–91.59) | 32.99% (32.69–33.32) |
| logistic regression | 0.699 (0.691–0.710) | 51.30% (50.81–81.80) | 84.72% (84.01–85.41) | 92.73% (92.41–93.04) | 31.41% (31.13–31.69) |
Abbreviation: AUC Area under the receiver operating characteristic curve, PPV Positive predictive value, NPV Negative predictive value, AUH Asia University Hospital