Background

Not only various medical conditions but also mental disorders increase the risk of cardiovascular diseases (CVDs) [1,2,3,4]. Among various CVDs, atrial fibrillation (AF) is the most common cardiac arrhythmia in adults. The prevalence and incidence of AF are continuously rising with population aging [5]. AF is one of the major CVDs because it lowers patients’ quality of life and increases the risk of ischemic stroke, heart failure hospitalization, cognitive impairment, and all-cause death [5]. The risk of AF is significantly higher in patients with mental disorders according to previous observational studies [6, 7] and mental disorders are associated with increased risks of stroke and bleeding in AF [8, 9]. Diabetes mellitus (DM) is a type of CVDs that has a much higher prevalence than AF and also significantly increases the risk of macrovascular, microvascular complications, and all-cause death [10]. DM is also well-known as a risk factor for AF and a risk factor for increasing the risk of stroke and AF-related complications in patients with AF [11]. Poorly controlled DM was associated with a higher risk of ischemic stroke in patients with AF [11, 12]. Therefore, recognizing and managing risk factors for AF in diabetic patients would be an important part of the management of diabetic patients.

DM is a disease that requires chronic management, and it is known that patients have lower life quality, and the prevalence of mental disorders such as depression and insomnia is higher than that of the general population [13, 14]. However, comprehensive analysis on whether accompanying mental disorders in patients with DM increases their risk for new-onset AF is limited. In this study, we aimed to evaluate the impact of mental disorders, including depression, insomnia, anxiety, bipolar disorder, and schizophrenia, on the risk of new-onset AF in patients with DM using a nationwide population-based cohort.

Methods

We performed a nationwide population-based cohort study using data from the National Health Information Database (NHID) in the Republic of Korea (hereafter denoted as Korea). The Korean NHID was created by the Korean National Health Insurance System (NHIS), which is the sole medical insurance system managed by the Korean government and covers the entire Korean population. All insured adults in the Korean NHIS are required to undergo regular health examinations. Health screening information from the Korean NHID contains detailed lifestyle questionnaires, laboratory results, and anthropometric measurements [15]. Diagnoses are also included in the Korean NHID and coded as the Korean Standard Classification of Diseases Version 7 based on the International Classification of Diseases 10th Revision (ICD-10). Using the Korean NHID was possible because our study protocols were approved by both the governed official review committee and the institutional review board at Seoul National University Hospital (E-2205-006-1320).

Study population

We identified 2,746,079 patients with diabetes who underwent health checkups between January 2009 and December 2012. A total of 117,836 patients aged < 20 years or with missing data from health examinations were excluded. Further, those who had prevalent AF or were diagnosed with AF within 1 year of the index date were excluded (n = 115,553). Finally, 2,512,690 patients with DM were included in this study.

Five mental disorders

Depression and anxiety are the most common diseases among mental disorders [16], and bipolar disorder and schizophrenia are known to be accompanied by depression and anxiety [17,18,19,20]. Although depression or anxiety is known to be related to AF, many studies have shown conflicting results [21,22,23]. There are few studies about an association between AF and bipolar disorder or schizophrenia. Therefore, we analyzed depression, anxiety, bipolar disorder, and schizophrenia. Additionally, sleep apnea is known as a risk factor for AF while inducing sleep fragmentation [24], and insomnia was also analyzed.

Covariates

Patients with diabetes were defined as having (1) DM (ICD-10 codes, E11-E14) diagnosed before the index date with anti-diabetic drugs prescribed or (2) fasting glucose level > 126 mg/dL. A previous diagnosis of a mental disorder was defined as the presence of an insurance claim with ICD-10 codes for mental disorders within 5 years before the index date. Mental disorders included depression, bipolar disorder, schizophrenia, insomnia, and anxiety. The detailed operational definitions are summarized in Additional file 1: Table S1. Baseline characteristics of the study participants, including age, sex, body mass index (BMI), fasting glucose, demographics, and comorbidities (such as hypertension, dyslipidemia, chronic kidney disease, congestive heart failure, obstructive sleep apnea, and thyroid disease) were obtained. Data on lifestyle behaviors, including smoking status, alcohol consumption, and physical activity, were collected using a self-reported questionnaire. BMI and fasting glucose levels were obtained from the health screening examination database. Detailed information regarding the definitions of comorbidities and demographic data is summarized in the supplementary file (Additional file 1: Table S1).

Study outcomes and follow-up

The primary outcome in this study was new-onset AF during the follow-up period. New-onset AF was identified using diagnostic codes (ICD-10 codes I480–I484 and I489) and satisfied with one diagnosis during hospitalization or at least two diagnoses at an outpatient clinic while receiving follow-up care [25, 26]. Participants were followed up from the index date to the date of occurrence of AF, death, or the end of the study period (December 31, 2018), whichever came first.

Statistical analysis

Patients with diabetes were divided into two groups according to the presence of prevalent mental disorders. The baseline characteristics are reported as mean ± standard deviation for continuous variables and as number and percentage for categorical variables. To compare the two groups for significant differences in baseline characteristics, the t-test was used for continuous variables and the Fisher exact or chi-squared test for categorical variables. The incidence of new-onset AF in patients with diabetes who had mental disorders was compared with that in those without mental disorders. The incidence rates of new-onset AF were calculated as the number of cases divided by 1000 person-years (PY) at risk during the follow-up period. The five types of mental disorders were analyzed separately. Kaplan–Meier curves were generated for time to the occurrence of AF, and the log-rank test was used to compare the cumulative incidence rates of AF in the groups.

To evaluate the association between mental disorders and new-onset AF, hazard ratios (HRs) and 95% confidence intervals (CIs) were calculated using a Cox proportional hazard regression model. Model 1 represented an unadjusted risk, while Model 2 was adjusted for age and sex, and Model 3 was adjusted for age, sex, BMI, low-income level, smoking status, alcohol consumption status, regular physical activity, hypertension, dyslipidemia, chronic kidney disease, heart failure, obstructive sleep apnea, thyroid disease, fasting glucose, DM duration (≥ 5 years), insulin use, and oral hypoglycemic agents (≥ 3 agents). To assess the effects of a specific mental disorder, we performed a sensitivity analysis that additionally adjusted for the presence of other mental disorders except the one we focused on. We also conducted subgroup analyses based on age (< 40, 40 to 64, and ≥ 65 years), sex, comorbidities, BMI (< 25, ≥ 25 kg/m2), DM duration (< 5 years, ≥ 5 years), insulin use, oral hypoglycemic agent use (< 3 agents, ≥ 3 agents), smoking (non/ex-smokers, and current smokers), drinking (non, mild drinkers, and heavy drinkers), regular exercise, and income (top 80% and bottom 20%). Statistical significance was set at P < 0.05. All statistical analyses were performed using the SAS statistical software (version 9.4; SAS Institute, Cary, NC, USA).

Results

A total of 2,512,690 patients with diabetes (mean age 57.2 ± 12.3 years, 60.1% men) were studied. The baseline characteristics of the two groups according to the presence or absence of mental disorders are shown in Table 1. Among the five mental disorders, anxiety (68.1%) was the most common followed by insomnia (40.0%) (Fig. 1). Patients with diabetes who had mental disorders were older and more likely to be women, compared with those without mental disorders. The proportion of patients with a diabetes duration of > 5 years was higher in patients with mental disorders, as was that of those prescribed insulin or ≥ 3 oral hypoglycemic agents. Patients with mental disorders had more comorbidities, including hypertension, dyslipidemia, chronic kidney disease, heart failure, obstructive sleep apnea, and thyroid disease, than those without mental disorders. The proportion of current smokers and heavy drinkers was greater among patients without mental disorders (Table 1). Additional file 1: Table S2 presents the baseline characteristics and demographic features of each group of patients with each mental disorder.

Table 1 Baseline characteristics
Fig. 1
figure 1

Number of individuals for each mental disorder in diabetic patients with mental disorder

Incidence rates and risks of new-onset AF

The median follow-up duration was 7.1 years (interquartile range 5.9–8.1), and new-onset AF was diagnosed in 79,525 patients in the entire cohort. The crude incidence rate of new-onset AF was 4.66 per 1000 PY. Patients with diabetes who had mental disorders had a higher incidence of new-onset AF than those without mental disorder (6.27 per 1000 PY vs. 3.89 per 1000 PY, p < 0.001; Table 2). Figure 2 shows the Kaplan–Meier curves for the cumulative incidence of new-onset AF among patients with diabetes who had and did not have mental disorders. The cumulative incidence of new-onset AF was significantly higher in patients with diabetes who had depression, insomnia, or anxiety (all log-rank p < 0.001; Fig. 2). Among the mental disorders, patients with diabetes who had depression, insomnia, or anxiety had significantly higher risks for AF (unadjusted HR [95% CI]: 1.53 [1.50–1.56]; 1.61 [1.58–1.64]; 1.56 [1.54–1.59], respectively, all p < 0.001; Table 2).

Table 2 Multivariable Cox proportional hazards regression analysis of relationship between mental disorder and new-onset AF
Fig. 2
figure 2

Kaplan-Meier curves for cumulative incidence of new-onset AF in patients with diabetes. AF, atrial fibrillation

After multivariable adjustment (Model 3), the risk for AF was consistently higher in patients with diabetes who had depression, insomnia, or anxiety (adjusted HR [95% CI]: 1.15 [1.12–1.17], 1.15 [1.13–1.18], 1.19 [1.67–1.21], all p < 0.001; Fig. 3). Bipolar disorder and schizophrenia were not significantly associated with AF risk.

Fig. 3
figure 3

After multivariable adjustment, hazard ratios with 95% confidence intervals and incidence rate of new-onset AF for mental disorder. AF, atrial fibrillation; HR, hazard ratio; CI, confidence interval

Sensitivity analysis

There are various types of mental disorders, and the coexistence of two or more mental disorders in an individual is possible. To assess the risk of AF for a specific mental disorder, a sensitivity analysis was performed using the multivariable Cox proportional hazard Model 3 with additional adjustment for mental disorders other than the one mental disorder of interest (Additional file 1: Table S3). The results of the sensitivity analysis were consistent with the main results. Patients with diabetes who had depression, insomnia, or anxiety had a significantly higher risk for AF (HR [95% CI]: 1.07 [1.05–1.09], 1.09 [1.07–1.12], 1.15 [1.13–1.17], all p < 0.001; Additional file 2: Figure S1).

Subgroup analyses

The results of the subgroup analyses are presented in Additional file 1: Table S4. There was a significant interaction between mental disorders and age at risk of AF. Although a correlation between patients with diabetes who had mental disorders and a higher risk for AF was observed in all age groups, the relative risk of mental disorders for new-onset AF was accentuated in the younger age group (HR [95% CI]: 1.47 [1.22–1.75] in those aged < 40 years, 1.29 [1.26–1.32] in those aged 40 to 64 years, and 1.16 [1.14–1.18] in those aged ≥ 65 years; p for interaction < 0.001). In both the male and female patient subgroups, patients with mental disorders had a consistently higher risk for AF than those without mental disorders; the increase in relative risk was slightly higher in the male patient subgroup than in the female patient subgroup (p for interaction < 0.001). There was a significant interaction between the increase in relative risk for AF and subgroups stratified by hypertension, chronic kidney disease, and heart failure (all p for interaction < 0.05). In the subgroups of patients without hypertension, chronic kidney disease, and heart failure, those with mental disorders were consistently associated with a higher risk for AF, whereas in subgroups of patients with such comorbidities, the increase in relative risk of mental disorders was attenuated.

Subgroup analyses were performed for depression, insomnia, and anxiety (Additional file 1: Table S5). There was a significant interaction between each mental disorder and age-based subgroup for AF risk. The relative risk of depression, insomnia, or anxiety for new-onset AF was accentuated in the younger age subgroup. As subgroup analyses for mental disorders, there was a significant interaction between the relative risk increase of each mental disorder for new-onset AF and subgroups stratified by chronic kidney disease and heart failure (all p for interaction < 0.001). Patients with each mental disorder had a consistently higher risk for AF than those without each mental disorder in the subgroups without chronic kidney disease and heart failure.

Discussion

In this large population-based study we used data from the NHID and found an association between mental disorders and the incidence of AF in patients with diabetes. Our study showed that a previous diagnosis of depression, insomnia, or anxiety was significantly associated with a higher risk for new-onset AF in patients with diabetes; however, a previous diagnosis of bipolar disorder and schizophrenia in patients with diabetes did not show statistically significant associations with the risk for AF. Second, the unfavorable effect of mental disorders on the risk for AF was more prominent in subgroups such as the younger groups and patients without hypertension, chronic kidney disease, or heart failure.

Prevalence of mental disorders in patients with diabetes mellitus

Patients with chronic disorders are at an increased risk of developing mental disorders. Associations between mental disorders and chronic physical diseases such as cancer, heart disease, and diabetes have been reported [1, 27,28,29]. Especially anxiety and depression are two of the most common mental disorders worldwide [16]. The prevalence of depression is twice as common in patients with diabetes as in those without [30]. Indeed, the prevalence of depression in patients with diabetes ranges from 8.5% to 40.3% [31, 32] while that of anxiety ranges from 8.1% to 43.6% [33, 34]. However, the prevalence of bipolar disorder, schizophrenia, or insomnia in patients with DM is not well known. Our study, with its large sample size, also showed that anxiety, with a prevalence of 68.1%, was the most common mental disorder in patients with diabetes. The prevalence of depression was similar to that of insomnia. It is possible that the burden of caring for diabetes contributes to a decline in quality of life and leads to depression [35]. Symptom-related worries and illness-progression concerns in patients with diabetes could increase the likelihood of developing anxiety [36]. The coexistence of mental disorders and diabetes is reportedly associated with reduced quality of life and increases the economic burden on the health care system [37]. In patients with diabetes, vigilance is necessary for the prompt diagnosis and proactive management of mental disorders.

Diabetes mellitus and atrial fibrillation as cardiovascular risk factors

As one of the most common chronic diseases, DM is a risk factor for stroke and heart disease like AF [5, 38] and is closely associated with CVDs [39]. CVDs are the most prevalent cause of morbidity and mortality in patients with DM [40]. The incidence of AF in patients with diabetes is reportedly 14.9%, and AF predicts a worse prognosis in patients with DM [41]. Patients with DM and new-onset AF have a higher risk of mortality than those with DM alone [42]. Therefore, greater awareness and improved detection of AF among patients with diabetes is important, given that AF onset may be asymptomatic and associated with adverse outcomes [43].

Impact of mental disorders on the risk of atrial fibrillation in patients with diabetes mellitus

There are several studies that examined the relationship between mental disorders and new-onset AF. There is a multicenter cohort study of 6644 people aged 45 to 84 years without clinically recognized cardiovascular disease in the United States [21]. The study that assessed the relationships between depression with incident AF showed that depression increased the risk of new-onset AF by 34% [21]. A prospective cohort study showed that sleep disruption predicted incident AF in the Health eHeart Study and Cardiovascular Health Study populations over a median follow-up period of 11.6 years [44]. These results are consistent with our study results based on patients with DM. As for anxiety, anxiety could be an independent risk factor for AF [45], and a significant association between anxiety and AF risk was observed in our study. However, another study of 37,402 people in Norway revealed that there is no association between anxiety or depression and new-onset AF [22].

Regarding mental disorders and AF, imbalances in the autonomic nervous system, inflammatory processes, and renin-angiotensin-aldosterone system may play roles in the induction of new-onset AF [6, 21, 23, 24]. Stress situations such as depression and anxiety cause autonomic imbalance; catecholamine increases as sympathetic response increases, and parasympathetic response decreases [21, 24]. Fluctuations in autonomic tone and increased sympathetic activity by autonomic imbalance increase paroxysmal AF's incidence and produce an arrhythmogenic milieu in the atrium [24]. In stress situations such as depression and anxiety, the renin-angiotensin-aldosterone system is activated with increased sympathetic activity [21, 23]. The increased angiotensin II level causes atrial fibrosis and the increased left atrium as the consequence of atrial fibrosis are closely related to the development and maintenance of AF [21, 23, 24]. Inflammatory cytokines such as C-reactive protein, interleukin-6, and tumor necrosis factor-alpha, which increase under stress conditions, are also associated with the risk for incident AF [23, 24]. This process might affect more prominently in diabetic patients who are already in an inflammatory condition [46,47,48]. Sleep problems affect not only autonomic activity but also the hypothalamic–pituitary–adrenal axis [24, 49]. This results in neuroendocrine dysregulation and cortisol level increases [49, 50]. Consequently, increased cortisol level increases AF risk [51, 52].

There is little previous research on the association between bipolar disorder or schizophrenia and the risk of AF [6]. In patients with bipolar disorder or schizophrenia, their medical illnesses may be recognized and diagnosed late [2, 53, 54]. The possibility of underdiagnosis or under-recognition of AF due to communication impairment may affect our results.

Although we did not include information about psychotropic medications in the present study because of the inherent limitation of our dataset, psychotropic medications can also affect the arrhythmia risk [55]. Among various types of psychotropic drugs, the antipsychotic drug acts as a trigger factor leading to autonomic dysregulation and results in the occurrence of AF [56, 57]. Like chlorpromazine, clozapine, olanzapine, and risperidone, antipsychotic drugs may cause AF by alteration of autonomic tone [57].

On subgroup analysis, a significant interaction was observed between age and mental disorders and new-onset AF. Although a statistically significant association between mental disorders and AF was observed in all age groups, the relative risk increase of mental disorders for new-onset AF was more accentuated in the younger patients with diabetes. Age is well-known risk factor for AF and older patients are more likely to have AF risk factors than younger patients. Under these circumstances, the hazardous (or harmful) effect of mental disorders on new-onset AF might be more prominent in younger patients. Significant interactions were also observed between some comorbidities and mental disorders and new-onset AF. Mental disorders increased the risk for new-onset AF in patients with diabetes who did and did not have hypertension, CKD, or heart failure. However, the risk increase was more prominent in those without hypertension, CKD, or heart failure. Compared to patients with DM for more than 5 years, mental disorders increased the risk for AF more substantially in the subgroup of patients with DM for less than 5 years. Patients, who have hypertension, CKD, or heart failure, or have had DM for longer duration, could have comorbidities able to affect their risk for new-onset AF. Accordingly, mental disorders more significantly impacted the risk for new-onset AF in patients with diabetes who have had DM for shorter duration or did not have hypertension, CKD, or heart failure. Consequently, there was still a relative increased risk of mental disorders for new-onset AF in patients with previously lower risks for AF than in those who previously had higher AF risks.

Study limitations

This study has some limitations. First, we used the Korean NHID, which comprises almost all East Asians. The results of this nationwide population-based cohort study may not be applicable to the global population. Nevertheless, our inclusion of a large number of patients is a strength. Second, we used ICD-10 codes based on insurance claims to define comorbidities and clinical outcomes. During diagnosis, coding inaccuracies might have occurred. However, the accuracy of AF diagnosis in the NHIS claims database has been validated in a previous study [58]. Lastly, although we adjusted several variables that were available in our dataset and could affect the risk of AF, still, there is a possibility of residual confounding factors by unmeasured factors. Also, we did not reflect the effect of newly diagnosed mental disorders after the index date in this study.

Conclusions

Mental disorders, particularly depression, insomnia, and anxiety, are associated with an increased risk for AF in patients with diabetes. Greater awareness with a prompt diagnosis of AF should be considered for patients with both DM and mental disorders.