Introduction

Diabetes mellitus (DM) is a chronic disease with a high global prevalence, affecting some 450 million (8.8%) patients worldwide and causing approximately 5 million deaths per year [1]. In the UK, 4.7 million patients (7.0%) had diagnosed or undiagnosed DM in 2019 [2]. Because the majority (90%) of the cases are DM type 2 (T2DM) [2], T2DM and its complications are of great importance for the health system [1]. T2DM is characterized by hyperglycemia due to insulin deficiency and insulin resistance, and it is linked to an increased risk for several cardiovascular diseases [3, 4].

While it has been shown that T2DM patients have a higher risk for arterial thrombosis, the association between T2DM and the risk of venous thromboembolism (VTE) has been studied less. VTE, a medical condition in which a thrombus forms in the venous system, can manifest as deep vein thrombosis (DVT) or as pulmonary embolism (PE), if the thrombus travels to the pulmonary arteries [5,6,7]. VTE is associated with a high mortality [5, 8]. Its prevention and management is a priority for the NHS, the National Health Service of the UK [9]. Unprovoked VTE [5] occurs at an incidence of 62.1 per 100′000 person years [10]. However, especially at older ages (> 60 years), men have an approximately 20%–25% higher incidence rate of VTE than women [7, 11]. The term unprovoked is used in accordance with the definition provided by the NICE (National Institute for Health and Care Excellence) guideline on PE and DVT, meaning that—similar to the term idiopathic—no recent known major risk factors were present prior to the VTE [5].

Published findings regarding DM as an independent risk factor for VTE are not consistent [6, 12] However, it is well established that VTE occurs more than twice as often in patients with DM than in DM-free individuals [13, 14]. Studies also show that men are at a higher risk for T2DM and VTE than women when both diseases are considered individually, while women are at higher risk of VTE once other comorbidities (such as DM, cardiovascular disease, and atherosclerosis) are involved [12, 15, 16].

Since the degree of hyperglycemia is crucial in the development of DM-related complications [17, 18], the question arises whether there is also an association between hyperglycemia and the risk of VTE.

To date, recent studies assessing the impact of glycemic control on the risk of VTE in male and female patients with DM yielded conflicting results. While some authors found a statistically significant association between the level of glycemic control and the risk of VTE [19, 20], others did not [21]. In a population-based cohort study from Norway, the risk of VTE increased by 5% per one standard deviation increase in HbA1c. However, in this study, there were no HbA1c measurements available at a time point close to the VTE event [21]. None of the published studies analyzed the impact of glycemic control on the risk of VTE stratified by sex. However, the sex of the patient could not only have an impact on the development and progression of the disease itself [15, 22,23,24], but also on the association of glycemic control and risk of VTE.

A hypothesized pathway for an increased risk of VTE in patients with DM is that hyperglycemia contributes to elevated coagulation factors and impaired fibrinolysis [4, 13, 25]. A single unifying mechanism of DM complications might be hyperglycemia-induced overproduction of superoxide by the mitochondrial electron transport chain, which activates several damaging pathways [26]. The activation of these pathways causes additional intracellular oxidative stress, abnormalities of the gene expression of glomerular cells, hyperglycemia-induced cardiomyocyte dysfunction, and an increase of the enzyme GFAT (glutamine fructose-6 phosphate amidotransferase), resulting in a variety of effects on gene expression and advanced glycation end product formation [26].

The objective of the present study was therefore to analyze the association between glycemic control and the risk of unprovoked VTE in patients with T2DM overall, as well as separately for men and women.

Methods

Study design and data source

We conducted a nested case–control analysis within a cohort of patients with incident T2DM between 01. January 1995 and 31. December 2019 in the UK-based primary care Clinical Practice Research Datalink (CPRD) GOLD.

CPRD GOLD contains anonymized medical records of over 11.3 million patients from more than 600 general practices in the UK. It is a governmental, non-profit database; the enrolled patients account for approximately 6.9% of the UK population. Patients within CPRD GOLD are representative of the UK general population with respect to age, sex, and ethnicity [27]. The database was established in 1987 and is a collaborative project between the National Institute for Health Research (NIHR) and the Medicines and Healthcare Regulatory Agency (MHRA). The information in the database comes from participating general practitioners (GPs), who are trained on recording medical information using standard software and coding systems. Medical diagnoses, referrals to specialists and secondary care settings, prescriptions, diagnostic testing, lifestyle information, and demographic data are all part of the recorded information [28]. Many validation studies have been performed that demonstrate the high quality of CPRD GOLD data [28,29,30]. The validity of the diagnoses of T2DM and VTE has been shown previously [31,32,33].

Study population

In order to ensure that we only included incident DM cases in the study population, patients had to have a minimum of 3 years of DM-free history in the database prior to onset. We identified patients based on specific codes for T2DM. We also included patients with an unspecific code for DM (e.g. general code for “diabetes”) if they were older than 30 years at diagnosis and received an oral antidiabetic drug (OAD). Independently of age, if DM patients never received insulin, we classified them as T2DM patients. We used the onset of DM as the study entry date, defined as the date of the first recorded DM code or the date of the first prescription for a DM medication. If the prescription occurred more than 365 days prior to the first recording of a DM diagnosis code, we excluded the patient.

We excluded patients with a diagnosis of cancer (except non-melanoma skin cancer), alcoholism, or HIV at any time in the patient record to avoid substantial bias and confounding.

We excluded patients with a history of VTE (at any time prior to the diagnosis of T2DM), or a code for surgery, immobilization, trauma, paralysis and paresis, or use of HRT or the contraceptive pill within 3 months prior to the index date. We further excluded patients with a code for pregnancy or puerperium within 12 months prior to the index date.

Case and control definition

We defined cases as patients with a first-time recording of VTE during the study period, who received at least one prescription for an antithrombotic drug within 7 days prior until 90 days after the VTE [5, 34, 35], including vitamin K antagonists, heparins, direct factor Xa inhibitors, direct thrombin inhibitors, fibrinolytic enzymes, or the synthetic penta-saccharide factor Xa inhibitor fondaparinux. The index date for each case was the date of the first recorded VTE. Since we excluded patients with known risk factors for a VTE prior to the outcome, we regard the VTE cases included in this study as having an unprovoked or idiopathic VTE [5].

We used risk set sampling to match each case to 4 controls from the study population, i.e. patients who did not experience a VTE between the onset of DM and the index date of their matched case. We matched controls to cases on age (± 3 years), sex, general practice, index date (same index date as the case, and the control had to be present in the database on the index date), and T2DM duration (± 365 days assessed by counting the days between the study entry date and the index date).

Exposure definition

The exposure of interest in this study was glycemic control after the onset of DM defined by HbA1c levels. We used the last recorded HbA1c value before the index date for our analyses. We assessed HbA1c levels in 7 categories: ≤ 6.5% (≤ 48 mmol/mol), > 6.5–7.0% (> 48–53 mmol/mol, reference group), > 7.0–7.5% (> 53–58 mmol/mol), > 7.5–8.0% (> 58–64 mmol/mol), > 8.0–9.0% (> 64–75 mmol/mol), > 9.0% (> 75 mmol/mol), and no HbA1c measurement. Results for patients with missing values were presented in a separate category.

Statistical analysis

We used conditional logistic regression to assess the association between levels of glycemic control (expressed as HbA1c levels) with HbA1c levels of > 6.5–7.0% (> 48–53 mmol/mol) as the reference group and the risk of VTE, expressed as odds ratios (ORs) or adjusted ORs (aORs) with 95% confidence intervals (CI). We also assessed the association between HbA1c level and the risk of VTE according to the patients’ number of GP visits during the study period. Lastly, we conducted analyses in men and women separately.

We adjusted for the following comorbidities and co-medications (recorded at any time in the patient record before the index date) in the final model based on previous clinical knowledge: BMI (categorical variable), smoking status (current, past, non-smokers, and unknown), CVD (including congestive heart failure, ischemic heart disease, myocardial infarction, hypertension, and stroke), osteoarthritis, use of insulin, bisphosphonates, systemic corticosteroids, low-dose acetylsalicylic acid, and current (last prescription within 30 before the index date) or past (last prescription > 30 days prior to index date) use of metformin or sulfonylureas. We additionally tested for effect modification by obesity status (non-obese versus obese, defined as BMI levels < 30 and ≥ 30) of the association between level of HbA1c and risk of VTE.

In sensitivity analyses, we 1) restricted the sample to patients whose last HbA1c measurement was recorded within less than 90 days prior to the index date, 2) analyzed the risk of VTE separately for patients with a previous CVD diagnosis, and 3) conducted separate analyses of the risk of VTE by HbA1c levels for patient groups of different T2DM durations.

We conducted analyses using SAS software version 9.4 (SAS Institute, Inc., Cary, NC, USA).

Results

Within a cohort of 231′439 patients with incident T2DM who fulfilled all study inclusion and exclusion criteria, we identified 2′653 T2DM patients with an incident VTE diagnosis and 10′612 matched control patients (Fig. 1).

Fig. 1
figure 1

Selection of the study population

Cases and controls were similar with respect to age and time from most recent HbA1C value to index date. We observed a mean of 12.5 HbA1c measurements per case and 12.3 HbA1c measurements per control during the study period. The median time between the index date and the last HbA1c measurement was 117 days for cases and 116 for controls.

Patients exposed to insulin (aOR 1.63, 95% CI 1.38–1.92) had an increased risk of VTE compared to never-users of insulin, independently of HbA1c levels. However, cases and controls who had at least one prescription for insulin also had longer mean T2DM duration than non-users of these drugs (approximately 4.2 years longer). We found no effect modification by BMI on the association between HbA1c level and the risk of VTE.

Table 1 provides information on the basic characteristics of cases and their matched controls at the index date.

Table 1 Characteristics of the included cases and controls

We found no elevated relative risk for VTE in patients with the last HbA1c measurement > 7.0% (> 53 mmol/mol) compared to the reference group of patients with HbA1c levels > 6.5–7.0% (> 48–53 mmol/mol). The ORs for the various HbA1c categories are displayed in Table 2. There was no consistent linear increase in the risk of developing VTE with increasing HbA1c levels. Patients with missing HbA1c measurements had the highest risk of VTE (aOR 1.56, 95% CI 1.29–1.88) when compared to patients with last HbA1c measurements of > 6.5–7.0% (> 48–53 mmol/mol) before the index date. Around one third of the cases with no HbA1c measurements (8.4% in total) had little GP contact (0–14 GP visits: 34.7% (n = 77), 15–29 visits: 18.5% (n = 41), and 30 + visits: 46.9% (n = 104). We provide a separate table summarizing the characteristics of those patients without any HbA1c measurements as a Supplement.

Table 2 Risk of VTE by HbA1c level

When we stratified our analyses by sex (Table 2), we observed a slightly higher risk of VTE in women with HbA1c levels > 8.0% (> 64 mmol/mol) compared to the reference group of women with HbA1c levels > 6.5–7.0% (> 48–53 mmol/mol). There was no association between HbA1c levels and risk of VTE in men.

Among patients with preexisting CVD (Table 3), individuals with HbA1c levels > 7.0% (> 53 mmol/mol) had a similar risk of VTE compared to patients with HbA1c levels between > 6.5–7.0% (> 48–53 mmol/mol). There was a slightly higher risk of VTE with increased HbA1c levels in women with CVD, but not in men.

Table 3 Risk of VTE according to HbA1c in patients with CVD

Also in an analysis restricted to patients with a last HbA1c measurement within 90 days prior to the index date (Table 4), we only found a slight association between HbA1c levels > 7.0% (> 53 mmol/mol) and risk of VTE in women. The risk of VTE among women with a 90-day HbA1c level above 7.0% (> 53 mmol/mol) increased around 36–55% as compared to those with HbA1c levels > 6.5–7.0% (> 48–53 mmol/mol).

Table 4 Risk of VTE according to HbA1c levels measured within 90 days prior to the index date (i.d.)

We found no association between the risk of VTE by HbA1c level in the group of patients with a T2DM duration of more than 5 years (Table 5). However, among patients with shorter T2DM duration (0–5 years), those with HbA1c levels > 7.0% (> 53 mmol/mol) had slightly higher aORs for VTE when compared to T2DM patients with HbA1c levels of > 6.5–7.0% (HbA1c > 7.0–7.5%: aOR 1.20, 95% CI 0.97–1.49; HbA1c > 7.5–8.0%: aOR 1.29, 95% CI 1.00–1.67; HbA1c > 8.0–9.0%: aOR 1.44, 95% CI 1.13–1.83; HbA1c > 9.0%: aOR 1.39, 95% CI 1.07–1.79).

Table 5 Risk of VTE in patients with different T2DM durations

Discussion

In this large case–control study based on primary care data from the UK, patients with HbA1c > 7.0% (> 53 mmol/mol) did not have an increased risk of unprovoked VTE compared to patients with HbA1c > 6.5–7.0% (> 48–53 mmol/mol). In the subset of female patients, we found a suggestion of a slightly increased risk of VTE in women with HbA1c > 8.0% (for example HbA1c > 8.0–9.0%: aOR 1.29, 95% CI 1.02–1.63) when compared to those with HbA1c > 6.5–7.0% (> 48–53 mmol/mol). This increase was slightly more pronounced if we only considered patients with HbA1c measurements taken within 90 days prior to the index date. Overall, however, the association in women was weak, and there was no trend of increasing risk of VTE in association with increasing HbA1c values. We did not observe an increased risk of VTE in men at any level of glycemic control.

The weak association between elevated HbA1c levels and risk of VTE in women, but not in men, may be explained by the fact that pre-diabetic and diabetic women are more affected by chronically elevated cardiovascular risk factors, and their health declines faster when compared to men. [22, 36, 37]. Since T2DM is a disease with uncertain onset, which can remain undiagnosed for many years, this difference in risk factor levels between men and women is relevant. Several studies, including a comprehensive meta-analysis, suggest that the presence of diabetes eliminates the biological female advantage that is often used to explain the lower absolute rates of coronary heart disease (CHD) and stroke in women compared to men [22, 38, 39]. The authors of this meta-analysis estimate that the relative risk for CHD is 44% greater in women with diabetes than in similarly affected men [39]. In general, our study population included more women than men, even though men are more often affected by T2DM and by VTE, when the diseases are observed independently of each other. The T2DM cohort for our study also included more men than women prior to the identification of the VTE cases (51.1% vs 48.9%). Several studies provide an explanation for this imbalance in the rates of affected females and males by showing that adverse changes in metabolic and vascular risk factor profiles are greater in women than in men. These changes occur in diabetic individuals as well as earlier in pre-diabetic individuals [15, 22,23,24].

Patients with CVD and HbA1c levels > 7.0% (> 53 mmol/mol) did not have an increased risk of VTE when compared to those with HbA1c levels between > 6.5–7.0% (> 48–53 mmol/mol), though women with CVD and HbA1c level > 7% (> 53 mmol/mol) had a slightly elevated risk for VTE, while men with CVD did not. This result emphasizes the general importance of proper glycemic control in women suffering from both, CVD and T2DM.

In our study, patients with no recorded HbA1c measurements had a higher risk of VTE compared to patients with HbA1c > 6.5–7.0% (> 48–53 mmol/mol) throughout our analyses. This could be a proxy for a lack of patient-doctor interaction and poor treatment adherence, which could lead not only to a higher risk for VTE (as suggested in this study), but potentially to other complications caused by improper management of T2DM. This assumption is reinforced by the results shown in Additional file 1: Supplementary Table 1, where patients without HbA1c measurements had much lower numbers for diagnosis of comorbidities, as well as for a corresponding prescription, when compared to patients who had at least 1 HbA1c measurement.

The present findings should be interpreted within the context of the strengths and limitations of an observational study. A delayed diagnosis of T2DM may have led to the inclusion of some prevalent (instead of incident) T2DM cases in our cohort. Additionally, the UK Prospective Diabetes study found that a high prevalence of DM tissue damage was already present by the time the DM diagnosis was made, which is an indication of pre-existing DM [40]. Therefore, we may have underestimated the time until VTE events (after the recorded DM diagnosis) in our study population, which could have potentially affected our matching on DM duration. However, this misclassification is unlikely to have been differential by HbA1c level, and we do not expect that it had a major influence on our findings.

Though VTE events are well recorded and have previously been validated in the CPRD (positive predictive value 88.2% [82.3–92.6%] for VTE) [33], it is possible that we missed some unrecorded VTEs. This possible misclassification would likely be non-differential and would not materially change the results.

We considered BMI, previously diagnosed CVD, use of statins, as well as well as other factors that may increase the risk of VTE (see Table 1) in our analyses. However, we were not in the position to include data on diet, waist circumference, or physical activity, since this data is not available in the CPRD.

The strengths of our study include the large study sample and the observational nested case–control design within a cohort of patients with newly diagnosed T2DM. Our data come from a well validated primary care database that contains prospectively and routinely collected data, which avoids recall bias. Even though we only used the last HbA1c measurement before the index date, HbA1c measurements are regularly performed in the diabetic population, and median time between the index date and the last HbA1c measurement was short. This shows that the recorded HbA1c measurements provide a reliable and timely source for our analyses on the effect of glycemic control on the risk of VTE.

Our study population included a high proportion of patients with T2DM with HbA1c ≤ 7% (> 53 mmol/mol) who may have been healthier than the T2DM populations analyzed in other studies. Nevertheless, our population consisted of over 13′000 patients with T2DM, many of whom had HbA1c levels > 7% (> 53 mmol/mol). Therefore, we expect our results to be generalizable to those of other populations with T2DM and HbA1c levels > 7% (> 53 mmol/mol).

In conclusion, our study provides evidence that HbA1c levels > 7% (> 53 mmol/mol) are not associated with a materially increased risk for unprovoked VTE overall. There was a suggestion of a slightly increased VTE risk in women, which may be real or may reflect differences in lifestyle or other patient characteristics.

Conclusion

Our study raises the possibility that female T2DM patients with HbA1c levels > 7% may have a slightly higher risk for unprovoked VTE compared to women with HbA1c level > 6.5–7.0%. This increase may not be causal and may reflect differences in life style or other characteristics. We observed no effect of glycemic control on the risk of VTE in men.