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
. 2015 May 6:15:37.
doi: 10.1186/s12911-015-0160-8.

An end-to-end hybrid algorithm for automated medication discrepancy detection

Affiliations

An end-to-end hybrid algorithm for automated medication discrepancy detection

Qi Li et al. BMC Med Inform Decis Mak. .

Abstract

Background: In this study we implemented and developed state-of-the-art machine learning (ML) and natural language processing (NLP) technologies and built a computerized algorithm for medication reconciliation. Our specific aims are: (1) to develop a computerized algorithm for medication discrepancy detection between patients' discharge prescriptions (structured data) and medications documented in free-text clinical notes (unstructured data); and (2) to assess the performance of the algorithm on real-world medication reconciliation data.

Methods: We collected clinical notes and discharge prescription lists for all 271 patients enrolled in the Complex Care Medical Home Program at Cincinnati Children's Hospital Medical Center between 1/1/2010 and 12/31/2013. A double-annotated, gold-standard set of medication reconciliation data was created for this collection. We then developed a hybrid algorithm consisting of three processes: (1) a ML algorithm to identify medication entities from clinical notes, (2) a rule-based method to link medication names with their attributes, and (3) a NLP-based, hybrid approach to match medications with structured prescriptions in order to detect medication discrepancies. The performance was validated on the gold-standard medication reconciliation data, where precision (P), recall (R), F-value (F) and workload were assessed.

Results: The hybrid algorithm achieved 95.0%/91.6%/93.3% of P/R/F on medication entity detection and 98.7%/99.4%/99.1% of P/R/F on attribute linkage. The medication matching achieved 92.4%/90.7%/91.5% (P/R/F) on identifying matched medications in the gold-standard and 88.6%/82.5%/85.5% (P/R/F) on discrepant medications. By combining all processes, the algorithm achieved 92.4%/90.7%/91.5% (P/R/F) and 71.5%/65.2%/68.2% (P/R/F) on identifying the matched and the discrepant medications, respectively. The error analysis on algorithm outputs identified challenges to be addressed in order to improve medication discrepancy detection.

Conclusion: By leveraging ML and NLP technologies, an end-to-end, computerized algorithm achieves promising outcome in reconciling medications between clinical notes and discharge prescriptions.

PubMed Disclaimer

Figures

Figure 1
Figure 1
The example overview note (a), discharge summary (b) and discharge prescription list (c) for an encounter. The medication information identified by the annotators is highlighted in clinical notes.
Figure 2
Figure 2
The architecture of the proposed automated medication discrepancy detection algorithm. Bullet 1–3 represent the three algorithm processes. Bullet A-C represent the outputs of the processes that were evaluated in the study. *“Matched medication list” includes the medication entities mentioned in the clinical notes and that had matches in the prescription list. **“Discrepant medication list” includes the medication entities mentioned in the clinical notes but were missed in the prescription list, or had medication attributes that were not consistent between the notes and the list.
Figure 3
Figure 3
The diagram of the medication matching process.
Figure 4
Figure 4
The overall inter-annotator agreements (IAAs; F-value) for overview notes and discharge summaries (a). The IAAs on individual entity categories are also presented (b and c).
Figure 5
Figure 5
The recalls of medication name detection on discrepant medications.

References

    1. Wong JD, Bajcar JM, Wong GG, Alibhai SM, Huh JH, Cesta A, et al. Medication reconciliation at hospital discharge: evaluating discrepancies. Ann Pharmacother. 2008;42(10):1373–9. - PubMed
    1. Cornu P, Steurbaut S, Leysen T, De Baere E, Ligneel C, Mets T, et al. Discrepancies in medication information for the primary care physician and the geriatric patient at discharge. Ann Pharmacother. 2012;46(7–8):983–90. doi: 10.1345/aph.1R022. - DOI - PubMed
    1. Nickerson A, Mackinnon NJ, Roberts N, Saulnier L. Drug-therapy problems, inconsistencies and omissions identified during a medication reconciliation and seamless care service. Healthc Q. 2005;8(Spec No):65–72. doi: 10.12927/hcq..17667. - DOI - PubMed
    1. The joint commission. Using medication reconciliation to prevent errors. Available at: http://www.jointcommission.org/sentinel_event_alert_issue_35_using_medic... (Accessed 5 September 2014).
    1. World health organisation. Assuring medication accuracy at transitions in care. Patient Safety Solution 2007;1(6). Available at: http://www.who.int/patientsafety/solutions/patientsafety/PS-Solution6.pdf (Accessed 5 September 2014).

Publication types

LinkOut - more resources