Introduction

Liver cirrhosis represents a major global health challenge, with an estimated prevalence exceeding 100 million cases worldwide and causing approximately 2 million deaths annually, ranking as the 11th leading cause of global mortality1. In China alone, over 4 million cirrhosis cases are primarily driven by chronic hepatitis B virus (HBV) infection, though metabolic dysfunction-associated fatty liver disease (MAFLD) is emerging as a significant contributor2. The United States bears a substantial economic burden, with annual direct medical costs and indirect losses surpassing $32.5 billion3. Clinically, cirrhosis progresses from compensated to decompensated stages, manifesting life-threatening complications including portal hypertension, hepatic encephalopathy, and hepatocellular carcinoma (HCC), which severely compromise patients’ quality of life and survival4. Model for End-Stage Liver Disease 3.0 (MELD 3.0) Integrating gender, bilirubin, serum sodium, and coagulation for assessing the severity and prognosis of patients with cirrhosis has shown superior discriminatory ability in previous studies5,6. But its performance is still suboptimal.

The pan-immune-inflammation value (PIV), calculated from neutrophil, platelet, monocyte, and lymphocyte counts, serves as a comprehensive biomarker of systemic immune-inflammatory activation with established prognostic value in malignancies and chronic diseases7. Emerging evidence demonstrates its clinical utility across diverse conditions: a U.S. cohort study revealed PIV’s predictive capacity for rheumatoid arthritis risk while highlighting its nonlinear association with mortality8. Furthermore, PIV independently correlates with mortality in hypertension, sepsis, and diabetes patients8,9,10. In gastrointestinal disorders, elevated PIV predicts poorer survival in colorectal cancer, suggesting its potential as a noninvasive marker for hepatic inflammation and fibrosis11. However, its application in cirrhosis, particularly for etiology stratification and decompensation prediction, remains insufficiently explored, representing a critical knowledge gap in hepatology research.

Leveraging data from the MIMIC-IV database and Chinese hospitals, this study aims to evaluate the prognostic value of PIV in predicting mortality risk among cirrhotic patients, addressing critical limitations of existing models such as MELD 3.0. We hypothesize that PIV, as a systemic inflammatory marker, will significantly enhance both short-term (28-day) and long-term (365-day) mortality prediction accuracy. By integrating PIV with MELD 3.0, our findings are expected to establish a more robust risk stratification system for critically ill cirrhotic patients, potentially improving clinical decision-making and patient outcomes.

Methods

Study population

The MIMIC-IV database is a comprehensive, publicly available dataset containing de-identified health records from patients admitted to the intensive care units of Beth Israel Deaconess Medical Center12. It includes detailed clinical data such as demographics, laboratory results, vital signs, and treatment information. This database serves as a valuable resource for medical research, enabling studies on various critical illnesses and their management. By providing access to a large volume of high-quality data, MIMIC-IV supports the development of predictive models and the evaluation of clinical practices. One of the authors (Chengdong You) obtained access to the database and required data (Record ID: 62259600). Approval from the institutional review board was not required because the data were de-identified.

Our research group included patients diagnosed with cirrhosis, identified from the MIMIC database using ICD-9 or ICD-10 codes (ICD-9: 5712, 5715, and 5716, ICD-10: K703, K7030, K7031, K741, K742, K743, K744, K746, K7460, and K7469). The criteria for exclusion were: (1) age less than 18 years; (2) patients who are not first-time ICU admissions; and (3) absence of key laboratory values required to calculate PIV, including platelet count, neutrophil count, lymphocyte count, and monocyte count. The final study cohort consisted of 2,399 patients (Fig. 1). These participants served as the derivation cohort in the study.

Fig. 1
figure 1

Flowchart of the study.

Data collection

Data extraction and processing were performed using PostgreSQL (version 16.0) with Structured Query Language (SQL), encompassing demographic characteristics (age, gender), vital signs [respiratory rate, temperature, systolic blood pressure (SBP), diastolic blood pressure (DBP), heart rate, saturation of peripheral oxygen(SpO₂)], laboratory tests [sodium (Na), potassium (K), calcium (Ca), anion gap (AG), lactate (Lac), blood urea nitrogen (BUN), glucose, creatinine (Cr), alkaline phosphatase (ALP), international normalized ratio (INR), lactate dehydrogenase (LDH), red blood cell count (RBC), platelet (PLT), red cell distribution width (RDW), total bilirubin (TB), and albumin (ALB)], comorbidities [hypertension, diabetes, hyperlipidemia (HLP), myocardial infarction (MI), malignant tumor, renal diseases, respiratory failure, and sepsis), and interventions/scoring systems (CRRT, liver transplantation, MELD 3.0, and SOFA). The MELD 3.0 score was calculated using its validated formula incorporating complex nonlinear relationships and interaction terms among gender, TB, INR, Cr, Na, and ALB. Calculators for MELD 3.0 are available at https://medcalculators.stanford.edu/meld. All laboratory and vital sign variables were extracted from the first available values obtained within 0–24 h after the patient’s admission to ICU as the baseline.

Variables with more than 20% missing values were excluded (Supplementary Table 1). Two data imputation methods, including the random forest algorithm and the 20-fold multiple imputation by chained equations (MICE), were employed to handle missing data.

Exposure and outcome

PIV was calculated using the following formula based on complete blood count parameters:

$$\:\text{P}\text{IV}\text{\:=}\text{log(}\frac{\text{neutrop}\text{h}\text{il}\text{}\text{count}\text{}\text{}{\text{10}}^{\text{9}}\text{/}\text{L}\text{}\text{monocyte}\text{}\text{count}\text{}{\text{10}}^{\text{9}}\text{/}\text{L}\text{}\text{platelet}\text{}\text{count}\text{}{\text{10}}^{\text{9}}\text{/}\text{L}}{\text{lymp}\text{h}\text{ocyte}\text{}\text{count}\text{}{\text{10}}^{\text{9}}\text{/}\text{L}}$$

Due to the skewed distribution and outliers of the PIV, a natural logarithmic transformation (Log PIV) was applied prior to analysis, and participants whose calculated PIV values deviated by more than three standard deviations from the mean were excluded (Supplementary Fig. 1).

The primary endpoint of this study was 28-day all-cause mortality, while the secondary endpoint focused on 365-day mortality outcomes. Censoring is defined as patients who were still alive at the time of the last follow-up.

External validation

This study collected data from patients diagnosed with cirrhosis at the People’s Hospital of Xiushan County between June 2023 and May 2024. The outcome measure was all-cause mortality within 365 days, ascertained through telephone follow-up. Exclusion criteria included: (1) participants with missing PIV data, and (2) cases with undetermined 365-day mortality status. A total of 356 cirrhotic patients were ultimately included. The study protocol was approved by the Ethics Committee of People’s Hospital of Xiushan County (Approval No: 2025XYLL005).

Statistic analysis

Continuous variables were expressed as mean ± standard deviation (normally distributed) or median with interquartile range (non-normally distributed), while categorical variables were presented as frequencies (%). Group comparisons were performed using Student’s t-test, Mann-Whitney U test, or Chi-square test as appropriate. Kaplan-Meier curves and log-rank tests were used in survival analysis to compare prognosis among different PIV quartiles.

After evaluating the proportional hazards assumption, multivariate Cox proportional hazards models were employed with three sequential adjustments to assess the association between PIV and mortality in critically ill patients with cirrhosis: Model 1 (unadjusted), Model 2 (adjusted for demographics and vital signs), and Model 3 (further adjusted for comorbidities, laboratory measures, and interventions). Restricted cubic splines (RCS) with four knots (5th、35th、65th、95th percentiles) were employed to visualize the dose-response relationship between PIV and mortality risk. Predictive performance was assessed through time-dependent receiver operating characteristic (ROC) analysis, comparing the combined PIV + MELD 3.0 model against individual indicators. In addition, Net Reclassification Improvement (NRI) and Integrated Discrimination Improvement (IDI) were used to evaluate the incremental predictive value of MELD 3.0 + PIV for mortality risk. Subsequently, calibration curves and clinical decision curve analysis (DCA) were employed to evaluate the accuracy and clinical net benefit of different models in predicting mortality risk. Subgroup analyses and sensitivity analyses were performed to validate the robustness. Finally, we further validated the association between PIV and the 365-day mortality rate in patients with cirrhosis in the external validation.

R software (version 4.3.2) was used for all statistical analyses, and a two-tailed P-value of less than 0.05 was deemed statistically significant.

Results

Baseline information

This study enrolled a total of 2,399 critically ill patients with cirrhosis, of whom 1,530 were male and 869 were female (Table 1). Patients were divided into groups according to PIV quartiles (Q1-Q4). Patients in the highest quartile (Q4) were older, had higher respiratory rates, and heart rates and lower SBP and SpO₂ levels. Comorbidities such as hypertension, HLP, MI, respiratory failure, and sepsis were more prevalent in Q4. Laboratory test results revealed varying degrees of metabolic disturbances across different PIV quartiles, including elevated K, lactate, anion gap, BUN, Cr, ALP, and TB in Q4. Conversely, albumin levels decreased with increasing PIV. In addition, patients in the Q4 group used CRRT more frequently, received less liver transplantation treatment, and had higher MELD 3.0 scores. The differences in mortality rates among patients with varying PIV levels were also quite pronounced. The 28-day mortality rate for patients in the Q4 group was 2.2 times that of the Q1 group, and a similar trend was observed for the 365-day mortality rate.

Table 1 Baseline characteristics of critically ill patients with cirrhosis grouped by PIV quartiles.

Association between PIV and all-cause mortality in critically ill patients with liver cirrhosis

Kaplan-Meier survival analyses comparing all-cause mortality across patients stratified by PIV quartiles (Q1-Q4) were conducted (Fig. 2). Compared with groups having lower quartiles, the group with the highest PIV values (Q4) had significantly lower probabilities of survival at both the 28-day and 365-day follow-ups (log-rank P < 0.05).

Fig. 2
figure 2

KM survival analysis curves. (A) Comparison of all-cause mortality between groups at 28 days; (B) Comparison of mortality between groups at 365 days.

To comprehensively evaluate the independent prognostic value of PIV in critically ill patients with cirrhosis, we constructed three adjusted Cox proportional hazards models (Table 2& Supplementary Table 2). For 28-day mortality, each 1-unit increase in PIV was associated with an increased risk across all models [Model 1: HR = 1.20 (1.15–1.26); Model 2: HR = 1.15 (1.10–1.20); Model 3: HR = 1.07 (1.02–1.12), all P < 0.05]. When analyzed by quartiles, patients in Q4 had a higher risk of death compared to those in Q1 by 2.51 times (Model 1), 2.02 times (Model 2), and 1.51 times (Model 3) (all P < 0.001). A similar pattern was observed for 365-day mortality, with PIV retaining independent predictive value after full adjustment [Model 3: HR = 1.04 (1.01–1.08), P = 0.021].

Table 2 Multivariate Cox proportional hazards modeling of 28- and 365-day all-cause mortality.

RCS analysis of the association between PIV and all-cause mortality

In Fig. 3, RCS analysis revealed a significant non-linear relationship between PIV levels and the risk of death (non-linear P for both endpoints was less than 0.05). For 28-day mortality, when PIV values were low, the change in mortality risk with increasing PIV was not very pronounced. However, once the PIV exceeds this range, there is a significant mortality response (non-linear P = 0.017). Similarly, for 365-day mortality, a risk association that was initially gradual and then steep was also observed within the range of PIV values (non-linear P = 0.048). Additionally, threshold-effect analyses identified a cutoff of 3.33 for the association between PIV and 28-day mortality and a cutoff of 3.13 for its association with 365-day mortality (Supplementary Tables 3 & 4).

Fig. 3
figure 3

RCS regression analysis of the PIV and 28-day (A) and 365-day (B) all-cause mortality.

The incremental value of PIV in predicting mortality

As illustrated in Fig. 4, the MELD 3.0 + PIV composite score consistently demonstrated superior predictive performance in terms of both short-term (0–28 days) and long-term (0-365 days) mortality compared to the individual PIV or MELD 3.0 models. Time-dependent AUC analysis indicated that MELD 3.0 + PIV maintained strong discriminative power during both periods, outperforming the predictive capabilities of PIV or MELD 3.0 alone. Additionally, ROC curve analysis further corroborated these findings: MELD 3.0 + PIV achieved near-optimal discrimination for 28-day mortality (AUC%=69.5, 95% CI: 0.68–0.71), surpassing that of MELD 3.0 alone (AUC%=68.6, 95% CI: 0.69–0.70). This performance gap persisted for the 365-day outcome. In addition, compared to individual models, MELD 3.0 + PIV significantly improved reclassification and discriminative ability in Table 3: 28-day/365-day NRI increased by 0.265 and 0.265 respectively, IDI increased by 0.065 and 0.056 respectively (all P < 0.001, Table 3).

Fig. 4
figure 4

Time-dependent AUC and AUC ROC curves for predicting all-cause mortality at 28-day (A, and C) and 365-day (B, and D).

Table 3 Added the predictive ability and reclassification statistics of PIV or MELD 3.0.

Additionally, the combined model of PIV and MELD 3.0 demonstrates superior comprehensive predictive performance and clinical net benefit compared to either model used alone (Supplementary Figs. 2 & 3).

Subgroup analysis

In terms of 28-day all-cause mortality, the prognostic impact of PIV showed similar effects in the major clinical subgroups (Fig. 5). In the vast majority of patients, PIV remained positively associated with all-cause mortality in critically ill patients with cirrhosis (HR > 1.00). Interaction tests suggested that no significant interaction effects were found (P > 0.05 for all interaction effects). Similar findings were obtained in the 365-day mortality analysis (Supplementary Fig. 4), and these results suggest that the positive association between PIV and critically ill patients with cirrhosis was robust at the time.

Fig. 5
figure 5

Subgroup analysis of the association between PIV and 28-day all-cause mortality in cirrhotic patients with different clinical characteristics.

Sensitivity analysis

Sensitivity analyses showed a strong correlation between PIV and the risk of death (Supplementary Tables 5, 6 & 7). After excluding cases of early death (≤ 7 days), PIV still had significant predictive value for 28-day mortality (Model 3 h = 1.09, 95% CI = 1.02–1.16, P = 0.006) and 365-day mortality (HR = 1.05, 95% CI = 1.01–1.10, P = 0.024). Similar results were observed after excluding malignant tumor cases and performing MICE imputation, with PIV-Q4 demonstrating a strong positive association with mortality risk.

External validation

Finally, we conducted external validation using the database from Chinese hospitals. In the validation cohort, the baseline characteristics of patients across different PIV groups also demonstrated significant differences. Moreover, no significant differences were observed in the vast majority of clinical characteristics between the derivation and validation cohorts (Supplementary Tables 8 & 9).

Additionally, results from the multivariate Cox regression analysis demonstrated that the association between PIV and 365-day all-cause mortality remained statistically significant (Supplementary Tables 10 and Supplementary Fig. 5). In the fully adjusted model, a one-unit increase in PIV was associated with a 17% increased risk of mortality among critically ill patients with cirrhosis (95% CI = 1.06–1.30). Moreover, time-dependent AUC and ROC curves further confirmed that the predictive ability of PIV combined with MELD 3.0 for mortality in patients with cirrhosis was superior to that of PIV or MELD 3.0 alone. In terms of 365-day mortality risk, the external validation cohort also confirmed the significant advantage of the PIV + MELD 3.0 combined model (Supplementary Figs. 6 & 7).

Discussion

This study reveals a J-shaped relationship between PIV and all-cause mortality in critically ill patients with cirrhosis. By integrating PIV with the MELD 3.0 model, the predictive efficacy for mortality risk in cirrhosis patients is significantly enhanced, offering a more robust tool for early identification of high-risk individuals, particularly for short-term (28-day) and long-term (365-day) outcomes. These findings underscore the potential of PIV as a cost-effective, non-invasive biomarker to improve cirrhosis prognosis and alleviate healthcare burden.

Recently, there have been notable developments in understanding prognostic factors for individuals with cirrhosis. New biomarkers such as IL-6, uNGAL, and copeptin have shown excellent performance in predicting 90-day mortality risk, while a blood urea nitrogen/creatinine ratio (BCR > 27) can increase the risk of 180-day mortality by 45%13,14,15,16. In terms of nutritional indicators, the prognostic nutritional index has an AUC of 0.684 for predicting 3-month mortality and an AUC of 0.698 for predicting 6-month mortality in patients with hepatic encephalopathy17. Additionally, in the iteration of scoring systems, MELD 3.0, with a cutoff value of 18, has improved the AUC for predicting 2-year mortality to 0.783, significantly better than the traditional MELD (P < 0.05)18; the GEMA-Na score, through its gender-equitable design, achieves an AUC of 0.807 for female patients. Our study, for the first time, explores the association between PIV, an inflammatory marker, and mortality in critically ill patients with cirrhosis. Further results show that combining PIV with MELD 3.0 significantly outperforms the predictive capabilities of the two individual indicators. This finding will effectively promote the development of cirrhosis prognostic assessment from single indicators to multidimensional integration, providing more precise tools for clinical decision-making.

The elevation of PIV reflects excessive activation of the systemic immune system, which can lead to severe immune dysregulation in patients with cirrhosis19. This immune dysregulation not only weakens the patients’ defense against pathogens but also may trigger autoimmune reactions, further exacerbating hepatocyte damage and liver function deterioration, thereby increasing the risk of death20,21. Moreover, the increase in PIV is closely related to systemic inflammatory response, which can cause systemic vasodilation, hemodynamic instability, and multi-organ dysfunction, affecting vital organs such as the kidneys, heart, and lungs, and leading to severe complications like hepatorenal syndrome, cardiac insufficiency, and respiratory failure, significantly increasing the risk of death22,23,24. Meanwhile, the increase in inflammation is closely associated with the exacerbation of portal hypertension, which further intensifies portal hypertension, leading to complications such as esophageal variceal rupture, bleeding, and refractory ascites, significantly increasing the risk of death25,26. Therefore, the elevation of PIV can increase the risk of death in patients with cirrhosis through multiple mechanisms. These mechanisms interact with each other, jointly leading to the deterioration of the condition and the increase in the risk of death in patients with cirrhosis.

Certainly, several limitations in this study need to be clarified. Firstly, the study sample was predominantly sourced from patients with cirrhosis at one medical center, which may result in selection bias and restrict the generalization of the results to other groups. Second, the retrospective study design may lead to the absence of key clinical data and make it difficult to fully control for potential confounding factors. Third, as a dynamic inflammatory marker, PIV levels are susceptible to short-term factors such as acute infections and pharmacological interventions, which may affect the stability of the predictive model. Fourth, cirrhosis in this study was identified through ICD-9/10 coding, which may involve potential misclassifications. Fifth, the study did not conduct a competing risk analysis. Finally, the study mainly relied on the correlation analysis of laboratory indicators in critically ill patients with cirrhosis, lacking imaging data and other information to further elucidate the predictive role of PIV. Future research should further validate these findings through multicenter prospective cohort studies and integrate multi-omics analyses to explore the pathophysiological mechanisms of PIV in depth, thereby enhancing its application value in clinical practice.

Conclusion

In critically ill patients with cirrhosis, PIV showed a J-shaped association with their 28- and 365-day risk of death, and PIV combined with MELD 3.0 predicted the risk of death better than either PIV or MELD 3.0 alone. The study suggests that PIV might serve as a potential early risk assessment marker, but further prospective proportional-control studies are necessary to confirm the reliability of these findings.