Back to Authors

Cargile, Moriah

0009-0003-8436-1435

Mayo Clinic

University of Colorado Skaggs School of Pharmacy and Pharmaceutical Sciences , Aurora, CO ,

Citations 3

Performance evaluation of a large language model for medication management tasks
Henry, Kelli , Xu, Steven, Blotske, Kaitlin , Cargile, Moriah , Barreto, Erin F, Murray, Brian, Smith, Susan, Bauer, Seth R, Tilley, Adeleine , Liu, Tianming, Sohn, Sunghwan , Gao, Yanjun , Sikora, Andrea , Smith, Susan E , Murray, Brian , Frazee, Erin N. , Murray, Brian , Smith, Susan , Bauer, Seth R , Zhao, Xingmeng , Gao, Yanjun , Liu, Tianming

American Journal of Health-System Pharmacy | September 10, 2026 | Volume: No volume available | Issue: No issue available | Pages: No page available

10.1093/ajhp/zxag282 Get It

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.
MedMatch: a first step for the automation of large language model performance benchmarking for medication-related tasks
Blotske, Kaitlin , Zhao, Xingmeng , Cargile, Moriah , Tilley, Adeleine , Murray, Brian, Gao, Yanjun, Henry, Kelli , Smith, Susan E, Barreto, Erin, Bauer, Seth R. , Sohn, Sunghwan , Liu, Tianming, Smith, Susan , Murray, Brian , Henry, Kelli , Gao, Yanjun , Murray, Brian , Gao, Yanjun , Smith, Susan E , Frazee, Erin N , Bauer, Seth R , Liu, Tianming , Sikora, Andrea , Frazee, Erin N.

No container title available | January 15, 2026 | Volume: No volume available | Issue: No issue available | Pages: No page available

10.64898/2026.01.13.26343949 Get It

Abstract Background The accuracy and safety of generating medication orders by large language models (LLMs) must be demonstrated. Without standardization, performance evaluation is limited to time and resource-intensive clinician grading. This evaluation aimed to develop a standardized medication format that supports automated performance evaluation (MedMatch). Methods First, a survey of 40 medication prompts was given to clinicians to assess agreement in medication order communication. Second, a clinician panel developed a standardized medication format (MedMatch) for oral and intravenous medications. Third, a clinician-annotated dataset of medication prompts and standardized answers in the MedMatch format was developed for LLM testing. Finally, LLMs were retested with the same dataset, adjusted to exclude route information, to evaluate the appropriate categorization of medication route. Results The formal medication orders consistently showed low omission rates and high overlap for all entities, compared to the verbal and brief written communication types. Lexical overlap results demonstrated pattern norms amongst clinicians with entities appearing most commonly in positions 1-5 in the order of drug name, dose, unit, route, and frequency. In the second survey, the formal written group performed the highest with 78.3% of prompts considered appropriate as a computer-generated response. LLM accuracy on MedMatch order standardization was highest in oral solid (64.2-72.5%), intravenous intermittent (72.5-84.3%), and intravenous push (62.7-74.5%) categories. LLMs performed the worst at categorizing medication orders accurately into intravenous push (18-61%) and intravenous intermittent (51-100%) routes. Conclusions Standardized format for computer-based outputs may support automated performance analysis and enhance the clarity of medication communication.
Rx-LLM: a benchmarking suite to evaluate safe large language model performance for medication-related tasks
Zhao, Xingmeng , Blotske, Kaitlin , Cargile, Moriah , Tilley, Adeleine , Murray, Brian , Gao, Yanjun , Henry, Kelli , Smith, Susan , Frazee, Erin N. , Bauer, Seth R. , Sohn, Sunghwan , Liu, Tianming , Cohen, Mitch , Smith, Susan E , Frazee, Erin N , Bauer, Seth R , Bennett, Tell , Cohen, Mitch , Sikora, Andrea , Henry, Kelli , Murray, Brian , Gao, Yanjun

No container title available | December 9, 2025 | Volume: No volume available | Issue: No issue available | Pages: No page available

10.64898/2025.12.01.25341004 Get It

Abstract Background: For large language models (LLMs) to reach their potential as information technology tools that make medication use safer, clinically relevant benchmarks capable of automated grading and designed specifically to measure the performance of LLMs for medication tasks are required. The purpose of this study was to design a suite of benchmarking tests reflective of Comprehensive Medication Management (CMM; the standard of care for medication optimization) and quantify the baseline performance of the latest LLMs. Methods: We established six benchmarks representing critical stages of the CMM process: drug formulation matching, drug order (sig) generation, drug route matching, drug-drug interaction identification, renal dose identification, and drug-indication matching. For each benchmark, we curated a clinician-annotated dataset comprising 250 standardized input-output pairs including both inpatient and outpatient medications. We evaluated the clinical knowledge retrieval capabilities of three LLMs: GPT-4o-mini, MedGemma-27B, and LLaMA3-70B. We employed a zero-shot prompting strategy, excluding in-context examples, to assess the models’ internal clinical knowledge rather than their few-shot learning potential. To check reliability, each model was run three times using a temperature of 0.7 (a mid-range value of an LLM setting controlling text generation randomness). Performance was assessed using task-specific evaluation metrics including precision (positive predictive value), recall (sensitivity), F1-score, accuracy, and correctness consistency across trials. Results: Across six benchmarks, LLaMA3-70B demonstrated the highest performance in four tasks: drug-formulation matching (F1, 54.0% [95 CI: 50.1-58]), drug-order generation (accuracy, 88.0%), drug-route identification (F1, 74.3% [95 CI: 71-78]), and drug-indication identification (accuracy, 97.6% [95 CI: 95.6-99.2]). In the drug–drug interaction task, GPT-4o-mini achieved the highest overall accuracy (70.4% [95 CI: 64.8-75.7]). For renal dose–adjustment identification, GPT-4o-mini demonstrated the highest F1 score (83.3% [95 CI: 77.6-88]). Correctness-consistency scores ranged from 8.0% to 97.6% across benchmarks, with no model exhibiting uniformly superior consistency. Conclusions: Model performance varied substantially across medication-related tasks. LLaMA3-70B demonstrated promising baseline performance in tasks involving formulation, ordering, route, and indication. GPT-4o-mini showed potential advantages in drug–drug interaction detection and renal dose adjustment. These findings underscore the need for task-specific evaluation when deploying models for medication-focused clinical decision support.