Background

Anticoagulants are used for the prevention and treatment of venous thromboembolism and to reduce the risk of stroke in patients with either atrial fibrillation or after acute pulmonary embolism, deep vein thrombosis [1, 2]. Warfarin has been used for six decades but in the last 8 years its use has been gradually replaced by non-vitamin K antagonist oral anticoagulants (NOACs) including dabigatran, rivaroxaban, and apixaban. Unlike warfarin, these drugs have set doses and do not generally require regular international normalisation ratio blood test monitoring [3]. They also have faster onset and offset of action. There are, however, some concerns regarding the safety of NOACs with respect to bleeding because there is a limited choice of antidotes, experience with reversal agents is limited outside of trials and some remain expensive [4, 5].

Studies in the general population have reported potential further clinical benefits of NOACs over warfarin, for example, QResearch found potential for apixaban to be associated with a decreased risk of major bleeding events in patients with and without atrial fibrillation compared with warfarin; rivaroxaban is associated with a decreased risk of intracranial bleeding in patients without atrial fibrillation compared with warfarin; rivaroxaban and low dose apixaban are associated with an increased risk of all-cause mortality in patients with and without atrial fibrillation compared to warfarin [6]. However, few observational cohort studies have addressed short-term outcomes such as hospitalisation due to bleeding and cardiovascular disease (CVD), which are linked to significant health costs [7, 8]. Moreover, few studies have examined such associations in populations with type 2 diabetes, which is distinctively different from the general population, in terms of age, and comorbidities [9].

To compare the risks of major bleeding and CVD hospitalisation between incident NOAC and warfarin users with type 2 diabetes, we have used a recently introduced statistical approach: tapered multivariable matching [10, 11]. This allows us to examine the extent of the observed difference in these outcomes between NOAC and warfarin users, and more importantly to investigate how potential confounders relate to the risk differentiation. In tapered matching, we sequentially match NOAC user group to the warfarin user group with an increasingly comprehensive set of variables. As we incrementally match the NOAC user group and the warfarin user group, we can directly observe how the matched cohorts change both in terms of risk of outcome and in terms of unmatched covariables.

Methods

Data sources

Two UK primary care databases from two clinical commissioning groups (CCGs) in England were used for this study. All 21 practices in CCG-1 and 19 practices in CCG-2 practices were linked at the patient level to hospital admission data (Secondary User Service (SUS) data). We used READ codes to extract the information from general practices [12, 13] and ICD-10 (international classification of diseases, 10th revision) codes for outcomes extracted from SUS data (codes list is accessible by reasonable request via corresponding author) [14, 15]. Anonymised data were used in this study. The study was approved by South West—Exeter Research Ethics Committee (REC reference: 17/SW/0001).

The study period ran from 1 January 2017 to 30 September 2018. All patients with type 2 diabetes newly prescribed the oral anticoagulants warfarin, dabigatran, rivaroxaban, and apixaban, and aged from 18 to 99 years at the date of study entry, were eligible to be enrolled in this study. The entry date was defined as the date of the first prescription of any of the anticoagulant drugs. To facilitate a direct comparison between new users of NOACs against new users of warfarin, and to reduce the impact of indication bias, patients were excluded if they had any anticoagulant prescription in the prior 12 months before the entry date. To ensure the quality of data, patients were also excluded if they had less than 12 months of registration history before entry. International Normalized Ratio (INR) monitoring was considered a key component of warfarin management and as such included in the term “warfarin use”. INR information was not available in this study.

The outcome of interest included (i) incident hospitalisation due to CVD defined by the primary ICD-10 code within the 12 months following the first anticoagulant prescription; (ii) incident hospitalisation mainly due to bleeding events defined by the primary ICD-10 codes within the 12 months since the first anticoagulant prescription; (iii) re-hospitalisation mainly due to CVD (having ≥ 2 hospitalisations mainly due to CVD) defined by the primary ICD-10 codes within the 12 months since the first anticoagulant prescription. It is important to note that other conditions defined by non-primary ICD-10 codes could have contributed to the hospitalisation, but these have not been used in the definition of the outcomes.

Patients were followed from their first prescription of an anticoagulant until they experienced an outcome of interest or by the 12 months without experiencing any outcome of interest. Patients were excluded if they stopped or suspended treatment up to 30 days after the first anticoagulant prescription. Patients were excluded if they switched between NOAC and warfarin within the first 12 months.

Statistical methods

Matching method

This study used a tapered matching method to generate a series of matches for each comparison of NOAC and warfarin [16]. For the NOAC user group, we performed six matches that constructed sets of pairs of warfarin users as shown in Fig. 1. First, demographic factors match paired patients by their age at incident anticoagulant prescription, gender, the CCG associated with their practice, duration of recorded diagnosed type 2 diabetes by their incident anticoagulant prescription, and issue year of incident anticoagulant prescription. Second, the NOAC user group match controlled (warfarin user group) for all demographic factors and clinical measurements (body mass index, systolic blood pressure, HbA1c and total cholesterol). Third, the NOAC user group were matched with the warfarin user group for all variables in the first 2 matches as well as prior bleeding (gastrointestinal bleeding and other bleeding) and CVD subtypes (hypertension, atrial fibrillation, heart failure, ischemic heart disease, cerebrovascular diseases, valvular heart disease, venous thrombosis); Fourth, the NOAC user group were matched with the warfarin user group for all variables in the first 3 matches as well as prescriptions potentially relevant to bleeding event (antidepressant, Statin, NSAIDS, Corticosteroid, proton pump inhibitor for gastrointestinal disease, and antiplatelet). Fifth, the NOAC user group were matched with the warfarin user group for all variables in the first 4 matches as well as anti-hypertensive treatment (diuretics, alpha-blocker, calcium channel blocker, ARB/ACE). Sixth, the NOAC user group were matched with the warfarin user group for all variables in the first 5 matches as well as difference in anti-diabetes treatments (insulin, metformin, sulfonylurea, thiazolidinediones, dipeptidyl peptidase-4 inhibitors, sodium-glucose co-transporter-2 inhibitors, glucagon-like peptide 1). In each step of matching, we use coarsened exact matching (CEM) algorithm that is a monotonic imbalance reducing matching method, which means that the balance between the treated and control groups is chosen by ex ante user choice rather than discovered through the usual laborious process of “checking after the fact, tweaking the method, and repeatedly re-estimating” [17]. Patients both in the NOAC and warfarin user groups matched on step-6 were retained (Fig. 1).

Fig. 1
figure 1

Workflow charts for matching process

Via CEM we restricted the comparison of NOAC and warfarin user groups to areas of common support, i.e. sufficient overlap between the two groups, on the above key factors in the six-steps, coarsened using the default Sturges measure of bin size [18]. After excluding patients (Fig. 1) who were off common support, we then used entropy balancing [19] to efficiently minimise differences in the distribution of matching variables between NOAC and warfarin user groups. Entropy balancing involves maximum entropy reweighting the matched sample in each matching step to key target moments (mean, variance and skewness). For continuous matching variables, all three moments should be met; for binary variables the only target moment is the mean as it is only sufficient to match higher moments (variance and skewness).

Weighted logistic regression, incorporating matching weights estimated from each matching step by entropy matching, was applied in each matching step. This provided an estimate of the association between NOAC use and risk of hospitalisation mainly due to bleeding and CVD, with warfarin as the reference group [19].

Results

We identified 862 people with type 2 diabetes with incident NOAC prescription and 626 people with type 2 diabetes with incident warfarin prescription between 2017 and 2018 in the two CCGs. Table 1 and Fig. 2 demonstrate that the matched variables were quite different between NOAC users and warfarin users. For example, NOAC users have a lower HbA1c with fewer existing bleeding or CVD comorbidities comparing with warfarin users (Table 1). The distributions of outcomes in the unmatched cohorts and cohorts matched by coarsened exact matching are presented in Table 2.

Table 1 Baseline characteristics in the comparison cohorts
Table 2 The distribution of outcomes in the comparison cohorts
Fig. 2
figure 2

Distribution of difference of means, variance and skewness on matched variables in the unmatched and matched cohorts. Triangles indicate measurements from unmatched cohorts; diamonds indicate measurements from coarsened exact matching; circles indicate measurements from entropy matching cohorts

By coarsened exact matching, 528 incident NOAC users with type 2 diabetes were matched with 486 warfarin users with type 2 diabetes via 6 matching steps (Fig. 1). After coarsened exact matching, the matched variables tended to be closer (Tables 1, 3, Fig. 2). In particular, matched variables were very similar after samples were weighted by entropy matching (Fig. 2, Additional file 1: Table S1) in terms of mean, variance and skewness.

Table 3 Bleeding/CVD subtypes, anti-hypertensive treatments, and anti-diabetes treatments distribution in the unmatched and coarsened exact matched cohorts

Compared with warfarin users, NOAC users were associated with increased risk of hospitalisation mainly due to bleeding (Fig. 3). The odds ratio weighted by matched variables in each matching step was 1.93 (95 confidence intervals 0.97–3.84) for model (i) weighted for age at incident anticoagulant prescription, gender, the CCG where their practices belonged, and duration of recorded diagnosed type 2 diabetes by their incident anticoagulant prescription; 2.14 (1.03–4.44) for model (ii) weighted for all adjusted variables in model (i) plus body mass index, systolic blood pressure, HbA1c and total cholesterol; 2.31 (1.10–4.85) for model (iii) weighted for all adjusted variables in model (ii) plus prior bleeding (gastrointestinal bleeding and other bleeding) and CVD subtypes (hypertension, atrial fibrillation, heart failure, ischemic heart disease, cerebrovascular diseases, valvular heart disease, venous thrombosis); 2.42 (1.14–5.14) for model (iv) weighted for all adjusted variables in model (iii) plus prescriptions potentially relevant to bleeding event (antidepressant, Statin, NSAIDS, Corticosteroid, proton pump inhibitor for gastrointestinal disease, and antiplatelet); 2.41 (1.12–5.18) for model (v) weighted for all adjusted variables in model (iv) plus anti-hypertensive treatment (diuretics, alpha-blocker, calcium channel blocker, ARB/ACE); 2.51 (1.17–5.38) for model (vi) weighted for all adjusted variables in model (v) plus anti-diabetes treatments (insulin, metformin, sulfonylurea, thiazolidinediones, dipeptidyl peptidase-4 inhibitors, sodium-glucose co-transporter-2 inhibitors, glucagon-like peptide 1).

Fig. 3
figure 3

Adjusted odds ratios for association between NOAC (reference to warfarin) and risk of bleeding hospitalisation, CVD hospitalisation, CVD re-hospitalisation. Naive model weighted for age at incident anticoagulant prescription, gender, the CCG where their practices belong to, and duration of having recorded diagnosed type 2 diabetes by their incident anticoagulant prescription; model (i) weighted for all adjusted variables in model naïve model plus body mass index, systolic blood pressure, HbA1c and total cholesterol; model (ii) weighted for all adjusted variables in model (i) plus prior bleeding (gastrointestinal bleeding and other bleeding) and cardiovascular disease subtypes (hypertension, atrial fibrillation, heart failure, ischemic heart disease, cerebrovascular diseases, valvular heart disease, venous thrombosis); model (iii) weighted for all adjusted variables in model (ii) plus prescriptions potentially relevant to bleeding event (antidepressant, Statin, NSAIDS, Corticosteroid, proton pump inhibitor for gastrointestinal disease, and antiplatelet); model (iv) weighted for all adjusted variables in model (iii) plus anti-hypertensive treatment (diuretics, alpha-blocker, calcium channel blocker, ARB/ACE); model (v) weighted for all adjusted variables in model (iv) plus anti-diabetes treatments (insulin, metformin, sulfonylurea, thiazolidinediones, dipeptidyl peptidase-4 inhibitors, sodium-glucose co-transporter-2 inhibitors, glucagon-like peptide 1)

Compared with warfarin users, NOAC users were not associated with a significant risk of hospitalisation due to CVD (Fig. 3). The weighted odds ratios were 1.17 (0.70–1.94), 0.99 (0.58–1.70), 0.97 (0.56–1.69), 0.93 (0.53–1.62), 0.92 (0.53–1.61) and 0.94 (0.54–1.65) for model (i) to model (vi), respectively.

However, compared with warfarin users, NOAC users were associated with a higher risk of re-hospitalisation due to CVD (Fig. 3). The weighted odds ratios were 2.21 (1.04–4.68), 2.13 (1.01–4.52), 2.47 (1.08–5.62), 2.46 (1.02–5.94), 2.51 (1.01–6.20), and 2.66 (1.02–6.94) for model (i) to model (vi), respectively.

Discussion

Main findings

Based on routinely collected primary care electronic health records linked with hospitalisation data in a population with type 2 diabetes, we have, for the first time, identified an increased risk of hospitalisation due to bleeding events and re-hospitalisation due to CVD associated with incident NOAC use compared with incident warfarin use. The risk of hospitalisation due to CVD did not significantly differ between incident NOAC and warfarin users.

Strengths and limitations

A key strength of this work was the application of a novel, tapered matching method to form a ‘quasi-trial’ comparison sample to compare the risk of hospitalisation for the three outcomes between incident NOAC and warfarin users with type 2 diabetes. Through the tapered matching, we were able to transparently examine how differences in specific sets of confounders contributed to the risk of hospitalisation. By sequentially controlling for differences in demographic characteristics, clinical measurements, prior bleeding and CVD, prescriptions potentially relevant with bleeding, anti-hypertensive and anti-diabetes treatments, we observed how the risks of hospitalisation due to bleeding and CVD (re)hospitalisation compared after each match between new NOAC and the new warfarin users. This prospective cohort incorporating people with type 2 diabetes was derived from two independent primary care data bases in England that were linked with hospitalisation data. UK primary care electronic health records data (e.g. Clinical Practice Research Datalink) have been shown to be of good quality in terms of representativeness, coverage, validity, and consistency in records of comorbidities and prescriptions [20]. Hospitalisation data used in the study were complete as SUS data captures all hospitalisation information for patients and its recorded outcomes, which has also been proven to have good validity including those experiencing events outside of the CCG catchment [21]. There are some limitations in this study. First, as the sample size was restricted, instead of exactly matching each bleeding and CVD comorbidity, each anti-hypertensive prescription and each anti-diabetes prescription, we have matched the number of bleeding and CVD comorbidities, number of antihypertensive prescriptions and number of anti-diabetes prescriptions. However, we have compared the bleeding and CVD comorbidity, each antihypertensive prescription, and each anti-diabetes prescription after matching, no significant difference was identified between NOAC and warfarin user groups (Table 3). The risks of three outcomes were also examined by number of CVD or bleeding comorbidities, number of prescriptions potentially correlating with bleeding or CVD and number of anti-hypertensive agents. Neither in the NOAC or warfarin cohorts, did patients with more comorbidities, more prescriptions or more anti-hypertensive agents have statistically different risks of outcomes, compared with patients with less comorbidities, less prescriptions or less anti-hypertensive agents. Second, the outcomes were short-term (within 12 months since the first anticoagulant prescription). The long-term risks of these outcomes need to be examined in external longer-term studies. Third, death linkage was not accessible in this study, therefore the competing risk from death could not be evaluated. Fourth, due to the restrictions in sample size, the comparison between each NOAC with warfarin could not be made.

Some biomarkers (e.g. von Willebrand factor, fibrinogen and D-dimer) and prognostic factors of bleeding (Anti-IIa or anti-Xa levels) as potential matching variables were not available in the current study. Future replication studies with matching of these biomarkers are warranted.

Previous trials [22,23,24,25,26,27,28,29] and two meta-analysis [30, 31] revealed non-difference or benefits of NOAC for diabetes patients with AF. This differs from our target population which was the general type 2 diabetes population. Unfortunately, it was not possible for this study to apply a matching procedure in the subgroup of diabetes with AF due to its sample size. Future replication studies among diabetes patients with AF are warranted.

As the study was aimed to evaluate the impact of persistent exposure of each anticoagulant, a study of intermittent users after the first 30 days of use (for any reason e.g. adherence, side effect) has not been able to be included. Future studies addressing the dose–response relationship of time-varying exposure for each anticoagulant and outcomes are warranted.

Although some cases would have experienced switched anticoagulant prescriptions, the reasons for such a switch are not available and they might represent a specific anticoagulant user subgroup, The aim of the study was to compare the independent persistent exposure of NOAC and warfarin and in such a subgroup, a wash-out period between the two anticoagulants would be required, an unrealistic scenario in the routine primary care. Therefore, the risk from switching anticoagulant prescriptions should be evaluated in future studies.

INR information was not available in this study and INR monitoring and maintenance of a therapeutic/safe INR was seen as part of warfarin use (and one of the reasons for using NOACs).

Comparison with prior studies

As NOACs do not require routine blood testing, they have been increasingly prescribed to replace the traditional anticoagulant, warfarin. Both observational studies and trials in the general population have suggested that NOACs are associated with less major bleeding events. Few studies, particularly cohort studies have explored differences between NOACs and warfarin among people with type 2 diabetes. In some trials, subgroup analyses have revealed heterogenous effects on bleeding among patients with diabetes. For example, in the ARISTOTLE trial [32] no difference in bleeding risk was shown between apixaban and warfarin in the group with diabetes. In ENGAGE AF-TIMI 48 trial bleeding was reduced in patients both with, and without, diabetes for edoxaban. Furthermore, in a meta-analysis of data from the pivotal NOAC trials [33], the risks of major bleeding with NOAC vs warfarin in patients with vs without diabetes were not statistically different (interaction, P = 0.12). Using our well-designed tapered matching method, we have formed quasi-trial comparison samples able to compare patients with type 2 diabetes using either NOAC or warfarin and revealed an increased risk of bleeding hospitalisation within 12 months after the initiation of NOAC comparing with warfarin. Moreover, we found there was no difference between NOAC and warfarin in terms of short-term risk of CVD hospitalisation; but increased risk of re-hospitalisation due to CVD within 12 months was observed in NOAC comparing with warfarin.

Clinical implications

Findings in this study, if confirmed, suggests that caution may be required when prescribing the newer anticoagulants to patients with type 2 diabetes. This would mean continuation of the regular blood testing needed for warfarin but not NOACs. Different from the general population, the traditional anticoagulant warfarin might be safer than NOAC in terms of short-term risk of bleeding and CVD re-hospitalisation, both of which are associated with large health-costs [8]. Moreover, due the superiority of the tapered matching method, the impact of potential confounders on comparisons between NOAC and warfarin have been revealed. It has been found that among people with a prior history of bleeding or CVD, NOAC use would potentially increase the bleeding short-term risk of bleeding and CVD re-hospitalisation. Therefore, it might be wiser to prescribe warfarin for patients with type 2 diabetes and a prior history of bleeding or CVD. As we were limited by sample size, subgroups of patients with bleeding and those with prior CVD could not be analysed separately. Replication studies using other data are warranted.

Although a significant difference in risk of CVD hospitalisation was not identified in the current study, the significant risk of CVD re-hospitalisation was found in NOAC users, suggesting the association between NOAC and the risk of severe CVD condition as the severe CVD condition would be more likely to trigger CVD re-hospitalisation. Unfortunately, as a result of the limited sample size, the subtype of CVD events could not be further evaluated in the current study.

Conclusion

Based on primary care data linked with hospitalisation data, via a novel tapered matching method, we formed ‘quasi-trial’ comparison cohorts for incident NOAC and warfarin users with type 2 diabetes. This study showed an increased short-term risk of major bleeding hospitalisation, and of CVD re-hospitalisation in new NOAC users comparing with new warfarin users. For patients with type 2 diabetes, caution is warranted when prescribing NOACs as the first anticoagulant treatment, particularly among patients with prior bleeding or a CVD history. Further large-scale replication studies in external datasets and replication studies with long-term outcomes and matching other possible confounders are warranted. Future comparative studies between subtypes of NOAC and warfarin, along with the development of specific risk algorithms for bleeding and CVD events in diabetes patients are also warranted.