Signa Vitae. 2023; 19(5): 75-90. doi: 10.22514/sv.2023.015
Original Research
Improving triage accuracy of hospitalization and discharge decisions in the emergency department
Sung-Joon Park1, Sung-Hyuk Choi1,*,, Dae-Jin Song2, Jong-Hak Park3, Ju-Hyun Song3, Han-Jin Cho3, Sun-Hong Lee4, Byung-Chul Ko5, Kyu-Hwan Ahn6, Gil-Gon Kim7, Won-Seok Choi7, Kyung-Nam Kim8

1Department of Emergency Medicine, Korea University Guro Hospital, 08308 Seoul, Republic of Korea

2Department of Pediatrics, Korea University Guro Hospital, 08308 Seoul, Republic of Korea

3Department of Emergency Medicine, Korea University Ansan Hospital, 15355 Ansan, Republic of Korea

4Institute for trauma research, Korea University, 02841 Seoul, Republic of Korea

5Poderosa Co., Ltd, 06626 Seoul, Republic of Korea

6WeAreFriends, Co., Ltd, 05635 Seoul, Republic of Korea

7InnoRules Co., Ltd, 05855 Seoul, Republic of Korea

8Waycen Inc., 06182 Seoul, Republic of Korea

*Corresponding Author(s):kuedchoi@korea.ac.kr (Sung-Hyuk Choi)

History Submitted: 13 September 2022 | Accepted: 25 November 2022 | Published: 08 September 2023
Copyright:  ©2023  The Author(s). Published by MRE Press.
This is an open access article under the CC BY 4.0 license (https://creativecommons.org/licenses/by/4.0/).

Collapse table of contents

Abstract

The initial severity triage of patients in the emergency department (ED) is implemented differently worldwide, according to the characteristics of each country. However, better classification methods are being studied due to various problems with the current system. Therefore, the aim of this study was to determine the usefulness of patients’ severity assessment in a new way that gives appropriate values to factors that can be obtained in the ED. We collected data from 158,246 patients who visited the ED from 01 January 2016 to 31 December 2020. Using the appropriate values of various factors obtained using the Rasch analysis method, the cut-off values for predicting hospitalization and discharge at the ED of patients were determined. Furthermore, using artificial intelligence, the patients who were hospitalized and discharged from the ED were classified and compared with the results of the Rasch analysis. The accuracy of the algorithms was analyzed as a combination of factors that could be obtained during the initial stage of the patient’s visits. The area under the curve (AUC) value for the prediction of hospitalization and discharge by a combination of factors immediately obtained from the visit was 0.611. In addition, using the factors that could be obtained after a certain period, the AUC value of hospitalization and discharge prediction was 0.767. The results of analysis using artificial intelligence were similar to or slightly higher than the AUC value of the Rasch analysis. The prediction of hospitalization and discharge in the ED using clinical parameters with Rasch analysis can be used for medical assistance, which is expected to help in the efficient operation of the ED.

Keywords:Triage;Severity;Rasch analysis;Hospitalization;Emergency;Patient characteristics
PDF(4.04 MB)|EndNote (RIS)|BibTeX|RefMan|RefWorks

Cite this article

Sung-Joon Park, Sung-Hyuk Choi, Dae-Jin Song, Jong-Hak Park, Ju-Hyun Song, Han-Jin Cho, Sun-Hong Lee, Byung-Chul Ko, Kyu-Hwan Ahn, Gil-Gon Kim, Won-Seok Choi, Kyung-Nam Kim. Improving triage accuracy of hospitalization and discharge decisions in the emergency department. Signa Vitae. 2023; 19(5): 75-90. doi: 10.22514/sv.2023.015

1. Introduction

The severity triage in the emergency department determines the priority for treatment. It is used to provide appropriate treatments for cases of greater urgency when many patients visit at the same time. In Korea and around the world, this is often the case—many patients visit the emergency department (ED) at the same time and not at regular intervals. This delays appropriate treatment and increases patient complaints owing to overcrowding and lack of medical staff. Therefore, severity triage of patients is essential for proper management and patient satisfaction, as it enables the efficient use of medical staff and eliminates overcrowding [1]. As a result, in many countries, severity triage of patients is implemented with slight differences depending on the country’s circumstances.

Various severity triage systems such as the Emergency Severity Index (ESI), Canadian Triage and Acuity Scale (CTAS), Manchester Triage System (MTS), and Australasian Triage System (ATS) are used. In Korea, we use the Korean Triage and Acuity Scale (KTAS) based on the CTAS to classify the severity of emergency patients into five classes [2]. However, this requires continuous training of the medical staff for accurate severity triage and is ineffective at eliminating overcrowding and reducing workload and patient complaints.

Hospitalization and discharge are generally determined by the severity of patients, but patients who require hospitalization are often transferred due to a lack of hospital beds. As the number of patients waiting for hospitalization in EDs increases, proper management is difficult owing to a lack of space to treat new emergency patients. Therefore, patients should be quickly transferred to other hospitals.

The rapid prediction of hospitalization and discharge in the ED can increase patient satisfaction by eliminating overcrowding and effectively utilizing medical resources such as hospital beds and medical personnel. Recently, Rasch analysis, presented as a weighted value (WV) with the frequency of factors [3], was used as a statistical method, and its usefulness has been reported in mental illness screening and the prognosis evaluation of chronic diseases [4, 5]. There are also reports on prediction of disease deterioration using artificial intelligence (AI) [6, 7]. Therefore, we aimed to investigate the usefulness of predicting hospitalization and discharge through Rasch analysis using initial factors of patients presenting to the ED as well as values obtained from various blood tests. In addition, we compared and verified the usefulness of Rasch analysis using AI results.

2. Methods

2.1 Participants and distribution of patient characteristics

We investigated various factors that could be obtained from 158,246 patients aged 15 years or older who visited the ED at one hospital from 01 January 2016 to 31 December 2020. Using the medical records, the data were completely anonymized before access and used the necessary factors. We collected data from nine factors immediately obtained at the beginning of the visit and data from 18 variables obtained from blood tests. These factors can be easily obtained in most emergency centers in South Korea. In addition, patients were classified into groups based on their initial characteristics.

2.2 Composition and weight values (WVs) of collected factors

We examined initial factors that could be obtained in the early stages for rapid assessment at the ED. Demographic characteristics such as age and sex as well as medical factors such as past history, systolic blood pressure, diastolic blood pressure, pulse rate, respiratory rate, body temperature, and state of consciousness were examined. In addition, blood sugar level, hydrogen ion concentration (pH), partial pressure of arterial oxygen (PaO2), and lactic acid level, all of which can be obtained immediately from point-of-care testing (POCT), were examined depending on the symptoms of the patients visiting the ED. The WV for the range of each factor was determined using the Rasch analysis (Tables 1 and 2). The WV was used such that the higher the severity of the patient, the higher the value. We also examined hemoglobin level, hematocrit, white blood cell (WBC) count, prothrombin time (PT), and aspartate aminotransferase (AST), alanine aminotransferase (ALT), bilirubin, creatinine, amylase, sodium, potassium, C-reactive protein (CRP), creatine kinase-myocardial band (CK-MB), and troponin T levels, which can be obtained from most patients after a certain period of time.

Table 1.Scores according to the frequency of initial measurement factors by Rasch analysis.
FactorRangeWeighted value
Age (yrs)
15 ≤ n < 186.2
18 ≤ n < 661.1
66 ≤ n < 8012.9
80 ≤ n < 10022.1
100 ≤ n98.9
Sex
Male47.7
Female52.3
Past history
Diabetes (Y/N )29.5/3.9
Hypertension (Y/N )20.6/6.7
Tubeculosis (Y/N )98.8/1.2
Hepatitis (Y/N )61.7/1.4
Malignancy (Y/N )45.1/1.9
Chronic Obstructive Pulmonary Disease (COPD) (Y/N )61.7/1.4
None6.7
More than two diseases100.0
SBP (mmHg)
n < 7097.9
70 ≤ n < 9062.7
90 ≤ n < 1202.1
120 ≤ n < 14010.2
140 ≤ n < 16017.2
160 ≤ n < 18037.2
180 ≤ n53.6
DBP (mmHg)
n < 4098.3
40 ≤ n < 6038.0
60 ≤ n < 801.7
80 ≤ n < 1004.2
100 ≤ n < 12028.6
120 ≤ n69.2
Heart rate (/minute)
n < 3098.6
30 ≤ n < 4092.9
40 ≤ n < 6055.8
60 ≤ n < 1001.4
100 ≤ n < 12015.3
120 ≤ n < 15014.6
150 ≤ n < 18029.7
180 ≤ n54.6
Respiratory rate (/minute)
n < 899.2
8 ≤ n < 1286.0
12 ≤ n < 250.8
25 ≤ n < 3513.4
35 ≤ n24.8
Body temperature (°C)
n < 3598.3
35 ≤ n < 3679.0
36 ≤ n < 381.7
38 ≤ n < 4010.2
40 ≤ n50.2
Consciousness
Alert response1.9
Verbal response74.8
Painful response68.0
Unresponsive98.1
SBP, systolic blood pressure; DBP, diastolic blood pressure; weighted value, value according to the weighted value of the factor.
Table 2.Scores according to the frequency of all factors of blood test results by Rasch analysis (late detection factor).
FactorRangeWeighted value
Hemoglobin (g/dL)
n < 598.2
5 ≤ n < 778.0
7 ≤ n < 1218.1
12 ≤ n < 161.8
16 ≤ n52.6
Hematocrit (%)
n < 1566.9
15 ≤ n < 2539.2
25 ≤ n < 3612.7
36 ≤ n < 461.2
46 ≤ n < 6027.7
60 < n98.8
WBC count (103/µL)
n < 3.073.5
3 ≤ n < 4.554.8
4.5 ≤ n < 11.02.0
11.0 ≤ n < 20.025.8
20.0 ≤ n < 30.068.3
30.0 ≤ n98.0
Prothrombin time (International normalised ratio (INR))
n < 0.750.0
0.75 ≤ n < 1.251.8
1.25 ≤ n < 3.0047.0
3.00 ≤ n98.2
AST level (IU/L)
n < 362.3
36 ≤ n < 6039.3
60 ≤ n < 10068.5
100 ≤ n < 30077.4
300 ≤ n97.7
ALT level (IU/L)
n < 362.1
36 ≤ n < 6046.8
60 ≤ n < 10065.1
100 ≤ n < 30074.7
300 ≤ n97.9
Bilirubin level (mg/dL)
n < 1.21.6
1.2 ≤ n < 2.048.2
2.0 ≤ n < 6.060.7
6.0 ≤ n < 9.095.0
9.0 ≤ n98.4
Creatinine level (mg/dL)
n < 1.11.9
1.1 ≤ n < 3.038.2
3.0 ≤ n < 6.072.0
6.0 ≤ n < 10.084.3
10.0 ≤ n98.1
Amylase level (U/L)
n < 1001.4
100 ≤ n < 25041.0
250 ≤ n < 50073.0
500 ≤ n < 100088.8
1000 ≤ n98.6
Sodium level (mmol/L)
n < 1000.9
100 ≤ n < 12051.4
120 ≤ n < 13519.8
135 ≤ n < 1451.0
145 ≤ n < 16043.5
160 ≤ n < 18065.8
180 ≤ n99
Potassium level (mmol/L)
n < 2.598.4
2.5 ≤ n < 3.535.8
3.5 ≤ n < 5.51.6
5.5 ≤ n < 7.057.5
7.0 ≤ n87.3
CRP level (mg/L)
n < 51.8
5 ≤ n < 1037.8
10 ≤ n < 2060.9
20 ≤ n < 3098.2
30 ≤ n98.2
Glucose level (mg/dL)
n < 6097.9
60 ≤ n < 8083.7
80 ≤ n < 1402.1
140 ≤ n < 20039.4
200 ≤ n < 30055.7
300 ≤ n75.5
pH
n < 7.0097.4
7.00 ≤ n < 7.2087.0
7.20 ≤ n < 7.3544.4
7.35 ≤ n < 7.452.6
7.45 ≤ n < 7.5022.3
7.50 ≤ n37.6
PaO2 (mmHg)
n < 4094.5
40 ≤ n < 6063.6
60 ≤ n < 8032.7
80 ≤ n5.5
Lactic acid level
n < 22.7
2 ≤ n < 422.7
4 ≤ n < 669.4
6 ≤ n < 1082.9
10 ≤ n97.3
CK-MB level (ng/mL)
n < 3.61.8
3.6 ≤ n < 5.049.6
5.0 ≤ n < 10.051.0
10.0 ≤ n < 30.065.8
30.0 ≤ n98.2
Troponin T level (ng/mL)
n < 0.11.7
0.1 ≤ n < 0.357.2
0.3 ≤ n < 0.680.0
0.6 ≤ n < 1.098.0
1.0 ≤ n98.3
WBC, white blood cell; AST, aspartate aminotransferase; ALT, alanine aminotransferase; CRP, C-reactive protein; pH, hydrogen ion concentration; PaO2, partial pressure of arterial oxygen; CK-MB, creatine kinase myocardial band; weighted value, value according to the weighted value of the factor.

2.3 Accuracy of WV in combination with initial factors

The sum of WVs for various combinations of factors that can be obtained in the early stages following presentation was calculated (Table 3). In addition, sensitivity, specificity, accuracy, positive predictive value, and negative predictive value were investigated by determining the cutoff values for hospitalization and discharge at the ED.

Table 3.Classification by combinations of various factors.
AlgorithmsFactors
AAge, Sex, Past history, SBP, DBP, HR, RR, BT, AVPU
BHBG, HCT, WBC, PT (INR), Bilirubin, AST, ALT, Creatinine, Amylase, Sodium, Potassium, CRP
Type 1A
Type 2A + PaO2, pH, Lactic acid
Type 3A + Glucose
Type 4A + Glucose, PaO2, pH, Lactic acid
Type 5A + B + Glucose
Type 6A + B + Glucose, PaO2, pH, Lactic acid
Type 7A + B + PaO2, pH, Lactic acid
Type 8A + B + Glucose, CK-MB, Troponin
Type 9A + B + PaO2, pH, Lactic acid, CK-MB, Troponin
Type 10A + B + Glucose, PaO2, pH, Lactic acid, CK-MB, Troponin
A, defined as immediate characteristics; B, blood sample results; SBP, systolic blood pressure; HR, heart rate/min; RR, respiratory rate; BT, body temperature; AVPU, alert/verbal/painful/unresponsive (index of consciousness); HBG, hemoglobin; HCT, hematocrit; WBC, white blood cell; PT, prothrombin time; CRP, C-reactive protein; Glucose, blood glucose; DBP, diastolic blood pressure; AST, aspartate aminotransferase; ALT, alanine aminotransferase; PaO2 partial pressure of arterial oxygen; pH, hydrogen ion concentration; CK-MB, creatine kinase myocardial band; INR: International normalised ratio.

2.4 Accuracy of WV in combination with initial and blood factors

The sum of WVs in the various combinations of factors that can be obtained from immediate examination, POCT in the initial stage, and from blood tests after a certain period of time was calculated (Table 3). We also investigated the sensitivity, specificity, accuracy, positive predictive value, and negative predictive value to determine the cutoffs for hospitalization and discharge at the ED. In addition, we selected the most appropriate combination of factors with the highest accuracy that can be clinically useful for the highest number of patients.

2.5 Comparison between Rasch analysis and artificial intelligence analysis

The prediction of hospitalization and discharge of patients was analyzed and compared between Rasch analysis and AI using the same factors. From the data, the triage result, symptom, and gender columns were converted to binary columns: Triage result (hospitalization, death, intensive care unit (ICU): 1, discharge: 0), symptom (with symptoms: 1, none: 0), gender (male: 1, female: −1). Past history and AVPU columns were converted into one-hot encoding vectors and the remaining factors were normalized through the standard score (z-score), and values ​​outside the standard score range (−4.0 ~ 4.0) were replaced with the standard score −4.0 or 4.0. Samples with at least one missing value among all columns were removed. The training set and the test set were randomly sampled and separated by 7:3. The MLP model consists of three hidden layers (128-128-128), dropout of each layer was applied, the activation function was ReLU, and the output layer was Sigmoid. The training hyper parameters of the two models were as follows (XGBooster model; classifier: XGBClassifier, booster: gbtree, learning_rate: 0.001, eval_metric: AUC, max_depth: 10, n_estimators: 200, positive_class_weight = ((number of negative samples) × 1.5)/(number of positive samples), MLP model; Optimizer: Adam, Batch size: 256, Learning Rate: 0.001, Loss: Cross Entropy, Class weight: (1/(neg or pos)) × (total/2.0)). In the learning process, we used sklearn’s GridSearchCV module to find the hyper-parameter value. 5-fold cross validation is performed on the training set separated from the test set. (XGBoost parameter space param_xgb = (“learning_rate”: (0.001, 0.005) “max_depth”: (10, 30, 50), “n_estimators”: (100, 200, 300, 500, 1000)). MLP parameter space param_mlp = (“learning_rate”: (0.0001, 0.0005, 0.001, 0.005))). In order to compare and verify the results of the Rasch analysis, the test set was fixed and the machine learning model was learned, and the training set of the machine learning model was separated into training: validation = 8:2 to go through the learning process. In addition, the prediction of hospitalization and discharge in the ED with AI was analyzed using direct raw clinical data values as well as the results of WV analysis [8].

2.6 Statistical analysis and software

Descriptive analysis was performed using SPSS v.22 software (SPSS Inc, Chicago, IL, USA). Rasch analysis was performed using Winsteps® (version 3.8.10) (Winsteps.com, Beaverton, OR, USA). AI results were evaluated using a gradient boosting tree (XGBoost) and multilayer perceptron (MLP).

3. Results

We investigated age, sex, past history, systolic blood pressure, diastolic blood pressure, pulse rate, respiratory rate, body temperature, state of consciousness, hemoglobin level, hematocrit, WBC count, arterial pH, PaO2, and PT, AST, ALT, bilirubin, creatinine, amylase, sodium, potassium, CRP, blood sugar, lactic acid, CK-MB, and troponin T levels, obtained from 158,246 patients who visited the ED from 01 January 2016, to 31 December 2020. Each factor was assigned an interval for the value based on its normal and abnormal ranges. In addition, the effect of each factor on the severity of the patient was obtained by calculating the WV using Rasch analysis with the frequency of the factors. In addition, the appropriate cut-off values of hospitalization and discharge were determined using the sum of WVs of the combination of various factors for the prediction of hospitalization and discharge by statistical methods. Furthermore, the Machine Learning was used to classify the severity of patients according to the actual value of the factors and the WV of the factors, and the results were compared with the results of the Rasch analysis. The significance of the study was determined by sensitivity, specificity, accuracy, positive predictive value, negative predictive value, and AUC values compared with actual hospitalization and discharge data.

3.1 Patient characteristics

In the medical records of 158,246 patients (15 years of age or older), Type 1, representing a combination of factors that can be conveniently obtained in the early stages of the visit, was assessed in 154,383 patients. Among these patients, 38,963 were hospitalized, and 115,420 were discharged. In addition, Type 5, representing the combination of factors that can be obtained at the beginning of the visit and after a certain period of time, was studied in 78,552 patients, including 27,428 hospitalized and 51,124 discharged patients (Table 4).

Table 4.Accuracy of cut-off values of admission and discharge decisions using various combinations of all measurement factors.
TypeTotal patientsAdm. patientsDis. patientsAUC (95% CI)Cut-off valuesSensitivity(%)Specificity (%)Accuracy (%)Positive predictive value (%)Negative predictive value (%)
Type 1154,38338,963115,4200.611 (0.608–0.614)106.565.2254.3557.1032.5482.24
107.564.5455.1257.5032.6882.16
108.563.8756.2757.9132.6481.75
109.562.7956.9658.4332.9981.93
110.562.5057.2458.5633.0481.89
Type 235,18818,84216,3460.612 (0.606–0.618)174.568.8549.3959.8161.0657.90
175.568.4149.9759.8461.1857.84
176.567.9350.6259.8961.3357.80
177.567.4551.1059.8561.3957.66
178.566.9651.4959.7761.4157.48
Type 393,08935,00558,0840.685 (0.682–0.689)132.561.0567.0664.8052.7774.08
133.560.4067.6064.8952.9173.91
134.559.7068.7265.3253.4973.88
135.559.1969.2265.4553.6873.78
136.558.5369.8065.5653.8873.64
Type 432,40818,03014,3780.627 (0.621–0.633)198.567.5953.4161.3064.5356.79
199.567.3053.8261.3264.6356.76
200.566.8554.2761.2764.7056.63
201.566.4154.6361.1964.7356.47
202.565.9755.0661.1364.8056.33
Type 578,55227,42851,1240.767 (0.764–0.771)299.564.1477.1372.6060.0880.04
300.563.8977.4172.6960.2779.98
301.563.6777.6672.7760.4579.94
302.563.4477.8872.8460.6179.88
303.563.1378.1172.8860.7479.79
Type 622,53513,00895270.773 (0.767–0.779)372.569.3771.4870.2676.8663.08
373.569.1371.7570.2476.9763.00
374.568.9072.1570.2877.1662.95
375.568.5372.3570.1477.1962.74
376.568.3172.5870.1277.2862.65
Type 722,86413,18696780.774 (0.768–0.780)350.569.6471.5570.4576.9463.37
351.569.3571.9070.4377.0863.26
352.569.0972.1970.4077.2063.16
353.568.8072.3970.3277.2563.00
354.568.5672.6570.2977.3562.91
Type 840,38016,89323,4870.804 0.799–0.808)315.571.2076.0574.0268.1478.59
316.571.0476.3074.1068.3278.56
317.570.8576.5174.1468.4578.49
318.570.5776.7174.1468.5578.38
319.570.3476.9674.1968.7178.29
Type 918,14910,58075690.795 (0.789–0.802)354.574.9769.7772.8077.6166.60
355.574.6870.1072.7777.7466.45
356.574.4970.3772.7777.8466.37
357.574.2370.5472.6977.8966.20
358.573.9770.8372.6677.9966.06
Type 1017,96110,47574860.795 (0.788–0.801)398.569.6474.9771.8679.5663.83
399.569.4575.1771.8379.6563.75
400.569.2475.4771.8479.8063.68
401.569.0275.6971.8079.8963.58
402.568.8075.7971.7279.9163.45
Adm, admission; Dis, discharge; AUC, area under the curve; CI, confidence interval.

3.2 The accuracy of the prediction for hospitalization and emergency department discharge based on the initial factors of the visit

The AUC values of types 1, 2, 3 and 4 among the different combinations using 13 factors immediately available for examination and from POCT at the beginning of the ED visit were 0.611, 0.612, 0.685, and 0.627, respectively, showing a slightly increasing tendency in the combinations of more factors, but this was not statistically significant (Table 4). Therefore, Type 1, which combined the nine factors that can be most easily obtained immediately following presentation, was determined. When setting the cut-off value to 108.5, the sensitivity was 63.87%, and the specificity was 56.27%, but the negative predictive value was 81.75%, which helps predict safe discharge (Fig. 1).

ROC curve of admission and discharge using various combinations 
of factors in Type 1. The AUC value of Type 1 was 0.611, consisting of nine 
factors available by immediate examination at presentation to the emergency 
department. When the cut-off value was set to 108.5, the sensitivity of 
hospitalization was 63.87% and negative predictive value of discharge from a 
hospital was 81.75%. ROC, receiver operating characteristic.

Fig. 1.ROC curve of admission and discharge using various combinations of factors in Type 1. The AUC value of Type 1 was 0.611, consisting of nine factors available by immediate examination at presentation to the emergency department. When the cut-off value was set to 108.5, the sensitivity of hospitalization was 63.87% and negative predictive value of discharge from a hospital was 81.75%. ROC, receiver operating characteristic.

3.3 The accuracy of the prediction for hospitalization and emergency department discharge based on the initial and blood factors

The AUC values of types 5, 6, 7, 8, 9 and 10 were 0.767, 0.773, 0.774, 0.804, 0.795 and 0.795, respectively, consisting of 9 factors immediately obtained by initial examination, 4 factors immediately obtained by POCT, and 14 factors obtained by the blood test after a certain period of time (Table 4). Therefore, Type 5 was determined because it was easy to use in combination with 22 factors measured in most emergency patients, with a cut-off value of 301.5, sensitivity of 63.67%, and specificity of 77.69%; however, the negative predictive value of emergency patients was 79.94% (Fig. 2).

ROC curve of admission and discharge using various combinations 
of factors in Type 5. AUC value of Type 5 was 0.767, consisting of nine factors 
immediately obtained by initial examination, one factor immediately obtained by 
POCT, and 12 factors obtained by the blood tests after a certain period of time 
from presentation to the emergency department. When the cutoff value was set to 
301.5, the sensitivity of hospitalization was 63.77% and negative predicitive 
value of discharge from a hospital was 79.94%. ROC, receiver operating 
characteristic; POCT, point-of-care testing.

Fig. 2.ROC curve of admission and discharge using various combinations of factors in Type 5. AUC value of Type 5 was 0.767, consisting of nine factors immediately obtained by initial examination, one factor immediately obtained by POCT, and 12 factors obtained by the blood tests after a certain period of time from presentation to the emergency department. When the cutoff value was set to 301.5, the sensitivity of hospitalization was 63.77% and negative predicitive value of discharge from a hospital was 79.94%. ROC, receiver operating characteristic; POCT, point-of-care testing.

3.4 Comparison between Rasch analysis and artificial intelligence analysis

To evaluate the usefulness of predicting the hospitalization and discharge of patients using Rasch analysis with factors selected by medical experts, we compared them with the predictions of hospitalization and discharge of patients’using AI of Types 1 and 5. The usefulness of XGBoost AI and MLP AI was investigated using the WVs obtained from Rasch analysis and raw data, respectively. In XGBoost AI, the algorithms provided by the AI that were tested on data from 46,313 patients after training on the data from 108,070 patients in Type 1 using the WVs showed an AUC value of 0.661. In addition, the AI algorithms showed an AUC value of 0.727 in Type 5, which was tested on data from 23,565 patients after training on the data from 54,987 patients. The AUC values using raw data were 0.676 for Type 1 and 0.734 for Type 5 (Table 5). However, the AUC values in the WVs using the MLP AI were 0.728 for Type 1 and 0.810 for Type 5, and the AUC values in the raw data were 0.750 and 0.845 for Type 1 and Type 5, respectively. This was similar to or somewhat higher than the AUC values of 0.611 and 0.767 for Types 1 and 5 in the classification by medical experts using Rasch analysis. The factors that significantly affected the results were age and past medical history in the Type 1 group (Fig. 3) and CRP level in the Type 5 group (Fig. 4). As AI has disadvantages that may partially explain the process, it is difficult to know the internal progress and the prediction of hospitalization and discharge of patients using Rasch analysis, which can adjust the WV of each factor, has medical usefulness. In the future, it is expected to be classified based on a combination of AI and the selection of factors based on medical decision making by experts.

Table 5.Accuracy of admission and discharge decisions using artificial intelligence.
AlgorithmTypeTrainTestData TypeAUCRecall (Sensivity)SpecificityAccuracyPrecision (Positive Predictive value)Negative predictive value
XGBoostType 1108,07046,313WV0.6610.7500.5710.6160.3710.871
Raw0.6760.7020.6490.6630.4200.866
Type 554,98723,565WV0.7270.7660.6870.7150.5680.845
Raw0.7340.7560.7290.7390.6000.848
MLPType 1108,07030,875WV0.7280.3140.9420.7830.6450.803
(validation: 15,438)Raw0.7500.5660.8130.7510.5060.847
Type 554,98715,709WV0.8100.6510.8290.7670.6710.919
(validation: 7856)Raw0.8450.6600.8630.7920.7210.825
XGBoost, extreme gradient boosting tree; MLP, multilayer perceptron; weighted value, value according to weighted value of factor; raw value, value according to raw data; AUC, area under the curve; WV, weighted value.
Distribution of factors influencing admission and discharge 
decision using artificial intelligence analysis in Type 1. The factors affecting 
the results were significantly influenced by age and past history in Type 1. 
weighted value, value according to weighted value of factor; Raw value, value 
according to raw data; SAGE_V, the factor affecting the result was influenced by 
age; SRR_V, respiratory rate; SBT_V, body temperature; SHR_V, heart rate; 
SPASTHIST_V2, past history (hypertension); SSEX_V, SEX; SAVPU_VA, conscious 
(alert); SPASTHIST_V5, past history (malignancy); SPASTHIST_V1, past history 
(diabetic); SDBP_V, diastolic blood pressure; SSBP_V, systolic blood pressure; 
SPASTHIST_V3, past history (tuberculosis); SPASTHIST_V6, past history (chronic 
obstructive pulmonary disease); SAVPU_VP, conscious (painful response); 
SPASTHIST_V4, past history (hepatitis); SAVPU_VV, conscious (verbal response); 
SAVPU_VU, conscious (unresponsive); SPASTHIST_SD, weighted value of past 
history; SAGE_SD, weighted value of age; SHR_SD, weighted value of heart rate; 
SSEX_SD, weighted value of sex; SSBP_SD, weighted value of systolic blood 
pressure; SAVPU_SD, weighted value of AVPU; SRR_SD, weighted value of 
respiratory rate; SBT_SD, weighted value of body temperature; SDBP_SD, weighted 
value of diastolic pressure.

Fig. 3.Distribution of factors influencing admission and discharge decision using artificial intelligence analysis in Type 1. The factors affecting the results were significantly influenced by age and past history in Type 1. weighted value, value according to weighted value of factor; Raw value, value according to raw data; SAGE_V, the factor affecting the result was influenced by age; SRR_V, respiratory rate; SBT_V, body temperature; SHR_V, heart rate; SPASTHIST_V2, past history (hypertension); SSEX_V, SEX; SAVPU_VA, conscious (alert); SPASTHIST_V5, past history (malignancy); SPASTHIST_V1, past history (diabetic); SDBP_V, diastolic blood pressure; SSBP_V, systolic blood pressure; SPASTHIST_V3, past history (tuberculosis); SPASTHIST_V6, past history (chronic obstructive pulmonary disease); SAVPU_VP, conscious (painful response); SPASTHIST_V4, past history (hepatitis); SAVPU_VV, conscious (verbal response); SAVPU_VU, conscious (unresponsive); SPASTHIST_SD, weighted value of past history; SAGE_SD, weighted value of age; SHR_SD, weighted value of heart rate; SSEX_SD, weighted value of sex; SSBP_SD, weighted value of systolic blood pressure; SAVPU_SD, weighted value of AVPU; SRR_SD, weighted value of respiratory rate; SBT_SD, weighted value of body temperature; SDBP_SD, weighted value of diastolic pressure.

Distribution of factors influencing admission and discharge 
decision using artificial intelligence analysis in Type 5. The factors affecting 
the results were significantly influenced by C-reactive protein (CRP) level in 
Type 5. weighted value, value according to weighted value of factor; raw value, 
value according to raw data; SCRP_V, the factor affecting the result was 
influenced by CRP level; SAGE_V, age; SHCT_V, HCT (hematocrit); SAST_V, AST 
(aspartate aminotransferase) level; SWBC_V, WBC (white blood cell); SPTINR_V, 
PT (prothrombin time (INR)); SPASTHIST_V2, past history (hypertension); SSEX_V, 
sex; SAVPU_VA, conscious (alert); SSODIUM_V, sodium level; SRR_V, respiratory 
rate; STBIL_V, bilirubin level; SHGB_V, hemoglobin level; SBT_V, body 
temperature; SCR_V, creatinine level; SPOTASS_V, potassium level; SBS_V, blood 
sugar (glucose) level; SPASTHIST_V3, past history (tuberculosis); SALT_V, ALT 
(alanine aminotransferase) level; SHR_V, heart rate; SCRP_SD, weighted value of 
CRP; SPASTHIST_SD, weighted value of past history; SHGB_SD, weighted value of 
hemoglobin level; SAGE_SD, weighted value of age; SAST_SD, weighted value of 
AST (aspartate aminotransferase) level; SSEX_SD, weighted value of sex; 
SWBC_SD, weighted value of WBC; SAVPU_SD, weighted value of AVPU; SSODIUM_SD, 
weighted value of sodium; SHCT_SD, weighted value of HCT; STBIL_SD, weighted 
value of bilirubin level; SRR_SD, weighted value of respiratory rate; SBS_SD, 
weighted value of blood sugar (glucose) level; SPTINR_SD, weighted value of PT 
(INR); SCR_SD, weighted value of creatinine level; SBT_SD, weighted value of 
body temperature; SAMYLASE_SD, weighted value of amylase level; SSBP_SD, 
weighted value of systolic blood pressure; SHR_SD, weighted value of heart rate; 
SALT_SD, weighted value of ALT level.

Fig. 4.Distribution of factors influencing admission and discharge decision using artificial intelligence analysis in Type 5. The factors affecting the results were significantly influenced by C-reactive protein (CRP) level in Type 5. weighted value, value according to weighted value of factor; raw value, value according to raw data; SCRP_V, the factor affecting the result was influenced by CRP level; SAGE_V, age; SHCT_V, HCT (hematocrit); SAST_V, AST (aspartate aminotransferase) level; SWBC_V, WBC (white blood cell); SPTINR_V, PT (prothrombin time (INR)); SPASTHIST_V2, past history (hypertension); SSEX_V, sex; SAVPU_VA, conscious (alert); SSODIUM_V, sodium level; SRR_V, respiratory rate; STBIL_V, bilirubin level; SHGB_V, hemoglobin level; SBT_V, body temperature; SCR_V, creatinine level; SPOTASS_V, potassium level; SBS_V, blood sugar (glucose) level; SPASTHIST_V3, past history (tuberculosis); SALT_V, ALT (alanine aminotransferase) level; SHR_V, heart rate; SCRP_SD, weighted value of CRP; SPASTHIST_SD, weighted value of past history; SHGB_SD, weighted value of hemoglobin level; SAGE_SD, weighted value of age; SAST_SD, weighted value of AST (aspartate aminotransferase) level; SSEX_SD, weighted value of sex; SWBC_SD, weighted value of WBC; SAVPU_SD, weighted value of AVPU; SSODIUM_SD, weighted value of sodium; SHCT_SD, weighted value of HCT; STBIL_SD, weighted value of bilirubin level; SRR_SD, weighted value of respiratory rate; SBS_SD, weighted value of blood sugar (glucose) level; SPTINR_SD, weighted value of PT (INR); SCR_SD, weighted value of creatinine level; SBT_SD, weighted value of body temperature; SAMYLASE_SD, weighted value of amylase level; SSBP_SD, weighted value of systolic blood pressure; SHR_SD, weighted value of heart rate; SALT_SD, weighted value of ALT level.

4. Discussion

Severity triage of emergency patients is essential for rapid treatment and life-saving of severe patients by facilitating the reduction of overcrowding and efficient deployment of resources and medical staff [1]. Thus, in many countries, severity triage of emergency patients has been implemented. Various countries employ different severity triage systems, including ESI, CTAS, MTS, a modified version of MTS, and ATS. In addition, various triage systems based on reference standards have been used [2, 9, 10]. These severity triage systems determine the rapid treatment ranking according to the patient’s condition. However, from the hospital’s perspective, hospitalization and discharge are determined when emergency patients visit, and if it is difficult to secure hospital beds, patients should be transferred to other medical institutions. Consequently, the existing severity triage lacks usefulness and causes disputes between patients and medical staff [11]. In overcrowded hospitals, the development of a safe discharge system to prioritize hospitalization will improve patient safety and reduce repeat visits [12]. It has also been reported that clinical evaluation is superior to the use of various severity triage systems [13].

To improve the accuracy and usefulness of the severity triage systems, repetitive and diverse training is required to resolve the problem of discrepancies in the triage results and to achieve quick and accurate severity triage [14, 15, 16]. In addition, severity triage systems are being developed in a variety of ways, including reducing wait time to triage [17], developing computer triage programs [18, 19], and making pre-hospital emergency calls [20]. These all have the potential to improve patient prognosis and increase the accuracy of triage. The World Health Organization reports various guidelines on the triage system and management of emergency patients, while also highlighting the importance of new research for improved guidelines [21].

Korea’s emergency medical system comprises emergency rooms, local emergency medical institutions, local emergency medical centers, and regional emergency medical centers. However, owing to the ambiguous functions of the institutions, approximately 10 million patients per year are treated at 150 local emergency medical centers and 38 regional emergency medical centers. The KTAS used in Korea comprises a five-tier classification system. The first level requires immediate treatment by the medical staff due to immediate threat to life, and the second level implies that prognosis can be improved with immediate treatment and indicates typically patients requiring hospitalization. Although the third stage is an emergency, hospitalization or outpatient treatment will usually be the result, leading to overcrowding of emergency centers, such as waiting for hospitalization. In addition, decisions of admissions or discharge differ between institutions depending on protocols and hospital bed capacity.

Recently, the usefulness of the statistical method using Rasch analysis has been demonstrated [3]. This presents the importance of the frequency of each factor in the data as a WV. From a medical perspective, Rasch analysis is useful not only in screening for psychiatric diseases [4] but also in assessing the prognosis of chronic diseases [5, 22]. Therefore, we used the WV of Rasch analysis, which can be quantified based on the importance of useful factors obtained from EDs, to determine hospitalization and outpatient treatment.

The measurement factor was determined to quantify the importance of each factor by selecting 27 factors that are measured in most EDs in Korea, including 9 factors that can be obtained immediately by examination, 4 factors that can be obtained immediately by POCT, and 14 factors that can be obtained from blood tests. The WV of each factor was calculated using Rasch analysis after evaluation by dividing them into normal and abnormal ranges based on the expertise of medical personnel. The distribution of the WV of the factors was mostly parabolic, showing a pattern of increased risk when low or high, matching the characteristics of biological homeostasis.

Types 1, 2, 3 and 4 consisted of a combination of 13 factors, including 9 factors that can be obtained immediately by examination and 4 factors that can be obtained immediately by initial POCT. Although the AUC values of the four groups were similar, the Type 1 group, which can be evaluated with only nine factors measurable by examination, had a negative predictive value of approximately 81% and could be evaluated initially without invasive measurements of blood glucose levels and arterial blood gas analysis. In addition, for types 5, 6, 7, 8, 9 and 10, which consisted of a combination of various factors used for accurate evaluation of hospitalization and discharge, the AUC values were similar, in the range of 0.767–0.795. In Korea, the Type 5 group, which is a combination of blood test parameters (without arterial blood gas analysis and cardiac enzyme tests) and initial measurement factors, is considered the simplest to use. Therefore, Types 1 and 5 will help in the efficient operation of the ED by predicting the hospitalization and discharge decisions for patients. In addition, the criteria for hospitalization and discharge vary depending on the hospital’s environment and capabilities; therefore, adjusting the appropriate cut-off values for hospitalization and discharge would be more useful for the operation of the ED in each hospital.

Recently, owing to the development of AI, various studies have compared triage systems using AI to the existing triage system. Machine learning-based electronic triage is more accurate than ESI for hospitalization, discharge, critical care, and emergency procedures incorporating patient vital signs, chief complaints, and medical history [9]. It has also been reported that repeated visits to the ED are an important factor for obtaining high accuracy when triaging patients [23]. As many factors such as demographic data including sex and age of patients, vital signs, chief complaint, and past history were used, the accuracy of results using AI was higher. Compared to ESI, the triage through AI is more accurate, with less undertriage in ESI 3–5 (low severity) and less overtriage in ESI 1–3 (high severity) [7].

We selected a model that explains the characteristics and distribution of this research data well by comparing the decision tree type algorithm and an algorithm using the neural network, which are among of the various machine learning algorithms types commonly used for data-based problem solving. Therefore, the experiments were conducted using XGBoost, a representative model of the decision tree, and MLP, a basic model of the neural network. And we conducted a study using AI for classification based on hospitalization and discharge using Type 1, the initial triage as a combination of immediately obtainable factors, and Type 5, a later triage as a combination of factors that can be obtained immediately and factors that can be obtained from blood tests. The accuracy of hospitalization and discharge was evaluated using the WVs according to the range of factors used in the Rasch analysis and actual measurements of each factor. In the severity triage using AI, MLP showed somewhat higher accuracy than Rasch analysis, as examined in Type 1 and Type 5, but the difference between the WVs and actual values of the factors was minimal. In comparison between AI algorithms, the performance of complex deep learning algorithm (MLP) showed higher accuracy than simple machine learning algorithms (XGBoost), and it is estimated that better results will be achieved if sufficient data is provided. As the AI method analyzed the effect of factors on the results of hospitalization and discharge, age and CRP levels were considered to have had a significant impact. Although it is important to choose factors based on the impact of the factors used to determine hospitalization and discharge, nine factors were selected for the initial triage because it is easy to select factors that can be obtained from most emergency centers.

The effects and accuracy of factors used in KTAS in Korea were studied, and the pain score was evaluated differently by the medical staff, who reported that modification was needed [11]. In our study, we supported the adequacy of the selected factors by excluding the pain score. The composition of the combination of factors is considered to be easy to use. Types 1 and 5 use a small number of factors that can be easily obtained, and it is expected to improve if the combination of factors is applied to patients with similar symptoms and not used on all patients. In addition, the accuracy of the cut-off values for hospitalization and discharge by Rasch analysis will be improved if the cut-off values are adjusted according to the capabilities and environment of the hospital. The severity triage of AI using WVs also showed similar results to those of Rasch analysis, and if hospitalization and discharge decisions using Rasch analysis are used as medical assistance measures, it will help alleviate overcrowding.

This study has limitations. As this study was conducted with data from a single institution, multi-institutional research is needed in the future. However, it will be useful because each hospital can adjust the cut-off values for hospitalization and discharge. Additionally, the value of each factor was measured by a medical device at one hospital. Although there may be some differences in the value of the factor or addition of the factor at another hospital in another country, it can be used because the WV can be corrected according to the value of the factor. It is somewhat less accurate for direct clinical use. However, it can be used as a means of medical assistance by medical staff, and when combined with various methods, which can be conducted in the future, such as analysis of each symptom, can provide high accuracy. Therefore, this study is sufficient as a cornerstone. The usefulness of Rasch analysis was compared to that of AI, but the accuracy was similar or somewhat low. In addition, MLP AI method, not deep learning AI, was used, and cross-validation was not performed. However, a meaningful result was obtained using Rasch analysis. In the future, research on AI is required. Finally, this was a retrospective study that used existing data. However, if the program of this study is currently entered and used in a hospital information computer system, it will be possible to prove its effectiveness via a prospective study in the future by comparing patient wait times and satisfaction as results.

5. Conclusions

The rapid prediction of hospitalization and discharge using Rasch analysis in ED was highly accurate when combined with more efficient factors, similar to the analysis of artificial intelligence. Therefore, it will contribute to the effective operation of ED in favor of providing appropriate treatment for patients and eliminating overcrowding. It is expected to be more useful if it is computerized and applied to the hospital information system in the future.

Availability of data and materials

Not applicable.

Author contributions

SJP, SHC and DJS—implemented conceptualization and provided ideas. SHC, DJS, JHP, JHS and HJC—conducted data curation, formal analysis and fund acquisition. SHL, BJK and KHA—investigated the data and proposed Rasch analysis method execution and compared with AI. GGK, WSC and KNK—performed project management and provided equipment for Rasch analysis statistics and verification with AI. SHC—performed supervision, verification and visualization. SJP and SHC—wrote the manuscript. All authors read, reviewed, edited and approved the final manuscript.

Ethics approval and consent to participate

This study was carried out with the approval of the Korea University Guro Hospital Institutional Review Board (2021GR0239). Ethics committee approved waiver of informed consent.

Acknowledgment

We are grateful to our colleague Qiuyu C and Bang IY for participation in this study and helpful discussion and we appreciated Min CG and Park SJ who conducted a statistical review.

Funding

This work was supported by National IT Industry Promotion Agency (NIPA) and Korean Health Industry Development Institute (KHIDI) grant funded by the Korea government (MIST, MOHW) (ITAS1906210110010001000500200) and partially supported by a Korea University Grant.

Conflict of interest

The authors declare no conflict of interest.

References

Chen W, Linthicum B, Argon NT, Bohrmann T, Lopiano K, Mehrotra A, et al. The effects of emergency department crowding on triage and hospital admission decisions. The American Journal of Emergency Medicine. 2020; 38: 774–779.

[Google Scholar]

Kuriyama A, Urushidani S, Nakayama T. Five-level emergency triage systems: variation in assessment of validity. Emergency Medicine Journal. 2017; 34: 703–710.

[Google Scholar]

Tomyn AJ, Stokes MA, Cummins RA, Dias PC. A Rasch analysis of the personal well-being index in school children. Evaluation & the Health Professions. 2020; 43: 110–119.

[Google Scholar]

Ambrosio L, Rodriguez-Blazquez C, Ayala A, Forjaz MJ. Rasch analysis of the living with chronic illness scale in Parkinson’s disease. BMC Neurology. 2020; 20: 346.

[Google Scholar]

Medvedev O, Turner-Stokes L, Ashford S, Siegert RJ. Rasch analysis of the UK functional assessment measure in patients with complex disability after stroke. Journal of Rehabilitation Medicine. 2018; 50: 420–428.

[Google Scholar]

Liang W, Yao J, Chen A, Lv Q, Zanin M, Liu J, et al. Early triage of critically ill COVID-19 patients using deep learning. Nature Communications. 2020; 15: 3543.

[Google Scholar]

Raita Y, Goto T, Faridi MK, Brown DFM, Camargo CA, Hasegawa K. Emergency department triage prediction of clinical outcomes using machine learning models. Critical Care. 2019; 23: 64.

[Google Scholar]

Levin S, Toerper M, Hamrock E, Hinson JS, Barnes S, Gardner H, et al. Machine-learning-based electronic triage more accurately differentiates patients with respect to clinical outcomes compared with the emergency severity index. Annals of Emergency Medicine. 2018; 71: 565–574.e2.

[Google Scholar]

Azeredo TRM, Guedes HM, Rebelo de Almeida RA, Chianca TCM, Martins JCA. Efficacy of the Manchester Triage System: a systematic review. International Emergency Nursing. 2015; 23: 47–52.

[Google Scholar]

Jesus APS, Okuno MFP, Campanharo CRV, Lopes MCBT, Batista REA. Manchester Triage System: assessment in an emergency hospital service. Revista Brasileira de Enfermagem. 2021; 74: e20201361.

[Google Scholar]

Moon SH, Shim JL, Park KS, Park CS. Triage accuracy and causes of mistriage using the Korean triage and acuity scale. PLoS One. 2019; 14: e0216972.

[Google Scholar]

Caramello V, Marulli G, Reimondo G, Fanto’ F, Boccuzzi A. Inpatient disposition in overcrowded hospitals: is it safe and effective to use reverse triage and readmission screening tools for appropriate discharge? An observational prospective study of an Italian II level hospital. International Journal of Clinical Practice. 2019; 73: e13281.

[Google Scholar]

Iversen AKS, Kristensen M, Østervig RM, Køber L, Sölétormos G, Lundager Forberg J, et al. A simple clinical assessment is superior to systematic triage in prediction of mortality in the emergency department. Emergency Medicine Journal. 2019; 36: 66–71.

[Google Scholar]

Fernandes CM, Wuerz R, Clark S, Djurdjev O. How reliable is emergency department triage? Annals of Emergency Medicine. 1999; 34: 141–147.

[Google Scholar]

Tam HL, Chung SF, Lou CK. A review of triage accuracy and future direction. BMC Emergency Medicine. 2018; 18: 58.

[Google Scholar]

Christ M, Grossmann F, Winter D, Bingisser R, Platz E. Modern triage in the emergency department. Deutsches Ärzteblatt International. 2010; 107: 892–898.

[Google Scholar]

Kumar A, Lakshminarayanan D, Joshi N, Valid S, Bhoi S, Deorari A. Triaging the triage: reducing waiting time to triage in the emergency department at tertiary care hospital in New Delhi, India. Emergency Medicine Journal. 2019; 36: 558–563.

[Google Scholar]

Dong Sl, Bullard MJ, Meurer DP, Colman I, Blitz S, Holroyd BR, et al. Emeregncy triage: comparing a novel computer triage program with standard triage. Academic Emergency Medicine. 2005; 12: 502–507.

[Google Scholar]

Rutschmann OT, Hugli OW, Marti C, Grosgurin O, Geissbuhler A, Kossovsky M, et al. Reliability of the revised Swiss emergency triage scale: computer simulation study. European Journal of Emergency Medicine. 2018; 25: 264–269.

[Google Scholar]

Montandon DS, de Souza-Junior VD, Dos Santos Almeida RG, Marchi-Alves LM, Costa Mendes IA, de Godoy S. How to perform prehospital emergency telephone triage: a systematic review. Journal of Trauma Nursing. 2019; 26: 104–110.

[Google Scholar]

Duke T. New WHO guidelines on emergency triage and assessment and treatment. Lancet. 2016; 387: 721–724.

[Google Scholar]

Wongpakaran N, Wongpakaran T, Kuntawong P. A short screening tool for borderline personality disorder (Short-Bord): validated by Rasch analysis. Asian Journal of Psychiatry. 2019; 44: 195–199.

[Google Scholar]

Ahn E, Kim J, Rahman K, Baldacchino T, Baird C. Development of a risk predictive scoring system to identify patients at risk of representation to emergency department: a retrospective population-based analysis in Australia. BMJ Open. 2018; 8: e021323.

[Google Scholar]