Complexities and approaches for deriving longitudinal daily morphine milligram equivalents using electronic health record prescription data
- PMID: 40524838
- PMCID: PMC12169419
- DOI: 10.1093/jamiaopen/ooaf053
Complexities and approaches for deriving longitudinal daily morphine milligram equivalents using electronic health record prescription data
Abstract
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.
Keywords: chronic non-cancer pain; electronic health records; morphine milligram equivalents (MME); opioids; prescriptions.
© The Author(s) 2025. Published by Oxford University Press on behalf of the American Medical Informatics Association.
Conflict of interest statement
All authors have no conflicts of interest to report.
Figures



References
-
- Motov S. morphine milligram equivalents (MME) calculator. MDCalc. Accessed March 7, 2025. https://www.mdcalc.com/calc/10170/morphine-milligram-equivalents-mme-cal...
-
- Oregon Pain Guidance. Opioid conversion calculator. Oregon Pain Guidance. Accessed March 7, 2025. https://www.oregonpainguidance.org/opioidmedcalculator/
LinkOut - more resources
Full Text Sources
Medical
Miscellaneous