Introduction

As antiretroviral therapy (ART) continues to be promoted and optimized, mortality associated with HIV/AIDS has decreased. In China, although the number of HIV-related deaths increased from 5,485 in 2007 to 18,737 in 2019, the overall morality rate decrease from 10.9 to 4.3% [1].As a chronic disease, HIV/AIDS is widely recognized as manageable worldwide [2]. In some cases, life expectancy for with HIV (PWH) on ART is estimated to be close to that of the general population, but ART failure and death are still relatively common among PWH who have low CD4 cell count at baseline (pre-ART).

When PWH have low CD4 cell counts, AIDS, opportunistic infections, or death are more likely to occur. It provides essential evidence to assess the efficacy of ART and immune reconstitution and was once an important indicator for initiating ART [3]. Experts from different eras have different recommendations on when to start ART in PWH. ART eligibility according to Chinese Guidelines [4,5,6] has expanded from initiation at CD4 < 200 cells/µl in 2005 to a universal “treat-all” approach in 2021. Overall, there is an increasing tendency to actively initiate ART to protect patients from severe immune failure. Meanwhile, the Department of Health and Human Services (DHHS) and the European AIDS Clinical Society (EACS) guidelines also recommend that clinicians should initiate ART immediately, regardless of the baseline CD4 cell count [7, 8]. Although recent versions of guidelines in a number of countries recommend immediate initiation of ART for HIV/AIDS, the previous recommendations have had a noticeable impact on the timing of ART initiation and CD4 cell counts in PWH over the past two decades. The PWH included in this study initiated ART at different stages and their CD4 cell counts varied widely, which is of good research value.

Data from studies suggest that PWH with a pre-ART baseline CD4 of > 500 cells/µl may have a lower risk of death [9]. Meanwhile, studies have shown that there was a higher mortality rate among patients with lower baseline CD4 counts [10]. Several studies have also confirmed the important role of CD4 cells in helping PWH to defend against tuberculosis [11, 12], or in measuring the size of their HIV reservoirs and accessing the degree of immune failure, immune activation status, prognosis, and risk of non-AIDS-related inflammation [13,14,15]. However, it is unclear whether and to what extent there is also an effect of CD4 peak during the ART process on the survival status of PWH.

We used data from the Chinese National HIV Drug Resistance Surveillance and Monitoring Network since 2003 and the Yunnan Provincial Antiviral Therapy Assisted Management System since the establishment of the database in 2003. In addition, demographic characteristics and clinical characteristics are examined in relation to AIDS deaths, we focused on whether and to what extent the peak value of CD4 cell count affects mortality in PWH.

Materials and methods

Study population and data collection

This study is a retrospective cohort study of all 7965 PWH on ART from 2003 to 2022 at Yunnan Infectious Disease Hospital (the largest ART clinic in Yunnan Province). All PWH were diagnosed by enzyme-linked immunosorbent assay and western blot test. Viral load is a key indicator to assess the effectiveness of ART treatment. HIV-RNA testing is performed before ART treatment and every 3 months after ART treatment. Six-monthly follow-ups were provided to all patients, all participants were ARV-naïve at the time of their inclusion in the study, observations were stopped for patients who could not be followed up or discontinued ART. Patients who were lost, died, or no longer received ART during the 6-month follow-up period were excluded from the data.

Demographic information (sex, age, marital status, date of HIV diagnosis and ART initiation, survival status, and date of death), clinical characteristics, and peak CD4 cell counts were collected. Patients were classified into four groups (< 100, 100–199, 200–349, and 350–499 cells/µl) based on initial CD4 cell counts. 7965 patients were included, and data from 26 patients were excluded cause of logical errors. Data from 7939 patients were analyzed, including 7365 patients who survived and continued ART and 574 patients who died.

Definition of outcomes

Peak CD4 is defined as the highest CD4 cell count of the patient’s previous CD4 test results per PWH from the start of ART until the end of data collection in September 2022 (the cut-off for peak CD4 count for deceased patients was the date of death). Baseline CD4 cell count is a patient’s CD4 cell count prior to ART initiation. The most recent CD4 cell count is defined as the most recent CD4 cell count test result of the PWH through September 2022 (for deceased patients, the cut-off date is the date of death), hereafter referred to as the most recent CD4.

Statistical analysis

Descriptive statistics were used to analyze and compare categorical variables, and chi-squared tests were used to describe cohort characteristics. Univariate and multivariate Cox regression models were used to assess the association between covariates and mortality risk, with missing and logical error data removed. Variables associated with mortality included: sex (male or female), age, ART duration (</≥ 6 months), marital status (married or partnered, divorced, widowed, single, unknown), mode of transmission (mother-to-child transmission, injection drug users (IDUs), blood transfusion or blood product transmission, homosexual contact, heterosexual contact, unknown), CD4 cell peak count groups (< 100, 100–199, 200–349, 350–500 cells/µl). A p-value of less than 0.05 is considered statistically significant. All statistical analyses were performed using SPSS Statistics 20.

Results

Baseline characteristics

A total of 7965 PWH were included for ART from October 26, 2003 to September 7, 2022. As shown in Figs. 1 and 7939 patients were included in the multivariate Cox regression analysis, 574 (7.2%) died, 7365 (92.8%) survived and remained on ART, and 495 (6.2%) had virologic failure (HIV-RNA > 1000 copies/mL).

Fig. 1
figure 1

Study flow diagram

In this study, 5433 (68%) PWH were male. The median age was 44.5 years (IQR 35.7–52.6) with a range of 2.7 to 87.5 years. The mean duration of ART was 7.4 ± 4.24 years. 3169 (40%) subjects were 30–45 years old and 2910 (37%) were 45–60 years old. There were 5909 (74%) patients who started ART within six months after HIV diagnosis and 5385 (68%) patients who remained on ART for more than five years after initiation. Regarding marital status, 4015 (51%) participants were married or had regular sexual partners, and 2877 (36%) were single. Regarding the mode of transmission, 4043 (51%) cases were heterosexual contact, 1685 (21%) were homosexual contact, and 1036 (13%) were IDUs. Statistical analysis was performed by chi-squared test, and all P values were less than 0.05 (Table 1).

Table 1 demographic characteristics and clinical features of 7939 HIV/AIDS

Analysis of laboratory data

Chi-squared analysis was performed on the laboratory data of 7939 patients included in the study (baseline CD4: X2 = 164.705, P < 0.01; peak CD4: X2 = 1092.856, P < 0.01; most recent CD4: X2 = 1287.668, P < 0.01, Table 2), showing a significant difference in survival based on CD4 cell counts at different time points.

Table 2 CD4 cell counts at different times

Analysis of risk factors for mortality in PWH

In univariate Cox regression analysis, only peak CD4 was significantly associated with death and had a linear relationship with baseline CD4, peak CD4, and most recent CD4. Peak CD4 was then included in the multivariate survival analysis using the Cox regression model with other variables. After excluding confounders, three variables remained significantly associated with death, including male sex (hazard ratio (HR) = 1.268 [1.032, 1.559]; P = 0.024), time from HIV/AIDS confirmation to ART initiation ≥ 6 months (HR = 1.962 [1.631, 2.360]; P < 0.001), and peak CD4 count: CD4 < 100 cells/µL (HR = 16.093 [12.041, 21.508]; P < 0.001), 100 cells/µL ≤ x < 200 cells/µL (HR = 7.904 [6.148, 10.160]; P < 0.001), 200 cells/µL ≤ x < 350 cells/µL (HR = 3.166 [2.519, 3.980); P < 0.001), 350 cells/µL ≤ x < 500 cells/µL (HR = 1.668 [1.291, 2.155]; P < 0.001). The differences between the groups are shown in Table 3.

Table 3 Analysis of risk factors for death

Correlation between peak CD4 count and mortality in PWH

It was shown that the risk of death in PWH increased with a peak CD4 cell count < 500 cells/µl, and the risk of death increased with a lower peak CD4 cell count (Fig. 2). When the peak CD4 cell count reached or exceeded 500 cells/µl, the HR slowly decreased from 1 and the peak CD4 count became a protective factor for mortality in PWH. Also, as can be clearly seen from the hazard function plot of peak CD4 (Fig. 3), when patients were the same age and had low CD4 counts, their cumulative risk of death was higher.The cumulative risk of death from HIV/AIDS did not show a statistically significant difference among patients between the ages of 20 and 40, but these differences gradually became more significant among patients over the age of 40. Details are shown in Fig. 3.

Fig. 2
figure 2

Fit curve of peak CD4 and hazard ratio

Fig. 3
figure 3

Cumulative hazard function plot of Peak CD4

Discussions

This retrospective cohort study investigated the association between peak CD4 cell count and mortality in PWH. By analyzing the data of 7939 PWH included in this study, we found that peak CD4 cell count was associated with the risk of death in PWH. Peak CD4 < 100cells/µL group (HR = 16.093 [12.041, 21.508]; P < 0.001), 100cells/µL ≤ x < 200cells/µL group (HR = 7.904 [6.148, 10.160]; P < 0.001), 200cells/µL ≤ x < 350cells/µL group (HR = 3.166 [2.519, 3.980]; P < 0.001), 350cells/µL ≤ x < 500cells/µL group (HR = 1.668 [1.291, 2.155]; P < 0.001).

When analyzing the demographic and clinical characteristics of the patients, our results are consistent with the findings of Trickey A [16] and Ingle SM [17] et al. that sex, marital status, and age had an impact on patient mortality. However, the results of a Cox regression analysis of transmission routes showed that differences in transmission routes did not increase the risk of death, which differs from the findings of Zhang G [18] et al. that IDUs with HIV had higher mortality rates. Chi-squared analysis of patients’ laboratory data showled that baseline CD4, peak CD4, or most recent CD4 cell count affected the survival status of PWH, i.e., low CD4 cell count had an impact on patient’ survival at any stage. The result of the study on baseline CD4 cell count is consistent with the studies by Wada [19] and Masiira B et al [20], who found that baseline CD4 cell count was associated with higher risk of mortality in a prospective cohort study. Meanwhile, in the analysis of 37,496 PWH with follow-up between 1996 and 2001, May [21] et al. after five years of ART, baseline CD4 counts become poor prognostic indicators.We hypothesized that the difference in outcome might be due to (1) the fact that the patients in this study were Chinese; (2) unlike the study by May et al, our study was designed as a retrospective study; (3) the adjusted variables in this study were inconsistent with the above-mentioned studies where they adjusted for sex, age, transmission risk, period of ART initiation, while we adjusted for the time from HIV diagnosis to ART initiation. The result of the most recent CD4 study is consistent with that of Young J [22] et al, who showed that higher CD4 cells (≥ 500 cells/µl) reduced mortality in PWH. In the Cox regression survival analysis of time from diagnosis to ART, we found that ART initiated < 6 months after HIV infection contributed to improved survival among patients. Several studies [23, 24] have shown that most PWH who do not receive ART typically die within two years, and our findings are consistent with World Health Organization guidelines. The analysis of peak CD4 in this study showed that a lower CD4 cell count was associated with an increased risk of death in patients with a peak CD4 cell count of less than 500 cells/µl. The risk of death for patients with a peak CD4 cell count < 100 cells/µL was 16 times higher than for patients with a peak CD4 cell count ≥ 500 cells/µL.

Early and rapid ART initiation strategy based on CD4 count has been reported to contribute to the prevention of HIV transmission and reduce the risk of several clinical outcomes [25, 26]. In PWH, CD4 cell count is one of the most important laboratory measures of immune function; when CD4 cell count drops below a certain level, PWH are at higher risk of immunodeficiency and are more susceptible to infections that can lead to advanced HIV disease (AHD) or death [27]. One study found that immediate initiation of ART in patients with a baseline CD4 cell count ≥ 500 cells/µL can lead to a significant reduction in AIDS-related mortality [28]. Our results underscore the importance of a CD4 cell count of ≥ 500 cells/µL for the survival of PWH at different stages. Detection of peak CD4 cell count may help clinicians to identify patients with poor immune reconstitution or treatment failure in a timely manner. Physicians should pay close attention to fluctuations in CD4 cell counts during ART, especially in patients with peak CD4 cell count that remains below 500 cells/µl (especially those with a peak CD4 cell count of less than 200cells/µL) or those with a CD4 cell count below baseline levels, in order to promptly monitor adherence to ART or the risk of virologic failure and to change their antiviral regimen if necessary. The findings of this study should be widely promoted in ART clinics that do not have access to HIV viral load testing, such as those in the resource-poor areas of Yunnan Province, together with advocacy for early diagnosis and treatment of HIV to protect PWH from severe immune dysfunction. While our study highlights the prognostic value of CD4 cell counts, it is critical to recognize that sustained viral suppression is the primary indicator of ART success. The relationship between CD4 count recovery and viral load reduction is complex and multifaceted. Although a higher CD4 count is indicative of immune recovery, the absence of detectable viral RNA in plasma is a direct marker of the efficacy of ART in controlling HIV replication. We suggest that future research and clinical monitoring strategies should prioritize viral load measurements while also considering CD4 count trends as part of a holistic approach to patient care.

The present study had several important advantages. First, the study had a large sample size (n = 7939) and a long follow-up period (the longest duration of sustained ART was 19 years). In addition, we examined the association between baseline CD4 cell count and recent survival status in PWH. Meanwhile, considering that the dynamic changes in CD4 cell count during follow-up may affect the survival status of PWH, we focused on exploring the relationship between peak CD4 cell count and survival status of PWH, which filled the current gap between peak CD4 and the risk of death from HIV. Finally, our study has some unavoidable limitations. Other risk factors (e.g., interruption of antiretroviral therapy, medication adherence, HIV viral load, CD4/CD8 ratio, etc.) that may affect mortality in HIV/AIDS were not included in this analysis because more detailed data were not available. In addition, our study population was drawn from a single treatment center, which may not be representative of all PWH, potentially limiting the generalizability of our results to other populations or settings with different socioeconomic backgrounds or health care systems.

Conclusion

In conclusion, this observational study has higlighted the importance of peak CD4 cell count as a key indicator of immune recovery potential and survival outcomes in PWH on antiretroviral therapy. Our analysis showed that higher peak CD4 cell counts are associated with improved survival, suggesting that early diagnosis and timely initiation of ART aimed at achieving and maintaining higher CD4 count are critical to improving the prognosis of PWH. While recognizing the central role of sustained viral suppression as the primary marker of ART efficacy, our findings support the continued importance of monitoring CD4 cell counts as part of a comprehensive approach to patient care. These findings contribute to the growing body of evidence supporting the integration of both virologic and immunologic markers in the management and evaluation of ART outcomes. Future research should aim to further delineate the interplay between CD4 count dynamics, viral suppression and clinical endpoints to optimize treatment strategies for PWH.