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
. 2023 Oct 26;13(1):18354.
doi: 10.1038/s41598-023-45152-w.

A text mining approach to categorize patient safety event reports by medication error type

Affiliations

A text mining approach to categorize patient safety event reports by medication error type

Christian Boxley et al. Sci Rep. .

Abstract

Patient safety reporting systems give healthcare provider staff the ability to report medication related safety events and errors; however, many of these reports go unanalyzed and safety hazards go undetected. The objective of this study is to examine whether natural language processing can be used to better categorize medication related patient safety event reports. 3,861 medication related patient safety event reports that were previously annotated using a consolidated medication error taxonomy were used to develop three models using the following algorithms: (1) logistic regression, (2) elastic net, and (3) XGBoost. After development, models were tested, and model performance was analyzed. We found the XGBoost model performed best across all medication error categories. 'Wrong Drug', 'Wrong Dosage Form or Technique or Route', and 'Improper Dose/Dose Omission' categories performed best across the three models. In addition, we identified five words most closely associated with each medication error category and which medication error categories were most likely to co-occur. Machine learning techniques offer a semi-automated method for identifying specific medication error types from the free text of patient safety event reports. These algorithms have the potential to improve the categorization of medication related patient safety event reports which may lead to better identification of important medication safety patterns and trends.

PubMed Disclaimer

Conflict of interest statement

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper. All authors contributed to the study design, data collection and analysis, interpretation, and writing for this submission.

Figures

Figure 1
Figure 1
Flow diagram for how models were developed and tested to classify PSE reports in MERP categories.

Similar articles

Cited by

References

    1. Clarke JR. How a system for reporting medical errors can and cannot improve patient safety. Am. Surg. 2006;72(11):1088–1091. doi: 10.1177/000313480607201118. - DOI - PubMed
    1. Chang A, Schyve PM, Croteau RJ, O’Leary DS, Loeb JM. The JCAHO patient safety event taxonomy: a standardized terminology and classification schema for near misses and adverse events. Int. J. Qual. Health Care. 2005;17(2):95–105. doi: 10.1093/intqhc/mzi021. - DOI - PubMed
    1. Kostopoulou O, Delaney B. Confidential reporting of patient safety events in primary care: Results from a multilevel classification of cognitive and system factors. BMJ Qual. Saf. 2007;16(2):95–100. doi: 10.1136/qshc.2006.020909. - DOI - PMC - PubMed
    1. Leape LL. Reporting of adverse events. N. Engl. J. Med. 2002;347(20):1633–1638. doi: 10.1056/NEJMNEJMhpr011493. - DOI - PubMed
    1. Pronovost, P. J., Morlock, L. L., Sexton, J. B. et al. Improving the value of patient safety reporting systems. Advances in Patient Safety: New Directions and Alternative Approaches (Vol 1: Assessment). 2008;

Publication types