Skip to content

Performance evaluation of a large language model for medication management tasks.

Sep 2026 · American Journal of Health-System Pharmacy · 0 citations
Medicine

TL;DR

Model performance for basic medication tasks was consistently poor, highlighting the need for domain-specific training through clinician-annotated datasets and a comprehensive evaluation framework for benchmarking performance.

Abstract

Purpose

Large language models (LLMs) have proven performance for certain diagnostic tasks; however, limited studies have evaluated their consistency in recommending appropriate medication regimens for a given diagnosis. Medication management is a complex task that requires synthesis of drug formulation and complete order instructions for safe use. Here, the performance of GPT-4o, an LLM available with OpenAI's ChatGPT, was tested on 3 medication management tasks.

Methods

GPT-4o performance was tested on 3 medication tasks: identifying available formulations for a given generic drug name, identifying drug-drug interactions (DDIs) for a given medication regimen, and preparing a medication order for a given generic drug name. For each experiment, the model's raw text response was captured exactly as returned and evaluated using clinician evaluation in addition to standard LLM metrics, including Term Frequency-Inverse Document Frequency (TF-IDF) vectors, normalized Levenshtein similarity, and Recall-Oriented Understudy for Gisting Evaluation (ROUGE-1/ROUGE-L) F1 score between each response and its reference string.

Results

For the first task of drug-formulation matching, GPT-4o had 49% accuracy for generic medications being matched to all available formulations, with an average of 1.23 omissions per medication and 1.14 hallucinations per medication. For the second task of drug-drug interaction identification, the accuracy was 54.7% for identifying the DDI pair. For the third task, GPT-4o generated order sentences containing no medication or abbreviation errors in 65.8% of the cases.

Conclusion

Model performance for basic medication tasks was consistently poor. This evaluation highlights the need for domain-specific training through clinician-annotated datasets and a comprehensive evaluation framework for benchmarking performance.

View source

Similar papers

Open access Sep 2026

Navigating uncertainty matters: Evaluating large language models for drug-drug interaction identification.

Substantial variability exists in both DDI identification performance and uncertainty calibration across large language models, and prompt design alone was insufficient to consistently improve knowledge-aware uncertainty expression.

Adeleine Tilley, Brian Murray, Kelli R. Henry et al. · 0 citations
#artificial intelligence Review Sep 2026

A primer on evaluation methods for large language models in healthcare

This article aims to provide a pragmatic basis for designing and executing rigorous evaluations of healthcare LLMs by describing underlying concepts and potential pitfalls, while emphasizing the importance of aligning evaluation methods with the research question.

S. E. McKinney, P. Vu, S. Justice et al. · 0 citations
Open access Aug 2026

Prompt Engineering of Large Language Models for Medication Dose Calculation

This study aims to design and validate a large language model (LLM) framework for systematic extraction of medication dosing across multiple therapeutic classes using electronic health record (EHR) data. Manual dose annotations were completed for 4295 medications across nine therapeutic classes. Five publicly available...

Max Weaver, Natasha J. Petry, Jeremy Cauwels et al. · 0 citations
Review Open access Sep 2026

LARGE LANGUAGE MODELS IN MEDICATION MANAGEMENT: CLINICAL UTILITY, SAFETY ASSURANCE, AND PHARMACIST-LED GOVERNANCE

Current evidence supports only conditional utility under pharmacist supervision for bounded, auditable tasks; it does not justify unsupervised medication counseling, autonomous dosing, interaction management, or therapeutic decision-making.

Júlia Costa Oliveira Ornelas · 0 citations
Open access Sep 2026

A structured exploratory multidisciplinary evaluation of four large language models responding to frequently asked patient questions about pregabalin

Significant limitations persist in safety warning compliance, response comprehensiveness, and hallucination rate for selected basic pharmaceutical questions, and significant limitations persist in safety warning compliance, response comprehensiveness, and hallucination rate.

Y. L. T. Bayala, I. A. Tinni, Thierry Boris Wend-Yam Yaméogo et al. · 0 citations
#large language models Review Open access Sep 2026

Quality and safety of large language model–generated medication review outputs in geriatric pharmacotherapy: a two-stage comparative vignette-based benchmark evaluation

These findings support supervised use of large language models and evaluation approaches that assess reasoning and prioritisation as well as target detection and should not be interpreted as evidence that one model is clinically superior in real-world practice.

Kubra Cingar Alpay, D. Ozata, T. Gedik et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.