Introduction

COVID-19 cases have exceeded 650 million and resulted in more than 6.6 million deaths worldwide until 12 December 2022 [1]. Initially, COVID-19 was described as an exclusively respiratory system infection, but studies suggest the effect of COVID-19 on other organs like the kidney [2, 3]. Some pathophysiology and molecular mechanisms involving direct invasion of the kidneys and systemic effects of the virus, such as cytokine storm, thrombus development, and hypovolemia, are potential mechanisms of kidney damage [4, 5]. Coronavirus-induced renal dysfunction can manifest as mild proteinuria and hematuria. In severe cases, it can lead to acute kidney injury (AKI) [6]. AKI has occurred in 26% of patients with COVID-19, and mortality among such patients is higher than the overall COVID-19 mortality rate of patients without AKI [7].

The key indicator of kidney function is the glomerular filtration rate (GFR). GFR cannot be assessed directly but can be estimated from serum creatinine level, age, sex, and race as known eGFR [8]. Previous studies have suggested that eGFR has good predictive performance for mortality in patients with chronic conditions [9, 10]. Several studies also showed the prognostic value of eGFR for adverse outcomes, such as mortality and ICU admission, in COVID-19 patients [11, 12]. In previous studies, eGFR was included in prediction models in continuous and categorical forms, and a linear relationship is assumed between eGFR and mortality [13, 14]. However, in some scenarios, the relationship between a continuous covariate e.g., eGFR and mortality may be non-linear, such as J-shaped or U-shaped. Therefore, the results of models that consider the GFR as a continuous variable or categorized forms of the GFR variable may be biased. The use of flexible models, such as fractional polynomials and cubic splines, can provide the true relationship between continuous variables and a given outcome in the presence of nonlinearity. Considering the above issues, the present study aimed to explore the linear and non-linear association between eGFR on admission and death within 30 days in patients with COVID-19 using binary logistic regression, fractional polynomial, and cubic splines models.

Methods

The present retrospective study was conducted on COVID-19 patients who were hospitalized between April 2019 and July 2019 in Shahid Beheshti and Sina hospitals, two referral hospitals of Hamadan University of Medical Sciences, Hamadan, Iran. The inclusion criteria included patients with confirmed COVID-19 through PCR method. In other words, the reason for hospitalization was COVID-19 infection. Patients with registered medical history of chronic kidney disease (CKD) and hemodialysis in Shahid Beheshti hospital as tertiary referral center for these patients were excluded from the study.

The information was extracted by two trained nurses from the patient's medical records and, if necessary, through interviews or telephone calls with the patients, and entered into the researcher-made checklist. The information included the following parts: (1) Demographic variables: gender, age, BMI, and smoking (2) Comorbidities: hypertension, diabetes, heart disease, malignancy, and chronic pulmonary diseases (3) Vital signs at admission: heart rate, systolic blood pressure, diastolic blood pressure, and temperature, (4) Lab values at admission: eGFR, serum creatinine (Cr), blood urea nitrogen (BUN), erythrocyte sedimentation rate (ESR), hemoglobin (Hb), Alanine transaminase (ALT), aspartate transaminase (AST), potassium (K), sodium (Na), platelet count (PLT), lactate dehydrogenase (LDH), prothrombin time (PT), partial thromboplastin time (PTT), lymphocytes, monocytes, and neutrophils, and (5) Hospitalization information of patients: duration of hospitalization, intensive care unit (ICU) admission, need for a ventilator, and death within 30 days.eGFR was calculated based on the CKD Epidemiology Collaboration (CKD-EPI) equation in milliliters per minute per 1.73 m2 (ml/min/1.73 m2) based on gender, age, and serum creatinine through the below formula [8]:

$$\begin{aligned} {\text{eGFR}} & = 141 \times \min \left( {{\text{CR}}/0.9,1} \right)^{ - 0.411} \times \max \left( {{\text{CR}}/0.9,1} \right)^{ - 1.209} \times \left( {0.993^{{{\text{Age}}}} } \right)\quad {\text{if}}\,\,{\text{Sex}}\,{ = = }\,{\text{male}} \\ {\text{eGFR}} & = 141 \times \min \left( {{\text{CR}}/0.7,1} \right)^{ - 0.329} \times \max \left( {{\text{CR}}/0.7,1} \right)^{ - 1.209} \times \left( {0.993^{{{\text{Age}}}} } \right) \times 1.018\quad {\text{if}}\,\,{\text{Sex}}\,{ = = }\,{\text{female}} \\ \end{aligned}$$

In the above formula, serum creatinine was in mg/dl. Based on the calculated scores, there is the following classification for the degree of kidney failure. Normal or high function if eGFR ≥ 90 ml/min/1.73 m2 (G1), mildly decreased if eGFR between 60 and 89 ml/min/1.73 m2 (G2), mildly to moderately decreased if eGFR between 45 and 59 ml/min/1.73 m2 (G3a), moderately to sever decreased if eGFR between 30 and 44 ml/min/1.73 m2 (G3b), severely decreased if eGFR between 15 and 29 ml/min/1.73 m2 (G4), and kidney failure if eGFR < 15 ml/min/1.73 m2 (G5).

Statistical analyses

Normality assumption of the variables was checked through the Shapiro–Wilk test. In case of violation of normality, the variables were expressed median (interquartile range). The chi-square test and Kruskal–Wallis test were used to assess the relationship between the variables according to eGFR categories. The association between eGFR in categorized and continuous forms as independent variables and death within 30 days as dependent variables was evaluated using binary logistic regression. The linearity assumption was checked using the Wald-type test. The non-linear relationship between GFR and death within 30 days was assessed using the unrestricted cubic spline (UCS) model fractional polynomial (FP) model [15]. In the logistic regression model with UCSs, the non-linear effect of GFR, X, on 30 days of mortality is evaluated using the quadratic and cubic terms with four knots, k, at fixed and equally spaced percentiles 20%, 40%, 60%, and 80%.

$$y = b_{0} + b_{1} X + b_{2} X^{2} + b_{3} X^{3} + \mathop \sum \limits_{i = 1}^{n} b_{3 + i} \max \left( {X - k_{i} ,0} \right)^{3}$$

In FP model

$$y = b_{0} + b_{1} X^{p1} + b_{2} X^{p2} + \cdots$$

where pi is fractional power. It suggested that powers are selected from among {− 2, − 1, − 0.5, 0, 0.5, 1, 2, 3} [16]. In a FP model with powers set {1, 0, − 2}, the equation is as follow—

$$y = b_{0} + b_{1} X + b_{2} \ln \left( X \right) + b_{3} \frac{1}{x}^{2}$$

All developed models were adjusted for age and ICU admission which are well-known predictors of mortality among COVID-19 patients and surrogates of confounders in association between eGFR and in-hospital mortality relation [17,18,19]. It was according to the principle of parsimony in model building in which models should have as few parameters as possible. The effect measures were expressed as odds ratios (95% CI) and corresponding CIs.

The performance of the developed models was evaluated using the Akaike information criterion (AIC) and the Bayesian information criterion (BIC). Smaller values for AIC and BIC indicate better fitness of the model on the data. Predicted probabilities of death within 30 days were estimated from the model with better performance. The power of the selected model to predict the incidence of death was determined by the area under the receiver operating characteristic (ROC) curves. The curve is a plot of sensitivity on the y-axis against false positive rate and area under curve (AUC) values closer to 1 representing stronger prediction. The calibration of the selected models was evaluated using a calibration plot and the Brier score. In the calibration plot, the predictions are plotted against the actual outcome, and agreement between them was assessed in different deciles. The line of 45 degrees in the calibration plot indicates perfect calibration, and 100% agreement between predicted and observed probabilities. The Brier score is calculated using dividing the squared difference between predictions and actual outcomes by the number of observations. The score ranged from 0 to 1 and a lower score may imply higher calibration. All statistical analyses were conducted using Stata version 14.

Results

In total, 2945 COVID-19 inpatients were included, and the number (%) of 30 days of in-hospital mortality was 566 (19.23%). Mean ± SD of eGFR on admission was 71.09 ± 24.78 ml/min/1.73 m2. According to the CKD-EPI creatinine equation, 23% of patients were within the normal range of GFR (90), 44% of patients with stage G2, 26.6% with stage 3 combined, and about 6% had GFR of lower than 30. The distribution of demographics, comorbidities, vital signs, and lab value at admission as well as hospital course events according to GFR categories are presented in Table 1. In the eGFR categories, numbers and percentages of male aged over 50 years were higher than the comparison group (p-value < 0.001). There was no difference in the distribution of BMI and smoking according to eGFR categories. Numbers and percentages of comorbidities including hypertension, heart diseases, malignancy, and chronic pulmonary diseases were significantly different across eGFR categories. From GFR category G1–G5, the median heart rate significantly decreases by 2 units. All laboratory values were significantly different across eGFR categories, except for Na and PTT. The highest percentages of stay at the hospital (> 5 days), ICU admission, use of mechanical ventilation, and 30-day mortality were observed in eGFR categories of G4 and G5 (p-value < 0.001).

Table 1 Characteristics of COVID-19 patients according to eGFR on admission

The result of Wald—the type test with 2 degrees of freedom indicates strong evidence against linearity (p-value < 0.001). Table 2 provides the results of three prediction models for the effect of eGFR on 30 days of mortality. In a model with eGFR as continuous form, the OR (95% CI) of 30 days of mortality was 0.98 (0.973, 0.985) after adjusting for age and ICU admission (AIC = 1609.36 and BIC = 1633.14) (Not shown in Table 2). Using AIC and BIC criteria, we found that the Degree-2 FP with powers (− 2, − 1) have a better fit (smaller AIC and BIC) compared with other models. According to FP model, a non-linear association between eGFR and risk of death within 30 days was found, with a progressively higher risk association with eGFR of lower than 30 ml/min/1.73 m2. The relationship between eGFR and death within 30 days in patients aged less than 50 years was linear FP with power (1) and it was non-linear in patients aged over 50 years with Degree-2 FP with powers (− 2, − 0.5). According to fractional polynomials model, the OR of eGFR categories G2–G5 versus G1 as reference were 1.19, 1.57, 2.21, 4.68, and 15.14, respectively. It means the odds of death within 30 days among patients with eGFR on admission of lower than 15 ml/min/1.73 m2 are about 15 times of patients with eGFR ≥ 90 ml/min/1.73 m2. Corresponding figures from the UCS model were 1.93, 2.49, 2.70, 8.70, and 16.05, respectively (Table 2).

Table 2 Adjusted OR with 95% CI for the association of eGFR (ml/min/1.73 m2) and 30 days of mortality from categorical, unrestricted cubic splines, and fractional polynomial

Figure 1 shows smoothed graph of adjusted odds for the association between eGFR and the occurrence of death within 30 days. As shown in Fig. 1, the observed odds of death decrease more rapidly on eGFR 20 to 30 ml/min/1.73 m2, and then the odds are declined gradually. The probabilities values of 30 days of mortality from FP models including eGFR, age, and ICU admission were estimated for judging discrimination (AUC) and calibration of the model. The sensitivity, specificity, and AUC (95% CI) were 67%, 93%, and 92 (0.90, 0.93), respectively. The Brier score value was 0.09 indicating acceptable agreement between observed and expected outcomes (Fig. 2). On stratification on age and ICU admission to determine the prediction power of eGFR alone, the results showed that the prediction power of the eGFR has better performance (AUC = 0.79) and well-calibrated (Brier score = 0.05) among patients aged 50 and over and not admitted to ICU compared with other subgroups (Fig. 3). The difference between AUCs from model D and model C (p-value < 0.001) and model D and model A (p-value = 0.005) was only statistically significant.

Fig. 1
figure 1

Smooth curves from linear, categorical, degree-2 fractional polynomial with powers [− 2, − 1], unrestricted cubic spline with four knots at percentiles 20%, 40%, 60%, and 80% for association between eGFR (ml/min/1.73 m2) and 30 days of mortality

Fig. 2
figure 2

Area under the curve (AUC) for prediction of 30 days of mortality from degree-2 fractional polynomial with powers [− 2, − 1] with including eGFR, age, and ICU admission (left graph) and calibration plot (right graph)

Fig. 3
figure 3

Area under the curve (AUC) for assessing power of eGFR to predict 30 days of mortality in four subgroups of patients; A not admitted to ICU and aged lower than 50 years, B admitted to ICU and aged lower than 50 years, C admitted to ICU and aged higher than 50 years and D not admitted to ICU and aged higher than 50 years

Discussion

This study aimed to apply flexible statistical methods to model the relationship between eGFR and COVID-19-related in-hospital mortality. We found that the eGFR death within 30-day relation was non-linear, and the FP model had better fitness on the dataset. Using the FP model, the risk of mortality increases exponentially in eGFR < 45, increases linearly in eGFR 45 to 60 and after that tends to plateau. The prediction power of eGFR in combination with ICU admission and older age (> 50 years) for in-hospital mortality was 92%. The eGFR alone had the strongest prediction power among patients who were not admitted to ICU and aged higher than 50 years.

A common approach used in previous studies for modeling eGFR in-hospital mortality non-linear relation is considering the categorical form of eGFR in regression models [11, 12, 20]. The main limitations of such a method are loss of information and misunderstanding of the nature of eGFR in-hospital mortality relation. For example, the main assumption is that the mortality risk is homogeneous across an eGFR category. It is known as a bad idea to incorporate categorization of the covariate or add a quadratic term in regression models [21]. We addressed this limitation by incorporating flexible and smooth transformations of the eGFR, such as fractional polynomials and regression splines in the prediction model. Our analysis suggested that these transformations are more robust alternatives to employing the categorical approach. Since 5.4% of patients in G1 had death outcomes while the corresponding figure for patients in the G5 category was 61.5%, it seems the J-shaped relation between eGFR and mortality is more compatible with the observed data. The non-linear relationship e.g., J-shaped and U-shaped patterns and critical cut-off of 60 ml/min/1.73 m2 has been shown for the relationship between eGFR and cardiovascular disease death in the healthy population [22]. Moreover, the non-linear relationship is not limited to eGFR and COVID-19-related mortality. Other studies have also used flexible transformations to examine the power of other continuous determinants e.g., BMI for predicting mortality in COVID-19 patients [23, 24].

Since lower baseline eGFR is associated with development of AKI [25] and the COVID-19-related AKI is one of important risk factors of in-hospital mortality [26], then AKI is an important intermediate determinant in the association between baseline eGFR and in-hospital mortality. However, it argued the relationship between AKI during admission or peak creatinine and mortality in COVID-19 patients is prone to look-ahead bias [27]. Regardless of the previous important issues, our study found lower baseline eGFR independently and non-linearly is associated with death within 30 days in hospital. In previous studies [20, 28, 29], the eGFR of 60 ml/min/1.73 m2 on admission has been used as a cut-off that affects considerably the mortality of COVID-19 patients. The percentage of eGFR < 60 ml/min/1.73 m2 in our studies (33%) was similar to aforementioned previous studies [20, 28, 29]. It has been shown that Growth Differentiation Factor 15 (GDF-15) activity is only significant predictive cytokine for poor outcomes in COVID-19 patients, and the effect of GDF-15 tends to be stronger in the presence of eGFR < 45 ml/min/1.73 m2 [30]. The results from a machine learning model indicate eGFR < 60 ml/min/1.73 m2, along with neutrophil and lymphocyte percentages were the leading predictors of mortality among COVID-19 patients [31].

In a study in England [14], compared with eGFR of 90, the relative risks for G2–G5 categories were 1.17, 2.07, 2.46, 3.71, and 8.35, respectively among people with type 1 diabetes with COVID-19 and 1.02, 1.39, 1.76, 2.31, and 4.91, respectively among people with type 2 diabetes with COVID-19. In another study that included patients aged 65 years or older [13], compared with eGFR of 60, the ORs of mortality for eGFR of 1–29, 30–44, and 45–69 were 1.42, 1.41, and 1.26, respectively. The effect measures in our study were in line with the two former studies [13, 14] in direction but different in magnitude. The OR for patients in the G5 category in our study was 15.14 based on the FP model. This inconsistency could be explained by differences in the comorbidities, type of model prediction building, and eGFR definition. The OR of 15.14 may indicate that there is an interaction between eGFR and older age on mortality among COVID-19 patients because the effect of baseline eGFR < 30 on the in-hospital mortality in other population than COVID-19 patients is much smaller than the OR of 15 [32, 33].

In our study, the prediction power of a combination of eGFR, age, and ICU admission was 92%. Stratification on age and ICU admission, eGFR alone had the prediction power of 79% among patients > 50 years and who were not admitted to the ICU. In one study, low admission eGFR and older age were the only significant and independent determinants of mortality among COVID-19 patients [29]. Older-aged COVID-19 patients are more at risk for AKI during admission and following COVID-19-related deaths [34,35,36]. In another study [12], eGFR on admission alone in older patients had a prediction power of 70% for mortality risk during hospitalization. The former study [12] also showed change in serum creatinine (s-Cr) levels during hospitalization further enhances the mortality prognosis. One meta-analysis showed pooled AKI events of 29.2% among patients admitted to the ICU [37]. Since a low level of eGFR is independent predictor of ICU admission [38], it can be assumed that ICU admission may be an intermediate variable in pathways between the eGFR and death among COVID-19 patients.

This study has some limitations. First, in this study, we evaluated baseline kidney function and risk of in-hospital mortality among COVID-19 patients. Several issues may influence the interpretation when examining association between eGFR on admission and in-hospital mortality. Acute decrease of GFR alone may not be enough to make judgments about AKI. AKI encompasses both injury (structural damage) and impairment (loss of function). Therefore, the effect of baseline eGFR on in-hospital mortality is better to be studied in generalized patients with hospital-acquired acute kidney injury. eGFR is time-dependent and AKI during admission may be occurred. In other words, using AKI categories based on creatinine change would be appropriate to evaluate the outcomes of AKI in hospitalized patients with COVID-19. Second, since the follow-up duration was limited to 30 days, then in this study, we only show the eGFR on admission is an independent predictor of short-term mortality in COVID-19 patients, after adjusting with well-known determinants of mortality; however, 90 days and 180 days of mortality are other important endpoints that should be considered. Third, there were only 45 cases in combination of G5 and in hospital mortality levels. Thus, the yielded OR (15.14) was relatively large and corresponding CI tends be wide (7.45, 30.78). This sparse data bias should be considered when interpreting the results.

Conclusion

The UCS and FP models are better in model fit compared to linear and categorical models to estimate the eGFR–mortality relationship. Odds of death within 30 days increased exponentially in eGFR < 45 and after that decreased linearly and slowly after adjusting for older age and ICU admission. A combination of eGFR, older age, and ICU admission could predict the mortality risk by 90%. This prediction power of eGFR among geriatric patients and those who not admitted to ICU is 70%. On admission, eGFR as a kidney function in geriatric patients hospitalized with COVID-19 may be important for prediction of in-hospital mortality; therefore, it can be measured in all COVID-19 patients on admission. Understanding the nature of the relation between eGFR and in-hospital mortality is important from clinical decision-making perspective and helpful for providing medical care for at-risk patients.