Related Experiment Video
Updated: Sep 23, 2025

Inverse Probability of Treatment Weighting Propensity Score using the Military Health System Data Repository and National Death Index
Published on: January 8, 2020
Considerations for observational study design: Comparing the evidence of opioid use between electronic health records
Jessica C Young1, Nabarun Dasgupta2, Til Stürmer3
1Cecil G. Sheps Center for Health Services Research, University of North Carolina at Chapel Hill, Chapel Hill, North Carolina, USA.
Purpose:
Pharmacoepidemiology studies often use insurance claims and/or electronic health records (EHR) to capture information about medication exposure. The choice between these data sources has important implications.
Methods:
We linked EHR from a large academic health system (2015-2017) to Medicare insurance claims for patients undergoing surgery. Drug utilization was characterized based on medication order dates in the EHR, and prescription fill dates in Medicare claims. We compared opioid use documented in EHR orders to prescription claims in four time periods: 1) Baseline (182 days before surgery); 2) Perioperative period; 3) Discharge date; 4) Follow-up (90 days after surgery).
Results:
We identified 11 128 patients undergoing surgery. During baseline, 34.4% (EHR) versus 44.1% (claims) had evidence of opioid use, and 56.9% of all baseline use was reflected only in one data source. During the perioperative period, 78.8% (EHR) versus 47.6% (claims) had evidence of use. On the day of discharge, 59.6% (EHR) versus 45.5% (claims) had evidence of use, and 51.8% of all discharge use was reflected only in one data source. During follow-up, 4.3% (EHR) versus 10.4% (claims) were identified with prolonged opioid use following surgery with 81.4% of all prolonged use reflected only in one data source.
Conclusions:
When characterizing opioid exposure, we found substantial discrepancies between EHR medication orders and prescription claims data. In all time periods assessed, most patients' use was reflected only in the EHR, or only in the claims, not both. The potential for misclassification of drug utilization must be evaluated carefully, and choice of data source may have large impacts on key study design elements.
More Related Videos
09:29Investigating Drivers of Antireward in Addiction Behavior with Anatomically Specific Single-Cell Gene Expression Methods
Published on: August 4, 2022
10:17High-throughput and Comprehensive Drug Surveillance Using Multisegment Injection-Capillary Electrophoresis-Mass Spectrometry
Published on: April 23, 2019
Related Concept Videos
Observational Studies
There are three types of observational studies – Prospective, retrospective, and cross-sectional.
Prospective Study
Prospective studies, also known as longitudinal or cohort studies, are carried out by collecting future data from groups sharing similar characteristics. One...
Methods of Documentation VII: EMR
Study Designs in Epidemiology
Observational studies are those where the researcher does not intervene but rather observes natural variations. They include cross-sectional, cohort, and...
Odds Ratio
Types of Biopharmaceutical Studies: Controlled and Non-Controlled Approaches
Non-controlled studies, commonly employed for initial exploration, lack a control group, rendering them susceptible to biases and external influences. In contrast,...
Introduction to Epidemiology