Introduction

Atrial fibrillation (AF) is prevalent in patients with aging, congestive heart failure (CHF), hypertension (HTN), and diabetes mellitus (DM). Patients with type 2 diabetes mellitus (T2DM) carry an overall 35% higher risk of AF compared to general population, and increased blood glucose has a dose–response relationship with the incidence of AF [1, 2]. However, whether DM itself is an independent risk for AF or diabetic environment prone to AF has been controversial. Potential proarrhythmic mechanisms linking AF to DM are complex. Interstitial fibrosis and atrial dilatation, marker of DM atriopathy can cause structural remodeling. Decreased sodium ion channel, intracellular calcium dysregulation, and abnormal expression of connexins from connexin-40 to connexin-43, can change atrial refractoriness, resulting in electrical remodeling. Autonomic imbalance, sympathetic overactivation, and heterogeneous distribution of sympathetic nerves lead to autonomic remodeling [3, 4].

Apart from focusing primarily on measurement of fasting plasma glucose (FPG), hemoglobin A1c (HbA1c), advanced glycation end products (AGEs), glucagon-like peptide 1 (GLP-1), short-term glycemic variability within-days or months or even years have been considered as important risk factors for cardiovascular disease [5]. Glycemic fluctuation has been shown to over-activate oxidative stress and inflammation system, aggravating greater vascular damage and cardiomyopathy than that in chronic stable hyperglycemia [5, 6]. Increased glycemic variation (GV) also has adverse effect on autonomic function and increases the thrombotic properties of the platelets, which may be associated with higher incidence of major adverse cardiovascular event (MACE) [7, 8].

Previous studies have shown that patients with higher acute GV have more vulnerable plaques and poorer prognosis of acute coronary syndrome [9,10,11]. Short-term GV is also associated with increased mortality after cardiac procedure such as transcatheter aortic valve implantation [12]. Long-term GV was found to be associated with greater progression of coronary artery calcification in young adults [13]. High GV also causes left ventricular diastolic dysfunction and increased the risk of heart failure [14, 15]. In the Antihypertensive and Lipid-Lowering Treatment to Prevent Heart Attack Trial (ALLHAT) study, GV was independently associated with the risks of cardiovascular event and all-cause mortality [16].

Nevertheless, the majority of the studies regarding the effect of GV have focused on diabetic macro- and micro-vascular complications. Whether GV is associated with the development of AF is not known. Investigating the contribution of GV on the development of AF may advance our understanding of how dysfunction in glucose homeostasis impacts atrial remodeling. In this cohort study, we plan to investigate the association of long-term GV with the incidence of AF and related cardiovascular outcomes in a group of patients with T2DM.

Methods

Study population and data collection

The study was approved by the Institutional Review Board (IRB) of National Taiwan University Hospital. The study database was from National Taiwan University Hospital integrated Medical Database (NTUH-iMD) which was composed of detailed medical information from a tertiary medical center in Taiwan. Since AF is prevalent in patients with older age, we enrolled those with age above 50 years and diagnosed with T2DM at the National Taiwan University Hospital from January 1, 2014, to December 31, 2019. Patients with previous AF or lost to follow-up (defined as an absence of follow-up at the outpatient clinics between Oct. 1st to Dec. 31, 2019 since we followed patients at least every three months) were excluded. For simplicity, patients who had severe end organ damage including history of congestive heart failure (CHF) or above stage 3 chronic kidney disease (CKD) were also excluded. Baseline characteristics including body mass index (BMI), hypertension (HTN), hyperlipidemia, coronary artery disease (CAD), acute coronary syndrome (ACS), myocardial infarction (MI), chronic obstructive pulmonary disease (COPD), peripheral arterial occlusive disease (PAOD) were obtained from the electronic health records (EHRs). Estimated glomerular filtration rate (eGFR) was calculated by modification of diet in renal disease (MDRD) equation. Prescription information were categorized into antiarrhythmic agents, calcium channel blocker (CCB), beta-blocker, angiotensin converting enzyme inhibitor (ACEI), angiotensin receptor blocker (ARB), mineralocorticoid-receptor antagonist (MRA), anticoagulants including direct oral anticoagulant (DOAC) and warfarin, and anti-diabetic medications including insulin, metformin, sodium–glucose co-transporter-2 (SGLT2) inhibitor, dipeptidyl peptidase 4 (DPP4) inhibitor, sulphonylurea, repaglinide, acarbose, thiazolidinedione (TZD), glucagon like peptide-1 (GLP-1) agonist. Echocardiographic studies were performed with Phillips iE33 (Phillips, Bothell, WA, USA) and two‐dimensional‐guided M‐mode measurements with a 3.0‐ or 3.5‐MHz transducer. Left atrium (LA) size, LV internal dimension in end‐diastole (LVIDd) and systole (LVIDs), and LV ejection function were collected in the parasternal long-axis view with M-mode cursor. LA size was anterior–posterior diameter measured at the end-ventricular systolic phase. LV mass was calculated by using the Devereux formula. All the echocardiographic data were assessed from the EHRs.

The outcomes were AF, transient ischemic accident (TIA), ischemic stroke and mortality. Death events were also adjudicated by a central committee, and were separated to cardiac and noncardiac mortality. AF and its occurrence time were identified by the diagnosis code from either the EHRs or the standard 12-lead electrocardiogram. The index dates of outcomes were defined as the dates of diagnosis. All medical records were reviewed until their last clinical visit or death.

Glycemic variability measurement

We calculated two measures of GV for each individual: the coefficient variability of the mean FPG (FGCV) and the HbA1c variability score (HVS). FPG and HA1C were measured quarterly at visit-to-visit outpatient department. FPG was measured in subjects who reported fasting more than 8 h. The calculation of FPG and HbA1c variability was from at least three successive measurements. Only patients having both FGCV and HVS were included for analysis. FGCV (%) was calculated as the standard deviation (SD) of FPG divided by the mean FPG, and then divided by the square root of the ratio of FPG measurements n to n − 1 (\(\sqrt {n/(n - 1)}\)) to account for the influence of FPG measurement number [17, 18]. HVS is the number of measures within an individual where the HbA1c has changed by > 0.5% (5.5 mmol/mol) from the prior value, as a percentage of the total number of HbA1c measures between the diagnosis of diabetes and the outcome. In brief, HVS is a percentage of HbA1c fluctuation events (Δ > 0.5%) [19].

Statistical analysis

Patients were categorized into four groups according to the quartiles of FGCV or HVS. Continuous variables were described as mean (SD) and categorical variables were reported as frequency (percentage). Differences among groups were tested by using chi square test for categorical variables and analysis of variance (ANOVA) test for continuous variables. Multivariate Cox proportional hazards models were constructed to assess the association of categorical and continuous measures. The relationship between GV and the development of diabetes complications was assessed by Cox regression from which hazard ratios (HRs) and 95% confidence intervals (CIs) were derived. The assumption of proportionality was validated by verifying the Schoenfeld residuals. Trend analysis in the general linear model and Cochrane-Armitage test were used for evaluating dose–response effects.

The semiparametric Cox regression models were sequentially adjusted for the following baseline covariates. The model 1 was crude model without any adjustment. The model 2 adjusted for age, gender (male as reference group), baseline BMI, history of HTN, COPD, CAD, PAOD and prior TIA/ischemic stroke, baseline FPG, baseline HbA1c, and baseline estimated glomerular filtration rate (eGFR). The model 3 adjusted for model 2 plus three echocardiogram parameters including LA size, LVEF, LVM. Model 4 adjusted for model 3 plus the medications including antiplatelet, anticoagulant, CCB, betablocker, ACEI/ARB, diuretic, statin, insulin, metformin, SGLT2 inhibitor, DDP4 inhibitor, sulphonylurea, repaglinide, acarbose, TZD, GLP-1 agonist. Survival analyses were presented by using Kaplan–Meier curves and the significance of difference between curves were examined by log-rank test. All statistical analyses were performed using SAS statistical software package (version 9.4. SAS Institute Inc., Cary, NC, USA). A two-tailed p-value of less than 0.05 was considered statistically significant.

Results

Baseline characteristics

The flowchart of patient selection was demonstrated in Fig. 1. A total of 74,835 with T2DM diagnosis code between 2014 and 2019 were enrolled. Among them, 121 patients without firm evidence of T2DM (blood test, DM medications) and 1607 patients aged below 50 years were excluded. We excluded 1755 patients with pre-existing AF, 125 patients with severe CHF (ever hospitalization caused by acute decompensated heart failure), and 6054 patients with moderate or severe CKD (≥ stage 3 CKD). We only included patients with both FGCV and HVS data, so 38,628 patients who only had either FGCV or HVS data were excluded. We also excluded the patients with FGCV = 0 (n = 81) or HVS = 0 (n = 11,141, over 70% < 10 measurements) to simplify the analysis and uniform the approach for FGCV and HVS. Finally, a total of 27,246 subjects were enrolled for further analysis. The patients were grouped according to the quartiles of either FGCV or HVS. The clinical, biochemical and anthropometric characteristics were presented in Table 1. The subjects in the highest quartile of FGCV were older, had higher baseline FPG and HbA1c, had worse baseline eGFR, were more likely to have PAOD and less likely to have HTN or CAD. The subjects in the highest quartile of HVS were more male gender, had less HTN, had higher baseline FPG and HbA1c levels and lower baseline eGFR.

Fig. 1
figure 1

Flow chart of patient selection

Table 1 Baseline patients’ characteristics (N = 27,246)

Over a median follow-up of 70.7 months, there were 2762 AF events (overall incidence rate 21.31 per 1000 person-year) and 1803 TIA/ischemic stroke events (overall incidence rate 13.71 per 1000 person-year). The incidence rates of AF for FGCV quartiles were 16.47, 17.66, 19.86, and 31.76 per 1000 person-year. The incidence rates of AF for HVS quartiles were 14.19, 19.30, 24.37, and 29.27 per 1000 person-year. The incidence rates of TIA/ischemic stroke for FGCV quartiles were 11.98, 11.52, 13.88, 17.66 per 1000 person-year. The incidence rates of TIA/ischemic stroke for HVS quartiles were 10.32, 15.83, 16.52, 15.63 per 1000 person-year. There were 3545 deaths in which 615 (17.35%) were cardiac causes.

Measures of glycemic variability and outcomes

As shown in Table 2, in comparison with the first quartile of FGCV, the hazard ratios (HRs) across quartiles (second to fourth quartiles) for AF were 1.09 (95% CI 0.97–1.23, p = 0.137), 1.24 (95% CI 1.10–1.39, p < 0.001), and 2.00 (95% CI 1.80–2.22, p < 0.001) in model 1 without adjustment. After model 2 and 3 adjustment, the fourth quartile remained significantly associated with the development of AF and the HRs were 1.74 (95% CI 1.55–1.96, p < 0.001) and 1.45 (95% CI 1.26–1.66, p < 0.001) for model 2 and 3 respectively. In fully adjusted model 4, the HRs for AF became insignificant (1.12, 95% CI 0.96–1.29, p = 0.148). As for other outcomes, in fully adjusted model, the fourth quartile remained significant for total mortality (1.33, 95% CI 1.12–1.58, p < 0.001) and non-cardiac mortality (1.41, 95% CI 1.15–1.71, p < 0.001) but became insignificant for TIA/ischemic stroke (1.04, 95% CI 0.83–1.31, p = 0.736) and cardiac mortality (1.05, 95% CI 0.72–1.52, p = 0.810).

Table 2 Adjusted hazard ratios for AF, TIA/ischemic stroke, cardiac mortality and total mortality across quartiles of glycemic variability

Also shown in Table 2, by using the first quartile of HVS as reference, the HRs for AF remained significant in the third (1.17, 95% CI 1.02–1.34, p = 0.024) and fourth quartile (1.29, 95% CI 1.12–1.50, p < 0.001) in fully adjusted model. As for other outcomes, in fully adjusted model, in comparison with the first quartile, all three quartiles were significantly associated with total mortality and non-cardiac mortality but only the fourth quartile remained significant for cardiac mortality (1.50, 95% CI 1.06–2.14, p = 0.024). For TIA/ischemic stroke, all quartiles were nonsignificant in fully adjusted model. Forest plot of HRs in fully adjusted models were demonstrated in Fig. 2A (FGCV) and 2B (HVS). The numbers of FPG and HbA1c tests during follow-up were presented in Additional file 1).

Fig. 2
figure 2

Forest plot of different outcomes in fully adjusted model stratified by quartiles of FGCV (A) or HVS (B)

The results of Kaplan–Meier analysis were demonstrated in Fig. 3. As shown in Fig. 3, the probability of AF (3A), mortality (3B), non-cardiac mortality (3C) and cardiac mortality (3D) were significantly different across quartiles of HVS (All log-rank p < 0.001).

Fig. 3
figure 3

Kaplan–Meier analysis stratified by HVS for different outcomes: AF (A), total death (B), cardiac death (C) or non-cardiac death(D)

Discussion

Our study showed that a greater GV is associated with a higher incidence of AF in patients with type 2 DM. In addition, a greater GV is independently associated with higher chances of cardiac and all-cause mortality. To our knowledge, this is the first cohort study to explore the association of long-term GV with the development of AF.

High GV has been proved to be associated with increased risk for cardiovascular events and poor prognosis [20, 21]. However, it’s impact on arrhythmia has been seldom studied. In a large Korea cohort of healthy population, the metabolic variability score composed of glucose level, blood pressure, total cholesterol level, and BMI showed a close association with the risk of AF, and the incidence was about 0.8 to 1.2 per 1000 person-year [22]. In our T2DM cohort, the overall incidence of AF was 21.31 per 1000 person-year, which was apparently much higher than the Asian healthy population without DM. The pathophysiology of AF development in DM has not been elaborately investigated. In a diabetic mice model, increased AF susceptibility was associated with reduced atrial conduction velocity, action potential duration prolongation, increased heterogeneity in repolarization, and increased interstitial atrial fibrosis [23]. In addition to blood sugar level, increased magnitude of GV may generate more reactive oxygen species than hyperglycemia alone. In diabetic rats, glucose fluctuations promote cardiac fibrosis by altering AKT signaling pathway and upregulate Txnip and NADPH oxidase expression which produce more reactive oxygen species levels, thereby increasing the incidence of AF [24, 25]. Other than direct effect, high GV may contribute to cardiac autonomic neuropathy which has a strong influence on cardiac arrhythmias [26].

Detrimental effects of glycemic fluctuations for AF are not only related to hyperglycemia but also hypoglycemia. Acute hypoglycemia is associated with the initiation and perpetuation of AF via mechanisms of increasing sympathetic activation, catecholamine surge and inflammation. Failure of intensive glycemic control to prevent new-onset AF in diabetic patients in the ACCORD trial hinted a potential harm that might come with hypoglycemia [27, 28]. Although the evidence for AF risk of hypoglycemia is circumstantial, a multitude of case reports of cardiac arrhythmias and electrocardiographic changes provoked by hypoglycemia had been reported [29].

The clinical meanings of the long-term and short-term GVs are different. Long-term GV is derived based on visit-to-visit measurements of HbA1c and FPG and is a marker of ambient hyperglycemia. In contrast, short-term GV represents episodes of either hyperglycemia or hypoglycemia within days [30]. In our study, we observed that HVS derived from HbA1c has better consistency and performance than FGCV derived from FPG in predicting future events. This implies that the impact of GV on AF development is a long-term cumulative process.

Long-term visit-to-visit HbA1c variability has been proved to be a strong predictor for both microvascular and macrovascular diseases and also for all-cause mortality [31, 32]. There are several ways to evaluate the HbA1c variability. One study showed that among the HbA1c variability parameters including mean of HbA1c, yearly mean HbA1c, HbA1c-SD, HbA1c-CV and HVS, HVS performed the best in predicting microvascular events [33]. One reason is that many of the HbA1c variability parameters are affected by the mean HbA1c value. For example, since the mean HbA1c is the denominator of the CV, intensive DM treatment may lower the mean value while increase this variability index [34]. HVS is defined as a percentage of HbA1c fluctuation events and is relatively insensitive to the change of the HbA1c absolute value and thus can independently provide accurate and stable GV information [19]. Our study also identified some patient characteristics that are subjective to high GV including male gender, high BMI, high baseline HbA1c and CKD. These factors could be an important reference for physicians who take care of patients with DM.

Limitations

First, there might be surveillance bias because we did not screen for AF using a standardized, dedicated protocol at baseline or during follow-up period in this observative cohort. A recent study showed that the prevalence of asymptomatic, silent AF was 5–20% in diabetic subjects aged more than 65 years [35]. Since our patients were aged above 50 with a mean CHA2DS2-VASc score 2.56, the incidence of new-onset AF was possible to be underestimated. However, on the contrary, diabetic patients are more likely to have close follow-up, and thus they might have increased likelihood of being diagnosed with AF. The magnitude of these effects were difficult to be adjusted in this study. Second, we did not test all the reported GV parameters, such as average successive variability, average real variability of FPG, mean amplitude of glycemic excursion. We chose FGCV and HVS since they were commonly used, easily calculated parameters that could help physicians quickly determine the GV of their patients. Third, we excluded patients with severe end-organ damage including CHF and CKD to avoid complex AF confounders existing in these medical conditions. Whether the conclusion can be extrapolated to these conditions need further confirmation. Fourth, some known AF contributing factors, such as sleep apnea or sedentary behavior were not comprehensively evaluated in this study. Fifth, we excluded subjects who were not consistently followed at our out-patient clinics since the outcomes might be missing. This approach might cause selection bias but it could make sure that all the outcomes were accurately determined. Finally, this was a retrospective cohort study and the causal relationship might be less convincing.

Conclusions

Our data demonstrated that high GV is independently associated with the development of new-onset AF in patients with T2DM. The benefit of maintaining stable glycemic levels to improve clinical outcomes warrants further studies (Additional file 1).