Skip to main content
BMC Medical Informatics and Decision Making logoLink to BMC Medical Informatics and Decision Making
. 2020 Dec 7;20:323. doi: 10.1186/s12911-020-01338-0

Development of a data-driven COVID-19 prognostication tool to inform triage and step-down care for hospitalised patients in Hong Kong: a population-based cohort study

Eva L H Tsui 1,, Carrie S M Lui 1,, Pauline P S Woo 1, Alan T L Cheung 1, Peggo K W Lam 1, Van T W Tang 1, C F Yiu 1, C H Wan 1, Libby H Y Lee 2
PMCID: PMC7719738  PMID: 33287804

Abstract

Background

This is the first study on prognostication in an entire cohort of laboratory-confirmed COVID-19 patients in the city of Hong Kong. Prognostic tool is essential in the contingency response for the next wave of outbreak. This study aims to develop prognostic models to predict COVID-19 patients’ clinical outcome on day 1 and day 5 of hospital admission.

Methods

We did a retrospective analysis of a complete cohort of 1037 COVID-19 laboratory-confirmed patients in Hong Kong as of 30 April 2020, who were admitted to 16 public hospitals with their data sourced from an integrated electronic health records system. It covered demographic information, chronic disease(s) history, presenting symptoms as well as the worst clinical condition status, biomarkers’ readings and Ct value of PCR tests on Day-1 and Day-5 of admission. The study subjects were randomly split into training and testing datasets in a 8:2 ratio. Extreme Gradient Boosting (XGBoost) model was used to classify the training data into three disease severity groups on Day-1 and Day-5.

Results

The 1037 patients had a mean age of 37.8 (SD ± 17.8), 53.8% of them were male. They were grouped under three disease outcome: 4.8% critical/serious, 46.8% stable and 48.4% satisfactory. Under the full models, 30 indicators on Day-1 and Day-5 were used to predict the patients’ disease outcome and achieved an accuracy rate of 92.3% and 99.5%. With a trade-off between practical application and predictive accuracy, the full models were reduced into simpler models with seven common specific predictors, including the worst clinical condition status (4-level), age group, and five biomarkers, namely, CRP, LDH, platelet, neutrophil/lymphocyte ratio and albumin/globulin ratio. Day-1 model’s accuracy rate, macro-/micro-averaged sensitivity and specificity were 91.3%, 84.9%/91.3% and 96.0%/95.7% respectively, as compared to 94.2%, 95.9%/94.2% and 97.8%/97.1% under Day-5 model.

Conclusions

Both Day-1 and Day-5 models can accurately predict the disease severity. Relevant clinical management could be planned according to the predicted patients’ outcome. The model is transformed into a simple online calculator to provide convenient clinical reference tools at the point of care, with an aim to inform clinical decision on triage and step-down care.

Keywords: COVID-19, Prognostic, Prediction, Clinical outcome, Disease severity, Triage, Step-down care

Background

The World Health Organization (WHO) had declared a pandemic outbreak of a new coronavirus, named COVID-19, on 12 March 2020. As of 30 April 2020, Hong Kong (HK) had a total of 1037 confirmed cases as compared to a global caseload of over three million and mortality of over 210,000 at the same snapshot [1]. Four deaths [2] were reported locally. All patients were admitted to the Hospital Authority (HA) hospitals for management. HK has adopted the “early identification, early isolation and early treatment” infection control approach. She is ranked top to effectively curb COVID-19 transmission in the study comparing containment measures among different nations [3], given that HK has a population of 7.5 million residing in one of the most densely populated cities in the world [4].

HA is statutory, publicly funded organization to provide public medical care to all the citizens in HK. The services are organized via seven hospital clusters comprising of 43 hospitals, 49 specialist outpatient and 73 primary care clinics. It provides over 90% of hospital bed days in the territory through a total of 29,435 beds [5]. HA provides a single electronic health record system via the integrated Clinical Management System (CMS) [6], so that data of patients utilizing the service are automatically captured. Since the SARS epidemic in 2003, HA has made available over 1200 airborne infection isolation (AII) beds across 16 public hospitals to support outbreak of infectious diseases. In view of the unprecedented rapidly growing number of infections in the neighbouring Mainland China in mid-February 2020, the HA management implemented a proactive response plan to convert some acute general wards into “retrofit wards” [7] of negative pressures and directed airflow.

In pursuit of the early identification strategy, Hong Kong has been incrementally widening the surveillance coverage to identify and contact trace suspected cases through various channels. All suspected cases are referred to the HA for management. Samples will be sent to the public laboratory in the Department of Health for confirmation: two positive consecutive reverse-transcription polymerase chain reaction (RT-PCR) tests [8, 9] are required, as suggested by the WHO [10]. The patients can only be discharged from the hospital care when the isolation order is lift, given that their clinical conditions improve and they are afebrile with two negative RT-PCR results taken at least 24 h apart [8, 9].

Starting from mid-March, there was second wave with a surge in imported cases from overseas via airport arrivals. In early April, the occupancy rate of our AII rooms and beds peaked at 78% and 70% respectively, which was approaching saturation. The demand pressure on first-tier isolation beds could be partly relieved by the timely conversion and operation of some 400 second-tier isolation beds in 10 hospitals. Patients with stable clinical features but yet to fulfill the discharge criteria are transferred to the second-tier ward for further management. A prognostic model was developed with an aim to early identify those cases with satisfactory or stable clinical outcome for step-down care.

The outbreak in HK slows down since the end of April, with 1047 confirmed cases as of 10 May, which is the cut-off date of data analytics for this study. However, learning the experience from nearby countries like Singapore, HK remains vigilant and is preparing for the possible third wave of infection once the international travels resume normal. The research team repeated the prognostic model based on the entire COVID-19 cohort, aiming to predict their clinical outcome as early as day 1 of admission.

Methods

Study population, data collection and definition

All 1037 confirmed cases as of 30 April 2020 were included in this study, and their observational data were traced up to 10 May. Data sources come from internal systems, CMS and eNID of NDORS. “NDORS” is an electronic platform for both HA and the Department of Health, to digitally report all suspected and confirmed statutory notifiable diseases and other infectious diseases of public health concern. A designated “eNID” module for reporting COVID-19 cases and clinical management was specifically built and interfaced to NDORS [8, 9]. This study was a retrospective data analysis on de-identified patient-based electronic medical records from CMS and eNID. Person-based information on history of chronic diseases was retrieved from an established HA’s chronic disease virtual registry that contains 25 pre-defined chronic diseases. The registry was electronically built and based on all past CMS’ medical records using some operational counting and classification rules specific to each non-cancer disease, together with cancer cases sourced from Hong Kong’s Cancer Registry [11].

All 16 HA hospitals that treated COIVD-19 cases adopted a unified classification scheme on clinical conditions. The in-charge physicians would continuously update the condition status whenever the patient deteriorated or improved. The four clinical conditions are (1) critical: require intubation, or extracorporeal membrane oxygenation (ECMO) or in shock; (2) serious: require oxygen supplement of 3 L or more per minute; (3) stable: with mild influenza-like illness (ILI) symptoms; (4) satisfactory: progressing well and likely to be discharged soon. Based on their clinical condition(s) along the entire clinical course, all cases were further amalgamated into three distinct outcome groups to delineate a grading for disease severity. The groups are “critical/serious”, “stable” and “satisfactory”. The patients must have ever been assessed as either “critical” or “serious” clinical condition for one or more days in the “critical/serious” group; otherwise being classified into the second group if ever assessed as “stable”. The remaining third group must be entirely assessed as “satisfactory” along the clinical course.

Statistical analysis

Descriptive statistical analyses were performed for the entire cohort with respect to epidemiological, clinical and laboratory data. In addition, chi-square test for categorical variables and Kruskal–Wallis test for continuous variables were performed to evaluate if there were any differences in a host of prognostic factors on day 1 and day 5 of hospital admission among the three outcome groups. For development as well as evaluation of the model, the entire 1037 study subjects were, proportional to outcome distribution, randomly split into a training dataset comprising of 829 subjects and a testing dataset of the remaining 208 subjects. Having explored two alternative classification algorithms together with median imputation to handle missing data, the Extreme Gradient Boosting (XGBoost) model, which is a boosting decision tree machine learning framework allowing missing values for individual predictor variables, was finally selected to classify the training data into one of the three outcome groups, after taking into account a host of 30 predictors which included age, gender, chronic disease(s) history, 11 presenting symptoms as well as the worst clinical condition status, 15 biomarkers’ readings and Ct value of RT-PCR tests (based on E-Gene of the TIB MIBIOL kit) on day 1 and day 5 of admission. These predictors were chosen with reference to studies on COVID-19 [1223] and SARS [2426].

The XGBoost classifiers were trained and tuned using a fivefold cross-validation approach with the training data to obtain the optimal hyperparameters [27]. All 30 features were ranked according to their relative importance using F-score, which guided a variable selection process to reduce the full model into a simpler one for practical application. The model output for each subject a probability across each of the three outcome groups, summing up to one, and with the highest probability group as the predicted outcome class. After applying the trained model to the testing dataset, it was then analysed in a 3X3 confusion matrix, based on which the model’s overall accuracy rate was computed. In view of the imbalanced outcome group distribution, by outcome class and macro- and micro-averaged sensitivity and specificity of the three outcome groups were derived to evaluate the model performance. Decision tree of the simplified classifiers was also output for each outcome group. Partial dependency plots were output to depict the marginal effect of each model feature on the predicted outcome (Appendix Fig. 3). The XGBoost models were carried out by using Python’s XGBoost version 1.10 whereas other statistical analyses by SAS version 9.4 software.

Fig. 3.

Fig. 3

Fig. 3

Fig. 3

Fig. 3

Relationship between each key feature under Day 1 and Day 5 of admission and the SHAP value for each outcome group (Red: Critical / Serious, Yellow: Stable, Green: Satisfactory)

Results

Epidemiological and clinical profile

Table 1 provides a complete epidemiological and clinical profile of all 1037 laboratory confirmed COVID-19 cases, 95.2% had been discharged (including 4 deceased cases) and the remaining 50 (4.8%) cases have stayed for 19–70 days as at data analytics cut-off date. All the subjects were post-stratified into three pre-defined outcome groups: 50 (4.8%) in the critical/serious group, 485 (46.8%) stable group and 502 (48.4%) satisfactory group, which can then be compared against their respective clinical condition (4-level) on day 1 and day 5 of admission.

Table 1.

Patient profile of 1037 COVID-19 confirmed cases as of 30 April 2020 (with data during hospitalisation updated till 10 May 2020)

Overall (n = 1037) Worst condition upon discharge or till 10 May 2020 p-value*
Critical/serious (n = 50) Stable (n = 485) Satisfactory (n = 502)
Demographics
 Age (years)
  Mean ± SD 37.8 ± 17.8 60.6 ± 14.0 37.6 ± 17.5 35.6 ± 16.8  < 0.0001
  Median 35 62 34 32
  Range 0–96 25–96 0–93 0–89
 Gender
  Male 558 (53.8%) 32 (64.0%) 232 (47.8%) 294 (58.6%) 0.0011
  Female 479 (46.2%) 18 (36.0%) 253 (52.2%) 208 (41.4%)
Chronic diseases
 Nil (Without any of 25 selected diseases) 915 (88.2%) 29 (58.0%) 425 (87.6%) 461 (91.8%)  < 0.0001
 With any of 25 selected diseases 122 (11.8%) 21 (42.0%) 60 (12.4%) 41 (8.2%)
 Hypertension 87 (8.4%) 16 (32.0%) 46 (9.5%) 25 (5.0%)  < 0.0001
 Hyperlipidemia 62 (6.0%) 12 (24.0%) 30 (6.2%) 20 (4.0%)  < 0.0001
 Diabetes 33 (3.2%) 6 (12.0%) 15 (3.1%) 12 (2.4%) 0.0011
Source of infection
 Local cases 422 (40.7%) 30 (60.0%) 219 (45.2%) 173 (34.5%)  < 0.0001
 Imported cases 615 (59.3%) 20 (40.0%) 266 (54.8%) 329 (65.5%)
Symptoms
 With presenting symptoms upon COVID-19 confirmation 844 (81.4%) 48 (96.0%) 406 (83.7%) 390 (77.7%) 0.0013
Duration between symptom onset and admission
 Mean ± SD (Days) 5.8 ± 5.4 5.5 ± 3.7 5.2 ± 4.7 6.4 ± 6.2 0.1650
 Less than 5 days 447 (53.0%) 22 (45.8%) 225 (55.4%) 200 (51.3%) 0.0514
 5–9 days 246 (29.1%) 17 (35.4%) 124 (30.5%) 105 (26.9%)
 10 days or above 151 (17.9%) 9 (18.8%) 57 (14.0%) 85 (21.8%)
Symptoms (incl. data captured during hospitalisation)
 Cough 514 (49.5%) 41 (82.0%) 246 (50.7%) 227 (45.2%)  < 0.0001
 Fever 495 (47.7%) 40 (80.0%) 242 (49.9%) 213 (42.4%)  < 0.0001
 Sore Throat 272 (26.2%) 9 (18.0%) 142 (29.3%) 121 (24.1%) 0.0724
 Headache 159 (15.3%) 7 (14.0%) 74 (15.3%) 78 (15.5%) 0.9575
 Diarrhea 117 (11.3%) 9 (18.0%) 61 (12.6%) 47 (9.4%) 0.0856
 Fatigue 110 (10.6%) 9 (18.0%) 53 (10.9%) 48 (9.6%) 0.1726
 Myalgia 109 (10.5%) 9 (18.0%) 51 (10.5%) 49 (9.8%) 0.1938
 Dyspnoea 88 (8.5%) 23 (46.0%) 37 (7.6%) 28 (5.6%)  < 0.0001
 Chills 77 (7.4%) 9 (18.0%) 42 (8.7%) 26 (5.2%) 0.0016
 Pneumonia 36 (3.5%) 13 (26.0%) 14 (2.9%) 9 (1.8%)  < 0.0001
 Vomiting 13 (1.3%) 2 (4.0%) 5 (1.0%) 6 (1.2%) 0.1965
 Others not listed above 268 (25.8%) 9 (18.0%) 124 (25.6%) 135 (26.9%) 0.3843
Worst condition up to Day n of admission Day 1 Day 5 Day 1 Day 5 Day 1 Day 5 Day 1 Day 5
Critical 4 19 4 19 0 0 0 0
Serious 14 21 14 21 0 0 0 0
Stable 461 481 15 5 446 476 0 0
Satisfactory 550 515 16 5 34 8 500 502
Missing 8 1 1 0 5 1 2 0
Treatments
 Anti-viral drugs (Kaletra/ribavirin/interferon) 637 (61.4%) 49 (98.0%) 317 (65.4%) 271 (53.9%)  < 0.0001
 Corticosteriod drugs 72 (6.9%) 30 (60.0%) 26 (5.4%) 16 (3.2%)  < 0.0001
 ICU care 53 (5.1%) 39 (78.0%) 10 (2.1%) 4 (0.8%)  < 0.0001
 Intubation 23 (2.2%) 23 (46.0%) 0 (0.0%) 0 (0.0%) -
Discharge status (as of 10 May 2020)
 Still hospitalized 50 (4.8%) 10 (20.0%) 25 (5.2%) 15 (3.0%)  < 0.0001
 Discharged alive 983 (94.8%) 37 (74.0%) 460 (94.8%) 486 (96.8%)
 Deceased 4 (0.4%) 3 (6.0%) 0 (0.0%) 1 (0.2%)
Length of stay (days) (incl. not yet discharged cases)
 Mean ± SD 21.7 ± 11.7 32.7 ± 14.4 22.1 ± 11.5 20.1 ± 11.0  < 0.0001
 0–7 days 80 (7.7%) 1 (2.0%) 26 (5.4%) 53 (10.6%)  < 0.0001
 8–14 days 240 (23.1%) 3 (6.0%) 110 (22.7%) 127 (25.3%)
 15–21 days 244 (23.5%) 4 (8.0%) 122 (25.2%) 118 (23.5%)
 22 days or above 473 (45.6%) 42 (84.0%) 227 (46.8%) 204 (40.6%)

*p value based on chi-square test for categorical variables and Kruskal–Wallis test for continuous variables

Refer to 25 chronic diseases (Including Diabetes, Hypertension, Hyperlipidemia, Chronic obstructive pulmonary disease, Coronary Heart Disease, Chronic Heart Failure, Chronic Kidney Disease, Stroke, Glaucoma, Hip fracture, Hepatitis B, Dementia, Depression, Parkinsonism, Non-Hodgkin Lymphoma, Cancer of lung, colorectum, breast, liver, prostate, stomach, cervix, corpus, ovary and nasopharynx) in the HA chronic diseases virtual registry up to 2018, and the latest information of Diabetes, Hypertension and Hyperlipidemia

For those discharged before Day 5, the worst condition up to day of discharge is tabulated

The study subjects were aged from 1 month to 96 years. Critical/serious group was significantly older (mean 60.6 years, SD ± 14.0) than stable (mean 37.6 years, SD ± 17.5) and satisfactory (mean 35.6 years, SD ± 16.8) group (p < 0.0001). Over half (53.8%) of total caseload was male, comparatively higher in critical/serious group (64.0%) than stable (47.8%) and satisfactory (58.6%) groups (p = 0.001).

Chronic disease(s) were present in 11.8% of this study cohort, with most common ones being hypertension, hyperlipidemia and diabetes. A significant difference (p < 0.0001) in chronic disease(s) prevalence was found: 42.0%, 12.4% and 8.2% in critical/serious, stable and satisfactory group respectively.

81.4% of all the cases were symptomatic upon COVID-19 confirmation. Cough and fever were the top two symptoms prevalent in almost half of total confirmed cases, whereas sore throat in around one-quarter. Among the symptomatic cases, the mean duration between symptom onset and admission was 5.8 days (SD ± 5.4). Comparatively, the satisfactory outcome group had a significantly (p < 0.0001) longer duration (6.4 days, SD ± 6.2) than the stable and critical/serious groups’ (5.2 days, SD ± 4.7; 5.5 days, SD ± 3.7).

Table 1 shows the proportion of patients on anti-viral and corticosteroid drugs. ICU care and intubation treatments were respectively provided to 78.0% and 46.0% in critical/serious outcome groups.

Laboratory readings on day 1 and day 5 of admission

This study defines day 0 according to the time of admission recorded at admission offices from 00:00 to 23:59. A higher proportion of missing values on day 0 is expected because three-quarters of the study subjects had admitted for less than 12 h. Therefore, Table 2 shows the latest laboratory readings as of day 1 and day 5. For those tests whose normal reference ranges vary across HA laboratories, they are expressed as multiples of the upper normal reference.

Table 2.

Laboratory readings on Day 1 and Day 5 of admission among 1037 COVID-19 confirmed cases as of 30 April 2020

On Day 1 of admission p value
Critical/serious (n = 50) Stable (n = 485) Satisfactory (n = 502)
n Mean ± SD n Mean ± SD n Mean ± SD
Laboratory readings
 CT value# 47 24.29 ± 6.05 436 25.10 ± 7.05 474 27.17 ± 7.79 0.0001
 C-reactive protein (mg/L) 45 101.71 ± 93.66 403 10.81 ± 23.42 440 7.98 ± 19.84  < 0.0001
 Albumin (g/L) 50 34.34 ± 6.72 474 41.96 ± 4.58 483 41.57 ± 4.87  < 0.0001
 Globulin (g/L) 48 35.71 ± 6.76 446 32.65 ± 5.11 416 32.71 ± 4.97 0.0054
 Albumin-globulin ratio 48 1.01 ± 0.30 446 1.33 ± 0.30 416 1.33 ± 0.30  < 0.0001
 Total protein (g/L) 50 70.40 ± 6.86 474 74.98 ± 5.37 482 74.97 ± 5.36  < 0.0001
 Neutrophil count (109/L) 48 5.12 ± 3.61 466 3.46 ± 1.60 470 3.57 ± 1.69 0.0004
 Lymphocyte count (109/L) 48 0.93 ± 0.36 466 1.53 ± 0.75 470 1.53 ± 0.59  < 0.0001
 Neutrophil–lymphocyte ratio 48 6.43 ± 4.75 466 2.72 ± 1.90 470 2.65 ± 1.62  < 0.0001
 White blood cell count (109/L) 50 6.54 ± 3.62 473 5.61 ± 1.93 484 5.70 ± 1.98 0.1906
 Bilirubin (μmol/L) 50 10.72 ± 5.13 474 9.20 ± 5.96 482 9.18 ± 5.83 0.0130
 Potassium (mmol/L) 50 3.78 ± 0.48 474 3.88 ± 0.38 480 3.89 ± 0.37 0.1846
 Creatinine (as times of upper normal reference) 50 0.83 ± 0.35 474 0.77 ± 0.14 481 0.75 ± 0.12 0.1474
 LDH 44 1.59 ± 0.68 435 0.84 ± 0.25 464 0.85 ± 0.23  < 0.0001
 ALP 50 0.58 ± 0.29 474 0.57 ± 0.23 483 0.58 ± 0.19 0.1511
 ALT 50 0.92 ± 0.64 474 0.61 ± 0.48 482 0.63 ± 0.51  < 0.0001
 Platelet 50 0.54 ± 0.19 470 0.58 ± 0.20 483 0.60 ± 0.19 0.0094
 MPV 48 0.88 ± 0.10 393 0.87 ± 0.15 429 0.88 ± 0.12 0.9139
On Day 5 of admission p value
Critical /serious (n = 50) Stable (n = 485) Satisfactory (n = 502)
n Mean ± SD n Mean ± SD n Mean ± SD
Laboratory readings
 CT value# 47 25.27 ± 6.43 464 27.69 ± 7.80 496 29.50 ± 7.68  < 0.0001
 C-reactive protein (mg/L) 50 104.10 ± 98.75 458 11.60 ± 23.90 466 7.99 ± 17.79  < 0.0001
 Albumin (g/L) 50 29.26 ± 6.94 478 40.94 ± 5.05 489 40.40 ± 5.02  < 0.0001
 Globulin (g/L) 48 37.03 ± 5.82 453 33.34 ± 5.21 426 33.06 ± 5.12  < 0.0001
 Albumin-globulin ratio 48 0.83 ± 0.28 453 1.27 ± 0.30 426 1.28 ± 0.31  < 0.0001
 Total protein (g/L) 50 66.55 ± 6.27 478 74.55 ± 5.40 489 74.03 ± 5.05  < 0.0001
 Neutrophil count (109/L) 50 5.97 ± 3.23 477 3.22 ± 1.51 487 3.21 ± 1.35  < 0.0001
 Lymphocyte count (109/L) 50 0.85 ± 0.47 477 1.65 ± 0.72 487 1.65 ± 0.57  < 0.0001
 Neutrophil–lymphocyte ratio 50 8.63 ± 6.02 477 2.31 ± 1.90 487 2.19 ± 1.37  < 0.0001
 White blood cell count (109/L) 50 7.39 ± 3.50 478 5.49 ± 1.85 489 5.50 ± 1.65 0.0005
 Bilirubin (μmol/L) 50 24.54 ± 20.53 478 15.98 ± 10.75 489 14.06 ± 9.30  < 0.0001
 Potassium (mmol/L) 50 3.69 ± 0.42 478 3.82 ± 0.38 488 3.86 ± 0.40 0.0182
 Creatinine (as times of upper normal reference) 50 0.86 ± 0.46 478 0.81 ± 0.18 489 0.78 ± 0.15 0.0231
 LDH 50 1.65 ± 0.67 473 0.83 ± 0.27 484 0.83 ± 0.25  < 0.0001
 ALP 50 0.57 ± 0.29 478 0.56 ± 0.23 489 0.56 ± 0.18 0.2098
 ALT 50 0.94 ± 0.65 478 0.58 ± 0.48 489 0.61 ± 0.75  < 0.0001
 Platelet 50 0.67 ± 0.28 475 0.62 ± 0.23 488 0.63 ± 0.21 0.6444
 MPV 48 0.87 ± 0.11 401 0.86 ± 0.15 434 0.87 ± 0.12 0.6910

LDH lactate dehydrogenase, ALP alkaline phosphatase, ALT alanine aminotransferase, MPV mean platelet volume

#CT value is set to 40 if PCR test is "not detected"

Across the 15 biomarkers and two derived ratios (albumin-globulin ratio, neutrophil–lymphocyte ratio), no statistically significant between-group differences were found in mean platelet volume (MPV) and alkaline phosphatase (ALP) on both days 1 and 5, white blood count cell (WBC) on day 1 whereas platelet on day 5. Otherwise, statistical significance was stronger on day 5 than day 1 for all other tests except lactate dehydrogenase (LDH) which had a reverse pattern. Five biomarkers had strongest statistical significance (p < 0.0001) in terms of between-group differences on both days, namely C-reactive protein (CRP), lymphocyte counts, albumin (A), globulin (G) and total protein tests. Their respective readings in terms of mean and standard deviation across the three outcome groups are shown in Table 2. Based on the same blood specimen, N/L and A/G ratios can amalgamate and amplify the effects of each pair of biomarkers whose scale in opposite direction, contributed to a much stronger discriminatory effect on both days (p < 0.0001).

Ct value of RT-PCR tests for E-Gene of the TIB MIBIOL kit indicates the viral load, with low value representing high viral load and a theoretical maximum of 40. Significant between-group differences in Ct value were found, on day 1 with lowest mean reading in critical/serious group (24.3 ± 6.1), followed by stable group (25.1 ± 7.1) and then satisfactory group (27.2 ± 7.8) (p = 0.0001); and their corresponding values on day 5 were 25.3 ± 6.4, 27.7 ± 7.8 and 29.5 ± 7.7 (p < 0.0001).

Prediction model performance and application

The full model

For the XGBoost decision tree model on day 1 and day 5, all 30 predictors were ranked according to their relative importance based on F-score in Fig. 1. Based on the testing dataset (n = 208), an extremely strong concordance between the predicted and actual outcome classification in the confusion matrix was found for both models. The overall accuracy rate of the Day-1 model was 92.3%, with the macro-/micro-averaged sensitivity at 82.6%/92.3% and specificity at 96.0%/96.1%. As for the Day-5 model, the overall accuracy rate was 99.5%, with the corresponding macro-/micro-averaged sensitivity at 99.7%/99.5% and specificity at 99.5%/99.5% (Table 3). The XGBoost model consistently edged over the alternative Decision Tree and Random Forest classification models on these predictive performance measures (Appendix Table 4).

Fig. 1.

Fig. 1

Top 20 Features* ranked according to importance in the XGBoost model. *Feature importance of total protein, gender, pneumonia, chronic disease, sore throat, fatigue, myalgia, chills, headache, and vomiting under Day-1 model and that of total protein, myalgia, pneumonia, fever, vomiting, chronic disease, headache, fatigue, sore throat, chills under Day-5 model were excluded from this figure

Table 3.

Predictive performance of the full model and the simplified model

Full Model* (based on 30 features)
On Day 1 of admission On Day 5 of admission#
Predicted class Predicted class
Critical/serious Stable Satisfactory Critical/serious Stable Satisfactory
Actual class
 Critical/serious 6 0 4 10 0 0
 Stable 6 86 5 0 96 1
 Satisfactory 1 0 100 0 0 101
Sensitivity
 By class 60.0% 88.7% 99.0% 100.0% 99.0% 100.0%
 Macro averaged 82.6% 99.7%
 Micro averaged 92.3% 99.5%
Specificity
 By class 96.5% 100.0% 91.6% 100.0% 100.0% 99.1%
 Macro averaged 96.0% 99.5%
 Micro averaged 96.1% 99.5%
Accuracy 92.3% 99.5%
Simplified model* (based on 7 features)
On Day 1 of admission On Day 5 of admission#
Predicted Class Predicted Class
Critical/serious Stable Satisfactory Critical/serious Stable Satisfactory
Actual class
 Critical/serious 7 1 2 10 0 0
 Stable 7 86 4 9 87 1
 Satisfactory 4 0 97 2 0 99
Sensitivity
 By class 70.0% 88.7% 96.0% 100.0% 89.7% 98.0%
 Macro averaged 84.9% 95.9%
 Micro averaged 91.3% 94.2%
Specificity
 By class 94.4% 99.1% 94.4% 94.4% 100.0% 99.1%
 Macro averaged 96.0% 97.8%
 Micro averaged 95.7% 97.1%
Accuracy 91.3% 94.2%

*Model performance based on testing dataset (n = 208)

#upon discharge if hospital discharged before Day 5

Table 4.

Comparison on predictive performance of three alternative machine learning classification algorithms using the same features under the full model

Algorithm Full model* (based on 30 features)
On Day 1 of admission
Sensitivity Specificity Accuracy (%)
Macro averaged (%) Micro averaged (%) Macro averaged (%) Micro averaged (%)
Decision Tree # 76.1 90.4 78.3 90.4 90.4
Random forest # 77.8 90.9 69.6 90.9 90.9
As compared against the study’s chosen model
 XGBoost 82.6 92.3 96.0 96.1 92.3
Algorithm Full model* (based on 30 features)
On Day 5 of admission
Sensitivity Specificity Accuracy (%)
Macro averaged (%) Micro averaged (%) Macro averaged (%) Micro averaged (%)
Decision Tree # 91.3 97.1 98.0 97.1 97.1
Random forest # 92.3 97.6 95.3 97.6 97.6
As compared against the study’s chosen model
 XGBoost 99.7 99.5 99.5 99.5 99.5

*Model performance based on testing dataset (n = 208)

#median imputation method was adopted to handle missing data values in study subjects

The simplified model associated with a calculator tool

With reference to their relative importance as indicated by F-scores, the next step was to optimize the selection of a smaller set of variables for training alternative simpler models at an opportunity cost of a reduction in accuracy rate. As a result, of the top 10 important features under Day-1 and Day-5 models (Fig. 1), the same seven model features were selected and incorporated into two simplified models. They included the worst clinical condition status (4-level), age group, and five biomarkers, namely, CRP, LDH, platelet, N/L ratio and A/G ratio. Their discriminating effect across the three outcome groups is graphically shown in Appendix Fig. 3. Onset-to-admission duration and Ct value of RT-PCR test were not selected due to concern of recall bias and limited applicability at other settings respectively. The alanine aminotransferase (ALT) and ALP biomarkers were also dropped as they were relatively less important and only appeared in either one model. The overall accuracy rate of this simplified Day-1 model was 91.3%, with the macro-/micro-averaged sensitivity and specificity respectively at 84.9%/91.3% and 96.0%/95.7%. For the Day-5 model, the overall accuracy rate was 94.2%, with the corresponding macro-/micro-averaged sensitivity at 95.9%/94.2% and specificity at 97.8%/97.1% (Table 3) The decision trees for each outcome group of the Day-1 simplified model are visualized in Fig. 2.

Fig. 2.

Fig. 2

Decision rules using the key features under the Day-1 simplified model and their thresholds

From Table 1, among the 32 patients who deteriorated from satisfactory or stable to critical/serious condition after day 1, the simplified Day-1 model has correctly predicted outcome group for 22 of them (4 out of 7 in the testing data and 18 out of 25 in the training data). For another 10 patients who deteriorated after day 5, all of them can be correctly classified by the Day-5 model.

Discussion

The aim of the study is to provide additional information for early clinical decision-making in transferring COVID-19 patients to step-down care. This model utilizes the demographic, presenting symptoms, clinical and laboratory findings of the entire Hong Kong cohort to provide the best available analysis for developing the prognostic models.

It is suggested that HK was facing a different cohort of COVID-19 patients as compared to China. As compared to Zhang’s study [13] on disease severity of 663 patients in Wuhan (14% critical, 48% severe, 38% moderate, 0.5% mild), HK had a totally reverse pattern with only 5% critical/serious cases (Table 1) with regard to similar clinical criteria defining “critical” and “serious” between China [13, 28] and HK. This huge difference can be partly explained by a younger age profile in Hong Kong’s entire cohort relative to Zhang’s study cohort (mean age of 38 years versus 56 years).

Most studies predicted fatal outcome of mortality [1214, 17, 19, 21] and critical illness [17, 19, 20] of COVID-19 cases, except two published studies in China [13, 18] and 9 pre-printed studies reviewed by Wynants et al. [29] on risk factors for disease severity spectrum. Since the mortality of HK COVID-19 cases is low (four deaths among 1037 patients), the above predicted fatal outcome is not applicable to stratify the needs of our patients nor to inform subsequent management decision for step-down care. Local study is necessary to provide additional insight to the disease management.

Our study finds significant correlation of patients’ predisposing risk factors like older age, male sex and presence of chronic diseases, in particular those related to cardiovascular diseases, with adverse outcome in univariate analysis. Similar findings were reported in other studies [12, 13, 16, 17, 20, 22]. The presenting symptoms of dyspnoea and fatigue were significant indicator for poorer outcome in other COVID-19 studies [12, 13, 17, 20]; whereas only dyspnoea was found significant in univariate analysis but relatively less important as compared to biomarkers in this study.

For the biomarkers (individually or in ratios) in the top 20 important model features list (Fig. 1), they could predict disease severity; and most of them are also reported as independent prognostic factors of COVID-19 in other studies (13.17–22). We did not include aspartate aminotransferase (AST), procalicitonin (PCT) and D-dimer as in other COVID-19 studies [1214, 17, 22] because only 16%-23% of our study subjects had such biomarkers tested. A few important prognosticators of this study are also in common with three previous local studies on prognostication in SARS patients, in which elevated CRP, LDH, neutrophil count, ALT, creatinine and platelet counts predictive of mortality, ICU care or oxygenation failure [2426].

The study showed that clinical conditions on day 1 and day 5 could predict the subsequent clinical outcome, particularly in the stable and satisfactory patient groups in addition to their biomarkers’ readings. Patients having ‘satisfactory clinical condition’ in Day-1 and 5 are more likely to have a stable or satisfactory outcome. However, this feature is less prominent in critical/serious group’s decision rules (Fig. 2).

Based on the testing dataset, the current XGboost classifier (“the full model”) achieved a very high predictive accuracy rate of 92% and 99% to classify study subjects into three outcome groups on day 1 and day 5 of admission, which is on average equivalent to day 6 and day 10 of symptom onset given the median/mean onset-to-admission duration being 4/5.8 days. In this big data era, it’s technically feasible to automate predicted probabilities of three outcome classes as predicted from this methodology which simultaneously considers a multitude of factors readily available in HA’s CMS. This study’s XGBoost algorithm by default can support missing data values in study subjects, commonly encountered when using observational data at service settings.

In order to provide quick and accurate prediction at the point of care, simplification of the predictive modelling is suggested. Through a robust variable selection process of the two full models on day 1 and day 5 of admission, a simpler model with seven common specific predictors were identified. They included the worst clinical condition status (4-level), age group, and five biomarkers, namely, CRP, LDH, platelet, N/L ratio and A/G ratio. By using these modified models at the point of care, physicians will have additional and convenient information on the prognostic analysis of the COVID-19 patients at early presentation to hospitals. This will increase the turnaround time of our precious inpatient facilities and thus the efficiency of infection control measures.

Experts worldwide warn that COVID-19 may persist into this winter. For Hong Kong to continue with the current “early identification, early isolation and early treatment” strategy, this prognostic modelling is part of the corporate strategy in the preparedness for the potential third wave of outbreak in Hong Kong. Learning from the examples in nearby countries, like Singapore, Hong Kong is preparing the emergency response in case over hundreds or thousands of new cases presented per day, which will overwhelm our existing isolation bed capacity in the public hospital system. Planning for community isolation and treatment facilities is underway. In order to ensure patient safety and quality care, a tool to identify patients with lesser severity and better outcome is necessary. This group of patients probably will be safely managed at the community settings. This study provides a robust analysis on prognostication for COVID-19 cases. The transformation into a simple calculator tool to predict clinical outcome on day 1 and day 5 of admission makes it more convenient for clinicians to apply in their daily settings. It allows early identification of newly confirmed cases upon presentation and triage to appropriate places for isolation and treatment at appropriate timing.

When this manuscript is being revised in response to reviewers’ comments in mid-August 2020, Hong Kong is under the third wave of epidemic. The Day-1 and Day-5 simplified models were tested against an addition of 2984 cases newly confirmed within the following three months after this study’s data cut-off date, reconfirming that its predictive performance among this new cohort (Appendix Table 5) remained similar as the earlier cohort’s (Table 3). HA has started applying the tool at Hong Kong’s newly set up Community Treatment Facility which isolates and treats clinically stable cases aged below 60 upon confirmation. An automated daily patient list with model predictions together with latest predictors’ values is sent to on-site clinicians as a clinical reference to early identify potential deterioration cases for transfer back to acute hospitals for treatment.

Table 5.

Predictive performance of the simplified model for an extended testing data (COVID-19 confirmed cases during 1 May–9 Aug 2020), which was supplemented to this study when the manuscript was revised in mid-August 2020

Simplified model* (based on 7 features)
On Day 1 of admission On Day 5 of admission#
Predicted class Predicted class
Critical/serious Stable Satisfactory Critical/serious Stable Satisfactory
Actual class
Critical/serious 187 13 23 207 7 9
Stable 227 1389 62 187 1480 11
Satisfactory 7 0 1076 18 0 1065
Sensitivity
By outcome class 83.9% 82.8% 99.4% 92.8% 88.2% 98.3%
Macro averaged 88.9% 92.2%
Micro averaged 88.9% 92.2%
Specificity
By outcome class 91.5% 99.0% 95.5% 92.6% 99.5% 98.9%
Macro averaged 97.2% 98.8%
Micro averaged 94.4% 96.1%
Accuracy 88.9% 92.2%

*Model performance based on testing dataset (n = 2984)

Limitation of the study includes the lack of inclusion of data from radiological imaging. Patients with COVID-19 are found to have lung infection with ground glass and consolidative opacities with peripheral and lower lung distribution and bilateral involvement [30]. We are going to include all chest X-ray images up to day 5 in the next study through AI approach of image analytics.

Conclusion

This study provides comprehensive analysis on epidemiological, clinical and laboratory data within the first five days of admission among the entire Hong Kong cohort of 1037 laboratory-confirmed COVID-19 patients. Having considered a multitude of prognostic factors, the model could accurately predict the clinical outcome of a COVID-19 case on day 1 and day 5 of admission, namely, critical/serious, stable and satisfactory. It aims to serve as a management tool as well as a clinical reference tool in order to plan ahead for response measures on triage and step-down care to cope with the next unprecedented wave of COVID-19 epidemic. With a trade-off between practical application and predictive accuracy, the full model consisting of 30 features were reduced into a simpler model with seven specific features in tandem with a simple, easy-to-understand and transparent calculator tool for applications locally and open access globally.

Acknowledgements

This research was supported by the Hong Kong Hospital Authority (HA). We thank our colleagues from HA who provided insight and expertise that greatly assisted the research. The authors would like to acknowledge the valuable clinical advice towards the prognostic model development from our clinical expert group, including Dr Kin Wing Choi of AHN, Dr TL Que of TMH, Dr Owen Tsang of PMH, Dr TC Wu of QEH, Dr KC Lung of PYNEH, Dr Albert Lie of QMH and Dr Vivien Chuang of Head Office Q&SD within the HA and Professor CS Lau of the University of Hong Kong.

Abbreviations

A

Albumin

A/G ratio

Albumin-globulin ratio

AI

Artificial Intelligence

AII

Airborne infection isolation

ALP

Alkaline phosphatase

ALT

Alanine aminotransferase

AST

Aspartate aminotransferase

CMS

Clinical Management System

COVID-19

Coronavirus Disease 2019

CRP

C-reactive protein

ECMO

Extracorporeal membrane oxygenation

eNID

Electronic Notification of Infectious Disease

G

Globulin

HA

Hospital Authority

HK

Hong Kong

ICU

Intensive care unit

ILI

Influenza-like illness

LDH

Lactate dehydrogenase

MPV

Mean platelet volume

N/L ratio

Neutrophil–lymphocyte ratio

NDORS

Notifiable Diseases and Outbreak Reporting System

PCT

Procalcitonin

RT-PCR

Reverse-transcription polymerase chain reaction

SARS

Severe Acute Respiratory Syndrome

SD

Standard deviation

WBC

White blood cell count

WHO

World Health Organization

XGBoost

Extreme Gradient Boosting

Appendix

See Fig. 3 and Tables 4, 5.

Authors’ contributions

ELHT: Project organizer, study design, result interpretation and manuscript writing. CSML: Study design, data analysis and interpretation, manuscript revising and approval. PPSW: Literature search, study design, manuscript revising and approval. ATLC: Data collection and compilation, manuscript revising and approval. PKWL: Data collection and compilation, manuscript revising and approval. VTWT: Data analysis and compilation. CFY: Data collection and compilation. CHW: Data collection and organisation. LHYL: Project organizer and manuscript revising and approval. All authors read and approved the final manuscript.

Funding

This study received no external funding.

Availability of data and materials

The de-identified datasets generated and analysed during the current study are not publicly available for patient privacy protection as their disclosure at granular level may entail the risk of subject re-identification. Aggregate data are available from the corresponding author on reasonable request. The calculator tool which is developed based on the prognostic models’ results of this study will be available for online public access (https://github.com/ha-covid19/covid19-prognostication-tool).

Ethics approval and consent to participate

The research involving de-identified patient data described in this paper were approved by the Research Ethics Committee (Kowloon Central / Kowloon East) (IRB number: KC/KE-20-0202/ER-3).

Consent for publication

Not applicable.

Competing interests

The authors declare that they have no competing interests.

Footnotes

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Contributor Information

Eva L. H. Tsui, Email: elhtsui@ha.org.hk

Carrie S. M. Lui, Email: lsc491@ha.org.hk

References

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

The de-identified datasets generated and analysed during the current study are not publicly available for patient privacy protection as their disclosure at granular level may entail the risk of subject re-identification. Aggregate data are available from the corresponding author on reasonable request. The calculator tool which is developed based on the prognostic models’ results of this study will be available for online public access (https://github.com/ha-covid19/covid19-prognostication-tool).


Articles from BMC Medical Informatics and Decision Making are provided here courtesy of BMC

RESOURCES