Accepted for/Published in: JMIR Medical Informatics
Date Submitted: Aug 30, 2019
Date Accepted: Feb 10, 2020
Date Submitted to PubMed: Feb 11, 2020
Warning: This is an author submission that is not peer-reviewed or edited. Preprints - unless they show as "accepted" - should not be relied on to guide clinical practice or health-related behavior and should not be reported in news media as established information.
Preventing medication safety events during order entry of electronic prescriptions in outpatient pharmacies using the RxNorm Application Programming Interface
ABSTRACT
Background:
Medication errors are pervasive. One way to avert them is to limit transcribing of prescription information. Electronic prescriptions (e-prescriptions) convey secure and computer-readable prescription data from clinics to outpatient pharmacies for dispensing. After transmission, pharmacy staff select the medications needed to fulfill e-prescriptions within their dispensing software and then verify that their medication selections are correct. Currently, pharmacists manually double-check medications selected to fulfill e-prescriptions prior to dispensing. While pharmacist double-checks are mostly effective for catching medication selection mistakes, the cognitive process of doing medication selection is still prone to error due to heavy workload, inattention, and fatigue. Leveraging health information technology to improve medication selection accuracy in outpatient pharmacies supports the larger goal of making the United States health care system safer.
Objective:
The objective of this study is to determine the performance of an automated double-check that uses the RxNorm Application Programming Interface (API) and attempts to identify medication selection errors made in outpatient pharmacies.
Methods:
We conducted a retrospective analysis of 537,710 pairs of e-prescription and dispensing records from a mail-order pharmacy for the period 01/20/17-10/31/2018. National drug codes (NDC) for each pair were submitted to the National Library of Medicine’s (NLM) RxNorm API and the API returned RxCUI semantic clinical drug/generic pack (SCD/GPCK) identifiers associated with every NDC. The SCD/GPCK identifiers returned were matched against the corresponding SCD/GPCK identifiers from the pharmacy dispensing record. An error matrix was created based on hand-labeling mismatched SCD/GPCK pairs. Performance metrics, including sensitivity, specificity, positive predictive value, false-positive rate, and precision were calculated for the e-prescription-to-dispensing record matching algorithm for both total pairs and unique pairs of NDCs in these data.
Results:
We analyzed 527,881 e-prescription and pharmacy dispensing record pairs. Four clinically significant cases of mismatched RxCUI identifiers were detected (i.e., 3 incorrect medication selections and 1 incorrect strength selection). 625 less significant cases of mismatched RxCUIs were found. Nearly all of the NDC pairs had matching RxCUIs (99.881% - 99.991%). The RxNorm API had a sensitivity of 1, a false-positive rate of 0.00119 to 0.00441, specificity of 0.99881 to 0.99559, and precision of 0.00636 to 0.03053. There were 872 pairs of records without an RxCUI found.
Conclusions:
The NLM’s RxNorm API can perform an independent and automatic double-check of correct medication selection during e-prescription verification at outpatient pharmacies. RxNorm has near comprehensive coverage of prescribed medications and can be a tool to prevent medication selection errors. In the future, tools like this may be able to perform automated verification of medication selection accurately enough to free pharmacists from having to perform manual double-checks of the medications selected within pharmacy dispensing software to fulfill e-prescriptions.
Citation
Request queued. Please wait while the file is being generated. It may take some time.
Copyright
© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.