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
. 2021 Nov 19;16(11):e0260315.
doi: 10.1371/journal.pone.0260315. eCollection 2021.

Detection of overdose and underdose prescriptions-An unsupervised machine learning approach

Affiliations

Detection of overdose and underdose prescriptions-An unsupervised machine learning approach

Kenichiro Nagata et al. PLoS One. .

Abstract

Overdose prescription errors sometimes cause serious life-threatening adverse drug events, while underdose errors lead to diminished therapeutic effects. Therefore, it is important to detect and prevent these errors. In the present study, we used the one-class support vector machine (OCSVM), one of the most common unsupervised machine learning algorithms for anomaly detection, to identify overdose and underdose prescriptions. We extracted prescription data from electronic health records in Kyushu University Hospital between January 1, 2014 and December 31, 2019. We constructed an OCSVM model for each of the 21 candidate drugs using three features: age, weight, and dose. Clinical overdose and underdose prescriptions, which were identified and rectified by pharmacists before administration, were collected. Synthetic overdose and underdose prescriptions were created using the maximum and minimum doses, defined by drug labels or the UpToDate database. We applied these prescription data to the OCSVM model and evaluated its detection performance. We also performed comparative analysis with other unsupervised outlier detection algorithms (local outlier factor, isolation forest, and robust covariance). Twenty-seven out of 31 clinical overdose and underdose prescriptions (87.1%) were detected as abnormal by the model. The constructed OCSVM models showed high performance for detecting synthetic overdose prescriptions (precision 0.986, recall 0.964, and F-measure 0.973) and synthetic underdose prescriptions (precision 0.980, recall 0.794, and F-measure 0.839). In comparative analysis, OCSVM showed the best performance. Our models detected the majority of clinical overdose and underdose prescriptions and demonstrated high performance in synthetic data analysis. OCSVM models, constructed using features such as age, weight, and dose, are useful for detecting overdose and underdose prescriptions.

PubMed Disclaimer

Conflict of interest statement

The authors have declared that no competing interests exist.

Figures

Fig 1
Fig 1. Decision boundary of the OCSVM model and individual data for acetaminophen fine granules.
Data are represented as standardized values.
Fig 2
Fig 2. Influence of hyperparameter γ on overall performance of OCSVM models.
(A) Analysis for synthetic overdose prescriptions. (B) Analysis for synthetic underdose prescriptions.

References

    1. Kohn LT, Corrigan JM, Donaldson MS. Committee on Quality of Health Care in America, Institute of Medicine. To Err is Human: Building a Safer Health System. Washington, DC: National Academy of Sciences; 2000.
    1. Assiri GA, Shebl NA, Mahmoud MA, Aloudah N, Grant E, Aljadhey H, et al.. What is the epidemiology of medication errors, error-related adverse events and risk factors for errors in adults managed in community care contexts? A systematic review of the international literature. BMJ Open. 2018;8(5):e019101. doi: 10.1136/bmjopen-2017-019101 - DOI - PMC - PubMed
    1. Sheikh A, Dhingra-Kumar N, Kelley E, Kieny MP, Donaldson LJ. The third global patient safety challenge: tackling medication-related harm. Bull World Health Organ. 2017;95(8):546–546A. doi: 10.2471/BLT.17.198002 - DOI - PMC - PubMed
    1. Kanjanarat P, Winterstein AG, Johns TE, Hatton RC, Gonzalez-Rothi R, Segal R. Nature of preventable adverse drug events in hospitals: a literature review. Am J Health Syst Pharm. 2003;60(17):1750–1759. doi: 10.1093/ajhp/60.17.1750 - DOI - PubMed
    1. Kirkendall ES, Kouril M, Minich T, Spooner SA. Analysis of electronic medication orders with large overdoses. Appl Clin Inform. 2014;5(1):25–45. doi: 10.4338/ACI-2013-08-RA-0057 - DOI - PMC - PubMed

Publication types

MeSH terms

Substances