Hostname: page-component-55f67697df-bzg56 Total loading time: 0 Render date: 2025-05-09T23:56:25.970Z Has data issue: false hasContentIssue false

A longitudinal study of changes in depressive symptoms and risk factors for congestive heart failure

Published online by Cambridge University Press:  09 May 2025

Julia Gallucci*
Affiliation:
Institute of Medical Science, University of Toronto, Toronto, Canada Campbell Family Mental Health Research Institute, Centre for Addiction and Mental Health, Toronto, Canada
Justin Ng
Affiliation:
Institute of Medical Science, University of Toronto, Toronto, Canada Campbell Family Mental Health Research Institute, Centre for Addiction and Mental Health, Toronto, Canada
Maria T. Secara
Affiliation:
Institute of Medical Science, University of Toronto, Toronto, Canada Campbell Family Mental Health Research Institute, Centre for Addiction and Mental Health, Toronto, Canada
Brett D. M. Jones
Affiliation:
Institute of Medical Science, University of Toronto, Toronto, Canada Campbell Family Mental Health Research Institute, Centre for Addiction and Mental Health, Toronto, Canada Department of Psychiatry, University of Toronto, Toronto, Canada
Colin Hawco
Affiliation:
Institute of Medical Science, University of Toronto, Toronto, Canada Campbell Family Mental Health Research Institute, Centre for Addiction and Mental Health, Toronto, Canada Department of Psychiatry, University of Toronto, Toronto, Canada
M. Omair Husain
Affiliation:
Institute of Medical Science, University of Toronto, Toronto, Canada Campbell Family Mental Health Research Institute, Centre for Addiction and Mental Health, Toronto, Canada Department of Psychiatry, University of Toronto, Toronto, Canada
Nusrat Husain
Affiliation:
School of Health Sciences, Division of Psychology and Mental Health, University of Manchester, Manchester, UK Mersey Care NHS Foundation Trust, Liverpool, UK
Imran B. Chaudhry
Affiliation:
School of Health Sciences, Division of Psychology and Mental Health, University of Manchester, Manchester, UK Department of Psychiatry, Ziauddin University, Karachi, Pakistan
Aristotle N. Voineskos
Affiliation:
Institute of Medical Science, University of Toronto, Toronto, Canada Campbell Family Mental Health Research Institute, Centre for Addiction and Mental Health, Toronto, Canada Department of Psychiatry, University of Toronto, Toronto, Canada
M. Ishrat Husain
Affiliation:
Institute of Medical Science, University of Toronto, Toronto, Canada Campbell Family Mental Health Research Institute, Centre for Addiction and Mental Health, Toronto, Canada Department of Psychiatry, University of Toronto, Toronto, Canada
*
Correspondence: Julia Gallucci. Email: [email protected]
Rights & Permissions [Opens in a new window]

Abstract

Background

Depression is prevalent among patients with congestive heart failure (CHF) and is associated with increased mortality and healthcare use. However, most research on this association has focused on high-income countries, leaving a gap in knowledge regarding the relationship between depression and CHF in low-to-middle-income countries.

Aims

To identify changes in depressive symptoms and potential risk factors for poor outcomes among CHF patients.

Methods

Longitudinal data from 783 patients with CHF from public hospitals in Karachi, Pakistan, were analysed. Depressive symptom severity was assessed using the Beck Depression Inventory. Baseline and 6-month follow-up Beck Depression Inventory scores were clustered using Gaussian mixture modelling to identify separate depressive symptom subgroups and extract trajectory labels. Further, a random forest algorithm was used to determine baseline demographic, clinical and behavioural predictors for each trajectory.

Results

Four separate patterns of depressive symptom changes were identified: ‘good prognosis’, ‘remitting course’, ‘clinical worsening’ and ‘persistent course’. Key factors related to these classifications included behavioural and functional factors such as quality of life and disability, as well as the clinical severity of CHF. Specifically, poorer quality of life and New York Heart Association (NYHA) class 3 symptoms were linked to persistent depressive symptoms, whereas patients with less disability and without NYHA class 3 symptoms were more likely to exhibit a good prognosis.

Conclusions

By examining the progression of depressive symptoms, clinicians can better understand the factors influencing symptom development in patients with CHF and identify those who may require closer monitoring and appropriate follow-up care.

Type
Paper
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2025. Published by Cambridge University Press on behalf of Royal College of Psychiatrists

Depression is common among patients with congestive heart failure (CHF), with an estimated prevalence of 20–30%, Reference Rutledge, Reis, Linke, Greenberg and Mills1,Reference Celano, Villegas, Albanese, Gaggin and Huffman2 making it one of the most frequent comorbid mental disorders in this population. Reference Moradi, Doostkami, Behnamfar, Rafiemanesh and Behzadmehr3 Psychological health profoundly influences adherence to self-care practices, Reference Carrillo, Belnap, Rothenberger, Feldman, Rollman and Celano4 affecting both clinical outcomes and healthcare costs. Specifically, depression and depressive symptoms in patients with CHF contribute to increased healthcare expenditure, Reference Moradi, Doostkami, Behnamfar, Rafiemanesh and Behzadmehr3,Reference Sullivan, Simon, Spertus and Russo5 higher rates of hospital admission Reference Rumsfeld, Havranek, Masoudi, Peterson, Jones and Tooley6,Reference Sherwood, Blumenthal, Trivedi, Johnson, O’Connor and Adams7 and heightened heart failure symptoms, Reference Rumsfeld, Havranek, Masoudi, Peterson, Jones and Tooley6 as well as being risk factors for mortality. Reference Moradi, Doostkami, Behnamfar, Rafiemanesh and Behzadmehr3,Reference Sherwood, Blumenthal, Trivedi, Johnson, O’Connor and Adams7,Reference Gathright, Goldstein, Josephson and Hughes8 Depression and depressive symptoms in patients with CHF have also been linked to diminished quality of life, Reference Moradi, Doostkami, Behnamfar, Rafiemanesh and Behzadmehr3,Reference Mulugeta, Sinclair and Wilson9 physical and social limitations, Reference Rumsfeld, Havranek, Masoudi, Peterson, Jones and Tooley6 functional decline, Reference Vaccarino, Kasl, Abramson and Krumholz10 worse New York Heart Association (NYHA) classification Reference Vaccarino, Kasl, Abramson and Krumholz10 and decreased compliance to treatment regimens. Reference Moradi, Doostkami, Behnamfar, Rafiemanesh and Behzadmehr3 However, few studies have investigated depression and depressive symptoms in patients with CHF, despite their high prevalence and substantial relationship with treatment adherence and outcomes. Reference Moradi, Doostkami, Behnamfar, Rafiemanesh and Behzadmehr3

Expanding research on depressive symptoms and CHF beyond high-income countries

Much of our current understanding of the biological, psychological and social factors underlying depression and depressive symptoms in CHF is derived from studies conducted in high-income countries, the findings of which may not extend to other regions of the world, given differential and complex sociodemographic factors. Reference Kloiber, Jones, Hodsoll, Chaudhry, Khoso and Omair Husain11 A recent review reported that social determinants including socioeconomic status, race and ethnicity influence depression rates in patients with CHF. Reference Rashid, Qureshi, Noor, Yaseen, Sheikh and Malik12 There is also expected to be an increase in CHF burden in low-to-middle-income countries (LMICs), in which the aetiology of CHF has been shown to vary by income level, Reference Joseph, Roy, Lonn, Störk and Floras13 and factors such as access to healthcare, including cardiac rehabilitation services, may have a critical role in determining patient prognosis. In LMIC settings, these social determinants, combined with limited resources, may significantly affect the course and outcomes of depressive symptoms in CHF patients. The inclusion of diverse patient populations from LMICs could enable us to more comprehensively evaluate the relationship between depression and depressive symptoms in CHF and enhance the generalisability of our results.

Exploring depressive symptom changes in CHF patients from LMICs

Previously, we prospectively investigated mortality, disability and health-related quality of life in depressed patients with CHF from Pakistan and found both a high rate of depression and a correlation between the severity of depressive symptoms and increased mortality. Reference Husain, Chaudhry, Husain, Abrol, Junejo and Saghir14 However, our earlier analyses used a binary classification of depression, which limited our ability to assess heterogeneous impairments among patients or account for potential differential changes in depressive symptoms. Other studies have identified depressive symptom trajectories in CHF patients from Western countries, including various patterns of persistence, improvement and worsening; Reference Koenig, Johnson and Peterson15Reference Dekker, Lennie, Albert, Rayens, Chung and Wu18 however, to the best of our knowledge, there have been no reports of corresponding trajectories in CHF patients from LMICs. Investigating these changes in symptoms over time is crucial to enable personalised care and early intervention, especially in regions with limited healthcare resources. Understanding patterns of change could also lead to more targeted treatment, efficient resource allocation and culturally sensitive mental health strategies, thereby improving both psychological and cardiac outcomes.

The present investigation leveraged a large longitudinal data-set consisting of information about CHF patients from an urban setting in an LMIC (Karachi, Pakistan) to investigate changes in depressive symptoms over time. By applying machine learning techniques, we identified distinct depressive symptom patterns and explored associated clinical and demographic factors. Our findings offer novel insight into the dynamic nature of depressive symptoms in CHF patients, with a particular emphasis on low-resource settings, in which such research is scarce yet essential.

Methods

Data source

Data were obtained from a 6-month cohort study on CHF and depression, detailed in our prior publication, Reference Husain, Chaudhry, Husain, Abrol, Junejo and Saghir14 involving 1009 hospital patients recently diagnosed with CHF across Karachi, the most populous city in Pakistan, between 4 January 2010 and 31 December 31. Participants completed assessments at baseline and after 6 months, all of which had been validated for use in the Urdu language in Pakistan. Reference Husain, Chaudhry, Husain, Abrol, Junejo and Saghir14 Briefly, the following were assessed: social stress, using the Life Events Checklist, a 14-item tool assessing recent life events and stressors; perceived social support, using the Multidimensional Scale of Perceived Social Support, a questionnaire to evaluate levels of support from family, friends and significant others; quality of life, with the Euro Quality of Life Visual Analog Scale, which captures health status across five dimensions (mobility, self-care, usual activities, pain and/or discomfort, and anxiety and/or depression); disability, using the Brief Disability Questionnaire, a tool to evaluate functional limitations in daily activities; and depressive symptom severity, using the Beck Depression Inventory (BDI), a 21-item self-report questionnaire widely used to assess the severity of depressive symptoms. Health factors including the aetiology of CHF, presence of left ventricular failure, smoking status, ejection fraction and comorbidities (such as diabetes, chronic obstructive pulmonary disease, stroke, myocardial infarction, bypass surgery and renal disease) were also assessed. The NYHA classification was used to evaluate the severity of CHF, categorising participants into four classes (I–IV) on the basis of physical functional limitations (class I, no limitation; class II, slight limitation; class III, significant limitation; class IV, severe limitation, with symptoms even at rest).

Ethics statement

The authors assert that all procedures contributing to this work comply with the ethical standards of the relevant national and institutional committees on human experimentation and with the Helsinki Declaration of 1975, as revised in 2013. All procedures involving human participants and/or patients were approved by the institutional review board of the Dow University of Health Sciences, Karachi (REB #038/10). Written informed consent was obtained from participants who met the inclusion criteria.

The authors affirm that this manuscript presents an honest, accurate, and transparent account of the study being reported. We confirm that no important aspects of the study have been omitted, and any discrepancies from the study as originally planned (and, where applicable, registered) have been fully explained.

Statistical analysis

Our statistical methods workflow is outlined in Fig. 1. There were two main aims: (a) to identify changes in depressive symptoms; and (b) to identify factors contributing to these changes in depressive symptoms.

Fig. 1 Schematic of analysis. Using univariate clustering, baseline and follow-up depressive symptom severity (Beck Depression Index) scores were analysed separately to identify clusters. Then, individual trajectory labels were assigned to participants on the basis of these clusters, and a supervised classifier was used to identify demographic, clinical and behavioural factors predictive of each trajectory label.

Aim 1: identification of patterns of depressive symptoms changes

To identify patterns of depressive symptom changes, a Gaussian mixture model (GMM) clustering approach was applied to baseline and follow-up depressive symptom severity scores (BDI scores) separately. Silhouette analysis was used to determine the optimal number of clusters. Silhouette scores measure the similarity of an object to its own cluster compared with others, with higher scores indicating better cluster separation. GMMs were fitted for cluster numbers ranging from 2 to 12, and the optimal number was selected on the basis of having the highest silhouette score. We also evaluated log-likelihood (a probabilistic measure of model fit) and penalised likelihood-based criteria (the Akaike information criterion and Bayesian information criterion) to assess model performance. These criteria provided additional perspectives on the trade-off between model fit and complexity, supporting a robust clustering solution. Labels were then extracted on the basis of the cluster assignment.

Aim 2: identification of factors contributing to changes in depressive symptoms

A random forest classifier was used to identify baseline features contributing to changes in depressive symptoms. A one-versus-rest approach was implemented, using separate binary classifiers to distinguish each class from the others. This method is particularly effective for imbalanced classes and provides insight into the specific characteristics of each group. All available baseline clinical and demographic variables were included in the model to ensure a data-driven approach to determining relevant factors. Baseline depressive symptom severity (BDI score) was omitted from our model to prevent data leakage, as clustering was based on this variable. Machine learning – specifically, the random forest method – was chosen because of its ability to handle complex, non-linear relationships between variables, which traditional methods such as regression may not capture. The random forest approach minimises uncertainty in prediction labels by using multiple decision trees, thereby reducing variance (i.e. sensitivity to idiosyncrasies in the training data). It also enables data-driven identification of important predictors; thus, it was a suitable choice given the variety of clinical and demographic factors we aimed to explore. This ensemble method allowed us to use bootstrapping and random feature selection to enhance the independence of individual trees and quantify feature importance, thereby providing clear indication of the key factors driving depressive symptom changes.

Hyperparameter optimisation

To improve model performance, we used a nested cross-validation approach with five inner folds; this enabled hyperparameter tuning by further splitting the training data into inner training and validation folds. We used the TPE (tree-structured Parzen estimator) algorithm to which randomly initialise sets of hyperparameters to evaluate, then adaptively selected subsequent sets on the basis of feedback to improve model performance. We conducted 500 evaluations, optimising hyperparameters for F1 score, the harmonic mean of precision and recall, where precision is the proportion of correctly predicted positive labels among all predicted positives, and recall is the proportion of correctly predicted positive labels among all actual positives. The number of trees was set to 500 to balance performance and computational cost. Key hyperparameters optimised included the splitting criterion (Gini impurity or Shannon information gain), class weight for imbalance, maximum tree depth, maximum features per split, and minimum samples per leaf and split.

Performance metrics

We used several metrics to comprehensively evaluate classifier performance, in addition to F1 score. Confusion matrices were normalised to show the percentage of true labels classified as each predicted label, and accuracy was calculated as the ratio of correctly identified labels to total number of labels. In addition, we assessed the area under the precision-recall curve and the area under the receiver operating characteristic curve to measure the trade-offs between precision and recall, and between true and false positive rates, respectively. Here, a true positive refers to correct identification of an individual who belongs to the target group (e.g. correct identification of a patient who has persistent depressive symptoms); precision measures how many of the predicted positives were actually correct, and recall measures how many of the actual positives were correctly identified. A higher area under the precision-recall curve indicates that the model is good at identifying true positives while minimising errors. The area under the receiver operating characteristic curve measures how well the model distinguishes between positive and negative cases, with a higher value indicating better overall performance. The outer loop of the nested cross-validation estimated model performance on unseen data, preventing overfitting during hyperparameter tuning and reducing the risk of biased performance estimates compared with a single random train–test split. Each model’s performance on new data was estimated using ten folds with five repetitions, which required multiple splits of the data into training and testing folds. By averaging performance metrics across folds, we could therefore obtain an unbiased assessment of the model’s overall effectiveness.

Feature importance and directionality

Feature importance was evaluated by quantifying each feature’s capacity to reduce impurity, thereby decreasing label uncertainty during decision-tree construction. The reduction in impurity attributed to each feature was averaged across all trees in the random forest to determine its overall importance.

Although feature importance quantifies the extent to which each feature contributes to a prediction, it does not convey the direction of this influence. Shapley additive explanations (SHAP) values were used to address this. Reference Lundberg and Lee19 SHAP values provide a detailed account of each feature’s contribution to a prediction. Each feature is assigned a SHAP value for each prediction, reflecting both the magnitude and direction of its impact. A higher SHAP value indicates a stronger influence of the feature on the prediction. A positive SHAP value means an increase in the feature’s value drives the prediction towards the current class, whereas a negative SHAP value means it moves the prediction away from the current class.

Statistical testing

To assess whether the models predicted changes in depressive symptoms better than statistical chance, we performed non-parametric permutation testing on the performance metric for each model. Specifically, we conducted statistical testing on F1 score to maintain consistency with hyperparameter optimisation. To determine whether each feature contributed more to the prediction than statistical chance, we performed non-parametric permutation testing on the feature importance for each model. This involved randomly shuffling class labels outside the cross-validation framework and repeating cross-validation with the same previously optimised hyperparameters. We repeated this 1000 times, generating permuted null distributions to compare the true F1 and feature importance scores. We used one-sided tests to determine the numbers of permuted F1 and feature importance scores that exceeded the true scores at a significance level of α = 0.05. To correct for multiple comparisons, we separately conducted Benjamini–Hochberg p-value false discovery rate (pFDR) correction Reference Benjamini and Hochberg20 across the performance metric tests (4 × 1 comparisons) and feature importance tests (4 × 32 comparisons). Reference Chen, Tam, Kebets, Orban, Ooi and Asplund21

Code sharing

All code used for statistical analyses and generating figures can be found at https://github.com/juliagallucci/CHF_Depressive_Symptoms.

Results

Participant characteristics

A total of 783 individuals diagnosed with CHF were included in the analysis; all of these individuals had complete data, including baseline and follow-up BDI scores, as well as all baseline demographic, behavioural and clinical information. Participant demographics and clinical scores are detailed in Table 1.

Table 1 Participant’s demographics and clinical score (n = 783)

BDQ, Behavioral Development Questionnaire; CHF, congestive heart failure; COPD, chronic obstructive pulmonary disease; EQVAS, Euro Quality of Life Visual Analogue Scale; LEC, Life Events Checklist; LVF, left ventricular fraction; MSPSS, Multidimensional Scale of Perceived Social Support; NYHA, New York Heart Association Functional Classification.

a. Primary education includes grades 1–6, metric education refers to secondary schooling (grades 9–10) and graduate education involves higher studies (Bachelor’s degree or equivalent).

Identification of changes in depressive symptoms

Clustering at baseline and follow-up

Using the GMM algorithm, we identified two separate participant clusters on the basis of depressive symptom severity (BDI score) at baseline (minimal/mild (30.65%) and moderate/severe (69.35%) depressive symptom severity) by taking the clustering with the highest silhouette score (0.72) (Fig. 2(a)). Log-likelihood, Akaike information criterion and Bayesian information criterion values were consistent across solutions with numbers of clusters ranging from two to nine, but the silhouette-score-based solution aligned best with our visual inspection of the score distribution (Supplementary Fig. 1 available at https://doi.org/10.1192/bjo.2025.41). At follow-up, three separate patient clusters emerged, consisting of patients with ‘minimal/mild’ (42.02%), ‘moderate’ (38.06%) and ‘severe’ (19.92%) depressive symptom severity; again, the clustering was based on the silhouette score (highest score: 0.68) (Fig. 2(b)). As at baseline, the log-likelihood, Akaike information criterion and Bayesian information criterion values remained stable across solutions with 2–7 clusters, and the silhouette score provided the most visually coherent clustering (Supplementary Fig. 1). There was a high degree of overlap in depressive symptom severity between the minimal/mild cluster at baseline and that at follow-up, indicating consistency in our interpretation of changes over time (Supplementary Fig. 2).

Fig. 2 Depressive symptom changes in patients with congestive heart failure. Gaussian mixture model clustering and silhouette analysis were used to determine the optimal numbers of clusters (k) at (a) baseline and at (b) 6-month follow-up. (c) On the basis of these analyses, 6-month trajectory labels for depressive symptoms were derived. BDI, Beck Depression Index.

Applying changes to depressive symptom labels

Four patterns of depressive symptom changes were identified: ‘good prognosis’ (minimal/mild at both baseline and follow-up; n = 155), ‘remitting course’ (moderate/severe at baseline and minimal/mild at follow-up; n = 174), ‘clinical worsening’ (minimal/mild at baseline and either moderate or severe at follow-up; n = 85) and ‘persistent course’ (moderate/severe at both baseline and follow-up; n = 369) (Fig. 2(c)). Although two clusters were identified at baseline (minimal/mild and moderate/severe) and three clusters at follow-up (minimal/mild, moderate and severe), the moderate and severe clusters at follow-up were combined under a single label, as they both corresponded to levels of depressive symptomatology that generally necessitate clinical intervention. Demographic and clinical characteristics for each group are presented in Supplementary Table 1.

Factors contributing to changes in depressive symptoms

The initial analysis involved implementing the random forest classifier with default hyperparameters. Although the model accurately predicted the good prognosis and persistent course patterns, it frequently misclassified clinical worsening and remitting course (Supplementary Fig. 3). To address this, we optimised hyperparameters to improve the F1 score, which was particularly sensitive to these misclassifications. Given the relatively good classifier performance (all P < 0.0099), with the confusion matrix showing that the majority of true labels were correctly classified and there were few misclassifications (Supplementary Fig. 4), we investigated the most critical features at baseline for each outcome using the F1-optimised models (Fig. 3).

Fig. 3 Shapley additive explanations (SHAP) values for one-versus-rest random forest models. SHAP values are shown for predictors of (a) good prognosis, (b) remitting course, (c) clinical worsening and (d) persistent course. Positive SHAP values indicate a positive contribution to the prediction, whereas negative values indicate a negative contribution. Predictors are ordered on the basis of impurity-based feature importance, with significance indicated (asterisk indicates positive FDR < 0.05). BDQ, Behavioral Development Questionnaire; CHF, congestive heart failure; COPD, chronic obstructive pulmonary disease; EQVAS, Euro Quality of Life Visual Analogue Scale; LEC, Life Events Checklist; LVF, left ventricular fraction; MSPSS, Multidimensional Scale of Perceived Social Support; NYHA, New York Heart Association Functional Classification; EF II, ejection fraction II; EF III, ejection fraction III.

Key features associated with each depressive symptom trajectory were as follows. Good prognosis had a positive association with quality of life (feature importance 0.15; pFDR = 0.014) and negative associations with social stress (feature importance 0.39; pFDR = 0.014), disability (feature importance 0.18; pFDR = 0.014) and NYHA class 3 (feature importance 0.06; pFDR = 0.049) (Fig. 3(a)). Remitting course had positive associations with social stress (feature importance 0.40; pFDR = 0.014) and disability (feature importance 0.28; pFDR = 0.014) and a negative association with NYHA class 3 (feature importance 0.13; pFDR = 0.026) (Fig. 3(b)). Clinical worsening had a positive association with quality of life (feature importance 0.32; pFDR = 0.014) and a negative association with social stress (feature importance 0.31; pFDR = 0.014) (Fig. 3(c)). Finally, persistent course had positive associations with social stress (feature importance 0.20; pFDR = 0.014), disability (feature importance 0.17; pFDR = 0.046) and NYHA class 3 (feature importance 0.12; pFDR = 0.049) and a negative association with quality of life (feature importance 0.26; pFDR = 0.014) (Fig. 3(d)).

To better interpret these factors, we performed post hoc groupings of changes in depressive symptoms according to baseline depressive symptom severity scores (Fig. 4). Groups with minimal baseline depressive symptom severity (good prognosis and clinical worsening) were positively associated with quality of life and negatively associated with and social stress. Uniquely, maintaining minimal depressive symptom severity over time (good prognosis) was negatively associated with disability and NYHA class 3. By contrast, groups with moderate/severe baseline depressive symptom severity (persistent course and remitting course) had positive associations with both disability and social stress. Uniquely, poor prognosis over time (persistent course) was negatively associated with quality of life and positively associated with NYHA class 3, whereas symptom improvement over time (remitting course) was negatively associated with NYHA class 3.

Fig. 4 Significant predictors and their associations with changes in depressive symptoms, grouped based on shared baseline depressive symptom severity scores. Risk factors (red) are uniquely linked to poorer outcomes, protective factors (green) are uniquely linked to better outcomes, and common factors (grey) are associated with both. BDQ, Behavioral Development Questionnaire; EQVAS, Euro Quality of Life Visual Analogue Scale; LEC, Life Events Checklist; NYHA, New York Heart Association Functional Classification.

Discussion

In the present investigation, we leveraged a longitudinal data-set corresponding to CHF patients from an urban setting in an LMIC that had also been assessed for depressive symptoms. We aimed to uncover patterns of depressive symptom severity over time and explore related baseline demographics and clinical factors. We identified four separate patterns of depressive symptom changes: good prognosis, remitting course, clinical worsening and persistent course. Key contributors to these changes included quality of life, social stress, disability and CHF classification. Specifically, minimal baseline depressive symptom severity was linked to better quality of life and lower social stress, whereas lower disability levels and NYHA class other than 3 were associated with good longitudinal outcomes. Conversely, moderate/severe baseline depressive symptom severity was linked to higher disability and social stress, whereas lower quality of life and NYHA class 3 symptoms were associated with more persistent poor outcomes.

Our study identified four separate patterns of depressive symptom changes in this sample. In approximately half of the patients presenting with depressive symptoms at baseline, these persisted at follow-up, whereas around 40% either maintained minimal symptoms or exhibited clinical improvement. A small percentage showed worsening of depressive symptoms after 6 months. These results are consistent with findings of previous research on depressive symptom trajectories in Western countries, Reference Koenig, Johnson and Peterson15Reference Dekker, Lennie, Albert, Rayens, Chung and Wu18 indicating that a significant portion of CHF patients experience persistent depressive symptoms, and, among those who do show changes, the majority tend to improve rather than decline, irrespective of setting.

Poorer longitudinal outcomes were linked to lower quality of life and higher CHF functional classification (NYHA class 3), indicating moderately severe cardiovascular disease with physical activity limitations. These findings are consistent with those of previous studies linking higher NYHA class to increased psychological distress, including anxiety, Reference Marcil, Houchi, Nadarajah, Khairy, Mageau and Marin22 depression Reference Nguyen, Nguyen, Nguyen, Nguyen, Nguyen and Nguyen23,Reference Tran, Bui, Nguyen, Hoang, Vo and Nguyen24 and overall reduced quality of life. Reference Alemoush, Al-Dweik and AbuRuz25,Reference Jackson, Hassen, Gerardo, Vannatta and Daniels26 Given the subjective nature of NYHA, which is based on patients’ experience of limitations in daily activities due to cardiac function, Reference Marcil, Houchi, Nadarajah, Khairy, Mageau and Marin22,Reference Jackson, Hassen, Gerardo, Vannatta and Daniels26 persistent depressive symptoms may distort illness perception, leading to an overemphasis on functional limitations. This interplay may worsen CHF patients’ perception of heart failure, leading those with persistent depressive symptoms to report greater limitations and poorer functioning, which in turn could perpetuate their depressive symptoms. It has previously been shown that the perception of symptom burden significantly affects mood-related symptoms (e.g. anxiety and depression) in patients with CHF. Reference Nahlén Bose, Elfström, Björling, Persson and Saboonchi27,Reference Feola, Garnero, Vallauri, Salvatico, Vado and Leto28

Lower levels of disability and non-severe CHF functional classification (i.e. NYHA class other than 3) emerged as protective factors against poorer longitudinal outcomes. Patients with changes in depressive symptoms characterised by worsening or persistent clinical symptoms lack these protective factors, which may lead to less favourable outcomes. Increased disability is associated with decreased quality of life and is an independent predictor of mortality. Reference Chiarantini, Volpato, Sioulis, Bartalucci, Del Bianco and Mangani29,Reference Chaudhry, Wang, Gill and Krumholz30 In addition, level of disability is directly correlated with NYHA functional classification and has been independently linked to cognitive dysfunction in CHF patients. Reference Zuccalà, Onder, Pedone, Cocchi, Carosella and Cattel31 These associations can impair patients’ ability to adhere to treatments, manage self-care and make informed health-related decisions, Reference Cameron, Worrall-Carter, Page, Riegel, Lo and Stewart32 potentially contributing to a cycle of worsening physical and psychological health outcomes. Changes in depressive symptoms with more favourable outcomes (good prognosis and remitting course) were negatively associated with NYHA class 3 symptoms and disability, particularly in the good prognosis group. These findings suggest that level of disability, which affects physical and cognitive function as well as emotional well-being, may directly influence longitudinal outcomes and mediate the transition between favourable and unfavourable changes. Interventions such as resistance training and personalised exercise programmes could help to reduce physical disability Reference Savage, Shaw, Miller, VanBuren, LeWinter and Ades33,Reference Ades, Savage, Tischler, Poehlman, Dee and Niggel34 and improve cognitive functioning. Reference Maroofi, Moro, Agrimi and Safari35 Exercise has also shown efficacy in reducing depression Reference Noetel, Sanders, Gallardo-Gómez, Taylor, Del Pozo Cruz and van den Hoek36 and thus may improve patient trajectories for individuals with CHF experiencing depressive symptoms.

This study had some limitations. Our analyses lacked an independent data-set for evaluation of the generalisability of the results. However, cross-validation and permutation procedures were used to mitigate the risk of unstable findings. In addition, this study was conducted as a secondary analysis and therefore was not originally designed prospectively to address the proposed aims. For instance, our data collection was limited to baseline and 6-month follow-up assessments. Serial assessments of depressive symptoms spanning this period would enable a more nuanced understanding of individuals’ true depressive symptom trajectories. The association between more severe NYHA class and depressive symptoms could indicate either that severe CHF causes depression in patients with significant functional impairment, or that depressive symptoms worsen heart failure symptoms and functional impairment. The present study could not establish the causality of this complex bidirectional relationship; further analysis is required to determine whether this association contributes to the link between depression and increased mortality in CHF patients. Reference Lossnitzer, Feisst, Wild, Katus, Schultz and Frankenstein37 Last, although the BDI is a widely accepted measure of depressive symptom severity in adults, Reference Kneipp, Kairalla, Stacciarini and Pereira38 it lacks the diagnostic capabilities of gold-standard instruments such as the DSM or Mini International Neuropsychiatric Interview. This limitation, coupled with the absence of assessments of other psychopathologies such as anxiety or substance use disorders, restricted our ability to fully attribute observed outcomes to depression alone. Further, some BDI items overlap with physical health issues, including fatigue, poor sleep and somatic concerns; this could have increased depressive symptom scores in patients with severe CHF. Reference de Jonge, Ormel, van den Brink, van Melle, Spijkerman and Kuijper39 Although psychological items on the BDI are less likely to be affected by such an overlap, this possibility should be considered when interpreting the findings. Inclusion of a broader range of assessments could have provided a more comprehensive understanding of how these factors interact with physical health outcomes.

The results of the present study underscore the heterogeneous nature of changes in depressive symptoms over time among CHF patients in LMICs, revealing a complex interplay of contributing risk and protective factors. These findings are strengthened by our having used a data-driven clustering approach, which led to a set of separate trajectory clusters, rather than a binary classification of depression status. This method provided a more nuanced understanding of changes in depressive symptoms by identifying natural groupings within the data, leading to more accurate and personalised insights into patient outcomes than might have been possible using a depressed versus non-depressed dichotomy. In addition, the use of a random forest classifier, a method robust to overfitting and capable of handling large imbalanced data-sets, enabled us to uncover meaningful predictors for each trajectory. Such risk factors must be carefully considered to enhance our understanding of which patients are at heightened risk of adverse outcomes, which in turn could facilitate early identification and initiation of appropriate interventions to maximise benefits. Furthermore, our findings may inform clinical trials of interventions to prevent depression and effectively manage diagnosed cases. For example, given the relationship between physical disability and depression, patients at high risk could be enrolled in more intensive rehabilitation and exercise programmes. This is particularly important given the significant impact of depression on mortality in CHF patients, Reference Moradi, Doostkami, Behnamfar, Rafiemanesh and Behzadmehr3,Reference Sherwood, Blumenthal, Trivedi, Johnson, O’Connor and Adams7,Reference Gathright, Goldstein, Josephson and Hughes8 as well as the additional suffering associated with comorbid conditions. Reference Iyngkaran, Thomas, Horowitz, Komesaroff, Jelinek and Hare40

Supplementary material

The supplementary material is available online at https://doi.org/10.1192/bjo.2025.41

Data availability

The data supporting the findings of this study are available upon request from the senior author, M.I.H. These data are not publicly available owing to the presence of information that could compromise the privacy of the research participants. All code used for statistical analyses and generating figures is freely accessible at https://github.com/juliagallucci/CHF_Depressive_Symptoms.

Acknowledgements

The data analysis was supported by Rahul Krishnan.

Author contributions

J.G. substantially contributed to the conception or design of the study; analysis and interpretation of the data; and drafting and revision of the manuscript; and is accountable for all aspects of the work. J.N. substantially contributed to analysis and interpretation of the data and drafting of the manuscript. M.T.S. and B.D.M.J. substantially contributed to the analysis and interpretation of the data and revision of the manuscript. C.H., M.O.H. and A.N.V. substantially contributed to revision of the manuscript. N.H. and I.B.C. substantially contributed to data collection. M.I.H. substantially contributed to the conception and design of the study and drafting of the manuscript; provided formal supervision for all aspects of the work; and is accountable for all aspects of the study. The data used in this work were collected by M.I.H.

Funding

The data used in this study were funded by the Pakistan Institute of Living and Learning (grant ID: 004/10), Karachi, Pakistan.

Declaration of interest

M.I.H. has been a scientific advisor to MindSet Pharma, Wake Network and Psyched Therapeutics, and he has led contracted research for COMPASS Pathfinder Ltd. M.I.H. is also a member of the BJPsych Open editorial board; however, he did not take part in the review or decision-making process for this paper. The authors report no financial relationships with commercial interests.

Footnotes

*

These authors contributed equally to this work.

References

Rutledge, T, Reis, VA, Linke, SE, Greenberg, BH, Mills, PJ. Depression in heart failure a meta-analytic review of prevalence, intervention effects, and associations with clinical outcomes. J Am Coll Cardiol 2006; 48: 1527–37.CrossRefGoogle Scholar
Celano, CM, Villegas, AC, Albanese, AM, Gaggin, HK, Huffman, JC. Depression and anxiety in heart failure: a review. Harv Rev Psychiatry 2018; 26: 175–84.CrossRefGoogle ScholarPubMed
Moradi, M, Doostkami, M, Behnamfar, N, Rafiemanesh, H, Behzadmehr, R. Global prevalence of depression among heart failure patients: a systematic review and meta-analysis. Curr Probl Cardiol. 2022; 47: 100848.CrossRefGoogle Scholar
Carrillo, A, Belnap, BH, Rothenberger, SD, Feldman, R, Rollman, BL, Celano, CM. Psychosocial predictors of health behavior adherence in heart-failure patients with comorbid depression: a secondary analysis of the Hopeful Heart trial. BMC Psychol 2024; 12: 328.CrossRefGoogle Scholar
Sullivan, M, Simon, G, Spertus, J, Russo, J. Depression-related costs in heart failure care. Arch Intern Med 2002; 162: 1860–6.CrossRefGoogle Scholar
Rumsfeld, JS, Havranek, E, Masoudi, FA, Peterson, ED, Jones, P, Tooley, JF, et al. Depressive symptoms are the strongest predictors of short-term declines in health status in patients with heart failure. J Am Coll Cardiol 2003; 42: 1811–7.CrossRefGoogle Scholar
Sherwood, A, Blumenthal, JA, Trivedi, R, Johnson, KS, O’Connor, CM, Adams, KF Jr, et al. Relationship of depression to death or hospitalization in patients with heart failure. Arch Intern Med 2007; 167: 367–73.CrossRefGoogle ScholarPubMed
Gathright, EC, Goldstein, CM, Josephson, RA, Hughes, JW. Depression increases the risk of mortality in patients with heart failure: a meta-analysis. J Psychosom Res 2017; 94: 82–9.CrossRefGoogle Scholar
Mulugeta, H, Sinclair, PM, Wilson, A. Prevalence of depression and its association with health-related quality of life in people with heart failure in low- and middle-income countries: a systematic review and meta-analysis. PLoS One 2023; 18: e0283146.CrossRefGoogle Scholar
Vaccarino, V, Kasl, SV, Abramson, J, Krumholz, HM. Depressive symptoms and risk of functional decline and death in patients with heart failure. J Am Coll Cardiol 2001; 38: 199205.CrossRefGoogle ScholarPubMed
Kloiber, S, Jones, BDM, Hodsoll, J, Chaudhry, IB, Khoso, AB, Omair Husain, M, et al. Metabolic function in patients with bipolar depression receiving anti-inflammatory agents: findings from the MINDCARE study, a multicentre, randomised controlled trial. J Affect Disord 2022; 299: 135–41.CrossRefGoogle ScholarPubMed
Rashid, S, Qureshi, AG, Noor, TA, Yaseen, K, Sheikh, MAA, Malik, M, et al. Anxiety and depression in heart failure: an updated review. Curr Probl Cardiol 2023; 48: 101987.CrossRefGoogle Scholar
G-CHF Investigators, Joseph, P, Roy, A, Lonn, E, Störk, S, Floras, J, et al. Global variations in heart failure etiology, management, and outcomes. JAMA 2023; 329: 1650–61.CrossRefGoogle Scholar
Husain, MI, Chaudhry, IB, Husain, MO, Abrol, E, Junejo, S, Saghir, T, et al. Depression and congestive heart failure: a large prospective cohort study from Pakistan.J Psychosom Res 2019; 120: 4652.CrossRefGoogle Scholar
Koenig, HG, Johnson, JL, Peterson, BL. Major depression and physical illness trajectories in heart failure and pulmonary disease. J Nerv Ment Dis 2006; 194: 909–16.CrossRefGoogle ScholarPubMed
Koenig, HG, Vandermeer, J, Chambers, A, Burr-Crutchfield, L, Johnson, JL. Minor depression and physical outcome trajectories in heart failure and pulmonary disease. J Nerv Ment Dis 2006; 194: 209–17.CrossRefGoogle ScholarPubMed
Fulop, G, Strain, JJ, Stettin, G. Congestive heart failure and depression in older adults: clinical course and health services use 6 months after hospitalization. Psychosomatics 2003; 44: 367–73.CrossRefGoogle Scholar
Dekker, RL, Lennie, TA, Albert, NM, Rayens, MK, Chung, ML, Wu, JR, et al. Depressive symptom trajectory predicts 1-year health-related quality of life in patients with heart failure. J Card Fail 2011; 17: 755–63.CrossRefGoogle ScholarPubMed
Lundberg, SM, Lee, SI. A unified approach to interpreting model predictions. Adv Neural Inf Process Syst [Epub ahead of print] 25 Nov 2017. Available from: https://arxiv.org/abs/1705.07874.Google Scholar
Benjamini, Y, Hochberg, Y. Controlling the false discovery rate: a practical and powerful approach to multiple testing. J R Stat Soc 1995; 57: 289300.CrossRefGoogle Scholar
Chen, J, Tam, A, Kebets, V, Orban, C, Ooi, LQR, Asplund, CL, et al. Shared and unique brain network features predict cognitive, personality, and mental health scores in the ABCD study. Nat Commun 2022; 13: 2217.CrossRefGoogle Scholar
Marcil, MJ, Houchi, C, Nadarajah, K, Khairy, P, Mageau, GA, Marin, MF, et al. The influence of illness perception and coping on anxiety in adults with congenital heart disease. JACC Adv 2023; 2: 100425.CrossRefGoogle Scholar
Nguyen, TT, Nguyen, TX, Nguyen, TTH, Nguyen, TN, Nguyen, HTT, Nguyen, HTT, et al. Symptom burden among hospitalised older patients with heart failure in Hanoi, Vietnam. Int J Environ Res Public Health 2022; 19: 13593.CrossRefGoogle ScholarPubMed
Tran, NN, Bui, VS, Nguyen, VH, Hoang, TPN, Vo, HL, Nguyen, HT, et al. Prevalence of depression among heart failure inpatients and its associated socio-demographic factors: implications for personal-and family-based treatment management in health facilities in Vietnam. Eur Rev Med Pharmacol Sci 2022; 26: 879–87.Google ScholarPubMed
Alemoush, RA, Al-Dweik, G, AbuRuz, ME. The effect of persistent anxiety and depressive symptoms on quality of life among patients with heart failure. Appl Nurs Res 2021; 62: 151503.CrossRefGoogle Scholar
Jackson, JL, Hassen, L, Gerardo, GM, Vannatta, K, Daniels, CJ. Medical factors that predict quality of life for young adults with congenital heart disease: what matters most? Int J Cardiol 2016; 202: 804–9.CrossRefGoogle Scholar
Nahlén Bose, C, Elfström, ML, Björling, G, Persson, H, Saboonchi, F. Patterns and the mediating role of avoidant coping style and illness perception on anxiety and depression in patients with chronic heart failure. Scand J Caring Sci 2016; 30: 704–13.CrossRefGoogle ScholarPubMed
Feola, M, Garnero, S, Vallauri, P, Salvatico, L, Vado, A, Leto, L, et al. Relationship between cognitive function, depression/anxiety and functional parameters in patients admitted for congestive heart failure. Open Cardiovasc Med J 2013; 7: 5460.CrossRefGoogle ScholarPubMed
Chiarantini, D, Volpato, S, Sioulis, F, Bartalucci, F, Del Bianco, L, Mangani, I, et al. Lower extremity performance measures predict long-term prognosis in older patients hospitalized for heart failure. J Card Fail 2010; 16: 390–5.CrossRefGoogle Scholar
Chaudhry, SI, Wang, Y, Gill, TM, Krumholz, HM. Geriatric conditions and subsequent mortality in older patients with heart failure. J Am Coll Cardiol 2010; 55: 309–16.CrossRefGoogle Scholar
Zuccalà, G, Onder, G, Pedone, C, Cocchi, A, Carosella, L, Cattel, C, et al. Cognitive dysfunction as a major determinant of disability in patients with heart failure: results from a multicentre survey. On behalf of the GIFA (SIGG-ONLUS) Investigators. J Neurol Neurosurg Psychiatry 2001; 70: 109–12.CrossRefGoogle Scholar
Cameron, J, Worrall-Carter, L, Page, K, Riegel, B, Lo, SK, Stewart, S. Does cognitive impairment predict poor self-care in patients with heart failure? Eur J Heart Fail 2010; 12: 508–15.CrossRefGoogle ScholarPubMed
Savage, PA, Shaw, AO, Miller, MS, VanBuren, P, LeWinter, MM, Ades, PA, et al. Effect of resistance training on physical disability in chronic heart failure. Med Sci Sports Exerc 2011; 43: 1379–86.CrossRefGoogle Scholar
Ades, PA, Savage, PD, Tischler, MD, Poehlman, ET, Dee, J, Niggel, J. Determinants of disability in older coronary patients. Am Heart J 2002; 143: 151–6.CrossRefGoogle ScholarPubMed
Maroofi, A, Moro, T, Agrimi, J, Safari, F. Cognitive decline in heart failure: biomolecular mechanisms and benefits of exercise. Biochim Biophys Acta Mol Basis Dis 2022; 1868: 166511.CrossRefGoogle ScholarPubMed
Noetel, M, Sanders, T, Gallardo-Gómez, D, Taylor, P, Del Pozo Cruz, B, van den Hoek, D, et al. Effect of exercise for depression: systematic review and network meta-analysis of randomised controlled trials. BMJ 2024; 384: e075847.CrossRefGoogle Scholar
Lossnitzer, N, Feisst, M, Wild, B, Katus, HA, Schultz, JH, Frankenstein, L, et al. Cross-lagged analyses of the bidirectional relationship between depression and markers of chronic heart failure. Depress Anxiety 2020; 37: 898907.CrossRefGoogle ScholarPubMed
Kneipp, SM, Kairalla, JA, Stacciarini, J, Pereira, D. The Beck Depression Inventory II factor structure among low-income women. Nurs Res 2009; 58: 400–9.CrossRefGoogle Scholar
de Jonge, P, Ormel, J, van den Brink, RHS, van Melle, JP, Spijkerman, TA, Kuijper, A, et al. Symptom dimensions of depression following myocardial infarction and their relationship with somatic health status and cardiovascular prognosis. Am J Psychiatry 2006; 163: 138–44.CrossRefGoogle ScholarPubMed
Iyngkaran, P, Thomas, M, Horowitz, JD, Komesaroff, P, Jelinek, M, Hare, DL. Common comorbidities that alter heart failure prognosis – shaping new thinking for practice. Curr Cardiol Rev 2021; 17: e160721187934.CrossRefGoogle ScholarPubMed
Figure 0

Fig. 1 Schematic of analysis. Using univariate clustering, baseline and follow-up depressive symptom severity (Beck Depression Index) scores were analysed separately to identify clusters. Then, individual trajectory labels were assigned to participants on the basis of these clusters, and a supervised classifier was used to identify demographic, clinical and behavioural factors predictive of each trajectory label.

Figure 1

Table 1 Participant’s demographics and clinical score (n = 783)

Figure 2

Fig. 2 Depressive symptom changes in patients with congestive heart failure. Gaussian mixture model clustering and silhouette analysis were used to determine the optimal numbers of clusters (k) at (a) baseline and at (b) 6-month follow-up. (c) On the basis of these analyses, 6-month trajectory labels for depressive symptoms were derived. BDI, Beck Depression Index.

Figure 3

Fig. 3 Shapley additive explanations (SHAP) values for one-versus-rest random forest models. SHAP values are shown for predictors of (a) good prognosis, (b) remitting course, (c) clinical worsening and (d) persistent course. Positive SHAP values indicate a positive contribution to the prediction, whereas negative values indicate a negative contribution. Predictors are ordered on the basis of impurity-based feature importance, with significance indicated (asterisk indicates positive FDR < 0.05). BDQ, Behavioral Development Questionnaire; CHF, congestive heart failure; COPD, chronic obstructive pulmonary disease; EQVAS, Euro Quality of Life Visual Analogue Scale; LEC, Life Events Checklist; LVF, left ventricular fraction; MSPSS, Multidimensional Scale of Perceived Social Support; NYHA, New York Heart Association Functional Classification; EF II, ejection fraction II; EF III, ejection fraction III.

Figure 4

Fig. 4 Significant predictors and their associations with changes in depressive symptoms, grouped based on shared baseline depressive symptom severity scores. Risk factors (red) are uniquely linked to poorer outcomes, protective factors (green) are uniquely linked to better outcomes, and common factors (grey) are associated with both. BDQ, Behavioral Development Questionnaire; EQVAS, Euro Quality of Life Visual Analogue Scale; LEC, Life Events Checklist; NYHA, New York Heart Association Functional Classification.

Supplementary material: File

Gallucci et al. supplementary material

Gallucci et al. supplementary material
Download Gallucci et al. supplementary material(File)
File 1.2 MB
Submit a response

eLetters

No eLetters have been published for this article.