Related Experiment Video
Updated: Oct 11, 2025

Implementation of a Real-Time Psychosis Risk Detection and Alerting System Based on Electronic Health Records using CogStack
Published on: May 15, 2020
A weakly supervised model for the automated detection of adverse events using clinical notes
Josh Sanyal1, Daniel Rubin1, Imon Banerjee2
1Department of Biomedical Data Science, Stanford University School of Medicine, United States.
This study introduces a weakly-supervised machine learning framework to detect adverse drug events from clinical notes. The model accurately identified insulin pump failures, improving post-market surveillance for drug and device safety.
Area of Science:
- Health Informatics
- Machine Learning
- Pharmacovigilance
Background:
- Clinical trials have limitations in detecting all adverse drug reactions and medical device issues before market release.
- Electronic health records (EHR) offer valuable patient data for post-market surveillance, with free-text clinical notes providing richer detail than structured data.
- Existing machine learning methods for adverse event detection from clinical notes often rely on manual feature extraction and expensive labeled data, limiting scalability and validation.
Purpose of the Study:
- To develop and evaluate a weakly-supervised machine learning framework for detecting adverse events from unstructured clinical notes.
- To address limitations of previous methods, including manual feature engineering, reliance on costly hand-labeled data, and lack of external validation.
- To demonstrate the framework's effectiveness using insulin pump failure as a case study for post-market surveillance.
Main Methods:
- Developed a weakly-supervised machine learning framework for adverse event detection.
- Utilized unstructured clinical notes from electronic health records (EHR).
- Evaluated the model on detecting insulin pump failure, including validation on an external dataset.
Main Results:
- The developed model achieved a PR AUC of 0.842 on the holdout test set for detecting insulin pump failure.
- External validation demonstrated the model's robustness with a PR AUC of 0.815.
- The weakly-supervised approach significantly reduced the need for extensive hand-labeled data.
Conclusions:
- Weakly-supervised machine learning offers a scalable and cost-effective approach for adverse event detection from clinical notes.
- The framework demonstrates high accuracy in identifying specific adverse events like insulin pump failure.
- This method can be readily adapted for broader post-market surveillance of drugs and medical devices to enhance patient safety.
More Related Videos
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...
Methods of Documentation VI: Case Management Model
For example, a patient with a chronic...
Documentation of Nursing Diagnosis
In some settings, data-driven computerized decision support systems are in place, allowing for more accurate nursing diagnoses. The database within one of these systems includes diagnostic labels defining characteristics, activities, and indicators for nursing. A nurse enters...
Classification of Illness
An illness is a response to a disease in which the person's level of functioning is changed compared with a previous level. The general classification of illness includes acute and chronic.
Acute illness is severe...
Pulse rhythm
Conversely, an irregular pulse pattern is termed dysrhythmia, stemming from disruptions in cardiac...

