Related Experiment Video
Updated: Jun 13, 2026

Augmenting Large Language Models via Vector Embeddings to Improve Domain-Specific Responsiveness
Published on: December 6, 2024
A Large Language Model for Extracting Post-marketing Adverse Drug Events from Clinical Notes in the Electronic Health
Dana Ludwig1, Michelle Wang2, James Buchanan3
1Bakar Computational Health Sciences Institute, University of California at San Francisco, San Francisco, CA, USA. dana.ludwig@ucsf.edu.
This study developed a large language model (LLM) pipeline to extract adverse drug events (ADEs) from electronic health records (EHRs) with 94% accuracy. This approach can identify potential new drug safety signals from clinical notes.
Area of Science:
- Pharmacovigilance and Drug Safety
- Natural Language Processing in Healthcare
- Clinical Informatics
Background:
- Clinical notes contain valuable adverse drug event (ADE) data often missed by traditional methods.
- Existing rule-based or sentence-level models struggle with subtle causal cues and generate many false positives.
Purpose of the Study:
- To develop a large language model (LLM) pipeline for processing electronic health record (EHR) notes.
- To identify drug-event pairs with a plausible causal link and infer ADE properties like seriousness and label status.
Main Methods:
- A two-pass LLM workflow was employed, with Pass 1 screening for ADEs and Pass 2 adding structured fields.
- Expert review and a gold standard dataset were used to validate ADEs, assess seriousness, and determine label status.
- The study utilized 372 deidentified EHR notes from diverse clinical settings.
Main Results:
- The LLM achieved 94.2% precision and 84.1% recall in identifying ADEs.
- Seriousness and label status were correctly inferred in 100% and 93.9% of cases, respectively.
- The cost of inference was low ($0.18 per note), and the model identified ADEs not explicitly mentioned by clinicians.
Conclusions:
- LLM-processed EHR notes can transform free-text data into actionable ADE information with high accuracy.
- This approach can uncover new safety signals for potential drug side effects.
- Integration with pharmacovigilance platforms can accelerate the detection of rare, serious, and unlabeled ADEs for regulatory review.
Related Concept Videos
Pharmacovigilance
This process, termed pharmacovigilance, aims to detect, evaluate, and minimize harmful effects related to medication use. The data collection for pharmacovigilance depends on spontaneous reporting systems, where healthcare professionals or patients voluntarily report suspected ADRs.
In some cases, there...
Impact of Pharmacokinetic–Pharmacodynamic Models: Regulatory Decisions
Pharmaceutical Poisoning: Potential Scenarios
Pharmacokinetic Models: Overview
There are three primary types of models: empirical, compartment, and physiological. Empirical models, with minimal assumptions,...
Model Approaches for Pharmacokinetic Data: Distributed Parameter Models
The distributed parameter models are specifically designed to account for variations and differences in some drug classes. This model is particularly useful for assessing regional concentrations of anticancer or...
Analysis of Population Pharmacokinetic Data
