Introduction

Hepatitis B virus (HBV) is a serious global public health concern, particularly in underdeveloped countries1. HBV infection can lead to acute and chronic hepatitis, and ultimately develop into life-threatening complications such as liver cancer or cirrhosis. The World Health Organization (WHO) estimated that hepatitis B caused 820 thousand deaths in 2019, with 296 million people living with chronic HBV infection and 1.5 million new infections each year2. Therefore, the WHO has set the goal of eliminating hepatitis B as a public health threat by 2030, with the target of reducing new infections by 90% and mortality by 65%3.

The prevalence of HBV infection varies geographically, and regions can be broadly classified into high (> 8% hepatitis B surface antigen (HBsAg) prevalence), higher-intermediate (5–7.99%), lower-intermediate (2–4.99%), and low (< 2%) prevalence areas4. According to this criterion, China has transitioned from a high-prevalence area to a higher-intermediate prevalence area. The weighted prevalence of HBsAg adjusted for the population aged 1–59 years decreased from 9.8% in 1992 to 7.2% in 2006 and further declined to 6.1% in 20165,6. However, China still has approximately 70 million HBV infections, suggesting that China has the world’s heaviest burden of HBV infection and will make a significant contribution to the global elimination of hepatitis B by 20301,7. Efforts are still needed to minimize HBV transmission in the country.

Guangzhou, located in southeast China, has the highest HBV prevalence nationwide. The weighted prevalence of HBsAg in Guangzhou decreased from 12.45% in 2008 to 9.50% in 2018. However, the prevalence in Guangzhou was still substantially higher than the national average and the city remains a high prevalence area6,8. Specifically, some high-risk populations deserve attention to control HBV infection in this city, such as large-scale migrants and those living in economically underdeveloped areas. In 2020, nearly 9.4 million labor workers migrated to Guangzhou in search of better opportunities, and migrants from areas with low to moderate prevalence are susceptible to HBV infection in this high-prevalence city. Unfortunately, little research has investigated the changing trends of hepatitis B infection in Guangzhou.

Previous research has found that hepatitis B is subject to different temporal trends. It may vary depending on age, period, and birth cohort9,10. For example, due to sexual transmission, adults aged 35–54 are more susceptible to HBV infection11. With the universal vaccination of newborns, the global HBV infection rate has been decreasing in recent decades. From 2008 to 2019, the HBV incidence among US blood donors decreased from 3.4 to 2.4 per 100,000 person-years, representing a 29% reduction12,13. 90% of newborns and infants infected with hepatitis B will develop chronic infection, demonstrating that the age of infection is a key determinant of chronic infection, and the birth cohort may be a crucial factor14. Furthermore, differences in hepatitis B prevalence are frequently found between women and men, as well as among different regions9,10. When evaluating temporal trends, it is important to note that age, period, and cohort effects are highly correlated with each other. Given the changes in risk factors and demographic characteristics over time, the risk of HBV infection may vary between different birth cohorts15. Overall, there is limited research on the use of the age-period-cohort model (APC model) in HBV-related trend analysis9,16. Understanding the patterns and causes of HBV incidence trends is crucial for designing more effective prevention strategies. Therefore, the current study aims to use the APC model to assess the effects of age, period, and birth cohort on HBV incidence trends among different genders and regions, and to provide evidence for effective prevention and control of hepatitis B in a high-prevalence area.

Materials and methods

Data source

Two datasets were used in this study. The data on HBV infection during 2008–2022 in Guangzhou were obtained from the China Information System for Disease Control and Prevention. According to the diagnostic criteria for viral hepatitis B (WS 299-2008), the diagnosis of acute and chronic hepatitis B requires a comprehensive judgment based on the symptoms, signs, epidemiology, and laboratory test results of hepatitis B. Age, sex, region, diagnosis type, diagnosis time, and other demographic and clinical characteristics are included in the case table. Annual population statistics for Guangzhou were extracted from the Guangzhou Statistical Yearbook 2008–2022. This study has been approved by the ethics committee of the Guangzhou Center for Disease Control and Prevention. Participants were informed about the study objectives, and written informed consents and assents were obtained from all participants. All study procedures were performed in accordance with the ethical standards of the institutional research committee on human experimentation.

Statistical analysis

The eleven districts of Guangzhou were divided into two regions (central areas and non-central areas) based on factors such as geographical ___location and level of economic development. The central areas included Tianhe, Yuexiu, Liwan, and Haizhu districts, while the non-central areas included Panyu, Baiyun, Huangpu, Nansha, Conghua, Zengchen, and Huadu districts.

The crude incidence rate (CIR) refers to the actual incidence among all age groups, whereas the age-standardized incidence rate (ASIR) was calculated based on the world age-standardization population17.

A joinpoint regression model was applied to estimate the trends of HBV incidence from 2008 to 2022, using the Joinpoint Regression Program (Version 4.9.1.0. -April 2022, available through the Surveillance Research Program of the United States National Cancer Institute)18. Using a Monte Carlo Permutation approach, significant joinpoints can be detected, longitudinal fluctuations can be partitioned into various segments, and segment trends with statistical significance can be identified18. The annual percentage change (APC) and its 95% confidence interval (95% CI) were calculated for each period after fitting the natural logarithm of the incidence rate for different segments. The global trend was calculated using the average annual percent change (AAPC). APC and AAPC were considered statistically significant if their 95% CI did not overlap or P < 0.05 compared to the null hypothesis of having no variation. APC > 0 indicates an increasing trend in HBV incidence in the current period, while APC < 0 indicates a decreasing trend. Similarly, AAPC > 0 indicates an increasing trend in HBV incidence over the whole period, whereas AAPC < 0 indicates a decreasing trend over the entire period.

Based on the Age-Period-Cohort Web Tool (Biostatistics Branch, National Cancer Institute, Bethesda, MD, USA; https://analysistools.cancer.gov/apc/ (accessed on March 2023)), an APC model was applied to evaluate the impact of age, period, and cohort on health outcomes, which can control or eliminate the interaction between age, cohort, and other covariates19. The age effect refers to the differences in HBV incidence across age groups caused by factors related to aging. The period effect refers to the impact of human factors on HBV incidence, such as the development of diagnostic tests and the availability of hepatitis B vaccinations. The cohort effect refers to the change in HBV incidence due to different exposures to risk factors among people born in different years20. Age and period were divided into 5-year continuous intervals from 0 to 84 years, and from 2008 to 2022, respectively. Nineteen birth cohorts were summarized from 1928 to 1932 through 2018–2022. The intrinsic estimator method was integrated into the APC model to estimate the net effects for three dimensions. Since the hepatitis B vaccine (HepB) was included in the neonatal immunization program in China in 1992 and WHO’s elimination goal for viral hepatitis was declared in 2016, we took the cohort (1988–1992), period (2008–2012) and age group (20–24 years) as reference groups. We calculated the net drift (equivalent to the AAPC in joinpoint analysis), local drifts, longitudinal age-specific rates, period rate ratios (RR), and cohort rate ratios (RR). Wald chi-squared tests were used to determine the significance of the above parameters. Net drift indicates the overall annual percentage change of the expected age-adjusted rates over time. Local drifts represent the annual percentage change of the expected age-specific rates over time. Longitudinal age-specific rates are expected age-specific rates in the reference cohort, adjusted for period effects. The cohort (or period) rate ratios represent the cohort (or period) relative risk adjusted for age and nonlinear period (or cohort) effects in a cohort (or period) versus the reference one19. Since the period and age intervals in the APC model should be fixed and equal, and all individuals aged 85 years and above were recorded as one age group in the Guangzhou Statistical Yearbook, HBV cases aged 85 years and over were excluded from the analysis.

Descriptive analysis and plotting were performed using R 4.2.2 software. Rates between different groups were compared using the t-test or the Mann–Whitney U test according to the data distribution. Statistical significance was considered when a two-sided P value was ≤ 0.05.

Results

Overall description of hepatitis B incidence

As displayed in Supplementary Table S1, a total of 327,585 HBV cases were reported in Guangzhou from 2008 to 2022, with an average CIR of 162.18/100,000 and an average ASIR of 150.77/100,000. The overall trend is shown in Fig. 1a. 94.46% of the cases were diagnosed with chronic HB, 2.73% with acute HB, and 2.81% with unclassified HB. In 2022, the ASIRs for chronic and acute HB were 139.48/100,000 and 1.28/100,000, respectively. Figure 1d,g demonstrated that the trends in ASIR for chronic and acute HB were considerably different.

Figure 1
figure 1

Trends of the incidence rate of hepatitis B (HB) overall and by diagnosis types in Guangzhou, China during 2008–2022. (a, d, g) The comparison of crude incidence rate (CIR) and age-standardized incidence rate (ASIR) of HB. (b, e, h) The comparison of ASIR by sex. (c, f, i) The comparison of ASIR by region.

The overall trends by sex and by region are shown in Fig. 1b,c. Figure 1e,h showed that the ASIRs for chronic and acute HB were nearly two-fold higher in males than in females (P < 0.001 for chronic HB and P = 0.036 for acute HB), respectively. Furthermore, Fig. 1f,i demonstrated that the ASIRs for chronic and acute HB in non-central areas were higher than in central areas (P = 0.019 for chronic HB and P = 0.009 for acute HB, Supplementary Table S1).

Temporal trends of chronic and acute HB incidence using a joinpoint regression model

As shown in Supplementary Table S2 and Fig. 2a–c, AAPC in chronic HB was − 4.31% (95% CI − 6.51% to − 2.06%, P < 0.001) over the entire study period. However, the trend of chronic HB incidence exhibited a statistically significant joinpoint from 2008 to 2022, showing two distinct trends. From 2008 to 2016, there was a significantly declining trend, with an APC rate of − 10.84% (95% CI − 13.60% to − 7.99%, P < 0.001). From 2016 to 2022, there was a significant increase, with an APC rate of 5.14% (95% CI 0.51% to 9.99%, P = 0.03). This trend was also observed in females and those living in central areas. However, the incidence rate remained relatively stable after 2015 in males and after 2020 among the people living in non-central areas (both P > 0.05).

Figure 2
figure 2

Annual percent change (APC) of hepatitis B (HB) incidence rate by diagnosis types in Guangzhou during 2008–2022, using a joinpoint regression model. (a, d) APCs of the age-standardized incidence rate (ASIR) for chronic and acute HB. (b, e) APCs for chronic and acute HB by sex. (c, f) APCs for chronic and acute HB by region.

Figure 2d–f and Supplementary Table S2 showed that no significant joinpoints were detected for acute HB, and the AAPC was − 16.87% (95% CI − 19.02% to − 14.65%, P < 0.001), which was lower than the value for chronic HB. Similarly, it also indicated a downward trend across sex and region. Particularly, the incidence rate among individuals living in central areas decreased rapidly from 2008 to 2012 (APC = − 33.89%, 95% CI − 47.91% to − 16.10%, P < 0.01) and then decreased relatively slowly from 2012 to 2022 (APC = − 8.96%, 95% CI − 17.02% to − 0.12%, P = 0.048 < 0.05).

Age, period, and cohort effects of HB incidence using the age-period-cohort model

From 2008 to 2022, the net drift in chronic HB was − 3.76% (95% CI − 5.96% to − 1.51%, P < 0.01) per year (Table 1). Additionally, there were relatively significant improvements in the incidence among males and in different regions. Supplementary Figure S12 showed that the incidence rate was higher in the age group of 20–39 years, but the decline was more pronounced. Overall, the local drifts in the age group of 20–39 years were all below zero. The age group of 25–29 years showed the most significant improvement (local drift = − 11.46%, 95% CI − 14.34% to − 8.49%). However, Supplementary Figure S2 showed that over time, the chronic incidence rates increased in the age group of 55–59 years, and the local drift values peaked around ages 55–59 years (6.04%, 95% CI 1.24% to 11.06%), suggesting a worsening situation.

Table 1 The net drifts, local drifts, and statistical parameters for overall, and by sex, region using age-period-cohort models during 2008–2022 in Guangzhou, China.

Supplementary Figure S1a–c showed that the age-specific chronic incidence rates have two peaks for the age groups of 25–34 years and 65–69 years. Supplementary Figure S2a showed that the chronic hepatitis B incidence rate decreased over time for children (0–4 years) and younger adults (20–24 years). However, after controlling for period and cohort effects, children (0–4 years) and younger adults (20–24 years) are at the highest risk in the longitudinal age curves of chronic incidence (Fig. 3a–c). Similar patterns in age effects were observed across sex and region. In most age groups, the chronic incidence among males was higher than among females (P = 0.001), but there were no significant differences between regions (P = 0.17).

Figure 3
figure 3

The age, period, and cohort effects on chronic HB incidence by sex and by region; (a, b, c) Longitudinal age curves. Longitudinal age-specific rates are expected age-specific rates in the reference cohort (1988–1992), adjusted for period effects; (d, e, f) Period rate ratios (RRs) and the corresponding 95% confidence intervals. The RRs of each period compared with the reference period (2008–2012) adjusted for age and non-linear cohort effects. (g, h, i) Cohort rate ratios (RRs) and the corresponding 95% confidence intervals. The RRs of each cohort compared with the reference cohorts (1988–1992) adjusted for age and non-linear period effects.

Overall, the estimated period effects in chronic HB first decreased and then became relative stable (RRperiod(2008–2012) = 1.00; RRperiod(2013–2017) = 0.64, 95% CI 0.54–0.77; RRperiod(2018–2022) = 0.68, 95% CI 0.54–0.86) (Fig. 3d). Similar patterns of period effects were observed across sex and region (Fig. 3e–f).

Cohort effects in chronic HB showed that compared to the cohort from 1988 to 1992, the cohort from 1963 to 1967 had the highest risk (RR = 3.18, 95% CI 1.87–5.40) and cohorts born after 1993 had lower risks. Cohorts born after 1973 experienced a faster decline, continuing to decline in the most recent cohorts (RRcohort(2018–2022) = 0.02, 95% CI 0.00–0.94) (Fig. 3g–i and Supplementary Figure S4). For males and residents of non-central areas, cohorts born after 1993 had lower risks. For females and residents of central areas, cohorts from 1993 to 2007 had lower risks.

The net drift in acute HB (− 12.02%, 95% CI − 14.15% to − 9.84%, P < 0.001) was greater than that in chronic HB. Similarly, improvements were observed in acute incidence by sex and region. Supplementary Figure S3 demonstrated that the acute incidence rates decreased over time in most younger groups. The local drifts in the age groups of 0–4 years and 15–49 years were all below zero, indicating improvements in acute incidence. The age group of 25–29 years showed the most significant improvement (local drift = − 21.60%, 95% CI − 24.34% to − 18.76%). The local drifts by sex and region were similar to the overall trends in chronic and acute HB.

Supplementary Figure S1d–f reveals that the age-specific acute incidence rates have two peaks at the age group of 0–4 years and 25–34 years. After controlling for period and cohort effects, children (0–4 years) and younger adults (15–19 years) are at the highest risk in the longitudinal age curves of acute incidence (Fig. 4a–c). Similar age patterns were observed across sex and region. There were no significant differences between sex (P = 0.63) and regions (P = 0.38).

Figure 4
figure 4

The age, period, and cohort effects on acute HB incidence by sex and by region; (a, b, c) Longitudinal age curves. Longitudinal age-specific rates are expected age-specific rates in the reference cohort (1988–1992), adjusted for period effects; (d, e, f) Period rate ratios (RRs) and the corresponding 95% confidence intervals. The RRs of each period compared with the reference period (2008–2012) adjusted for age and non-linear cohort effects. (g, h, i) Cohort rate ratios (RRs) and the corresponding 95% confidence intervals. The RRs of each cohort compared with the reference cohorts (1988–1992) adjusted for age and non-linear period effects.

The estimated period effects showed a decreasing trend in acute HB (RRperiod(2008–2012) = 1.00; RRperiod(2013–2017) = 0.51, 95% CI 0.42–0.60; RRperiod(2018–2022) = 0.28, 95% CI 0.22–0.35) (Fig. 4d–f). Cohort effects in acute HB showed that the risk was lower with later birth years (Fig. 4g–i, Supplementary Figure S5). Compared with the cohort from 1988–1992, the cohort from 1928–1932 had the highest risk (RR = 321.04, 95% CI 25.12–4102.61), while the cohort from 2018–2022 had the lowest risk (RR = 0.005, 95% CI 0.00–0.03). Similar patterns of period effects and cohort effects in acute HB were observed across sex and regions.

Discussion

Based on nearly 15 years of hepatitis B case data in Guangzhou, we performed a joinpoint analysis and an age-period-cohort analysis to elucidate the age, period, and birth cohort effects on HB incidence, while examining the influences of sex and region.

Consistent with previous research, our findings revealed significant period effects9,10,11,21. The incidence of acute hepatitis B decreased significantly over time, while that of chronic hepatitis B remained stable in recent years. Overall, the ASIR of acute and chronic hepatitis B decreased by 12.02% and 3.76%, respectively, from 2008 to 2022 in Guangzhou. The incidence of HB also decreased significantly in China and globally10,21. Period effects typically indicate changes directly impacting the incidence of HB, such as varying screening strategies, new diagnostic methods, changes in disease registration, and improved medical interventions. We attribute this to hepatitis B vaccination coverage and prevention of mother-to-child transmission of hepatitis B virus22. For instance, according to laboratory surveillance data in England, the HB incidence decreased from 7.4/100,000 in 1995–2000 to 1.1/100,000 in 2008, representing an 85% reduction11. In China, the plasma-derived hepatitis B vaccine (HepB) was licensed in 1985. In 1992, a recombinant vaccine was licensed, and HepB was included in the neonatal immunization program. In 2002, HepB was integrated into the Expanded Program on Immunization, providing free vaccination for children under 14. During 2009–2011, a HepB catch-up campaign was conducted in China, covering 68 million children under 15 born between 1994 and 2001. In 2011, China launched an integrated program for preventing mother-to-child transmission of HIV, syphilis, and HBV in 1156 counties (including Guangzhou), expanding it nationwide in 2015 to cover all pregnancies. The coverage of three doses of hepatitis B vaccine for infants increased from 30.0% in 1992 to 99.4% in 2019 in China23. Consequently, the weighted prevalence of HBsAg in individuals aged 1–59 years declined from 9.8% in 1992 to 7.2% in 2006 and further to 6.1% in 20165,6.

Age is one of the most important risk factors for HB. From the perspective of age trend changes, the incidence of HB initially decreased then increased, and eventually decreased with age. After controlling period and cohort effects, we found that the age groups of 0–4 years and 15–24 years were high-risk populations. The high incidence of HBV in children aged 0–4 years might be associated with mother-to-child transmission14,24. It could be explained by some unhealthy lifestyle habits among young people, such as unprotected sexual behaviors between young men and women, multiple sexual partners, close contact, excessive stress among young people, frequent staying up late, drinking, and smoking9,25. Previous studies have suggested that administering the hepatitis B vaccine, especially to young adults at risk of HBV infection, can provide economic benefits11,25,26.

In addition, significant cohort effects were found. Overall, the risk of HB incidence decreased across the study cohorts, especially for acute HB21. People born before 1993 had a higher risk of HB compared to those born after 1993, which is probably due to the widespread use of HB vaccination1,22. This pattern of change in birth cohorts might also be attributed to higher levels of medical treatment, increased public awareness of hepatitis B prevention, and better living and dietary conditions10,22.

The incidence of HB in males was higher than in females, which is consistent with previous research9,11. Physiological differences between sexes might be a factor9,11. The incidence of HB in non-central areas was higher than that in central areas. This difference might be due to lower rates of in-hospital deliveries and mother-to-infant transmission prevention in non-central areas4. For example, timely birth dose coverage of hepatitis B vaccine in undeveloped regions remains below 90%27. In addition, due to poor living conditions and difficulties accessing healthcare, people living in non-central areas, especially migrants, were more susceptible to HB1. The higher incidence of HB in non-central areas suggests that more policy and financial support should be given to promote disease prevention and treatment in these areas.

Some limitations of this study should be noted. First, it is difficult to completely avoid data inaccuracies due to issues with data integrity and quality. Since duplicated reporting of HBV infection is common in China, the results of this study may be overestimated28. Second, since not all reporting hospitals performed lgM anti-HBc testing, our analysis was constrained by differences in laboratory capacity. Diagnosis of acute hepatitis B should be based on positive lgM anti-HBc and HBsAg tests along with symptoms related to hepatitis B. However, 10–15% of patients with chronic hepatitis B had IgM anti-HBc, particularly those experiencing acute flare-ups. Consequently, the reported acute hepatitis B incidence was higher than the true incidence. Third, this study lacks estimates for individuals aged 85 years and over. Finally, we were unable to quantify the exposure to some important confounders such as standard of living, sexual behaviors, and blood donation, which may contribute to changes in HBV infection trends.

Conclusion

In conclusion, this study indicates that the incidence rate of HB is expected to continue decreasing in Guangzhou from 2008 to 2022 due to the widespread use of the HB vaccine and the implementation of the mother-to-child transmission prevention program. However, the chronic HB incidence rate remains relatively high. Age effect, period effect, and cohort effect were observed in the HB epidemic. Adults, especially males, young individuals, and people living in non-central areas were at higher risk of infection. Effective management of chronic HBV infections is still necessary for high-risk populations, and efforts such as screening, vaccination, and antiviral treatment advances should be strengthened to achieve the goal of eliminating viral hepatitis.