Background

Type 2 diabetes is a metabolic disorder, with an increased risk of micro- and macrovascular complications such as thromboembolism, stroke and mortality [1]. At the same time, atrial fibrillation is the most common cardiac arrhythmia with similar outcomes as type 2 diabetes [2]. The prevalence of both atrial fibrillation and type 2 diabetes has been rising rapidly [2, 3]. Studies have shown that when both conditions coexist, the risk for thromboembolism is increased [4].

There are conflicting findings on whether type 2 diabetes is an independent risk factor for atrial fibrillation [5,6,7]. However, several studies have shown that type 2 diabetes is associated with atrial fibrillation, with risk increasing with poor glycaemic control, glycaemic variability, longer diabetes duration [8], hypertension, and albuminuria [9]. In a meta-analysis, a dose-response relationship was found between increasing blood glucose and risk of atrial fibrillation [10]. Although extensive research has been carried out on the association between type 2 diabetes and atrial fibrillation, few subgroup analyses have been performed on glycaemic control and renal function, with none comparing the risk of atrial fibrillation in subgroups of patients with type 2 diabetes to age- and sex-matched controls from the general population.

Additionally, diabetes is one of the factors included in the risk stratification scheme CHA2DS2-VASc-score used to identify high-risk patients with atrial fibrillation that may benefit from anticoagulation treatment in order to prevent stroke from thromboembolism [11]. However, guidelines are inadequate regarding recommendations for anticoagulation when both conditions coexist [4]. Hence, increased understanding is needed on how the risk of atrial fibrillation interacts with type 2 diabetes and coexisting diabetes-specific risk factors.

The Swedish National Diabetes Registry (NDR) provides nationwide information on patients with type 2 diabetes. The large size and widespread geographic distribution of the NDR provides unique opportunities to estimate excess risk for atrial fibrillation from both national and international perspectives. The purpose of this study was to examine (a) the incidence of atrial fibrillation in persons with type 2 diabetes and (b) how risk varies in relation to glycaemic control and renal function compared with age- and sex-matched controls from the general population.

Methods

Ethical approval for this study was obtained from the Regional Ethical Review Board in Gothenburg, Sweden.

Data sources

We conducted a registry-based cohort study, obtaining data from registries that have nationwide coverage. Clinical data in the NDR are reported from clinical visits in primary care and hospital outpatient clinics regarding risk factors, diabetes-related complications, and medications for individuals with diabetes (type 1 and 2) ≥ 18 years old. Each patient provides informed consent for inclusion in the NDR.

The National Patient Registry (NPR) was used to obtain information on atrial fibrillation, outcomes and co-morbidities and contains records on all admissions to hospitals and outpatient specialist visits, including data such as date of contact, diagnostic, and procedure codes. The population registries and the central bureaus of statistics provided demographic, vital status, and socioeconomic data.

Information about mortality was retrieved from the Swedish Cause of Death Registry. Information about educational level and country of birth was accessed from the Longitudinal Integration Database for Health Insurance and Labor Market Studies. Education level was categorized as low (compulsory education), intermediate, or high (university level education or similar) and country of birth as Sweden or other.

Study population

Criteria for inclusion in the study were individuals with type 2 diabetes with at least one registration in the NDR. Type 2 diabetes was defined as treatment with either diet or oral antihyperglycemic agents only or diagnosis at ≥ 40 years of age receiving insulin therapy or insulin and oral antihyperglycemic agents. In total 421,855 individuals with type 2 diabetes were included in the study. For each person, five controls without type 2 diabetes were selected randomly from the Swedish Population Registry matched for age, sex, and county. In total, 2,131,223 controls were selected.

Individuals with type 2 diabetes who died [2688 (0.10%)], had atrial fibrillation before January 1, 2001 or before index date [41,547 (1.52%)] or no NDR visits after January 1, 2001 [7712 (0.28%)] were excluded (data entry prior to January 1, 1999 was incomplete when comparing care units). Controls who died before January 1, 2001 [11,427 (0.42%)] or had atrial fibrillation before January 1, 2001 or before index date [121,142 (4.43%)] were also excluded.

Study procedures

Variables assessed were sex, age, country of birth, educational level, HbA1c (glycated haemoglobin), diabetes duration, BMI (body weight in kilograms divided by height in m2), low-density lipoprotein (LDL) cholesterol, systolic and diastolic blood pressure, smoking, renal function (eGFR), and albuminuria.

The incidence of atrial fibrillation was calculated stratified by sex, age group, glycaemic control, and renal function. Glycaemic control was estimated by updated mean HbA1c, which is the mean value of HbA1c measurements up until a certain point in time. Patients were categorized by glycaemic control based on the mean level of HbA1c until a certain time point. HbA1c was measured according to the International Federation of Clinical Chemistry (IFCC) method in mmol/mol and converted to levels according to the National Glycohemoglobin Standardization Program for dual reporting.

Renal complications were categorized as normoalbuminuria, microalbuminuria, macroalbuminuria, and stage 1–5 chronic kidney disease (CKD). Microalbuminuria was defined as two positive tests from three urine samples taken within 1 year, with an albumin/creatinine ratio of 3–30 mg/mmol (~ 30–300 mg/g) or U-albumin of 20–200 μg/min (20–300 mg/L), and macroalbuminuria as albumin/creatinine ratio > 30 mg/mmol (~>300 mg/g) or U-albumin > 200 μg/min (> 300 mg/L). Estimated glomerular filtration rate (eGFR) was calculated using the Chronic Kidney Disease Epidemiology (CKD-EPI) equation [12]. Renal function was categorized as CKD stage 1 (eGFR ≥ 90 mL/min), stage 2 (eGFR 60–89 mL/min), stage 3 (eGFR 30–59 mL/min), stage 4 (eGFR 15–29 mL/min) and CKD stage 5 (eGFR < 15 mL/min or need for renal dialysis).

Study outcome and comorbidities

The study outcome is atrial fibrillation and flutter, the ICD codes 427D (ICD-9) and I48 (ICD-10), with both primary and secondary diagnosis. International Classification of Disease 9th (ICD-9) and 10th (ICD-10) codes were used to define study comorbidities coronary heart disease, admission for heart failure, valve disease, stroke, and cancer diagnosis before the first and baseline registration (Additional file 1).

Statistical analysis

Crude event rates were described in total, by age category (< 55, 55–64, 65–74 and > 75 years), and by gender as events per 1000 person-years with 95% confidence intervals estimated using Poisson regression. The effects of time-updated mean HbA1c categories (mean of all preceding values at each timepoint), time-updated albuminuria categories (last of all preceding values at each timepoint), and time-updated eGFR categories (last of all preceding values at each timepoint) versus the reference group on time to incident atrial fibrillation were analyzed using Cox regression in three different models. In model 1, adjustments were made for time-updated age and sex. In model 2, adjustments were made for country of birth, education, and baseline comorbidities (coronary heart disease, heart failure, valve disease, stroke and cancer). In model 3, additional adjustments were made for time-updated diabetes duration. The effects of diabetes group overall and of HbA1c, albuminuria and eGFR categories versus the normal population were obtained for 10th, 25th, 50th, 75th, and 90th percentile of diabetes duration, corresponding to 1, 3, 7, 13 and 19 years. Main analyses were shown for median diabetes duration of 7 years.

In individuals with diabetes, overall and for women and men separately, the association of a 1.0% (10 mmol/mol) increase in time-updated mean HbA1c was evaluated with incidence of atrial fibrillation. Adjustments in models 1, 2, and 3 correspond to the main analyses adjustments. Further adjustments were done in models A, B, C, and D. Model A, adjustment was done for time-updated mean systolic blood pressure, time-updated mean body mass index, time updated smoking status and time-updated status about blood pressure lowering medication. In model B, adjustments for time-updated mean high-density lipoprotein, time-updated mean low-density lipoprotein, time-updated status about lipid lowering medication were done. Model C were additionally adjusted for time-updated insulin method. In model D, adjustments for time-updated albuminuria categories were done. These analyses have been described earlier [13]. The proportional hazards assumption was checked through visual review of log (– log [survival]) versus log(time) curves.

All tests were two-tailed with p-values < 0.05 considered significant. All analyses were performed using SAS software version 9.4 (SAS Institute Inc., Cary, NC, USA).

Results

Study population

A total of 421,855 patients with type 2 diabetes and 2,131,223 controls were included. Patient characteristics at baseline are presented in Table 1. Among people with type 2 diabetes, mean age was 64.7 ± 12.5 years vs 64.6 ± 12.5 years for controls. The mean HbA1c was 7.1 ± 1.4 % (54.3 ± 14.9 mmol/mol) with a mean duration of diabetes of 5.4 ± 7.1 years. Individuals with high HbA1c values were younger, had a higher mean LDL-level, more frequently smokers, and were more frequently born outside of Sweden.

Table 1 Baseline characteristics

Excess risk of atrial fibrillation in relation to age and sex

The mean duration of follow-up was 5.0 years for individuals with type 2 diabetes and 5.3 years for controls. Between January 1, 2001, and December 31, 2013, a total of 37,590 (8.9%) individuals with type 2 diabetes and 149,231 (7.0%) of controls were diagnosed with atrial fibrillation. Overall, for individuals with type 2 diabetes, the incidence rates of atrial fibrillation were 15.99 cases per 1000 person-years (95% CI 15.83–16.15) compared to 11.89 cases per 1000 person-years (95% CI 11.83–11.95) for the control group (Table 2), unadjusted incidence risk ratio (IRR) 1.35 (95% CI 1.33–1.36). As seen in Table 2, when stratified by age, the incidences rates of atrial fibrillation increased with age for both individuals with type 2 diabetes and controls; however, the relative risk between the two groups decreased with older age.

Table 2 Atrial fibrillation per 1000 patient years by sex and age categories at baseline with 95% confidence intervals estimated by using Poisson regression

In Poisson regression analyses, the IRRs for atrial fibrillation in men and women with type 2 diabetes compared to controls were similar, 1.34 vs 1.35, respectively (Table 2). When stratified by age, the absolute risk for atrial fibrillation was higher for men with type 2 diabetes, but the relative risk was greater for women with type 2 diabetes compared to their matched controls. For men, incidence rates of atrial fibrillation for patients with type 2 diabetes were 16.95 cases per 1000 person-years (95% CI 16.73–17.18) and for controls 12.66 cases per 1000 person-years (95% CI 12.58–12.75). For women, the corresponding values were 14.83 cases per 1000 years (95% CI 14.60–15.07) vs controls 10.97 cases per 1000 person-years (95% CI 10.88–11.05). The unadjusted IRRs for men with type 2 diabetes aged < 55 years old were 1.78 (95% CI 1.67–1.90) and for men > 75 years old the IRR was reduced to 1.14
(95% CI 1.11–1.17) compared to controls. For women, the corresponding estimates were 2.36 (95% CI 2.10–2.66) and 1.25 (95% CI 1.22–1.28), respectively, compared to controls.

The excess risk for atrial fibrillation was evaluated in relation to diabetes duration, and effects were evaluated for median diabetes duration of 7 years (Additional file 1: Table S1). In model 1, the incidences for atrial fibrillation were adjusted for time-updated age and sex. For individuals with type 2 diabetes, the HR was 1.37 (95% CI 1.35–1.38), p < 0.0001 compared to controls. When further adjustment for country of birth, education and baseline comorbidities was performed (model 2), the HR decreased to 1.30 (95% CI 1.28–1.31), p < 0.0001 compared to controls. In model 3, with additional adjustments for time-updated diabetes duration, the HR decreased to 1.28 (95% CI 1.26–1.30), p < 0.0001 compared to controls. Corresponding estimates of risk for atrial fibrillation stratified by sex are shown in Additional file 1: Table S1. In model 3, women with type 2 diabetes had an HR of 1.31 (95% CI 1.28–1.34) compared to controls, whereas the corresponding value for men with type 2 diabetes was 1.26 (95% 1.24–1.28). For individuals with type 2 diabetes, the HR per 10-year increase for time-updated diabetes duration was 1.03 (95% CI 1.02–1.05); p < 0.0001 for all, 1.04 (95% CI 1.02–1.06); p < 0.0001 for men and for women 1.02 (95% CI 1.00–1.05); p = 0.068.

Excess risk for atrial fibrillation for time-updated mean HbA1c, albuminuria, and eGFR categories

Table 3 displays the risk of atrial fibrillation by categories of time-updated HbA1c, albuminuria, and eGFR adjusted according to model 3 in individuals with type 2 diabetes versus controls. There was a significant excess risk with increasing HbA1c and albuminuria. The increased risk was also present for individuals with type 2 diabetes and good glycaemic control or normoalbuminuria, with HRs of 1.24 (95% CI 1.22–1.26), p < 0.0001, and 1.17 (95% CI 1.16–1.19), p < 0.0001, compared to controls, respectively. The corresponding values from models 1 and 2 and for men and women, respectively, are found in Additional file 1: Table S2 and S3.

Table 3 Adjusted hazard ratios for atrial fibrillation and 95% confidence intervals for time-updated mean HbA1c categories, albuminuria categories and eGFR categories versus the reference group examined by Cox regression

Excess risk for atrial fibrillation related to time-updated mean HbA1c together with albuminuria and eGFR

In Table 4 the excess risk of atrial fibrillation was evaluated in relation to HbA1c for presence/absence of albuminuria versus controls. Individuals with HbA1c ≤ 6.9% (≤ 52 mmol/mol) and normoalbuminuria had an HR of 1.16 (95% CI 1.14–1.19) compared to controls. The corresponding value for individuals with HbA1c ≥ 9.7% (≥ 83 mmol/mol) and normoalbuminuria was 1.35 (95% CI 1.20–1.52). Corresponding HRs were 1.55 (95% 1.50–1.60) and 2.04 (95% CI 1.82–2.28) vs controls for individuals with HbA1c ≤ 6.9% (≤ 52 mmol/mol) and ≥ 9.7% (≥ 83 mmol/mol) with albuminuria, respectively. This was also evaluated in men and women separately (Additional file 1: Table S4 and S5). An increasing excess risk versus controls for men and women was noted with higher time-updated mean HbA1c for patients with normoalbuminuria, albuminuria as well as within different eGFR categories.

Table 4 Adjusted hazard ratios for atrial fibrillation and 95% confidence intervals for time-updated mean HbA1c categories together with albuminuria and eGFR versus the reference group examined by Cox regression

Risk of atrial fibrillation by 10 mmol/mol higher mean HbA1c in persons with type 2 diabetes

Additionally, the risk of atrial fibrillation was estimated in relation to 1.0% (10.0 mmol/mol) higher mean HbA1c in individuals with type 2 diabetes (Table 5). For individuals with type 2 diabetes, HRs varied between 1.01 and 1.04 in stepwise adjustments for birth in Sweden, education level, baseline comorbidities, and time-updated diabetes duration. When stratified for sex, the risk of atrial fibrillation in men increased by 1.01 (95% CI 1.00–1.03), p = 0.04 , and 1.04 (95% CI 1.03–1.06), p < 0.0001, in women. Further analyses on the impact of time-updated mean HbA1c categories on time to first atrial fibrillation among individuals with type 2 diabetes stratified by sex are shown in Additional file 1: Tables S6 and S7.

Table 5 Type 2 diabetes only—all-risk for atrial fibrillation by 1.0% (10 mmol/mol) of time updated mean HbA1c

Discussion

This large population-based cohort study showed a 35% increased risk of atrial fibrillation in individuals with type 2 diabetes in comparison to matched controls from the general population. The excess risk increased with poorer glycaemic control and severity of renal complications. In individuals with type 2 diabetes, good glycaemic control, and normoalbuminuria, there was a slight yet significantly increased excess risk. The absolute risk of atrial fibrillation was higher for men with type 2 diabetes, but the relative risk was greater for women with type 2 diabetes compared to controls. Women < 55 years with type 2 diabetes had a twofold increased risk, and individuals with type 2 diabetes and CKD stage 5 had a threefold increased risk for atrial fibrillation compared to controls. Additionally, the increased risk of atrial fibrillation in relation to 1.0% (10 mmol/mol) higher mean HbA1c evaluated in persons with diabetes was estimated to range from 1.0 to 4.0%.

Our study is in line with others demonstrating the positive association between diabetes and the risk of atrial fibrillation. In two different meta-analyses including both observational and cohort studies, it was concluded that individuals with type 2 diabetes had a 30.0–40.0% increased risk of atrial fibrillation, even after adjustments for BMI, smoking, hypertension, kidney disease, coronary heart disease, and hyperthyroidism [10, 14]. In our study, women aged < 55 years with type 2 diabetes had an excess risk of atrial fibrillation (HR 2.36) compared to controls, whereas the HR in men in the same age group was 1.78 compared to controls. Older patients with type 2 diabetes had a lower excess but higher absolute risk of atrial fibrillation. A similar pattern was seen in individuals with type 1 diabetes in a previously published cohort study from Sweden [13]. Additionally, a Danish cohort study reported that the risk of atrial fibrillation in individuals with type 2 diabetes was most pronounced in younger patients [15]. When analyzing the excess risk of atrial fibrillation in relation to renal complications, an increased excess risk of atrial fibrillation was observed with greater albuminuria and eGFR. Likewise, in earlier analyses, it has been proposed that hypertension, greater BMI, and albuminuria are risk factors associated with the development of atrial fibrillation in individuals with type 2 diabetes [9, 16, 17]. A study in a Japanese cohort indicated that albuminuria was significantly associated with cardiovascular events and death compared to individuals with type 2 diabetes without renal failure [18]. Additionally, in a large general practice cohort in the United Kingdom including patients with insulin-treated type 2 diabetes, a regression in albuminuria associated with a significant reduction in all-cause mortality was observed [19]. To our knowledge, this is the first study of the excess risk of atrial fibrillation for different HbA1c categories in relation to renal function in comparison with the general population.

Although one should be cautious to make direct comparisons between different studies, it is of interest to notice that the excess risk of heart failure [20], major coronary heart events [21] and stroke [22] has been evaluated in individuals with type 2 diabetes compared to controls from similar cohorts as the current based on the Swedish Diabetes Register. Current together with earlier results therefore give indications how incidences and relative risks differ for various cardiovascular complications. Among individuals with type 2 diabetes, 11.9 cases per 1000 person-years were hospitalized with a diagnosis of heart failure, compared with 6.2 cases per 1000 person-years in controls [20]. The rates of coronary heart disease (CHD) events were 14.6 cases per 1000 person-years among patients with type 2 diabetes versus 8.7 cases per 1000 person-years among controls [21]. Additionally, 10.6 and 6.8 cases per 1000 person-years were diagnosed with stroke among individuals with and without type 2 diabetes, respectively [22]. The corresponding incidence for atrial fibrillation in the current study was 16.0 among individuals with type 2 diabetes compared to 11.9 among controls. Our study shows that atrial fibrillation is a common cardiovascular condition among persons with type 2 diabetes likely somewhat more common than with myocardial infarctions and heart failure.

The risk of atrial fibrillation among individuals with type 2 diabetes was also evaluated in relation to 1.0% (10.0 mmol/mol) higher mean HbA1c. HbA1c had a relatively modest impact on atrial fibrillation with a risk increase of 1.0–4.0% per 10 mmol/mol higher mean HbA1c compared to 12.0–19.0% for heart failure, acute myocardial infarction and CHD death [21, 23]. From these results, it can be concluded that the relative impact of glycaemic control on the risk of atrial fibrillation is relatively low compared with several other cardiovascular complications. From The Action to Control Cardiovascular Risk in Diabetes (ACCORD) trial, it was concluded that participants randomized to an intensive therapeutic strategy did not alter the rate of new-onset atrial fibrillation compared to participants randomized to a standard strategy [24]. Additionally, a study using a Mendelian randomization approach did not observe a causal role between type 2 diabetes and dysglycaemia on the development of atrial fibrillation [25]. However, it has been suggested that HbA1c variability might initiate atrial fibrillation in individuals with type 2 diabetes [26].

Since rates of diabetes mellitus and atrial fibrillation are increasing worldwide and are strong risk factors for stroke and cardiovascular mortality due to thromboembolic risk, it is important to consider early prevention. In a prospective observational study, cardiac rhythm abnormalities were common in patients with moderate to severe CKD not requiring dialysis [27]. Therefore, strategies to prevent renal complications with blood pressure control should be viewed as a goal for protection, both for renal and cardiovascular diseases. For instance, individuals with type 2 diabetes and blood pressure < 130/80 mmHg had a risk of stroke similar to the general population [22]. Also, screening for atrial fibrillation before symptoms are manifested is important in certain patient populations. Clinicians should consider routine screening with pulse palpation or ECG rhythm strip in elderly persons with type 2 diabetes and those with renal complications. This could lead to early initiation of appropriate effective therapy, including antithrombotic therapy, to reduce the risk of stroke and death. Currently, there is no evidence that anti-diabetic therapies with glucagon-like peptide 1 (GLP-1) agonists, sodium-glucose cotransporter-2 (SGLT2) inhibitors nor dipeptidyl peptidase-4 (DPP4) inhibitor affect the development of atrial fibrillation [28].

The link between diabetes mellitus and atrial fibrillation may be explained by several possible mechanisms. The metabolic syndrome characterized by obesity, hypertension, insulin resistance, and dyslipidaemia has been proposed to be associated with increased risk of atrial fibrillation [29]. It has been hypothesized that metabolic syndrome causes a transformation of the epicardial adipose tissue leading to proinflammatory mediators causing endothelial dysfunction, and fibrosis, which in turn leads to the development of structural and electrical atrial remodelling [30,31,32,33]. In a nationwide population-based study, body weight status and diabetes had synergistic effects on the risk of new-onset atrial fibrillation [34]. Animal studies confirms that insulin resistance was associated with various aspects of remodelling in the atria, proposing that these might share common electrical and structural remodelling processes in the atria [35].

Strengths of our study include the population-based design including the absolute majority of individuals with type 2 diabetes in Sweden. Additionally, well-known risk factors were available in persons with type 2 diabetes. Limitations include the absence of information on risk factors such as smoking, BMI, blood pressure, and lipid levels in the control population. Another limitation is that we cannot exclude the possibility that atrial fibrillation was detected to a somewhat higher extent in individuals with type 2 diabetes because it is a chronic disease requiring regular visits.

Conclusion

Type 2 diabetes remains a risk factor for atrial fibrillation, increasing risk by approximately 35% on a group level. Persons with advanced renal complications have substantially higher excess risks with a threefold excess risk at CKD-5. Glycaemic control likely has a relatively limited direct effect on the development of atrial fibrillation, but since it is essential for the development of renal complications it may have an effect over long time periods. Screening for atrial fibrillation should be considered in persons with increased risks including elderly and those with advanced renal complications among persons with type 2 diabetes, especially since the procedure is relatively simple.