Comparing the Performance of a Large Language Model and RxNorm Mapping for Detecting Medication Dispensing Errors from Real-world Data

This study compares the performance of two systems—RxNorm, a rule-based standardized medication naming system based on National Drug Codes (NDCs), and GPT-4, a large language model (LLM)—for detecting dispensing errors using real-world pharmacy data. Our findings show that RxNorm outperformed GPT-4 in specific categories such as ingredient, strength, and dose form for dispensing error detection, while GPT-4 demonstrated superior performance in the composite category by leveraging its free-text interpretation capabilities. Notably, RxNorm's structured approach was more reliable in cases involving ambiguous or inconsistent free-text medication descriptions, highlighting its advantage when NDCs were available. Despite this, GPT-4's reliance on free-text descriptions enabled it to flag errors that RxNorm missed, particularly when discrepancies arose between medication descriptions and linked NDCs. These results suggest a hybrid model, integrating the complementary strengths of both systems with pharmacist oversight, has the potential to optimize dispensing error detection, reduce false positives, and enhance medication dispensing safety.

Authors

Institutions

Publication Details

Published
2025-06-18
DOI
https://doi.org/10.1109/ichi64645.2025.00020
Primary Topic
Pharmacy and Medical Practices
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Comparing the Performance of a Large Language Model and RxNorm Mapping for Detecting Medication Dispensing Errors from Real-world Data

Corey A. Lester, Yifan Zheng, A. F. de Geer, Megan Whitaker et al.
Pharmacy and Medical Practices
article

Comparing the Performance of a Large Language Model and RxNorm Mapping for Detecting Medication Dispensing Errors from Real-world Data

Corey A. Lester, Yifan Zheng, A. F. de Geer, Megan Whitaker, Jun Gong
article en

Abstract

This study compares the performance of two systems—RxNorm, a rule-based standardized medication naming system based on National Drug Codes (NDCs), and GPT-4, a large language model (LLM)—for detecting dispensing errors using real-world pharmacy data. Our findings show that RxNorm outperformed GPT-4 in specific categories such as ingredient, strength, and dose form for dispensing error detection, while GPT-4 demonstrated superior performance in the composite category by leveraging its free-text interpretation capabilities. Notably, RxNorm's structured approach was more reliable in cases involving ambiguous or inconsistent free-text medication descriptions, highlighting its advantage when NDCs were available. Despite this, GPT-4's reliance on free-text descriptions enabled it to flag errors that RxNorm missed, particularly when discrepancies arose between medication descriptions and linked NDCs. These results suggest a hybrid model, integrating the complementary strengths of both systems with pharmacist oversight, has the potential to optimize dispensing error detection, reduce false positives, and enhance medication dispensing safety.

Michigan Center for Translational Pathology (US)
Openalex Percentile: Top 76%
Pharmacy and Medical Practices
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.