RTI uses cookies to offer you the best experience online. By clicking “accept” on this website, you opt in and you agree to the use of cookies. If you would like to know more about how RTI uses cookies and how to manage them please view our Privacy Policy here. You can “opt out” or change your mind by visiting: http://optout.aboutads.info/. Click “accept” to agree.
Complexities and approaches for deriving longitudinal daily morphine milligram equivalents using electronic health record prescription data
Chang, S. H., Hirsch, S. C., Thomas, S. M., Edlund, M. J., Dolor, R. J., Ives, T. J., Dewey, C. M., Gulur, P., Chelminski, P. R., Archer, K. R., Wu, L.-T., Curtis, J., Goldstein, A. O., McCormack, L. A., & INSPIRE Study Team (2025). Complexities and approaches for deriving longitudinal daily morphine milligram equivalents using electronic health record prescription data. JAMIA Open, 8(3), ooaf053. Article ooaf053. https://doi.org/10.1093/jamiaopen/ooaf053
Objective To describe challenges and solutions for calculating longitudinal daily opioid dose in morphine milligram equivalents from electronic health record prescriptions for a clinical trial of voluntary opioid reduction in patients with chronic non-cancer pain.Materials and Methods Researchers obtained opioid prescriptions for 525 participants from the National Patient-Centered Clinical Research Network datamart at three health systems. Daily opioid dose was calculated using dose conversions and summing across prescriptions after applying assumptions, reviewing suspect prescribing patterns, and removing spurious prescriptions.Results Out of 16 071 extracted prescriptions, 1207 (8%) were unusable, and 14 864 (92%) were analyzed.Discussion Numerous challenges were identified related to incomplete data, inaccurate refill dates, and overlapping or duplicate prescriptions.Conclusion Using electronic prescription data to calculate daily doses of opioid consumption is challenging and requires significant cleaning prior to use in research. This paper recommends steps to review and clean electronic opioid prescription data.This manuscript explores challenges encountered with opioid prescription data from electronic health records (EHRs) and offers solutions to derive opioid doses into morphine milligram equivalents (MME) across multiple prescriptions for extended periods of time for research purposes. The issues described here were identified in a randomized controlled trial evaluating two interventions on voluntary opioid reduction among chronic non-cancer pain patients, followed for up to 18 months. Prescription-level issues were primarily composed of missing data elements required for the derivation of daily MME. More complex challenges were identified when evaluating temporal patterns across multiple prescriptions over the study period, such as monthly prescriptions for long-term medications being prescribed too early and apparent duplicate prescriptions. The novel systematic data cleaning steps and assumptions described in this paper, which are not yet sufficiently described in existing literature, were developed in collaboration with a subject matter expert and prescribing physicians. Implementing these data cleaning steps is important to ensuring that EHR opioid prescription data are an accurate reflection of patients' opioid use over time, which in turn is critical for research of long-term opioid therapy.
RTI shares its evidence-based research - through peer-reviewed publications and media - to ensure that it is accessible for others to build on, in line with our mission and scientific standards.