Related Experiment Video
Updated: Oct 16, 2025

Inverse Probability of Treatment Weighting Propensity Score using the Military Health System Data Repository and National Death Index
Published on: January 8, 2020
Association of Tramadol vs Codeine Prescription Dispensation With Mortality and Other Adverse Clinical Outcomes
Junqing Xie1, Victoria Y Strauss1, Daniel Martinez-Laguna2,3,4,5
1Centre for Statistics in Medicine and NIHR Biomedical Research Centre Oxford, NDORMS, University of Oxford, Oxford, United Kingdom.
Importance:
Although tramadol is increasingly used to manage chronic noncancer pain, few safety studies have compared it with other opioids.
Objective:
To assess the associations of tramadol, compared with codeine, with mortality and other adverse clinical outcomes as used in outpatient settings.
Design, Setting, And Participants:
Retrospective, population-based, propensity score-matched cohort study using a primary care database with routinely collected medical records and pharmacy dispensations covering more than 80% of the population of Catalonia, Spain (≈6 million people). Patients 18 years or older with 1 or more year of available data and dispensation of tramadol or codeine (2007-2017) were included and followed up to December 31, 2017.
Exposures:
New prescription dispensation of tramadol or codeine (no dispensation in the previous year).
Main Outcomes And Measures:
Outcomes studied were all-cause mortality, cardiovascular events, fractures, constipation, delirium, falls, opioid abuse/dependence, and sleep disorders within 1 year after the first dispensation. Absolute rate differences (ARDs) and hazard ratios (HRs) with 95% confidence intervals were calculated using cause-specific Cox models.
Results:
Of the 1 093 064 patients with a tramadol or codeine dispensation during the study period (326 921 for tramadol, 762 492 for codeine, 3651 for both drugs concomitantly), a total of 368 960 patients (184 480 propensity score-matched pairs) were included after study exclusions and propensity score matching (mean age, 53.1 [SD, 16.1] years; 57.3% women). Compared with codeine, tramadol dispensation was significantly associated with a higher risk of all-cause mortality (incidence, 13.00 vs 5.61 per 1000 person-years; HR, 2.31 [95% CI, 2.08-2.56]; ARD, 7.37 [95% CI, 6.09-8.78] per 1000 person-years), cardiovascular events (incidence, 10.03 vs 8.67 per 1000 person-years; HR, 1.15 [95% CI, 1.05-1.27]; ARD, 1.36 [95% CI, 0.45-2.36] per 1000 person-years), and fractures (incidence, 12.26 vs 8.13 per 1000 person-years; HR, 1.50 [95% CI, 1.37-1.65]; ARD, 4.10 [95% CI, 3.02-5.29] per 1000 person-years). No significant difference was observed for the risk of falls, delirium, constipation, opioid abuse/dependence, or sleep disorders.
Conclusions And Relevance:
In this population-based cohort study, a new prescription dispensation of tramadol, compared with codeine, was significantly associated with a higher risk of subsequent all-cause mortality, cardiovascular events, and fractures, but there was no significant difference in the risk of constipation, delirium, falls, opioid abuse/dependence, or sleep disorders. The findings should be interpreted cautiously, given the potential for residual confounding.
More Related Videos
Related Concept Videos
Opioid Analgesics: Synthetic and Semisynthetic Opioids
Opioid Analgesics: Morphine and Other Natural Cogeners
Analgesia and Pain Management
Drug Dosing: Obese Patients
Pharmacovigilance
This process, termed pharmacovigilance, aims to detect, evaluate, and minimize harmful effects related to medication use. The data collection for pharmacovigilance depends on spontaneous reporting systems, where healthcare professionals or patients voluntarily report suspected ADRs.
In some cases, there...
Prescription, Nonprescription and Orphan Drugs
The misuse and addiction to prescription drugs is a growing problem that can affect people of all age groups, specifically teenagers. This can happen when prescription medications are used in ways not intended by the prescriber, such as taking someone else's prescription or using medication for...

