Related Experiment Video
Updated: Oct 18, 2025

Inverse Probability of Treatment Weighting Propensity Score using the Military Health System Data Repository and National Death Index
Published on: January 8, 2020
Validation of EHR medication fill data obtained through electronic linkage with pharmacies
Saul Blecker1, Samrachana Adhikari2, Hanchao Zhang2
1Department of Population Health and Department of Medicine, NYU School of Medicine, New York, NY.
Abstract:
BACKGROUND: Recent linkages between electronic health records (EHRs) and pharmacy data hold opportunity for up-to-date assessment of medication adherence at the point of care. OBJECTIVE: To validate linked EHR-pharmacy data, which can be used for point-of-care interventions for concordance with insurance claims data for patients in a large health care delivery system. METHODS: We performed a retrospective cohort study of adult patients with an active antihypertensive medication order and seen as outpatients between August 25, 2019, and August 31, 2019. Pharmacy fill information was obtained from the EHR via linkages with Surescripts pharmacy and pharmacy benefit manager data, as well as from insurance claims available at our institution. We matched antihypertensive medication fills observed in the linked EHR-pharmacy database with available fills in the insurance claims database and calculated the percentage of medication fills that were available in each database. We estimated medication adherence using proportion of days covered in the linked EHR-pharmacy database and in the insurance claims database. RESULTS: Of 26,679 patients with hypertension, 23,348 (87.5%) had at least 1 antihypertensive medication fill recorded in the linked EHR-pharmacy database. Of 1,501 patients matched with the insurance database and with a documented medication fill, a fill was present for 1,484 (98.9%) and 1,259 (83.9%) patients in the linked EHR-pharmacy and insurance databases, respectively. Of 12,109 medication fills recorded in the insurance data, we found an overlap of 11,060 (91.3%) fills with the linked EHR-pharmacy database. The linked EHR-pharmacy database also contained 18,232 of 19,281 (94.6%) medication fills present in either database. Measured medication adherence was higher for patients when based on linked EHR-pharmacy data compared with insurance claims data (42% vs 30%, P < 0.001). CONCLUSIONS: Linked EHR-pharmacy data captured medication fills for the vast majority of patients and resulted in higher estimates of adherence than insurance claims. Our results suggest that pharmacy fill data available in the EHR have sufficient reliability to be used for point-of-care assessment of medication adherence. DISCLOSURES: This study was supported by grant R01HL155149 from the National Heart, Lung, and Blood Institute. Allen Thorpe provided funding for the NYU Langone Health Learning Health System Program, which helped fund this project. The authors have nothing to disclose.
More Related Videos
Related Concept Videos
Methods of Documentation VII: EMR
Guidelines and Strategies for Safe Computer Charting
Maintain Confidentiality and Security:
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...
Drug Dosing: Geriatric Patients
Dosage Interval and Administration Route: Determination Methods
Data Validation
Key parameters for method validation include:

