Article Text

Original research
Non-vitamin K antagonist oral anticoagulants, proton pump inhibitors and gastrointestinal bleeds
  1. Joris Komen1,2,
  2. Anton Pottegård3,
  3. Paul Hjemdahl4,
  4. Aukje K Mantel-Teeuwisse1,
  5. Björn Wettermark5,
  6. Maja Hellfritzsch3,
  7. J Hallas3,
  8. Ron Herings6,
  9. Lisa Smits6,
  10. Thomas Forslund4,
  11. Olaf Klungel1
  1. 1Clinical Pharmacology and Pharmacoepidemiology, Utrecht Institute of Pharmaceutical Sciences, Utrecht University, Utrecht, The Netherlands
  2. 2Department of Healthcare Development, Stockholm Region Public Healthcare Services Committee, Stockholm, Sweden
  3. 3Clinical Pharmacology and Pharmacy, Department of Public Health, University of Southern Denmark, Odense, Denmark
  4. 4Department of Medicine, Solna, Karolinska Institute, Stockholm, Sweden
  5. 5Department of Pharmacy, Pharmacoepidemiology and Social Pharmacy, Uppsala University, Uppsala, Sweden
  6. 6PHARMO Institute, Utrecht, The Netherlands
  1. Correspondence to Joris Komen, Utrecht University, Utrecht 3508 TC, The Netherlands; j.j.komen{at}


Objective To evaluate if proton pump inhibitor (PPI) treatment reduces the risk of upper gastrointestinal bleeding (UGIB) in patients with atrial fibrillation (AF) treated with non-vitamin K antagonist oral anticoagulants (NOACs).

Design We used a common protocol, common data model approach to conduct a cohort study including patients with AF initiated on a NOAC in Stockholm, Denmark and the Netherlands from April 2011 until July 2018. The outcome of interest was a UGIB diagnosed in a secondary care inpatient setting. We used an inverse probability weighted (IPW) Poisson regression to calculate incidence rate ratios (IRRs), contrasting PPI use to no PPI use periods.

Results In 164 290 NOAC users with AF, providing 272 570 years of follow-up and 39 938 years of PPI exposure, 806 patients suffered a UGIB. After IPW, PPI use was associated with lower UGIB rates (IRR: 0.75; 95% CI: 0.59 to 0.95). On an absolute scale, the protective effect was modest, and was found to be largest in high-risk patients, classified as age 75–84 years (number needed to treat for 1 year (NNTY): 787), age ≥85 years (NNTY: 667), HAS-BLED score ≥3 (NNTY: 378) or on concomitant antiplatelet therapy (NNTY: 373).

Conclusion Concomitant treatment with a PPI in NOAC-treated patients with AF is associated with a reduced risk of severe UGIB. This indicates that PPI cotreatment can be considered, in particular among the elderly patients, patients with a HAS-BLED score ≥3, and/or in patients on concomitant antiplatelet therapy.

  • atrial fibrillation
  • oral anticoagulants

Data availability statement

Data may be obtained from a third party and are not publicly available. Ethical and privacy reasons prohibit sharing of data from all three databases.

This is an open access article distributed in accordance with the Creative Commons Attribution Non Commercial (CC BY-NC 4.0) license, which permits others to distribute, remix, adapt, build upon this work non-commercially, and license their derivative works on different terms, provided the original work is properly cited, appropriate credit is given, any changes made indicated, and the use is non-commercial. See:

Statistics from


Pooled results from clinical trials showed that treatment with non-vitamin K antagonist oral anticoagulants (NOACs) significantly increased the risk of upper gastrointestinal bleeding (UGIB) compared with warfarin.1 Proton pump inhibitors (PPIs) reduce gastric acid production and prevent ulcer recurrence.2 In patients on aspirin treatment, which increases the risk of GIB,3 PPIs have been shown to reduce the risk of GIB.4 Therefore, PPI use is recommended for patients on aspirin treatment with certain comorbidities and comedications.5 Since clinical trials show an overall increased risk of UGIB associated with NOAC treatment, it is hypothesised that cotreatment with a PPI could decrease the risk of UGIB in NOAC users as well.

An observational study from the USA showed markedly reduced risks of UGIB associated with PPI use in patients treated with NOACs.6 In contrast, the COMPASS trial showed no protective effect with respect to GI bleeding overall, while a subanalysis on gastroduodenal bleeding showed a clearly reduced risk.7 However, this trial was in patients with stable cardiovascular disease and peripheral artery disease receiving a lower dose of rivaroxaban than in atrial fibrillation (AF) (5 mg two times per day).

In the absence of convincing results, the guidelines state that PPI treatment may be considered to reduce the risk of GIB, especially in those with a history of GI bleeding or ulcer and patients requiring concomitant use of (dual) antiplatelet therapy,8 a statement that was, however, removed in the most recent guidelines.9 As there is currently limited evidence from randomised studies regarding the effect of PPIs on UGIB in NOAC-treated patients with AF, observational data are the main source of guidance for this clinically relevant topic. Therefore, the aim of the current study was to assess the association between PPI use and UGIBs in patients with AF treated with a NOAC in three Western European countries.



For this population-based cohort study, we used three different databases: the Swedish Healthcare Database in the Stockholm region (complete population, n=2.3 million), the nationwide Danish health registers (complete population, n=5.8 million) and the PHARMO Database (random sample from the Dutch population, n=4 million). The databases are described in detail elsewhere.10–12 All three databases contain prescription claims data from community pharmacies, registered by Anatomical Therapeutic Chemical codes, and all three databases contain medical diagnostic data from secondary care, registered by 10th revision of the International Statistical Classification of Diseases and Related Health Problems (ICD-10) codes. In addition, the Stockholm database also contains medical diagnostic data from primary care, also registered by ICD-10 codes. We used a common protocol and a common data model to combine the data from the different databases.

Study population

From each database, we included all patients dispensed a NOAC with a known history of AF, defined by a registration of the ICD-10 code I48 any time prior to or within 90 days after the first NOAC dispensing, to account for diagnostic lag.13 Patients entered the cohort at the date of their first ever NOAC prescription (cohort entry date), and we included patients from April 2011 until July 2018. We considered a patient to be on continued NOAC treatment when the patient claimed a prescription for a NOAC within 30 days after the calculated end of the previous prescription (see online supplemental figure 1). We censored patients at an outcome of interest, at the calculated end of their last prescription, when they died, moved out of the region or database, or switched to warfarin treatment. Patients could re-enter the cohort after they stopped their treatment if restarting NOAC therapy, and follow-up was defined in a similar manner after re-entering the cohort. All patients had to have at least 3 years of follow-up time prior to cohort entry, in order to adequately assess baseline characteristics.

Exposure definition

During follow-up, patients were considered to be exposed to PPIs when they claimed a PPI prescription (see online supplemental figure 1). They were considered exposed until the end of the duration of their last consecutive PPI prescription. We considered PPI treatment to be consecutive if a new prescription was claimed within the duration of the prior prescription, with another 30-day grace period added to account for irregular fill patterns and minor non-compliance. We calculated the duration of the prescription using the number of tablets dispensed, thus assuming a one tablet a day dosing regimen. To avoid bias from reverse causality (ie, that patients receive a PPI because of suspected or early symptoms of a UGIB), we used a lag time of 7 days after a first PPI prescription before we considered a patient exposed to PPI.

Outcome definition

The outcome of interest was a diagnosis code indicating a severe UGIB (see online supplemental table 1 for ICD-10 codes). We defined a severe UGIB as a registration of such a bleed in secondary inpatient care. Using this approach for the outcome, validation studies have shown a positive predictive value (PPV) of 98.1 and sensitivity of 82.3% for the Stockholm database,14 and a PPV of 98.0 and a sensitivity of 89.5% for the Danish database.12

Covariate assessment

Given the non-random allocation of PPIs, potentially introducing confounding by indication, adjustment was needed. We adjusted for age, sex, year of inclusion, days from cohort entry date as well as relevant baseline comorbidities, time-varying comorbidities and time-varying comedications.

Baseline covariates included comorbidities in the HAS-BLED score (except labile international normalised ratio): hypertension, renal disease, liver disease, stroke history, prior bleeding or anaemia, and alcohol abuse; and comorbidities in the CHA2DS2-VASc score, not represented in the HAS-BLED score: heart failure, vascular disease and diabetes (see online supplemental table 1 for ICD-10 codes). We searched for registrations of relevant diagnosis codes in the 3 years prior to each patient’s cohort entry date.

Time-varying comorbidities included: peptic ulcer, GI cancer, gastritis, oesophagitis, gastro-oesophageal reflux disease or dyspepsia, abdominal pain, lower GI problems and other GI problems (see online supplemental table 1 for ICD-10 codes). As these comorbidities might be markers for an already present UGIB, we added a 7-day lag period to the actual registration date of the diagnosis, to avoid reverse causality in the assessment of covariates. In addition, as these confounders might change over time, and affect both the risk of UGIB and the chance of PPI prescription, we partitioned follow-up time into 91-day periods, with the individual patient’s initial cohort entry date as starting point. We searched for registrations of these diagnosis codes in the 3 years prior to the first day of the 91-day period. We defined the time-varying comorbidities as acute if the code was registered in the 30 days prior to the first day, as current if it was registered in the 30–90 days prior to the first day, as recent if it was registered in the 90–365 days prior to the first day, and as long-term if it was registered in the 365 days—3 years prior to the first day.

The comedications assessed were aspirin, non-steroidal anti-inflammatory drugs (NSAIDs), clopidogrel, other antiplatelets, oral corticosteroids, diuretics, beta blockers, calcium channel blockers, renin–angiotensin–aldosterone system inhibitors, statins, oral antidiabetic drugs, insulins and antidepressants (see online supplemental table 1 for ATC codes). As comedications may change over time, we used the same 91-day periods as for the time-varying confounders. We looked for a prescription in the 180 days prior to the first day of the 91-day period.

Statistical analysis

We used descriptive statistics to present baseline characteristics for each database. To describe PPI users and non-users, we defined patients as users of a PPI if they received a PPI at some point during follow-up. This division was only done to describe the cohorts, as for all other analyses we used time-varying exposure definitions to define PPI exposed periods in order to avoid immortal time bias.15

Given the time-varying exposure and time-varying covariates, we used time-varying Poisson regression to calculate adjusted incidence rate ratios (IRRs) with 95% CIs for the association between PPI use and UGIB (see online supplemental file 1 for the rationale for the statistical analysis). We used time-varying inverse probability weights (IPWs) to account for confounding introduced by the included covariates. We calculated 90-day period-specific probabilities of receiving PPI treatment conditional on the aforementioned covariates using a logistic regression model. The time-varying covariates were included as categorical variables, with the timing of the diagnoses considered, as described above. For each 91-day period, the IPW was calculated by dividing the prevalence of observed PPI treatment during follow-up by the probability of receiving treatment, to obtain a stabilised IPW. All statistical analyses were performed with statistical software R V.4.0.0 and RStudio Desktop V.1.1.463. We considered a p value of <0.05 as statistically significant.


The analyses could not be conducted centrally on a pooled database due to privacy regulations but were performed locally and separately in the three databases. All study centres used the same protocol, same programming code, and same ICD-10 codes for outcomes and comorbidity codes through a common data model. For all analyses, the results from each database were pooled using a meta-analysis. We performed a Cochran’s Q statistic to test for heterogeneity across the databases and used a fixed effects meta-analysis based on the results from this test.

Supplementary analyses

In addition to the main analyses, we performed several stratified and sensitivity analyses. These analyses are described in the eMethods in the online supplemental file 1. In short, we stratified by sex, age, bleeding risk and individual NOAC. We performed six sensitivity analyses to test the robustness of our findings when varying our analytical choices.


Cohort characteristics

In total, we included 164 290 NOAC users with AF in the study, of whom 46 708 (28%) used a PPI at some point during follow-up (see table 1 for a summary and online supplemental table 2 for all baseline characteristics). The mean age of the PPI users was slightly higher than for non-users, and women used PPIs more often in all three databases. In Stockholm, apixaban was the most frequently used NOAC (>60%), while in Denmark and PHARMO all NOACs, except edoxaban, were used to approximately the same extent during the study period. Both the mean HAS-BLED and CHA2DS2-VASc scores were higher in PPI users compared with non-users. Patients receiving PPIs more often had GI comorbidities. In total, the cohorts accumulated 272 570 person-years (pys) of NOAC use of which 39 938 pys were exposed to PPIs. PPIs were most commonly used in the PHARMO Database with 31% of all follow-up time being exposed to PPI, while this was 11% in Denmark and 18% in Stockholm. In Stockholm, omeprazole was the most frequently used PPI (72%), while in Denmark this was pantoprazole (60%), and in the PHARMO both were used approximately equally (51% pantoprazole and 41% omeprazole).

Table 1

Summary of baseline characteristics per database

Associations between PPI use and UGIB

A total of 806 severe UGIBs occurred during 272 570 pys of follow-up yielding an overall IR of 0.30%/py. The pooled unadjusted (crude) IRR for exposed versus non-exposed person-time was 1.06 (95% CI: 0.86 to 1.30). The cohorts were however imbalanced regarding several baseline characteristics. After IPW, all covariates had a standardised mean difference below 0.1, indicating successful weighting (online supplemental figure 2A–C). Taking the time-varying IPW into account, the pooled IRR for UGIB was 0.75 (95% CI: 0.59 to 0.95), indicating a protective effect of PPIs on UGIBs (see figure 1). The adjusted IRRs were consistent in all three databases: 0.79 (95% CI: 0.49 to 1.26) in Stockholm, 0.72 (95% CI: 0.53 to 0.97) in Denmark and 0.85 (95% CI: 0.39 to 1.85) in PHARMO.

Figure 1

Results from the meta-analysis on the inverse probability weighted incidence rate ratio (IRR) of upper gastrointestinal bleeds. PPI, proton pump inhibitor.

Stratified results

The incidence of UGIB increased with increasing age groups, as did the protective effect of PPIs, which was greatest in patients above the age of 75 years (75–84 IPW IRR: 0.60; 95% CI: 0.39 to 0.93, ≥85 IPW IRR: 0.64; 95% CI: 0.40 to 1.03). The numbers needed to treat for 1 year (NNTYs) in these groups were 788 and 668, respectively. Patients with a HAS-BLED score of 3 or more experienced twice as many UGIBs as patients with a score below 3 (0.52%/py vs 0.22%/py), and the protective effect of PPIs was largest in this group as well (IPW IRR 0.51; 95% CI: 0.35 to 0.77, NNTY: 378). Patients with concomitant antiplatelet use had the highest crude rate of UGIB (0.64%/py) and the protective effect of PPI treatment was significantly greater than in patients without concomitant antiplatelet use (IPW IRR: 0.64; 95% CI: 0.39 to 1.05, NNTY: 374). Stratifying by sex and concomitant NSAID use yielded no statistically different results.

The protective effect of PPIs on UGIB was only present in patients receiving apixaban or dabigatran (IPW IRR: 0.65; 95% CI: 0.43 to 0.98 and 0.65; 95% CI: 0.39 to 1.08, respectively) but not in patients receiving rivaroxaban (1.06; 95% CI: 0.73 to 1.54) (see table 2).

Table 2

Crude and adjusted incidence rate ratios (IRRs) of upper gastrointestinal bleeds per subgroup

Sensitivity analysis

The results from the sensitivity analyses are presented in the eResults section in the online supplemental file 1. None of the sensitivity analyses showed different results compared with the main analysis.


In this large multicountry population-based study, covering 162 333 NOAC-treated patients with AF, we found that PPI use was associated with a 25% reduced risk of UGIB during NOAC treatment. This result was consistent in all three databases. The protective effect was most pronounced in high-risk patients, that is, patients above the age of 75 years, and patients with a HAS-BLED score of 3 or higher and/or on concomitant antiplatelet therapy. Interestingly, the protective effect of PPIs was only observed in those treated with apixaban or dabigatran and not in those treated with rivaroxaban.

Our results are in line with prior observational research and evidence from the only randomised controlled trial available.6 7 The COMPASS trial, comparing pantoprazole with placebo in patients treated with rivaroxaban 5 mg two times per day, reported an HR of 0.93 (95% CI: 0.60 to 1.47) for all upper GI events, while for a UGIB confirmed by endoscopy or radiography, the HR was 0.25 (95% CI: 0.07 to 0.89).7 However, these results were from patients with stable cardiovascular disease instead of patients with AF, and using a lower dose of rivaroxaban than recommended in AF (5 mg two times per day instead of 15–20 mg once daily). A recent large observational study from the USA reported an adjusted IRR of 0.66 (95% CI: 0.52 to 0.85) for UGIB in OAC-treated patients with AF using PPIs, however, this study also included patients on warfarin therapy.6 In line with our findings, this study also reported the largest risk reduction in patients receiving apixaban and dabigatran (adjusted IRRs of 0.50 and 0.51, respectively), but contrary to our findings, they also found a protective effect in patients receiving rivaroxaban, although lower (IRR 0.68). Potential explanations could be that rivaroxaban is taken only once daily resulting in higher peak plasma concentrations or that rivaroxaban should always be taken with food, both of which could influence PPI effectiveness. However, given the wide CIs in our NOAC subgroups, we believe these differences between the NOACs could also be a play of chance.

Clinical implications

As there is currently no randomised trial assessing the efficacy of PPIs in NOAC-treated patients with AF, and our results are in line with the COMPASS trial and another large observational study,6 7 we believe that PPI cotreatment can be considered for the prevention of UGIBs in high-risk NOAC-treated patients with AF (age above 75 years, a HAS-BLED score above 2, and/or receiving concomitant antiplatelet therapy). The NNTYs were 788 (age 75–84 years), 668 (age ≥85 years), 378 (HAS-BLED >2) and 374 (antiplatelet). Given that NOAC treatment is lifelong, more realistic NNTYs might be for a 5-year period, which would yield NNTYs of 158, 134, 76 and 75, respectively. In addition, we used a conservative endpoint by only including specific ICD-10 codes in hospitalised patients. Therefore, the absolute risk of UGIB in our study was low (approximately three times lower than in the clinical trials1) and with that, the absolute risk reduction could potentially be higher if the absolute risks were as high as in the clinical trials. It is also conceivable that our results are to some extent affected by residual confounding, since PPIs were primarily channelled to high-risk patients. However, this implies that the true effect is most likely larger than we could demonstrate.


Our study has several limitations. First, despite using time-varying IPW, there is still the potential for residual confounding, for example, due to lifestyle factors such as smoking. Second, there was potential misclassification of exposure, as we used prescription claims data, which have potentially biased the point estimate towards a neutral association.16 In addition, in all three settings, PPIs can be bought over-the-counter. Therefore, we might have classified some patients as non-users, while in reality they were using over-the-counter PPIs. Third, we used a conservative approach to define the outcome of interest and might therefore underestimate the true number of events. On the other hand, a conservative approach leads to a higher PPV for the outcome and a lower risk of detection bias. Fourth, NOACs can also be prescribed for other indications than AF, and we have not included patients with those diagnoses. Fifth, as we lacked data on renal function, we were not able to assess the appropriateness of NOAC dosing.


Our study has several strengths. First, we used data from three different European countries; two unselected populations and the PHARMO database which is a random sample, yielding generalisable results to similar populations, also supported by the consistent results in all databases. Second, our results were robust to all sensitivity analyses, indicating that our study results are independent of the analytical choices we made. Third, this is the first study addressing this clinically important question in a European healthcare setting, where prescribing patterns are probably different than in a US setting. In addition, there are currently no randomised trial data addressing the clinical question of the efficacy of PPI in NOAC users and thus observational research can provide guidance.


We found an association between PPI use and a lower risk of severe UGIB in an unselected NOAC-treated population with AF, which was consistent in three different Western European healthcare settings. Based on these findings, as well as the results of other studies, we believe PPIs can be useful to reduce the risk of UGIBs in NOAC-treated patients with AF with a high risk of bleeds.

Key messages

What is already known on this subject?

  • Non-vitamin K antagonist oral anticoagulant (NOAC) use in patients with atrial fibrillation increases the risk of gastrointestinal bleeds.

  • Treatment with proton pump inhibitors (PPIs) can reduce the risk of gastrointestinal bleeds.

What might this study add?

  • In patients with atrial fibrillation from Stockholm, Denmark and the Netherlands receiving NOACs, 28% received a PPI somewhere during follow-up.

  • PPI use was associated with a 25% risk reduction in hospitalisation for upper gastrointestinal bleeds.

  • This protective effect was largest in patients above age 75 years, in patients with a high bleeding risk and in patients receiving concomitant antiplatelet therapy.

How might this impact on clinical practice?

  • Especially in high-risk patients, PPI therapy may be considered in patients with atrial fibrillation treated with NOACs.

Data availability statement

Data may be obtained from a third party and are not publicly available. Ethical and privacy reasons prohibit sharing of data from all three databases.

Ethics statements

Ethics approval

The study was approved by the Regional Ethical Review Board in Stockholm (EPN 2015/579-31/2). Informed consent was not required in this registry study of anonymised data.


We would like to thank Morten Olesen from the University of Southern Denmark and Josine Kuipers from the PHARMO Institute for their help with the data management.


Supplementary materials

  • Supplementary Data

    This web only file has been produced by the BMJ Publishing Group from an electronic file supplied by the author(s) and has not been edited for content.


  • Contributors JK, AP, PH, MH, JH, TF and OK were involved in designing the study. JK, AP and RH were involved in analysing the data. All authors were involved in drafting and critically revising the manuscript. All authors approved the final version of the manuscript.

  • Funding The authors have not declared a specific grant for this research from any funding agency in the public, commercial or not-for-profit sectors.

  • Competing interests JK reports personal fees from Boehringer Ingelheim, outside the submitted work. AP reports grants from Alcon, grants from Almirall, grants from Astellas, grants from AstraZeneca, grants from Boehringer Ingelheim, grants from Novo Nordisk, grants from Servier, grants from LEO Pharma, outside the submitted work. JH reports grants from AstraZeneca, outside the submitted work. RH and LS report other fees from University of Utrecht, during the conduct of the study.

  • Provenance and peer review Not commissioned; externally peer reviewed.

  • Supplemental material This content has been supplied by the author(s). It has not been vetted by BMJ Publishing Group Limited (BMJ) and may not have been peer-reviewed. Any opinions or recommendations discussed are solely those of the author(s) and are not endorsed by BMJ. BMJ disclaims all liability and responsibility arising from any reliance placed on the content. Where the content includes any translated material, BMJ does not warrant the accuracy and reliability of the translations (including but not limited to local regulations, clinical guidelines, terminology, drug names and drug dosages), and is not responsible for any error and/or omissions arising from translation and adaptation or otherwise.

Request Permissions

If you wish to reuse any or all of this article please use the link below which will take you to the Copyright Clearance Center’s RightsLink service. You will be able to get a quick price and instant permission to reuse the content in many different ways.