Introduction

COVID-19 is a highly infectious disease that spreads rapidly. It has caused grievous health threats all over the world [1]. Although China had successfully controlled the epidemic in the past two years, its suddenness and high transmission among people still posed an enormous threat and impact on people’s lives. To further strengthen epidemic prevention and control of COVID-19, the China COVID-19 epidemic prevention and control headquarters planned a " dynamic zero-COVID " policy on Dec 7, 2021 to reduce personnel mobility and the possibility of another outbreak of the epidemic [2].

Chronic diseases, also known as chronic non-communicable diseases, are a general term for a group of non-communicable diseases with a long course of disease, complex causes and difficult to cure once they become ill, and the main common chronic diseases are cardiovascular diseases (hypertension and coronary heart disease), cancer, diabetes, and chronic respiratory diseases (bronchial asthma) [3]. Chronic disease is increasingly recognized as a serious, worldwide public health concern. Every year, 41 million people die from chronic diseases, which is equivalent to 71% of all deaths globally [4]. In China, the prevalence of chronic diseases is increasing. A report from a nationwide survey showed that more than 20% of people aged 18 years and above suffer from at least one chronic disease [3]. More concerning, chronic diseases continue to become the predominant disease burden [5]. Chronic diseases were generally considered incurable, which was considered one of the stress factors for chronic patients [6]. Previous studies had shown that in addition to treatment-related problems, chronic patients also faced many psychological pressures [7]. Moreover, because the treatment of this disease was a long-term process and accompanied by complications, it affected the psychosocial function of patients [8]. Patients would have many mental diseases, such as stress, depression and anxiety, and depression was most common in chronic patients [9]. Since the hospital had a large flow of people with unknown contact history, and with the formulation of the dynamic clearance policy, chronic patients experienced additive psychosocial pressure [10]. It had been reported that some patients were seriously affected in their daily lives by excessive stress [11]. In addition to long-term treatment, the outbreak of covid-19, lack of understanding of chronic diseases and commuting to and from the hospital make patients face prominent contradictions in dealing with chronic diseases in the pandemic [12]. This fact may lead to an increase in depression rate in chronic patients and then affect the prognosis of the disease. Therefore, it is important to examine how depression is affected in chronic patients in the context of the dynamic Zero-COVID policy.

Psychological resilience (PR) is defined as the ability to actively respond to stressful events, including adaptation to the environment and positive adaptation after adversity [13]. Unlike other mental health indicators, psychological resilience was a dynamic process that affected individuals in psychology, behavior, and physiology [14]. Previous evidence showed that social support is a core component of resilience and was considered a predictor of depression [3, 15]. The concept of an upbeat coping style assumes that older people with higher PR participate in more preventive health behaviors, report more social participation organizations, and have a higher level of mental health [16, 17]. On the contrary, for patients with chronic diseases who lack social support and optimism, the PR level is lower than that of the average population, and they may be more vulnerable to the adverse impact of mood [18]. These findings are related to the biology, psychology, and social psychology of depression. Meanwhile, another study pointed out that PR as a protective factor could reduce the incidence of depression to some extent [19]. Therefore, exploring the relationship between PR and depression in chronic patients is of great significance.

The mediating role of stigma

Stigma is manifested in social prejudice and exclusion of patients with specific diseases [20]. Patients’ internalization of this discrimination may affect their psychological state and quality of life [21]. As the age of the disease increases, most patients with chronic diseases will experience more stigma, including avoiding social interaction, refusing to communicate, and passively coping with the illness [22]. In recent years, stigma among patients with chronic diseases has been increasing, affecting their physical and mental status and quality of life [23]. At the same time, high levels of stigma can lead to negative experiences for people with chronic diseases and affect their mental health [24]. With the growth of age, the incidence of complications in patients with chronic diseases tends to increase, and the occurrence of complications increases the stigma of patients to a certain extent, leading to a higher degree of depression [25, 26]. At the same time, stigma may lead to daily communication difficulties and loss of social skills [27]. Many studies have shown that compared with the subjects in the standard group, the patients with stigma show a significantly higher tendency to depression [28, 29]. Therefore, low-level stigma is an essential factor in improving depression.

Psychological and neuroscience research showed that emotions were related to mental health. Negative emotions are common in clinical and chronic diseases, which are usually a precursor to the decline of psychological quality [30, 31]. Research showed that PR had a much more substantial impact on emotion than emotion does on PR [32], which means that PR was the driving factor of emotional change. As a negative emotion, stigma affects the level of individual PR and plays an important role in the construction of individual PR. Previous cross-sectional studies have confirmed the negative predictive effect of PR on stigma, which is significantly higher in patients with low stigma than in those with high stigma [33, 34]. High and low levels of PR have beneficial and harmful effects on various emotional and physical outcomes, respectively [35]. Specifically, a higher PR level is related to a more positive coping style, a more optimistic attitude, and executive ability. PR is usually considered a potential psychological factor, and chronic patients exposed to negative emotions have a worse healthy psychological state than those without negative emotions [36]. Therefore, we formulated the hypothesis 1 : stigma as a negative emotion may play an intermediary role between PR and depression.

The moderating role of sleep

Although PR may affect depression through the mediation of stigma, not all older adults with high levels of PR report low levels of stigma and lower levels of depression, the heterogeneity of the results may depend on the individual characteristics that regulate the effects of PR on stigma and depression. Sleep was an essential physiological process with a vital recovery function [37]. Poor sleep quality would affect lifestyle changes and increase the risk of falls and disease status of chronic patients. Sleep disorders could also lead to cognitive dysfunction, mainly manifested in memory defects, inattention, slow response, etc. Sleep disorders pose serious health problems for chronic patients, increasing the risk of depression, suicidal ideation, health behavior, and mortality [38, 39]. Consistent with this concept, previous studies had confirmed that sleep disorders were significantly negatively correlated with PR [40]. Psychological factors, such as depression, could worsen poor sleep quality [41].

At the same time, sleep quality is significantly related to mental health. Many cross-sectional studies had shown that sleep quality was positively correlated with various negative emotions [42, 43]. Although it was unclear whether PR directly predicts sleep quality, many studies reported that chronic patients with low-level PR were more vulnerable to the adverse effects of poor sleep quality during the influenza pandemic, which reveals the critical link between PR and sleep quality [44]. In addition, stigma was considered a common obstacle to seeking treatment in the research on the determinants of help-seeking behavior of insomnia patients [45]. Specifically, studies had shown that people with sleep quality problems might have a stricter sense of shame [46]. So, we formulated hypothesized 2 : sleep quality might moderate the relationship between PR and stigma.

The present study

This study proposes a moderated mediation model to investigate the direct/indirect relationship between PR and depression in chronic patients. Specifically, this study suggested the following hypotheses: (H1) PR is negatively correlated with depression, PR is negatively associated with stigma, stigma is positively correlated with depression, and stigma mediates the relationship between PR and depression; (H2) Sleep quality moderated the pathways between PR and stigma. In addition, depression will change as a function of sleep quality.

Materials and methods

Participants and data collection

From October 2021 to February 2022, this study used a multi-stage sampling method and random number table method to collect data in the Shang Cheng District of Hangzhou City, Zhejiang Province. Firstly, the Second Affiliated Hospital of the Zhejiang University School of Medicine, a third-class hospital was randomly selected from the Shang Cheng District. Secondly, three departments were strategically selected from this hospital: endocrinology, dermatology, and traditional Chinese medicine. Thirdly, survey points were set up in each department, and chronic patients were strategically selected for questionnaire surveys. Finally, a face-to-face survey was conducted on 398 chronic patients who met the criteria for inclusion. The questionnaires in this study were asked and completed face-to-face and one-to-one by uniformly trained investigators. 398 questionnaires were distributed and 370 valid questionnaires were collected after excluding missing and invalid questionnaires, with a valid return rate of 92.96%. The inclusion criteria used for the participants were as follows: (i) met diagnostic criteria for chronic illness and age ≥ 45 years; (ii) good verbal skills and no barriers to communication with the investigator; (iii) informed about the diagnosis and accepted this study. Exclusion criteria: (i) patients with serious psychiatric disorders who are unable to communicate and express themselves normally; (ii) patients who did not cooperate with this investigation.

To reduce errors, seventeen investigators were uniformly trained before the survey to clarify communication skills and scoring criteria. After obtaining informed consent from patients with chronic diseases, questionnaires were distributed and asked one-to-one by investigators, who then filled out the questionnaires. All methods are implemented following the declaration of Helsinki.

Measurements

Chronic medical illness burden

The Cumulative Illness Rating Scale-Geriatrics (CIRS-G) was an organ-system based rating scale, with the most severe condition occurring in each of 14 organ systems assigned a severity score from 0 (no problem) to 4 (extremely severe), resulting in a final score ranging from 0 to 56 [47]. The CIRS-G severity index was calculated by dividing the total CIRS-G score by the number of organ systems endorsed in the CIRS-G and provided an estimate of the overall severity of dysfunction. The Cronbach’s alpha of the scale in this study was 0.831, and the KMO measure was 0.810 (P < 0.01).

Psychological resilience

American psychologist Connor and Professor Davidson compiled the conner-Davidson Resilience Scale (CD-RISC) in 2003 [48]. The CD-RISC contains 25 items, which were rated on a five-point Likert scale and range from 0 (“Not true at all”) to 4 (“True nearly all the time”). Possible scores thus range from 0 to 100. These items could correspond to the five-factor. The first factor reflected high standards, tenacity, and competence (eight items). The second factor reflected handling negative emotions, trusting one’s instincts, and perceived benefits of stress (seven items). The third factor reflected positive attitude to change and secure relationships (five items). The fourth one reflected perceived control (three items), and the fifth one was spirituality (two items). The Cronbach’s alpha of the scale in this study was 0.861, and the KMO measure was 0.713 (P < 0.01).

Stigma

The Stigma Scale for Chronic Illness (SSCI) was developed by Rao to measure stigma experienced by individuals with chronic neurological disorders, included stroke [49]. It consisted of 24 items and contains two subscales: felt stigma and enacted stigma. The first 13 items refer to the felt stigma, asked questions about the respondent’s feelings. The following eleven items referred to the enacted stigma, asked questions about the behavior of others towards the respondent. Each item was rated on a scale from 0 (never) to 4 (always). A higher score indicated a higher frequency of experiencing stigma. The Cronbach’s alpha of the scale in this study was 0.829, and the KMO measure was 0.864 (P < 0.01).

Sleep

The Pittsburgh Sleep Quality Index (PSQI) was developed by Buysse et al. [50]. The index had seven components: subjective sleep quality, sleep latency, duration, habitual sleep efficiency, sleep disorders, use of sleep drugs, and daytime dysfunction in the previous month. The score range was 4 points, ranging from 0 (none) to 3 (≥ 3 times a week). In China, a score ≥ 7 had high diagnostic sensitivity and specificity in distinguishing patients with poor sleep from healthy subjects. The total score of PSQI ranged from 0 to 21. The higher the score, the worse sleep quality. The Cronbach’s alpha of the scale in this study was 0.730, and the measured value of KMO was 0.700 (P < 0.01).

Depression

The Patient Health Questionaire-9 (PHQ-9) was derived from the depression part in the Patient Health Questionnaire (PHQ) compiled by Spitzer in 1999 [51]. The response options for the project ranged from “not at all” (0 points) to “almost every day” (3 points). The scale could not only screen for depression but also show the severity of depression. Because of its convenient use, good reliability, and effectiveness, it had been widely used in grass-roots hospitals. The Cronbach’s alpha of the scale in this study was 0.842, and the measured value of KMO was 0.583 (P < 0.01).

Statistical analyses

SPSS25.0 was used to conduct all statistical analyses. Descriptive analyses, independent sample T-test, and one-way analysis of variance (ANOVA) were used to describe demographic characteristics and the significance of depression among chronic patients with different features, respectively. Pearson correlation coefficients described the relationship between the four variables (PR, stigma, sleep, depression).

Furthermore, a mediation model was set up with PR as the independent variable, stigma as the mediating variable, depression as the dependent variable, and age, gender, and education level as control variables. The SPSS PROCESS 4.0 macro (Model 4) was conducted to test the mediating effect of stigma, and 95% confidence intervals (CIs) were calculated by adopting a bias-corrected non-parametric percentile bootstrapping method with 5000 samples. We established a moderated mediation model with sleep as a moderating variable based on the mediation model. The SPSS PROCESS 4.0 macro (Model 59) was conducted to test the moderating effect of sleep. Simple slope tests were used to describe the relationship between PR and morbidity stigma under different sleep.

Results

Descriptive statistics

398 questionnaires were distributed and 370 valid questionnaires were collected after excluding missing and invalid questionnaires, with a valid return rate of 92.96%. Table 1 showed the demographic characteristics of the study objects and a Univariate analysis of depression with different features. Of the 370 chronic patients, 230 (62.2%) were men, and 140 (37.8%) were women. The age range of chronic patients was 45~95 years, with an average age of 63.71 ± 10.47 years. Most study participants (68.6%) reported middle school education or lower. At least 51.3% of the respondents live in the city. There were differences between the depression in marital status, economic situation, cigarette smoking, alcohol use experience, and physical exercises habit.

Table 1 Univariate analysis of depression of chronic patients with different characteristics (N = 370)

Disease status of the patient

The scores for CIRS-G were 4.59 ± 2.97. As shown in Table 2, the five most common disease types were respiratory (18.9%), nervous system (17.3%), vascular (16.2%), cardiac (12.7%) and endocrine/metabolic and breast cancer (11.9%) diseases.

Table 2 Disease status of the patient (N = 370)

Bivariate correlation analyses

Table 3 showed the correlational analyses between the study variables. PR was negatively correlated with stigma (r = − 0.168, P < 0.01) and depression (r = − 0.352, P < 0.01). Stigma was positively correlated with depression (r = 0.605, P < 0.01) and sleep (r = 0.398, P < 0.01). Sleep was negatively correlated with PR (r = − 0.234, P < 0.01), but was positively correlated with depression (r = 0.398, P < 0.01). The scores for PR, sleep , stigma, and depression were 50.25 ± 14.05, 44.09 ± 15.44, 6.50 ± 3.33, and 6.89 ± 3.43, respectively.

Table 3 Descriptive statistics and correlations among variables (N = 370)

The mediation analyses

To examine hypothesis 1, we examined the mediating role of stigma on the relationship between PR and depression with PROCESS 4.0 macro (Model 4) proposed by Hayes after controlling for the demographic variables of age, gender, and education level (Table 4). It showed that PR was negatively associated with depression (β = −0.087, P < 0.001). PR was negatively associated with stigma (β = −0.172, P < 0.001), and PR explained the total of 3.70% of the stigma (F = 3.475, P < 0.001, ΔR² = 0.037). In addition, the result showed that stigma was positively associated with depression (β = 0.162, P < 0.001), and the explanation of PR for depression increased to 43.9% (F = 56.955, P < 0.001, ΔR² = 0.439).

Table 4 Testing the mediation effect of psychological resilience on depression

We examined the direct effect (B = − 0.087, SE = 0.013, 95%CI = [− 0.113, − 0.063]) and indirect effects (B = − 0.028, SE = 0.011, 95%CI = [− 0.049, − 0.007]) of PR on depression by testing 95% confidence intervals (CIs) based on 5000 bootstrapped samples, indicating stigma partially mediated the relationship between PR and depression (Table 5). The mediating and direct effects accounted for 24.35% and 75.65% of the total effect, respectively.

Table 5 Total effect, direct effect and indirect effect among the variables

The moderation analyses

To examine hypothesis 2, we adopt the PROCESS macro (Model 59) proposed by Hayes to examine the moderated mediation. Specially, we estimated parameters for two models. On stigma, we evaluated the moderating effect of sleep quality on the relationship between PR and stigma. On depression, we estimated the moderating impact of sleep quality on the relationship between PR and stigma, and the relationship between stigma and depression. If the 95%CI interval did not include 0, it indicated that there was a moderating effect (P < 0.05), and vice versa.

As shown in Table 6, Model 1 revealed a major impact of PR on stigma (B = 0.125, SE = 0.121, 95%CI = [− 0.114, 0.364]), which was moderated by sleep quality (B = − 0.035, SE = 0.016, 95%CI = [− 0.066, − 0.005]). Model 2 revealed a major impact of PR on depression (B = − 0.077, SE = 0.273, 95%CI = [0.005, − 1.151]), which was not moderated by sleep quality (B = 0.001, SE = 0.004, 95%CI = [− 0.006, 0.008]). In addition, it revealed a major impact of stigma on depression (B = 0.139, SE = 0.023, 95%CI = [0.095, 0.184]), which was not moderated by sleep quality (B = 0.002, SE = 0.003, 95%CI = [− 0.004, 0.007]). Hence, hypothesis 2 was partially supported. The final moderate mediation model was shown in Fig. 1.

Table 6 Results of the moderated mediation model analysis
Fig. 1
figure 1

The moderated mediation model. *p < 0.05, **p < 0.01, ***p < 0.001

In order to examine the direction and trend of the moderating effect of sleep quality on PR and stigma, the relationship between PR and stigma was analyzed at three levels of sleep quality: good (M-1SD), moderate (M) and poor (M + 1SD), according to the mean and mean plus or minus one standard deviation, as shown in Table 7. Confidence intervals contained 0 when patients with chronic illness had high sleep quality, indicating that PR was not a predictor of stigma; and confidence intervals did not contain 0 when patients had low sleep quality, indicating that PR was a significant predictor of sickness stigma, as shown in Fig. 2.

Table 7 Conditional indirect effects of sleep on stigma
Fig. 2
figure 2

The interaction effect of psychological resilience and sleep on stigma

Discussion

The present study constructed a moderated mediation model to investigate whether PR was indirectly associated with depression through stigma and whether sleep moderated the direct relationship between PR and stigma. The findings showed that stigma partially explained the effect of PR on depression. This indirect relationship was moderated by sleep in the one-stage path. Low sleep quality exacerbates PR’s impact on stigma, whereas this effect was not significant among chronic patients with high sleep quality. This study was the first to explore the mechanism of PR and depression, which provided theoretical foundations and directions for promoting depression among chronic patients.

Mediating role of stigma

The current results showed that chronic patients with higher PR levels were more likely to report lower levels of depression, which was similar to previous studies [52]. Many mental health studies believe that positive and negative PR was ultimately applied to the self and transformed into the impact on personal emotions and behaviors [53, 54]. From the psychological and behavioral development perspective, emotions affected the individual’s cognitive and behavioral structure [55]. Many studies showed that chronic patients with lower-level PR were less likely to engage in healthy lifestyles, which led to an increased risk of death [56]. Compared with positive emotions, negative emotions had a much more significant impact on the essential behavioral outcomes of patients. In addition, research showed that low-level PR weakened the beneficial effect of high-level PR on happiness [57]. Therefore, we should consider improving patients’ depression by increasing PR levels in chronic patients.

Our findings also indicated that stigma mediated the relationship between PR and depression in chronic patients. Based on the conceptual model of stress theory, when chronic patients faced negative emotions, if they could actively call internal coping resources and seek external social help, it can be transformed into active behavioral adaptation, and it was still possible to maintain a good quality of life and mental health [58, 59]. It shows that chronic patients with low-level PR can reduced their stigma through reasonable coping methods to minimize the damage caused by stigma and slow down the process of depression [60]. Specifically, as a harmful negative emotion, stigma could activate the autonomic nervous system, neuroendocrine, metabolic, and immune systems while reducing the activities of the parasympathetic nervous system, leading to adverse physical and psychological conditions [61, 62]. In addition, long-term exposure to high levels of stigma and low levels of PR can lead to chronic disease patients losing the ability to live independently and in social contact [63]. Numerous longitudinal study has also shown that negative emotion was associated with a greater level of physical frailty and an increased risk of cardiovascular disease [64], which accelerated the development of depression.

Moderating role of sleep

This study examined the moderating role of sleep as a moderating variable in the model. It was found that sleep moderated the first half of the mediating pathway of the model, sleep moderated the relationship between PR and stigma. Specifically, PR was only associated with stigma in chronic patients with who had low sleep quality, and this relationship was not significant in chronic patients who had high sleep quality. A study showed that people with high sleep quality better cope with trauma and stress [65]. Stress would cause hormone level disorder and body function decline, increasing the probability of complications in patients [66]. However, complications are one of the essential mechanisms for developing stigma in chronic patients [67]. Therefore, sleep quality is closely related to the level of stigma. In addition, after controlling the covariates, chronic patients with low sleep quality showed a decreased sense of participation, resulting in an increased risk of depression.

In contrast, high sleep quality helped improve PR and mental health by reducing negative emotions [68, 69]. Therefore, high-quality sleep seems to be a protective factor, which could enhance the harmful effect of low-level PR on the stigma of chronic patients. Thus, to improve the depression of chronic patients, it was necessary to focus not only on patients’ psychological resources and call ability and strive to develop their psychological resilience but also on patients’ sleep quality.

Limitations

This study had several limitations worth considering. Firstly, this study was cross-sectional, and the causal relationship between PR, stigma, sleep, and depression cannot be inferred. A longitudinal examination should be conducted further to reveal the causal relationship between PR and depression. Secondly, although some potential confounding factors were controlled by us (such as age, gender, and education level), other confounding variables were not maintained. Future research should add more covariates to reduce the interference of effect estimation. Thirdly, the respondents were only chronic patients in one hospital, which was not representative. In the future, random sampling should be used to investigate the population of different hospitals in different regions. They should be grouped into different regional groups to explore the changes in each group. In addition, other mediating variables could be introduced to examined the impact mechanism of depression further and provide new goals for formulating measures to improve depression in chronic patients.

Implications

Theoretically, the current research is conducive to a deeper understanding of the mechanism of PR affecting depression and clarifies the relationship between PR, stigma, sleep, and depression. In a practical sense, this study can provide a new perspective for chronic patients to improve their depression, and family members and medical staff should pay attention to it. Since low-level PR and stigma have been identified as the main risk factors for increasing the depression rate of chronic patients, we emphasize the clinical importance of providing psychological help and mental health education. In addition, high-quality sleep may be related to stigma and depression. We should prioritize the prevention and intervention of chronic disease patients with low-level PR and poor sleep quality, which will help delay the onset of complications and reduce the possibility of depression.

Conclusion

It is the first time we have established a mediation model between PR and depression. Our findings suggested that stigma played a mediating role in the association between PR and depression. In addition, sleep regulated the relationship between PR and stigma. However, this modernization effect was only significant in chronic patients with high-quality sleep. In other words, when chronic patients had lower quality sleep, the impact of PR on a stigma would increase. Therefore, we should fully understand the relevant information about chronic patients, screen chronic patients with psychological abnormalities, and carry out mindfulness interventions to improve low-level pr. At the same time, medical staff should regularly give public lectures on the prevention and control measures of stigma and depression to achieve early screening, diagnosis, and intervention. In addition, the community should provide high-quality leisure and entertainment places for chronic patients, and actively organize cultural and artistic performances such as square dance, so that chronic patients can cultivate their sentiment in entertainment, reduce their sense of stigma, and improve their depression.