mlsanityData to 14 Oct 2026

Scalable Medication Extraction and Discontinuation Identification from Electronic Health Records Using Large Language Models

arXiv 2506.11137 ↗First posted 10 Jun 2025cs.CLcited by 1

Not on the map. Why?

Abstract (arXiv)

Identifying medication discontinuations in electronic health records (EHRs) is vital for patient safety but is often hindered by information being buried in unstructured notes. This study aims to evaluate the capabilities of advanced open-sourced and proprietary large language models (LLMs) in extracting medications and classifying their medication status from EHR notes, focusing on their scalability on medication information extraction without human annotation. We collected three EHR datasets from diverse sources to build the evaluation benchmark. We evaluated 12 advanced LLMs and explored multiple LLM prompting strategies. Performance on medication extraction, medication status classification, and their joint task (extraction then classification) was systematically compared across all experiments. We found that LLMs showed promising performance on the medication extraction and discontinuation classification from EHR notes. GPT-4o consistently achieved the highest average F1 scores in all tasks under zero-shot setting - 94.0% for medication extraction, 78.1% for discontinuation classification, and 72.7% for the joint task. Open-sourced models followed closely, Llama-3.1-70B-Instruct achieved the highest performance in medication status classification on the MIV-Med dataset (68.7%) and in the joint task on both the Re-CASI (76.2%) and MIV-Med (60.2%) datasets. Medical-specific LLMs demonstrated lower performance compared to advanced general-domain LLMs. Few-shot learning generally improved performance, while CoT reasoning showed inconsistent gains. LLMs demonstrate strong potential for medication extraction and discontinuation identification on EHR notes, with open-sourced models offering scalable alternatives to proprietary systems and few-shot can further improve LLMs' capability.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 21 of its 60 references that are in the map. First posted on arXiv 10 Jun 2025.

Builds on

21 of 60 references.

References · 21

  1. 2023GPT-4 Technical Reportcited by 18,396
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,166
  4. 2024Qwen2.5 Technical Reportcited by 4,942
  5. 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
  6. 2023Mistral 7Bcited by 3,164
  7. 2022Large Language Models Encode Clinical Knowledgecited by 1,830
  8. 2021Domain Adaptation for Medical Image Analysis: A Surveycited by 352
  9. 2023MEDITRON-70B: Scaling Medical Pretraining for Large Language Modelscited by 274
  10. 2022Large Language Models are Few-Shot Clinical Information Extractorscited by 207
  11. 2023Benchmarking large language models for biomedical natural language processing applications and recommendationscited by 78
  12. 2022PHEE: A Dataset for Pharmacovigilance Event Extraction from Textcited by 37
9 more
  1. 2024CoMT: Chain-of-Medical-Thought Reduces Hallucination in Medical Report Generationcited by 25
  2. 2024Guiding Clinical Reasoning with Large Language Models via Knowledge Seedscited by 19
  3. 2024Probabilistic Medical Predictions of Large Language Modelscited by 16
  4. 2022METS-CoV: A Dataset of Medical Entity and Targeted Sentiment on COVID-19 Related Tweetscited by 12
  5. 2025BRIDGE: Benchmarking Large Language Models for Understanding Real-world Clinical Practice Textcited by 12
  6. 2023Large Language Models Leverage External Knowledge to Extend Clinical Insight Beyond Language Boundariescited by 10
  7. 2023Contextualized Medication Information Extraction Using Transformer-based Deep Learning Architecturescited by 8
  8. 2020Toward Understanding Clinical Context of Medication Change Events in Clinical Narrativescited by 6
  9. 2022Extracting Medication Changes in Clinical Narratives using Pre-trained Language Modelscited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2025Leveraging LLMs for Structured Data Extraction from Unstructured Patient Records
  2. 2025Benchmarking Open-Source Large Language Models on Healthcare Text Classification Tasks
  3. 2024Development and Testing of a Novel Large Language Model-Based Clinical Decision Support Systems for Medication Safety in 12 Clinical Specialties
  4. 2025Human-Level and Beyond: Benchmarking Large Language Models Against Clinical Pharmacists in Prescription Review
  5. 2026Leveraging Large Language Models to Extract and Translate Medical Information in Doctors' Notes for Health Records and Diagnostic Billing Codes
  6. 2025Extracting OPQRST in Electronic Health Records using Large Language Models with Reasoning
  7. 2024PrecLLM: A Privacy-Preserving Framework for Efficient Clinical Annotation Extraction from Unstructured EHRs using Small-Scale LLMs
  8. 2026Toward Automated Detection of Documentation Inconsistencies in Electronic Health Records