Introduction

Since December 2019, COVID-19 has caused five disease surges and challenged healthcare systems worldwide. The World Health Organization (WHO) reported over 6,8 million fatalities because of COVID-19 on February 20231, and the actual COVID-19 death toll may exceed twice the reported numbers2. Even after the development of vaccines, the COVID-19 virus continued to spread, and the mutations can challenge vaccine effectiveness and cause future peaks. The arrival of new sublineages, such as BA.5, suggests the prolonged impact of COVID-19 on healthcare systems, and solid evidence for investigating this disease is warranted3.

COVID-19 is a viral infection with several clinical presentations and complications. In addition to respiratory damage, inflammation can also damage parts of the human body, including kidneys, liver, nervous system, and reproductive systems4. The laboratory examination can be beneficial for assessing patient prognosis by detecting these multi-organ damages5,6,7. In addition, laboratory values can be disturbed in patients at higher risk of death and with comorbidities. Therefore, laboratory exams can help physicians distinguish poor prognosis patients on admission7.

Still, the dynamic changes in COVID-19 patients need investigation. A serial laboratory examination can guide healthcare professionals in the monitoring of patients. Limited studies used different methods to explain the dynamic change of COVID-19 inpatients8,9,10,11,12,13. Nonetheless, solid evidence is needed for choosing a practical set of laboratories to monitor patients. This large-scale study aimed to investigate the trend and admittance laboratory results of poor prognosis patients.

Material and methods

Ethics statement

The Shahid Beheshti University of Medical Science's ethical committee approved the study, waived obtaining informed consent, and obligated collaborators to anonymize patients’ identities (IR.SBMU.RIGLD.REC.1400.014). Data were collected retrospectively and anonymously, and data confidentiality was concerned. The declaration of Helsinki was addressed during the study.

Study subjects

This retrospective cross-sectional study was conducted in three general hospitals in Tehran with a sum of 1120 beds (Taleghani Hospital, Emam Hossein Hospital, Shohada-E-Tajrish Hospital). All hospitalized confirmed and probable COVID-19 patients admitted from March 20, 2020, to June 18, 2021, were enrolled in the study. Patients who left the hospital for personal reasons, were under 18, were transferred to another hospital for further treatment, or had two negative COVID-19 reverse transcription polymerase chain reaction (RT-PCR) were excluded from the study. Age, gender, disease outcome (death, survived), ward of admission (emergency, COVID-19 ward, intensive care unit (ICU)), and laboratory values of COVID-19 patients were extracted from the hospital electronic information system (HEIS) and cleaned using pandas library of python programming language (Python Software Foundation. Python Language Reference, version 2.7. Available at http://www.python.org).

Case definition

Hospitalized patients were retrieved from HEIS with international classification of diseases (ICD) codes of confirmed cases (U0.71) and probable cases (U07.2). Based on radiologic findings of COVID-19, clinical status, and the relevant specialist's opinion, suspected COVID-19 cases that did not underwent RT-PCR tests, due to the availability of diagnostic kits in Iran, were hospitalized as probable COVID-19 cases.

A “confirmed COVID-19 case” was defined as a person with positive RT-PCR for SARS-CoV-2, regardless of the presence of clinical signs and symptoms and close contact. A “probable COVID-19 case” was a suspected COVID-19 case: 1—with radiological findings that, according to radiologists, are strongly suggestive of the COVID-19 disease, such as one- or two-sided multilobular infiltration, especially infiltration of peripheral areas in a lung CT scan or chest radiograph and ground glass in lung CT scan (clinically confirmed), 2—with pneumonia who has an inappropriate clinical response despite proper treatment and the patient's clinical condition becomes more critical and worse or dies unusually and unexpectedly (clinically confirmed), 3—with inconclusive RT-PCR test result (The result of the person's RT-PCR test is unknown and is not reported as positive or negative.), or without any RT-PCR test due to any reason. Therefore, based on radiologic findings of COVID-19, clinical status, and the relevant specialist's opinion, suspected COVID-19 cases that did not undergo RT-PCR tests due to the lack or absence of diagnostic kits in Iran were hospitalized as probable COVID-19 cases.

A “suspected COVID-19 case” was considered as 1—a person with a history of dry cough or chills or sore throat with shortness of breath with or without fever that cannot be explained by another etiological factor, 2—a patient with fever or respiratory symptoms (of any severity) who is a healthcare staff or has a history of close contact with a probable/definite COVID-19 case within 14 days before the onset of the disease symptoms.

Radiological findings highly suggestive of COVID-19 pneumonia were used to find probable cases in some time periods. Iran's national guideline for diagnosing and treating COVID-19 and the Iranian Society of Radiology COVID-19 Consultants (ISRCC) defined radiologic findings of COVID-19. Existence of unilateral/bilateral, unifocal/multifocal ground glass opacity (GGO), consolidation or nodules more likely with peripheral distribution or less likely with periburonchovascular distribution, diffuse/bilateral infiltrates of the lungs consistent with ARDS, patchy consolidation with surrounding ground glass halo (late finding), patchy consolidation with and without air-bronchogram, crazy-paving appearance (late finding), peripheral stripe like opacities (late finding) identified as the typical CT features of COVID-19 on thorax CT.

Study setting

This study had been conducted in three tertiary general hospitals located at the North, East, and West of Tehran with, a total of 1200 hospital-beds. During disease peaks, multiple wards were allocated for care of COVID-19 inpatients. At the time of the study, the dominant COVID-19 variants in Iran were Alpha and Beta, which are fairly similar patients' characteristics, management, or outcomes14. Therefore, patients were not classified based on the COVID-19 variants. In addition, COVID-19 vaccination started in April 2021 for the general population, and about 1.08% of total population was immunized against COVID-1915. Given these points, there were a few vaccinated patients referred to the hospital who were not included in the study.

Admittance and serial lab exam

Laboratory values included for analysis were as follows: Complete blood count (CBC), cardiac, liver, pancreatic, thyroid, renal, electrolytes, blood glucose, and inflammatory profiles, coagulation, lipid, and iron profile, venous blood gas (VBG), vitamin D3, immunoglobin M (IgM), and immunoglobin G (IgG) levels.

The valid laboratory results for the first six days of admission were sorted for 12 lab values, including white blood cell (WBC), lymphocyte count, neutrophil count, platelet (PLT), hemoglobin (Hb), mean corpuscular volume (MCV), BUN (calculated by dividing urea by 2.14), creatinine (Cr), aspartate transaminase (AST), alanine transaminase (ALT), lactate dehydrogenase (LDH), C-reactive protein (CRP). Daily serial laboratory values during admission were investigated in patients with at least four valid laboratory values during the six first days of admission.

Statistical analysis

Statistical data analyses and visualization were performed using the R program 4.1.1 (Packages: dplyr, caret, tidyverse, FactoMineR, outliers, ggpubr, ggplot, ggrepel). Continuous variables were presented as mean ± standard deviation, while categorical variables were expressed as frequencies and percentages. The Mann–Whitney U and Fisher’s exact tests were performed to compare the differences between groups for continuous and categorical variables, respectively. The least absolute shrinkage and selection operator (LASSO) regression model was used to select prognostic features. Cox regression was used to find patients’ mortality hazard ratio for confirmed features by LASSO regression. For variables with significant differences between survival and non-survival groups but with hazard ratio (HR) close to one, we performed logarithmic transformation to improve their interpretability. Kaplan–Meier survival analysis and the Log-rank test of the mortality risk factors were performed to assess the survival probability during 60-day hospitalization.

The data points higher than 3 or lower than -3 of the sample Z-score were considered outliers. The normalization of laboratory values was investigated by the Q–Q plot, and the Wilcoxon signed-rank test was used to investigate the difference in means of serial laboratory values when the data were non-parametric. For parametric data, paired t-test was used. Joint point program 4.9.0 was used to perform the Parallel Pairwise Comparison of mortality versus survival for serial laboratory values16,17. The Parallel Pairwise Comparison investigates the significance level for the test of coincidence or parallelism. The average daily percent change, confidence interval, and p-value for the trend of laboratory values of 6 days of admission were obtained.

Results

Of the total 14,045 COVID-19 patients, 11,944 were included in this study, of which 7417 subjects were hospitalized as confirmed COVID-19 cases with positive RT-PCR tests and 4527 as probable COVID-19 cases with no RT-PCR tests. There were 9342 survivors and 2602 non-survivors, with an in-hospital mortality rate of 21.8% in the entire cohort. Moreover, the mortality rate was higher for those needing ICU care (63.1%). The mean age of patients was 59.4 ± 18.0, with a range of 18–104, and 56.8% of patients were male.

Baseline on-admission laboratory parameters

The baseline laboratory parameters of the COVID-19 patients on admission are summarized in Table 1. The two groups significantly differed in laboratory parameters indicating inflammation, tissue necrosis, organ dysfunction, and coagulation disorders (p-value < 0.001). Abnormal electrolytes, VBG, and vitamin D3 levels were significantly higher in the non-survivors group. Also, non-survivors had more elevated cholesterol and fasting blood sugar (FBS) levels. Still, the two groups had no significant differences in other lipid profiles indicating dyslipidemia and the HbA1C level. Moreover, IgM and IgG levels were not associated with disease severity. As shown in Table 2, nineteen variables were finally identified as potential risk factors for mortality.

Table 1 Basic characteristics of survivors COVID-19 (N = 9342) and non-survivors (N = 2602).
Table 2 Prognostic factors associated with mortality of COVID-19 cohort.

Survival analysis

Older age, male sex, and abnormal laboratory parameters at admission, including increased WBC count, decreased neutrophils and lymphocytic count, increased MCV, abnormal levels of BUN, Cr, total and direct bilirubin, Log CK-MB, LDH, Troponin, CRP, potassium (K), and creatinine phosphokinase (CPK) significantly associated with the reduced survival of COVID-19 patients (p-value < 0.05). However, according to Log-rank analysis, increased LDH did not significantly affect 60-day mortality in COVID-19 patients (p-value: 0.390). The survival curves of these laboratory parameters are shown in Fig. 1.

Figure 1
figure 1

Survival curves of prognostic factors and admittance lab results of COVID-19 in hospitalized patients. (Footnote Abbreviations: CRP C-reactive protein; WBC White blood cell; MCV Mean corpuscular volume; Cr Creatinine; CPK Creatine phosphokinase).

Serial laboratory values

The lab results during the first six days of admission are presented in Fig. 2. The pairwise comparison of the laboratory values’ trends between patients who survived and did not survive is depicted in Fig. 3. The trend of WBC (p = 0.47), neutrophil count (p = 0.13), Hb (p = 0.38), MCV (p = 0.5), and AST (p = 0.42) were parallel. However, lymphocyte count (p < 0.001), PLT count (p < 0.001), urea (p < 0.001), Cr (p < 0.001), CRP (p = 0.02), ALT (p < 0.001), and LDH (p = 0.03) were not parallel. The average daily percent change and p-value of trends are presented in Fig. 3.

Figure 2
figure 2

Serial laboratory values among COVID-19 inpatients (Footnote Wilcoxon signed-rank test used to evaluate p-value for all presented lab values. After outlier removal and selecting patients with a minimum of 4 valid data point number of patients are as follow (Mortality vs. Survived): WBC: 1284 vs. 4018, lymphocyte count: 927 vs. 2984, Neutrophil count: 932 vs. 2984, PLT: 950 vs. 3005, Hb: 964 vs. 3042, MCV: 972 vs. 3062, Urea: 1101 vs. 3571, Cr: 1097 vs. 3559, AST: 100 vs. 428, ALT: 99 vs. 424, LDH: 62 vs. 226, CRP: 103 vs. 417. Abbreviations: WBC White blood cell; Lymph Lymphocyte count; Neut Neutrophil count; PLT Platelet; Hb Hemoglobin; MCV Mean corpuscular volume; Cr Creatinine; AST Aspartate transaminase; ALT Alanine transaminase; LDH Lactate dehydrogenase; CRP C-reactive protein).

Figure 3
figure 3

The joinpoint pairwise comparison (parallel) analysis of laboratory trends in survived COVID-19 inpatients versus patients who did not survive. (Footnote Red cross: Mortality; Blue dot: Survived. Abbreviations: ADPC Average daily percent change, 95CI 95% confidence interval, M-ADPC ADPC for mortality cohort, S-ADPC ADPC for the survived cohort).

Discussion

The laboratory parameters can be valuable for patient allocation and treatment protocol. This study investigated the laboratory profile of 11,944 patients with COVID-19 since the onset of the pandemic using the parallel pairwise comparison of Joinpoint—a novel approach for analyzing longitudinal laboratory results. We found that serial examination of PLT, Cr, CRP, LDH, and ALT can distinguish patients with poor prognoses, and these parameters can help monitoring the patient’s condition. There were significant differences in the admittance level of most laboratory parameters between the non-survived and survived cohorts. However, we just found abnormal WBC, MCV, BUN, Cr, total bilirubin, direct bilirubin, CRP, K, CPK, increased neutrophils, and decreased lymphocytic count as indicators of COVID-19 mortality. Figure 4 demonstrates a summary of the study method and practical findings.

Figure 4
figure 4

Summary of study method and population.

Monitoring and allocating inpatients during peaks of COVID-19 can be challenging. Studies tried to propose laboratory profile for monitoring a hospitalized patient using longitudinal weekly values9, comparing early and late results10, historical regression tree11, Wilcoxon sum rank test of daily averages trend8, Mann–Whitney test of daily results between mortality and survived12, and dynamic time wrapping analysis13. This study used the parallel pairwise comparison to investigate the trend of lab results among survivors and non-survivors. If a lab trend is parallel between survived and mortality groups, it may fail to distinguish prognosis. Unparallel trend, especially with an inverse direction, may suggest that the trend can help finding patients at risk. In addition, the average daily percent change and the trend were explored in the case of non-parallel trends.

The WBC, neutrophil count, Hb, MCV, and AST had a parallel trend in the non-survived and survived cohorts. Although urea and lymphocyte count had a non-parallel trend, the trend was the same for the non-survived and survived cohorts (urea: both trends are upslope, lymphocyte count: both trends are constant). Finally, for PLT, Cr, ALT, CRP, and LDH, the trend of the non-survived and survived cohorts was non-parallel and distinguishable. Particularly, a rise in PLT (Average daily percent change (ADPC): 5.2%), rise in ALT (ADPC: 4.3%), decrease in Cr (ADPC: − 2.5%), decrease in CRP (ADPC: − 15.4%), and decrease in LDH (− 2.5%) are signs of recovery. In contrast, a rise in LDH (3.9%) and a decreased ALT (− 12.1%) may predict a poor prognosis. However, the sample size of the two latter laboratory values was small, and the underlying comorbidity may explain, to some extent of, this poor prognosis. The full longitudinal course of laboratory values is illustrated in Fig. 3.

Consistent with this study, other studies found the trend of CRP9,10,18, LDH10,11,13,18, PLT11,13, lymphocyte8,13, urea11,13, and Cr can discriminate COVID-19 outcome. Our results fairly confirm results of Burke et al. study13 using dynamic time warping analysis. In contrast, WBC11,13, neutrophil count8,11, and AST11 were found to be beneficial for stratifying the risk of patients’ mortality, while we didn’t find this benefit. Zhao et al. used11 historical regression trees on 358 COVID-19 inpatients recruited in January 2020. The difference in sample size and trend analysis method may explain this contrast. Also, other biomarkers such as D-dimer9,10, ferritin10, interleukin-69,10, troponin10, Prothrombin time (PT)11, and neutrophil-to-lymphocyte ratio10,13 had been proposed for prognosis prediction. Many of our biomarkers suggest that COVID-19 is a multi-organ disease, and their trend can reflect the improvement or deuteriation of COVID-19 patients.

The predictive value of laboratory examination on admission has been well established in the literature6,7,19. We used Lasso penalized regression method to increase the interpretation of proposed biomarkers and propose more accurate prognostic factors. We found a set of hematologic (WBC, neutrophil, lymphocyte, MCV, PCO2), inflammatory (CRP, D-dimer, LDH), renal function (Cr, BUN, K), liver function (alkaline phosphatase, bilirubin), coagulation (PT), and cardiac (CPK, CK-MB, Troponin) factors as indicators of poor prognosis. In our previous effort, we aimed to predict mortality risk by analyzing clinicolaboratory data collected upon admission. After selecting the most important prognostic factors and removing variables with collinearity, we identified ten laboratory exams as predictive factors, suggesting the role of laboratory exam as an independent predictor of mortality20. These findings show a multi-organ damage nature of COVID-19 infection.

Similar to our results, various studies showed that leukocytosis, neutrophilia21,22, and lymphopenia23,24 were mortality predictors. We found a higher prevalence of PLT abnormalities in non-survivors, comparable to a meta-analysis of 12 studies25. However, our LASSO regression analysis found that PLT is not an independent risk factor for mortality. Still, there are controversies, and further studies are needed. The neutrophils-to-lymphocyte ratio (a biomarker of systemic inflammatory response) was introduced as an independent biomarker of poor prognosis in COVID-1926. In contrast, in our study, the neutrophils-to-lymphocyte ratio was not confirmed as an independent risk factor, whereas it was significantly higher in non-survivors.

Several studies showed a significant correlation between COVID-19 infection, multiple organ involvement, and27 end-organ damage, leading to mortality. Therefore, several biomarkers related to organs’ function and end-organ damage have been investigated. Our results showed significant correlations between impairments in laboratory tests related to kidney (Cr, urea) and heart (CPK) with disease mortality. Consistent with our results, previous studies showed kidney impairment indicators on admission are associated with in-hospital mortality28,29. Similar to a study by Taj S. et al.21, our results indicate that elevations of transaminases are more common than increased bilirubin levels. However, interestingly we just found that direct and total bilirubin significantly correlates with COVID-19 patients’ mortality in our study.

Various studies have introduced abnormalities in coagulation parameters as prognostic factors, including elevated D-Dimer30,31 and prolonged PT23. Compatible with these studies, our results also confirm that in addition to coagulation dysfunction in COVID-19 patients, prolonged PT and increased D-dimer were predictors of mortality in these patients.

Studies showed electrolyte impairments in COVID-19 and suggest monitoring patients with electrolytes32. A study by Liu S et al. on 136 confirmed COVID-19 patients showed significantly increased 30-day mortality in COVID-19 patients with K levels ≥ 5.0 mmol/L33. Our results strongly support that electrolyte impairments are significantly higher in severe COVID-19 patients. Our analysis did not consider sodium (Na), calcium (Ca), magnesium (Mg), and phosphorus (P) impairments as mortality predictors. However, in line with the Liu S et al. study, our results show that a higher K level is strongly associated with COVID-19 mortality. We suggest accurate monitoring of K in COVID-19 patients to maintain it within normal ranges.

A pooled analysis of nine studies revealed that elevated LDH at the time of admission is associated with a 16-fold increase in odds of mortality in COVID-19 patients34. Our study supports significant differences between those who survived and non-survivors, and we introduce increased LDH as an independent risk factor for COVID-19 mortality. Despite these results, increased LDH did not influence our study’s 60-day mortality in COVID-19 patients, and we do not recommend this parameter be monitored in patients routinely.

Severe COVID-19 infection leads to the aggravation of inflammation, and studies recommend assessing cytokines to investigate excessive immune response. All inflammatory parameters studied in our survey, including cytokines, ESR, CRP, procalcitonin, and ferritin, were significantly elevated in non-survivors on admissions as expected, according to previous studies21,22,35,35,37. However, we only introduce CRP level as a potent predictor for mortality and suggest CRP monitoring to assess disease severity since it has a significant difference between those who survived and non-survivors in Cox regression and Kaplan–Meier survival analysis. In line with this result, various studies introduced elevated CRP levels at admission as a risk factor for mortality in COVID-19 patients21,22,37,38.

Many limitations need to be considered during the interpretation of this study. First, our hospitals were tertiary centers in Tehran and reached a maximum capacity during the peaks of COVID-19. Thus, more severe patients were admitted and have been investigated. Comorbidities were unavailable while it could enhance the study, and we could not minimize the confounding effect of the underlying diseases on laboratory parameters. Out-of-hospital mortality is not rare, and we could not account for that in our study. Since by the end of our study period, only about 1.08% of the total Iranian population had been fully vaccinated, only a few vaccinated patients were referred to the hospital. Therefore vaccinated patients were not included in the study39. Furthermore, the nature of retrospective studies minimizes the accuracy of predictive studies. In addition, patients with severe conditions have more laboratory examination, and this study’s high mortality rate also points to the selection of severe cases. Another issue is that the number of vaccinated individuals were rare in our study, and we didn’t capture their laboratory profile. The alpha and beta variants were known variants during study period, and the Delta and Omicron subtype of COVID-19 were not evident during the study period. Therefore, generalization of our result to vaccinated patients and other COVID-19 variants needs further validations in future studies.

In conclusion, this study proposed serial and admittance laboratory biomarkers to evaluate COVID-19 outcome. A novel approach had been taken to find prognostic markers in serial laboratory examinations. Careful attention and monitoring of COVID-19 patients’ laboratory results can help manage patients. Based on this large-scale study, serial examination of PLT, Cr, CRP, LDH, and ALT can guide healthcare professionals in monitoring patients. Moreover, disturbance in admittance levels of CBC, CRP, PCO2, Cr, BUN, potassium, PT, alkaline phosphatase, bilirubin, CPK, CK-MB, LDH, Troponin, and D-dimer increase the risk of mortality. Nevertheless, future studies are warranted to confirm the results of this retrospective study.