Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2022 Jun:162:104739.
doi: 10.1016/j.ijmedinf.2022.104739. Epub 2022 Mar 16.

Opioid2MME: Standardizing opioid prescriptions to morphine milligram equivalents from electronic health records

Affiliations

Opioid2MME: Standardizing opioid prescriptions to morphine milligram equivalents from electronic health records

Juan Antonio Lossio-Ventura et al. Int J Med Inform. 2022 Jun.

Abstract

Background: The national increase in opioid use and misuse has become a public health crisis in the U.S. To tackle this crisis, the systematic evaluation and monitoring of opioid prescribing patterns is necessary. Thus, opioid prescriptions from electronic health records (EHRs) must be standardized to morphine milligram equivalent (MME) to facilitate monitoring and surveillance. While most studies report MMEs to describe opioid prescribing patterns, there is a lack of transparency regarding their data pre-processing and conversion processes for replication or comparison purposes.

Methods: In this work, we developed Opioid2MME, a SQL-based open-source framework, to convert opioid prescriptions to MMEs using EHR prescription data. The MME conversions were validated internally using F-measures through manual chart review; were compared with two existing tools, as MedEx and MedXN; and the framework was tested in an external academic EHR system.

Results: We identified 232,913 prescriptions for 49,060 unique patients in the EHRs, 2008-2019. We manually annotated a sample of prescriptions to assess the performance of the framework. The internal evaluation for medication information extraction achieved F-measures from 0.98 to 1.00 for each piece of the extracted information, outperforming MedEx and MedXN (F-Scores 0.98 and 0.94, respectively). MME values in the internal EHR system obtained a F-measure of 0.97 and identified 3% of the data as outliers and 7% missing values. The MME conversion in the external EHR system obtained 78.3% agreement between the MME values obtained with the development site.

Conclusions: The results demonstrated that the framework is replicable and capable of converting opioid prescriptions to MMEs across different medical institutions. In summary, this work sets the groundwork for the systematic evaluation and monitoring of opioid prescribing patterns across healthcare systems.

Keywords: Database management system; Electronic Health Records; Morphine milligram equivalent; Natural language processing; Opioid epidemic.

PubMed Disclaimer

Conflict of interest statement

Conflict of interest

The authors declare that they have no conflict of interest.

Figures

Figure 1:
Figure 1:
An overview of the framework to calculate MME values from EHR based opioid prescriptions. The parameters configuration module allows to set up the SQL module for execution. The SQL module converts the opioid prescriptions to MME values and creates a new table.
Figure 2:
Figure 2:
Distribution of MME values per day of all opioid prescriptions. Left side (A) shows the entire distribution our all MME values calculated on the internal dataset. Right side (B) illustrates in detail the MME values per day.
Figure 3:
Figure 3:
Example of an outlier with a MME value equal to 540. Experts agreed that this high value was due to a mistake when entering information in EHRs.
Figure 4:
Figure 4:
Average of MME per day per patient for each year obtained on the internal dataset.
Figure 5:
Figure 5:
A. Average of MME per day per year obtained with our framework using datasets from both academic institutes. B. Average of MME per day per year obtained with the framework and the BWH tool on the validation EHR dataset.

References

    1. Sekhri Shaina, Arora Nonie S, Cottrell Hannah, Baerg Timothy, Duncan Anthony, Hu Hsou Mei, Englesbe Michael J, Brummett Chad, and Waljee Jennifer F. Probability of opioid prescription refilling after surgery: does initial prescription dose matter? Annals of surgery, 268(2):271–276, 2018. - PMC - PubMed
    1. Dowell Deborah, Haegerich Tamara M, and Chou Roger. CDC guideline for prescribing opioids for chronic pain—united states, 2016. JAMA, 315(15):1624–1645, 2016. - PMC - PubMed
    1. US Department of Health and Human Services. Facing addiction in america: the surgeon general’s spotlight on opioids 2018. - PubMed
    1. Meisenberg Barry R, Grover Jennifer, Campbell Colson, and Korpon Daniel. Assessment of opioid prescribing practices before and after implementation of a health system intervention to reduce opioid overprescribing. JAMA network open, 1(5):e182908–e182908, 2018. - PMC - PubMed
    1. Earp Brandon E, Silver Jacob A, Mora Ariana N, and Blazar Philip E. Implementing a postoperative opioid-prescribing protocol significantly reduces the total morphine milligram equivalents prescribed. JBJS, 100(19):1698–1703, 2018. - PubMed