Background: In randomized trials, the intention-to-treat effect is the effect of assignment to treatment strategies. The concept of assignment may not be clearly defined when using observational data to emulate a target trial.
Aims: We aimed to assess the practical implications of using data on prescription versus dispensation as analogues of treatment assignment in observational analyses.
Methods: We used the primary care-derived Swedish Primary Care Cardiovascular Database of individuals with newly diagnosed hypertension between 2006 and 2014 and linked registers. We compared the effect of two antihypertensive drug classes on the five-year risk of cancer and ischemic heart disease. Treatment assignment was first mapped using prescription data, and then dispensation data. With unique confounding structures, we sequentially adjusted for different classes of risk factor due to uncertainty over the choice of relevant confounders for prescription vs. dispensation.
Results: 7770 individuals were eligible when assignment was defined using prescription compared with 5964 when defined using dispensation. For both cancer and ischemic heart disease outcomes, both higher and lower relative risks of the outcome were consistent with our data. Effect estimates did not vary with the choice of prescription or dispensation data as analogues of assignment, nor with sequential adjustment for class of risk factor.
Conclusion: The mapping of prescription or dispensation data to treatment assignment influences the size and characteristics of the study population and the structure of confounding. However, we found no clear numerical differences in effect estimates in this study. Further investigation is required in other settings.
Keywords: Dispensation; Intention-to-treat effect; Observational data; Prescription; Target trial emulation; Treatment assignment.
Copyright © 2025 The Authors. Published by Elsevier Inc. All rights reserved.