Introduction

The association between type 2 diabetes (T2D) and the premature development of coronary artery disease and myocardial disease is well described, yet much less is known about the possible impact of T2D on cardiac conduction and risk for arrhythmias. Clearly, myocardial ischaemia, myocardial infarction and ischemic cardiomyopathy contribute to increased risk for ventricular arrhythmias, but other possible contributors to increased arrhythmia risk in the setting of T2D include chronic hyperglycaemia, systemic inflammation, and oxidative stress that individually and additively may contribute to myocardial fibrosis, including in the atria, ventricles and conducting tissues. Along with autonomic neuropathy and electrolyte abnormalities commonly associated with T2D, this complex milieu may lead to a variety of cardiac electrical complications.

While the risks of chronic and acute coronary syndromes, heart failure, kidney failure and stroke have been reduced dramatically over recent decades1, few studies have addressed trends in arrhythmias in people with and without T2D2,3.

In this nationwide observational study, long-term trends of atrial fibrillation and flutter (AF/AFl), sinus node disease (SND), atrioventricular (AV) block, intraventricular conduction block (IVCB), ventricular tachycardia (VT) and ventricular fibrillation (VF), were examined in people with T2D from the Swedish National Diabetes Registry, compared with controls from the general population. Moreover, the association between multifactorial risk factor control and optimal levels were examined for selected cardiovascular risk factors and each outcome.

Methods

Data are available from the sources stated in the paper on request to the data providers, fulfilling legal and regulatory requirements and with permission from the Swedish Ethical Review Authority of Ministry of Sweden. The first and last author had full access to all the data in the study and take responsibility for its integrity and the data analyses. All methods were carried out in accordance with relevant guidelines and regulations.

Study design and support

The study was approved by the Ethical Review Authority of Ministry of Sweden. All patients provided informed consent before inclusion in the registry. The Swedish Heart and Lung Foundation, the Swedish state under an agreement between the Swedish government and the county councils concerning economic support of research and education of doctors and The Swedish Research Council funded the study; no industry support was provided.

Data sources and study cohort

The Swedish National Diabetes Registry (NDR) has been described previously1,4,5. The distinction for T2D is based on the epidemiological definition and the clinical evaluation. Patients with at least one entry in the registry between Jan 1st 2001 to Dec 31st 2019, were included in the study. At enrollment in the registry, each person with T2D older than 18 years of age in Sweden, was matched for age, sex and county of residence, with roughly five controls without diabetes. The controls were randomly selected from the Swedish population register by Statistics Sweden. Patients with T2D that fulfilled any exclusion criterion, were excluded along with all their matched controls, whereas, controls that fulfilled an exclusion criterion, were excluded separately.

Outcomes

Excess risk and long-term trends were assessed (patients with diabetes vs. controls) with regards to four composite outcomes, (1) atrial fibrillation and/or atrial flutter (AF, AFl); (2) sinus node disease (SND), atrioventricular block (AVB) or pacemaker implantation; (3) intraventricular conduction blocks (IVCB), i.e., right bundle branch block, left bundle branch block, left anterior fascicular block, left posterior fascicular block, bifascicular block or trifascicular block; and (4) ventricular tachycardia and/or fibrillation (VT, VF). Outcomes were retrieved from inpatient and outpatient records with the use of codes from the International Classification of Disease (ICD) version 9 and 10. The main diagnosis and up to six secondary diagnosis codes were used to identify outcomes in the Swedish inpatient- and outpatient registry. The specific codes are listed in Supplementary Table S1. Patients were followed until an event, death, or December 31, 2019. For the incidence analyses (Fig. 1), we performed a stratified analyses between different age-groups to further investigate long-term trends for AF/AFI.

Figure 1
figure 1

Standardized incidence rates for cardiac arrhythmias among patients with type 2 diabetes, as well as, matched controls from general population, per 10. Panel E–H display atrial fibrillation and flutter among various age-categories. The dark lines indicate the hazard function and the shaded areas 95% confidence intervals.

Statistical analyses

Excess risk in patients with diabetes and long-term trends

Incidence rates were calculated with direct standardization and reported as the number of events per 100,000 person-years. The study period (2001–2019) was divided into 2-year intervals, with the exception of the final period, which was a 3-year period. The incidence for each interval was standardized to the age- and sex distribution of the first time period. Numerators were the number of incident events each time period, while denominators were the number of persons at risk during the same time period. The number of events and person-years for each time period and outcome are presented in Tables S2 and S3. These tables also include information on crude- and standardized incidence rates. In Table 1, results from Cox regression are presented for changes in risk over time for all outcomes, among patients with diabetes and controls. The regression models included age, sex, time-updated time periods, and for some models, interactions terms.

Table 1 Baseline characteristics for patients with type 2 diabetes, along with matched controls from the general population.

Association between risk factors and arrhythmia outcomes

Cox regression analyses were used to analyze the associations between cardiometabolic risk markers and risk of each arrhythmia in patients with T2D. Metabolic markers were not available for the controls, and were therefore not included in the modeling. Age, glycated haemoglobin (mmol/mol), body mass index (BMI, kg/m2), systolic blood pressure (mmHg), diastolic blood pressure (mmHg), low-density lipoprotein (LDL-C; mmol/L) cholesterol (mmol/L), high-density lipoprotein (HDL-C; mmol/L) cholesterol, estimated glomerular filtration rate (eGFR mL/min/1.72 m2) and duration of diabetes (years), were modelled using restricted cubic splines with 3 knots to capture non-linear associations. Covariate adjustment was made for age, sex, smoking, physical activity, ethnicity, marital status, income and educational level, comorbidities and pharmacological treatment of diabetes. These models also allowed for the identification of the risk factor level associated with the lowest risk of each arrhythmia outcome. In addition, regression models were constructed to assess the relationship of age at baseline and for those with T2D, the duration of diabetes.

Multifactorial risk factor control

The associations between multifactorial CV risk factor control and risk of arrhythmia were examined. This was done among patients with diabetes by stratifying them according to the number of CV risk factors not within target ranges (guideline-recommended target levels). The following five risk factors were considered (cut-offs in parentheses): glycated haemoglobin (≥ 7.0% [≥ 53 mmol/mol]), systolic and diastolic blood pressure (either ≥ 130 mmHg systolic or ≥ 80 diastolic), micro- or macroalbuminuria), smoking (being a current smoker at study entry) and LDL-C (≥ 2.5 mmol/L [97 mg per deciliter]). Consistent with prior analyses of this dataset5, adjustment for duration of diabetes was done by assigning matched controls to a duration of zero years and patients with diabetes had their duration of diabetes centralized around the grand mean.

Missing data (around 5–10%) were handled using multiple imputations by chained equations (MICE). Distributions and means were analyzed before and after imputation without observing any material difference. All variables that were used in the imputation model are presented in Table S4. Instead of using p-values and adjusting for multiple hypothesis tests, statistical significance was based upon confidence intervals overlapping with 1.0. A comprehensive discussion of statistical methods and model construction has been presented in the supplementary material. Calculations were performed in R version 4.0.3 (R Foundation for Statistical Computing), using RStudio.

Results

Study population

The study cohort comprised 617,000 patients with T2D and 2,303,391 matched controls. The mean age was 63 years for participants with type 2 diabetes. Coexisting conditions were approximately twice as frequent in people with diabetes. Median follow-up for patients with type 2 diabetes was 7.6 years (Table 1).

Incidence rates and long-term trends.

Atrial fibrillation and/or flutter

In people with type 2 diabetes, the incidence rates of AF/AFl decreased slightly from 780 to 676 cases per 100,000 person-years from the first to final time period. Corresponding figures for controls were 661 to 477 cases per 100,000 person-years (Fig. 1A). Patients with type 2 diabetes displayed roughly a 30% higher risk for atrial fibrillation and flutter, in the first- and last time periods, compared with matched controls. There was no significant change in incremental risk over time between patients with diabetes and controls (Table 2). Hazard ratio for a 10-year period showed a 5% risk reduction for atrial fibrillation and flutter (HR 0.95, 95% CI 0.93–0.98) for patients with diabetes and 9% risk reduction for controls (Table 2).

Table 2 Cox regression to estimate change in risk for cardiac arrhythmias in patients with type 2 diabetes and matched controls.

Sinus node disease, atrioventricular node block or pacemaker implantation

The incidence of SND, AV block or pacemaker implantation in people with type 2 diabetes increased from 103 to 118 cases per 100,000 person-years from the first to final time period (Fig. 1B). Corresponding figures for controls were 82 to 72 cases per 100,00 person-years. Patients with type 2 diabetes displayed a 17% (HR 0.83, 95% CI 0.77–0.90) greater relative rate reduction, compared with matched controls (Table 2b). Hazard ratio for a 10-year period showed an 8% risk reduction (HR 0.92, 95% CI 0.87–0.97) (Table 2).

Intraventricular conduction block

The incidence of these IVCB increased from 23 to 57 cases per 100,000 person-years in type 2 diabetes and from 10 to 38 cases per 100,000 person-years in controls (Fig. 1C). Patients with type 2 diabetes had a 13% (HR 0.87, 95% CI 0.76–0.98) greater relative rate reduction, compared with controls. During a 10 year period, hazard ratio increased for 14% (HR 1.14, 95% CI 1.07–1.22) (Table 2) among matched controls, without a significant trend for patients with diabetes.

Ventricular tachycardia or ventricular fibrillation

The risk of VT/VF in people with type 2 diabetes, compared with controls (Fig. 1D), did not differ during the first and final time periods. The incidence rate was unchanged from 49 to 51 cases per 100,000 person-years in type 2 diabetes and 33 to 32 cases per 100,000 person-years in controls. Hazard ratio for a 10-year period showed that the matched controls had 18% lower risk (HR 0.82, 95% CI 0.77–0.87).

Association between risk factor control and risk of arrhythmia

Figure 2 shows the associations between glycated haemoglobin, systolic blood pressure, LDL-C, BMI and eGFR and risk of arrhythmia in patients with type 2 diabetes, with diabetes guideline target level depicted with a circle. Figure 2A shows that the association between glycated haemoglobin and the risk of AF/AFl in an adjusted Cox model. The risk of AF/AFl increased linearly with increasing systolic blood pressure and with increasing BMI. LDL-C showed an inverse linear association. Increasing eGFR was associated with a lower risk of AF/AFl.

Figure 2
figure 2

Association between levels of cardiometabolic risk factors for cardiac arrhythmias in patients with type 2 diabetes. We constructed a Cox model for each outcome and applied a prediction function to assess the relationship between selected risk factors and outcomes (Panel A to Panel D). The dark lines indicate the hazard function and the shaded areas 95% confidence intervals. Continuous variables were modeled with restricted cubic splines. The following cut-of levels were used for risk factors: glycated hemoglobin (≥ 7.0% [≥ 53 mmol/mol]), SBP (≥ 130 mmHg), LDL–C (≥ 2.5 mmol/L [97 mg per deciliter]), BMI ≥ 25 kg/m2 and eGFR ≥ 90 mL/min/1.73m2.

Overall, similar associations were noted for the risk of SND, AV-block and pacemaker implantation (Fig. 2B); IVCB (Fig. 2C); and VT/VF (Fig. 2D). For eGFR, the risk of VT/VF had a greater magnitude of estimated association at levels below 90 mL/min/1.72 m2 (Fig. 2D), although the association was non-significant. Additionally, for SND, AV-block, pacemaker implant and IVCB, glycated haemoglobin levels below target guideline levels were associated with significantly lower risk.

An additional Cox model, using a similar modelling approach as for the analyses of optimal risk factor levels, shows a substantial risk associated with increasing age at registry baseline and miniscule risk associated with increasing duration of diabetes in patients with type 2 diabetes (Fig. 3).

Figure 3
figure 3

Hazard function for age and duration of diabetes for arrhythmias in patients with type 2 diabetes. Hazard risk for age at baseline and duration of diabetes using restricted cubic splines in an extensively adjusted Cox model. The dark lines indicate the hazard function and the shaded areas 95% confidence intervals.

Multifactorial risk factors at target

Figure 4A–D shows adjusted hazard ratios for all arrhythmia/conduction outcomes, comparing participants with diabetes in 5 groups of numbers of risk factors at target with matched controls. Throughout, the risk of all arrhythmia outcomes was incrementally higher for each risk factor beyond target. People with type 2 diabetes with 5 risk factors outside of target at baseline displayed a HR of 1.50 (95% CI 1.41–1.61), compared with controls, while having all risk factors within target range displayed a HR of 1.09 (95% CI 1.05–1.14; Fig. 4A). Figure 4B shows that having 5 risk factors outside of target and type 2 diabetes conveyed a hazard ratio of 1.45 (95% CI 1.22–1.72) for sinus node disease, AV-block or pacemaker implant, compared with controls. Figure 4C shows that type 2 diabetes with no risk factors was associated with a HR of 0.80 (95% CI 0.64–0.98), compared with controls. For VT/VF, type 2 diabetes with no risk factors outside target was associated with a HR of 0.97 (95% CI 0.80–1.17), compared with controls. Patients with 1 risk factor outside target had significantly lower risk HR 0.86 (95% CI 0.79–0.94), whereas patients with 5 risk factors outside of target had 68% greater risk (HR 1.68, 95% CI 1.32–2.15).

Figure 4
figure 4

Adjusted hazard ratios for cardiac arrhythmias, according to number of risk factor variables outside target range among patients with type 2 diabetes, as compared to matched controls. Hazard ratios shows the excess risk of each outcome among patients with diabetes, compared to matched controls from the general population, according to number of risk factors (scale, none to five) that were outside therapeutic ranges. Tables displays number of study participants in each risk factor category. The dark lines indicate the hazard function and the shaded areas 95% confidence intervals.

Excess risk of arrhythmia outcomes in diabetes vs controls

Figure 5 shows that overall hazard ratios for people with type 2 diabetes, compared with controls, were 1.23 (95% CI 1.22–1.35) for AF/AFI, 1.45 (95% CI 1.41–1.48) for sinus node disease, AV-block or pacemaker implant, 1.26 (95% CI 1.21–1.31) for IVCB, and 1.20 (95% CI 1.14–1.25) for VT/VF. Women and study participants with Scandinavian ethnicity displayed a lower risk for all outcomes of interest. All cardio-renal baseline comorbidities were associated with increased risk for outcomes, heart failure displayed the highest risk association.

Figure 5
figure 5

Excess risk for cardiac arrhythmias among patients with type 2 diabetes, as compared to matched controls. Excess risk for arrhythmias was assessed with Cox regression models for patients with diabetes and their matched controls. Inclusion of baseline comorbidities such as coronary heart disease, heart failure and stroke had no significant impact on statin-, hypertensive- and antithrombotic mediation.

Discussion

The present analyses of the Swedish National Diabetes Registry data from 2001 through 2019 showed that patients with type 2 diabetes and five selected risk-factor variables within target range had, at most, marginally higher risk for a variety of cardiac arrhythmia complications, including AF/AFl; SA- and AV-node dysfunction or pacemaker implant; IVCB; and VT/VF compared with the general population. The results raise the possibility that having all risk-factor variables within target ranges could theoretically attenuate or even eliminate excess risk for cardiac arrhythmias associated with T2D. We identified a monotonic relationship for increasing number of variables not within target ranges. The following modifiable risk factors were considered to be the independent predictors for cardiac arrhythmias: body mass index, systolic blood pressure and estimated glomerular filtration rate. Using real-world data, we found that levels of glycated hemoglobin and LDL-cholesterol were independently associated with lower risk for cardiac arrhythmias.

Randomized trials investigating the effect of multifactorial cardiometabolic risk-factor intervention on arrhythmia complications in patients with type 2 diabetes are scarce, and contemporary studies have primarily been designed to analyze the independent risk association or cumulative incidence of arrhythmias among patients with various number of risk factors at baseline6,7,8,9. Additionally, observational studies and randomized trials have shown inconsistent evidence of effects of glycated hemoglobin levels below contemporary guideline levels (< 53 mmol/mol or 7.0%) with regards to atrial fibrillation and flutter10. In a previous report from the Swedish National Diabetes Registry, patients with type 2 diabetes and poor glycemic control or kidney function were at higher risk for AF/AFl11. However, that study included patients from 2001 to 2013, the analyses were based on individuals with complete data for risk factors and used time-updated glycated haemoglobin levels in the modelling. In the present study, we used baseline values, i.e., risk factor values observed at entry into the Swedish National Diabetes Registry, restricted cubic splines and extensive adjustment of covariates. Ours findings may be limited by the impact of reverse causality, meaning that AF/AFl (i.e. the outcomes) leads to intensification of medical therapy, including glucose-lowering treatments.

The three mechanisms of tachyarrhythmias (automaticity, triggered activity, and re-entry) all depend on the excitability of the conduction cells and the contractile cells in the atria and ventricles. Hyperglycemia causes cellular and extracellular changes, e.g., fibrotic remodeling and inflammation12, that may impair cellular function and thus excitability and conduction. It could be perceived that glycemic load (i.e., duration of exposure to hyperglycemia/dysglycemia and glucose fluctuations), would be a more suitable predictor to distinguish the association between glucose and atrial tachyarrhythmias. Our Cox models revealed that duration for diabetes, at baseline, was not a strong risk factor for arrhythmias.

The results from the present study suggest that contemporary risk factor management may have contributed to mitigating risk for SA- and AV-node dysfunction or pacemaker implant and IVCB amongst patients with type 2 diabetes, whereas risk for atrial- and ventricular tachyarrhythmias did not change significantly over time. The trends for reported cardiac arrhythmias show the opposite of trends reported from a related dataset for coronary artery disease, acute myocardial infarction, and heart failure, all of which demonstrated a substantial reduction in incidence and risk, and have been causally linked to the arrhythmias studied here1,4.

It is also noteworthy that the overall excess risk of arrhythmia for participants with type 2 diabetes was relatively low, with an excess risk ranging from 8 to 40% increased probability of the outcomes. This could be compared with the excess risk of coronary artery disease, myocardial infarction, stroke, and heart failure that typically range between two- to fourfold in people with type 2 diabetes.

Analyses of risk factors within recommended targets revealed that excess risk for atrial fibrillation and flutter among patients with type 2 diabetes was associated with substantially lower risk by means of optimal risk factor control. However, first, the present analyses evaluated risk factor status independent of treatment; and second, the present analyses evaluate observational associations between baseline level and subsequent outcomes, as opposed to treatment and analyses of time-updated levels. By these limitations, extrapolating to any implication about treatment to affect outcomes has noted limitations. Patients with diabetes and all risk factors within target did not display an excess risk for other arrhythmias, and risk for IVCB was 20% lower compared with matched controls. There is a graded association in arrhythmia risk for each risk factor outside of recommended target, most notably for AF/AFl.

Increasing body mass index was associated with increasing risk for most arrhythmias. Given the impact of increased adiposity on cardiac structure and function, elevated epicardial fat, blood pressure and systemic inflammation, all of which could contribute to arrhythmic risk, obesity remains a promising target for intervention of such risk, independent of T2D status. Further investigation in epicardial adipocyte mass and inflammation that leads to cardiac myopathy is warranted. Previous studies show that interventions such as marked weight loss13,14,15,16, statin therapy17,18,19 and renin–angiotensin–aldosterone system inhibition20,21, have the potential to reduce the risk of AF/AFl as well as the progression of paroxysmal to permanent AF/AFl. Antihyperglycemic medications such as metformin and PPAR-γ inhibitors reduce epicardial adipose tissue and systemic inflammation, whereas insulin promotes adipogenesis and cardiac fibrosis. A similar fibrotic process is perceived to play an important role in apoptosis and fibrosis of sinoatrial- and atrioventricular node disease through independent activation of calmodulin and cellular Ca2+ by oxidation, although fibrosis is common but not a universal finding in sinoatrial- and atrioventricular node remodeling and disease. Our analyses show that systolic blood pressure and eGFR are more associated with sinoatrial- and atrioventricular node, and subsequent pacemaker implantation, compared with atrial fibrillation and flutter.

Limitations

We only assessed diagnoses recorded during inpatient- and outpatient visits, meaning that disease onset may have occurred before the captured event of interest. Nevertheless, previous validations of the Hospital Discharge Registry have proven to be very reliable22. We did not have cardiometabolic data on controls, making it impossible to adjust for these risk factors in the regression models. Using baseline values for risk factors may be considered as a limitation, however, index values are preferred due to their advantage from a clinical point of view. Results are model dependent and could change slightly with different approaches to data analyses. Additionally, no distinctions were made between patients with all or some cardiometabolic risk factors within the target range and those treated to guideline target levels. In contrast to AF/AFl, the other composite outcomes are less validated and likely suffers from a lower level of ascertainment in the Swedish patient registries. Additionally, we can’t exclude the possibility of referral bias for the T2D patient group, compared to matched controls, resulting increased detection of cardiac arrhythmias.

Conclusion

Diabetes mellitus was associated with a higher risk of cardiac arrhythmias and conduction disturbances, although patients with type 2 diabetes with cardiovascular risk factors within target had little or no excess risk of cardiac arrhythmias. Incremental risks for atrial fibrillation and flutter, as well as ventricular tachycardia and fibrillation, associated with T2D have not changed significantly compared with matched controls, whereas intraventricular conduction blocks and sinus node disease, AV-block or pacemaker implant have decreased significantly compared with controls.