Introduction

The prevalence of hypophosphatemia varies dramatically due to different definitions of hypophosphatemia and study populations. Hypophosphatemia occurs in 0.24–12.1% of general hospitalized patients [1, 2]. The prevalence was much higher in patients with advanced cancer [3], acute kidney injury on continuous renal replacement therapy [4,5,6], and critical illness [7].

Phosphate serves as one of the key elements for energy storage and metabolism in the form of adenosine triphosphate (ATP) [8]. Phosphate abnormalities might lead to multiple organ dysfunction [9], such as impaired myocardial contractility [10], myopathy [11], paresthesia [12], and hematological dysfunction [13]. Considerable interest has been raised in recent years in the relationship between serum phosphate levels and adverse outcomes. Available studies demonstrated a “J-shaped” relationship between serum phosphate level and mortality in critically ill patients [14]. However, most of the studies emphasized the effect of hyperphosphatemia [14,15,16,17] and overlooked the effect of hypophosphatemia [18, 19]. One of the possible reasons might lie in that there was no universally accepted definition of hypophosphatemia used in the previous studies [20, 21]. Besides, most of the studies were performed in critically ill patients or patients with hospital-acquired hypophosphatemia (such as refeeding related hypophosphatemia [22] or postoperative hypophosphatemia [23]). Thus, it was uncertain whether hypophosphatemia at admission would lead to longer LOS or increased mortality regardless of the disease severity. As far as we know, only two studies were performed in general hospitalized patients and generated absolutely opposite results from our studies [24, 25].

Thus, we aimed to investigate the association between serum phosphate level within 48 h after admission and clinical outcomes (LOS and in-hospital mortality) in adult inpatients.

Materials and methods

Study population

This retrospective study was performed in two teaching hospitals, and both were affiliated to School of Medicine, Shanghai Jiao Tong University in Shanghai, China. All the adult inpatients who were admitted to Ren Ji Hospital from January 1, 2018, to October 31, 2022, or to Xin Hua Hospital from January 1, 2020, to December 31, 2022, and with the availability of serum level of phosphate with 48 h after admission, were included. A total number of 35,428 adult patients were initially recruited. We then performed a sequential process of recruitment: excluding those without information on age (n = 8), height (n = 4,278), body weight (n = 189), LOS (n = 139), or estimated glomerular filtration rate (calculated by Chronic Kidney Disease Epidemiology Collaboration equation, eGFR-EPI) (n = 180), those who were older than 100 years or younger than 18 years (n = 15), those whose LOS < 2 days (n = 4,279), or those whose eGFR-EPI < = 30 ml/min/1.73m2 (n = 2,730), or with the history of end-stage of renal disease according to admission diagnosis (n = 131). Finally, a total number of 23,479 patients (14,073 males and 9,406 females, 57.7 ± 16.8 years) were included in the analysis (shown in Fig. 1). Patients included were younger, with a higher rate of surgery, lower Charlson comorbidity index (CCI) [26], lower level of serum phosphate and serum prealbumin, and lower mortality rate than those out of the study (details shown in Supplemental Table 1). The study protocol was approved by the Ethical Committee of Ren Ji Hospital (LY-2022-057-B) and Xin Hua Hospital, (XHEC-C-2023-014-1). As a retrospective study, patients’ written consents were waived.

Fig. 1
figure 1

The process of sample recruitment

Note: 1. Abbreviation: eGFR-EPI, estimated glomerular filtration rate calculated by Chronic Kidney Disease Epidemiology Collaboration equation; LOS, length of hospital stays

2. History of end-stage of renal disease was confirmed according to admission diagnosis in the medical record

Serum level of phosphate (exposure)

All the biochemical parameters were tested within 48 h after admission. Venous blood samples were drawn into vacuum tubes containing Ethylene Diamine Tetraacetic Acid (EDTA) in the morning after participants fasted for at least eight hours as the regular hospital practice in China. Serum level of phosphate was measured by photometric analysis (Roche 701 Bioanalyzer, Roche, UK). The lower limit of detection was 0.1mmol/L. The intra-assay coefficients of variability (CV) were 0.5-0.9% and the inter-assay CV were 1.2-1.9% (Roche 701 Bioanalyzer, Roche, UK).

Patients were further classified into five groups based on serum phosphate level (inorganic phosphorus, iP) [27]: G1, iP < 0.64 mmol/L; G2, iP 0.64–0.8 mmol/L; G3, iP 0.8–1.16 mmol/L; G4, iP 1.16–1.45 mmol/L; and G5, iP ≥ 1.45 mmol/. Patients in G4 were treated as the reference group.

Clinical outcomes

LOS was defined as the time between the measurement of serum phosphate and discharge time or the time of death. In-hospital mortality was confirmed based on medical records regardless of the cause of death during hospitalization.

Assessment of covariates

Baseline characteristics, including age, sex, primary disease for the admission, and comorbidities were abstracted from medical records. CCI without terms of human immunodeficiency virus (HIV) infection and acquired immune deficiency syndrome (AIDS), was used to assess the disease severity because information on HIV infection and AIDS was lacking in the two hospitals. Height and body weight were measured by registered nurses and were abstracted from medical records.

All other laboratory examinations were also abstracted from medical records. Serum levels of calcium, magnesium, sodium, potassium, chloride, liver function test such as alanine aminotransferase (ALT), aspartate aminotransferase (AST), alkaline phosphatase (ALP), gamma glutamyl-transferase (γ-GT), total bilirubin (TBIL), direct bilirubin (DBIL), albumin, and pre-albumin, renal function such as eGFR-EPI, fasting blood glucose (FBG), total cholesterol (TC), triglycerides (TG), low density lipoprotein cholesterol (LDL-C) and high-density lipoprotein cholesterol (HDL-C) were also measured by enzyme linked immunosorbent assay (Roche 701 Bioanalyzer, Roche, UK). White blood cell (WBC) and hemoglobin concentration were measured using an automated hematology analyzer (DxH 690T, Beckman Coulter, USA).

Levels of 25-hydroxyvitamin D [25(OH)D] were determined through an electrochemiluminescence immunoassay, and levels of 25-hydroxyvitamin D3 (vitamin D3) and 25-hydroxyvitamin D2 (vitamin D2) were measured by isotope dilution liquid chromatography tandem mass spectrometry. Serum 25(OH)D, vitamin D2 and vitamin D3 were conducted in Ren Ji Hospital while only 25(OH)D was conducted in Xin Hua Hospital. Low vitamin D status was defined as serum 25(OH)D level < 20 ng/ml [28] or sum of serum vitamin D3 and vitamin D2 level < 20 ng/ml [29] in the absence of 25(OH)D measurement.

To avoid the effects of hypoalbuminemia on serum level of calcium, albumin-corrected calcium was applied for further analysis, which was calculated as the following equation: serum total calcium (mmol/L) + 0.8×[40-serum albumin (g/L)] [30]. Liver injury was determined as any of the following: ALT (≥120 U/L), AST (≥150 U/L), ALP (≥250 U/L), γ-GT (≥100 U/L), or TBIL (≥34.2 μmol/L) [31].

Anemia was determined if serum level of hemoglobin was less than 120 g/L in males or less than 110 g/L in females [32]. Dyslipidemia was determined if one of the following criteria was met: serum TC ≥ 6.2 mmol/L, TG ≥ 2.3 mmol/L, LDL-C ≥ 4.1 mmol/L, or HDL-C < 1.0 mmol/L [33].

Missing data

In our study, there were 31 (0.1%), 30 (0.1%), 33 (0.1%), 263 (1.1%), 33 (0.1%), 263 (2.2%), 371 (1.6%), 1,311 (5.6%), 109 (0.5%), 1,524 (6.5%), 475 (2%), 859 (3.7%), 1,031 (4.4%), 690 (2.9%), 691 (3%), 707 (5.1%), 676 (2.9) and 264 (0.8%) patients with missing data for ALT, AST, ALP, γ-GT, TBIL, DBIL, sodium, calcium, magnesium, chloride, albumin, prealbumin, FBG, TC, TG, LDL-C, HDL-C, WBC and hemoglobin, respectively. Multiple imputations were performed for all the above missing data using chained equation via SPSS in this study. The results with and without multiple imputation were similar (displayed in the Supplemental files). Therefore, we reported the results using origin data.

Statistics analysis

Continuous variables were tested with the Shapiro-Wilk test for the normality of the distribution and were expressed as the mean±standard deviation (SD) in normal distribution or the median and interquartile range if in abnormal distribution. One-way analysis of variance or the Mann-Whitney U test was performed for comparisons of continuous variables among groups. Categorical variables were described as a number with percentages and were compared using the χ2-test or Fisher exact test.

We performed stepwise regression models to evaluate the association between phosphate categories and LOS. A univariate regression model was analyzed to recruit the risk factors for LOS (Supplemental Table 2), and variables with p < 0.1 on univariate analysis were further entering into the multivariate regression model. We used three models to adjust potential confounders. Model 1: adjustment of sex and age (“18–45 y”, “45–65 y” or “≥65 y”); model 2: adjustment of variables in model 1 and further CCI (“0”, “1–2”, or “≥3”), surgery (“no” vs. “yes”), hospital (Ren Ji Hospital vs. Xin Hua hospital), LOS (adjusted for mortality) (“<7 days”, “7–13 days” or. “≥14 days”), and BMI (“<18.5 kg/m2”, “18.5–24 kg/m2”, or “≥24 kg/m2”); model 3: adjustment of variables in model 2 and further serum level of eGFR-EPI (“30–60 ml/min/1.73m2”, “60–90 ml/min/1.73m2”, or “≥90 ml/min/1.73m2”), vitamin D status (“normal” vs. “low”), calcium (“<2.25 mmol/L”, “2.25–2.75 mmol/L”, or “≥2.75 mmol/L”), magnesium (“<0.75 mmol/L” vs.“≥0.75 mmol/L”), sodium (“<135 mmol/L”, “135–145 mmol/L”, or “≥145 mmol/L”), chloride (“<96 mmol/L”, “96–108 mmol/L”, or “≥108 mmol/L”), albumin (“≥35 g/L” vs. “<35 g/L”), pre-albumin (“≥160 mg/dL” vs. “<160 mg/dL”), anemia (“no” vs. “yes”), liver injury (“no” vs. “yes”), dyslipidemia (“no” vs. “yes”), fasting blood glucose (for mortality) (“<3.5mmol/L”, “3.5-7mmol/L”, or “≥7mmol/L”), and white blood cell count (“<10 × 109/ml” vs. “≥10 × 109/ml”).

We also examined the non-linear relationship between serum phosphate level as continuous variable and LOS using a restricted cubic spline in fully-adjusted model, and confirmed the inflection point if a non-linear relationship existed. Moreover, a two-piecewise linear regression analysis was performed on both sides of the inflection point on the association between each 0.1mmol/L change in serum phosphate level and LOS.

To test the robustness of main results of association between serum phosphate levels and LOS, we performed multiple sensitivity analyses: [1] excluding patients with CCI of 3 points or more (n = 3,070) [34]; [2] excluding patients whose eGFR-EPI < 60 ml/1.73m2 (n = 2,348) [35]; [3] excluding patients whose BMI ≥ 24 kg/m2 (n = 9,587) or BMI < 18.5 kg/m2 (n = 1,835) [36, 37]; [4] excluding patients with low vitamin D status (n = 15,924) [38]; [5] excluding patients whose hospital LOS ≥ 30 days (n = 742); [6] excluding patients whose serum phosphate were not tested within 24 h (n = 3,330).

Subgroup analyses were performed for the stratification factors by introducing an interaction term with LOS. Patients were sub-grouped by sex (“male” vs. “female”), age (“18–45 y”, “45–65 y”, or “≥65”), hospital (Ren Ji Hospital vs. Xin Hua Hospital), CCI (“0”, “1–2”, or “≥3”), serum albumin (“≥35 g/L” vs. “<35 g/L”), prealbumin (“≥160 mg/L” vs. “<160 mg/L”), magnesium (“<0.75 mmol/L” vs. “≥0.75 mmol/L”), and vitamin D status (“normal” vs. “low”).

Moreover, multivariate logistic regression analysis was performed to evaluate the association between serum phosphate categories and in-hospital mortality in fully adjusted model.

All the data were analyzed by SPSS (version 21.0, IBM Corp) and R statistical software tools (http://www.r-project.org, The R Foundation) was used to figure out non-linear relationship. P value of < 0.05 was considered as statistical significance.

Results

Baseline clinical characteristics of the study population

We finally included a total number of 23,479 patients (14,073 males and 9,406 females, 57.7 ± 16.8 years) in the study. The median of serum phosphate level was 1.14 mmol/L (interquartile range: 1.01 mmol/L, 1.27 mmol/L) and the prevalence of hypophosphatemia was 4.74% (1,112/23,479). Serum level of phosphate was associated with all the baseline characteristics except for ALT (Table 1). The prevalence of phosphate abnormality in patients with different diseases was shown in Supplemental Fig. 1.

Table 1 Baseline characteristics of 23,479 Chinese adult inpatients included

The association between serum levels of phosphate and LOS

The medium of LOS was 7 days (interquartile range: 4 days, 10 days) in the current study population. An “L-shaped” relationship between serum levels of phosphate and LOS was determined by cubic spine analysis, with a log-likelihood ratio test of P < 0.001 (Supplemental Fig. 2). The inflection point of serum phosphate level was 1.16 mmol/L.

Compared with patients in G4, patients in G1, G2 or G3 were significantly associated with longer LOS after adjustment of all potential confounders [G1: β = 4.79, 95% confidence interval (CI): 3.47, 6.10; G2: β = 1.84, 95% CI: 0.94, 2.73; G3: β = 0.44, 95% CI: 0.1, 0.78, respectively]. But no significant association with LOS was found in patients in G5 in the fully-adjusted model (Table 2).

Table 2 The association between serum level of phosphate and LOS

Each 0.1 mmol/L decrease in serum phosphate level to the left side of the inflection point led to 0.64 days increase in LOS (95% CI: 0.46, 0.81; p for trend < 0.001) in a fully-adjusted model. However, no significant difference between each 0.1 mmol/L increase in serum phosphate level and LOS if serum levels of phosphate ≥ 1.16 mmol/L.

Sensitivity analysis generated similar results to the main results (Table 3).

Table 3 The association between serum level of phosphate and LOS: sensitivity analysis

Subgroup analysis demonstrated that the association between hypophosphatemia and LOS was stronger among elderly patients older than 65 years and patients with severe comorbid condition (CCI ≥ 3). Such significant association was only found in patients with normal albumin or prealbumin concentration (Supplemental Table 3).

The association between serum levels of phosphate and in-hospital mortality

The prevalence of all-cause mortality was 0.5% (111/23,479). Multivariable logistic regression analysis showed that adjusted all-cause in-hospital mortality was 3.08-fold greater in patients in G1 than those in G4 [odd ratio (OR) 95% CI: 1.52, 6.25; p for trend = 0.001] (Table 4). Furthermore, each 0.1 mmol/L decrease in serum phosphate increased the risk of in-hospital mortality by 11% (adjusted OR = 1.11, 95% CI: 1.03, 1.2). However, hyperphosphatemia was not significantly associated with in-hospital mortality (Table 4).

Table 4 The association between serum level of phosphate and in-hospital mortality: multivariate logistic regression

Discussion

In this current retrospective study based on real-world data, the prevalence of hypophosphatemia and hyperphosphatemia were 4.74% and 7.01%, respectively. An “L-shaped” non-linear relationship between admission phosphate levels and LOS was demonstrated with the inflection point of 1.16mmol/L. Serum phosphate level < 1.16 mmol/L, but not hyperphosphatemia, was significantly associated with prolonged LOS after adjustment of age, sex, CCI, and other potential confounders. Each 0.1 mmol/L decrease in serum phosphate when iP < 1.16mmol/L could lead to 0.64 days increase in LOS regardless of disease severity. Besides, longer LOS could be observed in older patients with moderate-to-severe hypophosphatemia with severe comorbid condition (CCI ≥ 3 points) in the subgroup analysis, which could be partly explained by subsequent malnutrition [39], tubular dysfunction [40] and inflammation [39]. Interestingly, significant association between hypophosphatemia and prolonged LOS was only found in patients with normal albumin or prealbumin concentration, which brought forth the proposal of screen for hypophosphatemia in well-fed patients. Furthermore, only admission moderate-to-severe hypophosphatemia was an independent risk factor for all-cause mortality in adult patients in fully-adjusted model.

Main findings in previous studies

We found that limited studies have been focusing on the association between admission hypophosphatemia and adverse outcomes in general inpatients regardless of disease severity, as most of studies were performed in critically ill patients.

To date, most of previous studies addressed that hyperphosphatemia at admission could be an independent risk factor for mortality in critical illness [14, 15, 17, 18, 41,42,43]. On the contrary, the association between hypophosphatemia and clinical outcome was inconsistent in recent studies. Broman et al. [44] conducted a large retrospective observational study including 4,656 patients at combined ICU in Sweden and found out no significant association could be observed between hypophosphatemia and ICU mortality or hospital mortality, even taking different criteria of hypophosphatemia (iP < 0.5, 0.3, or 0.2 mmol/L, respectively) and the duration of hypophosphatemia into account, which was consistent with a recent meta-analysis including 12 studies with 7,626 ICU patients [21] and other studies with large sample size [7, 45,46,47]. Meanwhile, Wang et al. [48] studied 946 general ICU patients in China and reported that hypophosphatemia was an independent risk factor for 28-day ICU mortality (adjusted OR = 1.5, 95% CI: 1.1, 2.1, p = 0.01), which was consistent with the results from another retrospective cohort including 13,155 ICU patients [16]. Another study on 9,691 sepsis patients from MIMIC-IV cohort brought out the unique result that hypophosphatemia on the second day might be independently associated with reduced 28-day mortality and act as a protective factor [41]. Furthermore, several studies demonstrated significant associations between hypophosphatemia and prolonged LOS in hospital [21] or in ICU [21, 44], but few didn’t [47].

As far as we know, only two studies were performed in general hospitalized patients and generated the results quite different from our study. Both of studies demonstrated a “J-shaped” relationship between admission phosphate and in-hospital mortality [24, 25]. One study including 42,336 adult inpatients admitted to Mayo Clinic between 2009 and 2013, patients with hyperphosphatemia (G6: iP≥1.52mmol/L) had a higher risk of death than those with hypophosphatemia (G1: iP < 0.78mmol/L) (G1: OR = 1.6, 95%CI, 1.25 to 2.05; G6: OR = 3.89, 95%CI, 3.2 to 4.74, respectively) compared with patients with normophosphatemia (G3: iP 1-1.16mmol/L) [24]. Another study performed in inpatients with infectious diseases showed that only hyperphosphatemia was associated with a slight increase of 0.33 days in LOS but not mortality, and no significant association between hypophosphatemia and mortality could be observed [25].

Possible reasons for difference between our research and previous studies

[1]. Varied definitions of phosphate abnormality: the cut-off value for hypophosphatemia varied from 0.6 to 1.09 mmol/L [7, 14, 15, 18, 24, 44], and the cut-off value for hyperphosphatemia varied from 1.23 to 1.94mmol/L [15, 18, 24, 44, 49]. Besides, some studies used the lowest or highest quartile of serum phosphate as the low or high phosphate level [50]. As normal serum phosphate levels ranged from 0.8 to 1.45mmol/L in adults and inflection point of 1.16mmol/L in serum phosphate level was observed in our study, hypophosphatemia and hyperphosphatemia were defined as serum phosphate level < 0.8mmol/L (G1 and G2) and ≥1.45mmol/L (G5), respectively, and G4 (iP 1.16-1.45mmol/L) was regarded as reference.

[2]. Different study populations: as most of the previous studies were performed in critically ill patients [7, 16, 44, 48], or trauma patients [50] or sepsis patients [14, 18, 49], the effects of admission hypophosphatemia on mortality or other adverse outcomes could be easily concealed or eliminated by the severity of diseases.

[3]. Severity of hypophosphatemia: we categorized patients into 5 groups according to serum levels of phosphate, among which G1 was regarded as moderate-to-severe hypophosphate (iP < 0.64 mmol/L) and G2 was regarded as mild hypophosphate (iP 0.64–0.8 mmol/L) [27]. Compared to G4 (iP 1.16–1.45 mmol/L), serum phosphate level < 1.16 mmol/L was significantly associated with longer LOS. Although the prevalence of moderate-to-severe hypophosphatemia was only 1.5%, it acted as the strongest predictor for risk of death and prolonged LOS regardless of disease severity. The reason for such phosphate abnormality included short-term diet restriction, malnutrition, and disease severity.

[4]. Exclusion of patients with impaired renal function: as serum phosphate levels were shown as non-linear association with eGFR-EPI with the inflecion point as 30 ml/min/1.73m2 in a Japanese cohort [35], serum phosphate level was negatively associated with eGFR-EPI when it below 30 ml/min/1.73m2. Considering the mixed effect of hormone change, medication or RRT along with the impaired renal function on the association between serum phosphate and adverse outcome, we excluded those patients with eGFR-EPI < 30 ml/1.73m2 or history of end-stage renal disease, therefore the number of patients with hyperphosphatemia may decrease and the adverse effect of hyperphosphatemia could be underestimated. The reason for different conclusion between our study and previous studies performed in general inpatients may partly lie in that they didn’t exclude patients with impaired renal function, so that the effects of hyperphosphatemia on adverse clinical outcomes could be observed.

Strengths and limitation of our study

The strengths of our study included that it was a multi-center retrospective cohort study based on real-world data which could ensure a large sample size, with a full adjustment of many important confounders including phosphate metabolism-related parameters (serum level of calcium and vitamin D) and severity of disease (CCI). More importantly, we offered the evidence that maintaining upper-to-normal-limit of serum phosphate may help to lower the probability of adverse outcomes such as prolonged LOS or risk of death in hospital. However, our study had several limitations. Firstly, the design of retrospective cross-sectional study limited the evidence level. Besides, missing data were common because of real-world data extracted from the electronic medical record system. Excluding those with missing data might lead to selection bias. Secondly, exclusion of patients whose eGFR-EPI < 30 ml/1.73m2 or those with history of end-stage renal disease would decrease the number of patients with hyperphosphatemia and underestimate its adverse effect on mortality and LOS. Thirdly, there was still a lack of information on several elements in the complex interplay linking serum phosphate level and mortality such as Corona Virus Disease 2019 (COVID-19) [51] and phosphate-regulating hormones including parathyroid hormone (PTH) and fibroblast growth factor-23 (FGF-23) [20]. Finally, we didn’t collect the information regarding the etiology of phosphate abnormalities (such as dietary intake before hospitalization, gastrointestinal symptoms, proteinuria, body composition related to phosphorus distribution, or medication affecting phosphate metabolism), patterns of phosphate abnormalities (chronic, acute or transient), intervention of phosphate abnormalities and changes in serum phosphate during hospitalization. A well-designed prospective study on the association between individualized phosphate repletion therapy or phosphorus fluctuation model and outcome was necessary to duplicate our results.

Conclusions

The overall prevalence of hypophosphatemia was 4.74%. Moderate-to-severe hypophosphatemia, but not hyperphosphatemia, was an independent risk factor for prolonged LOS and all-cause mortality regardless of disease severity. Regular monitoring and maintaining an optimal range of serum phosphate levels might be helpful for inpatients to reduce the risk of bad clinical outcomes.