ArticleHeadache2024
A large language model-based generative natural language processing framework fine-tuned on clinical notes accurately extracts headache frequency from electronic health records.
Article in Headache, 2024. The graph could read no effect estimate from its abstract, so it casts no vote on the map. Cited by 19 papers, 1 of them a synthesis that pooled it.
What it found
Each row is one number read from the abstract, on the scale the paper reported it, with its interval. Left of the dashed line favours the treatment, right favours the comparator. Under each row is the sentence it came from. New to these charts? A ten-minute tutorial.
The abstract states no effect estimate the extractor could read, or names no intervention and outcome on the map, so this paper lights no cell and moves no belief. It is still indexed, cited and linked below.
The trial behind it
Trials whose registry record cites this paper, or whose number appears in the abstract. A trial that started after this paper was published is citing it as background, not reporting it.
Neither the registry nor the abstract names a trial number. If this is a trial report, that itself is worth knowing.
Who cites it
19 citing papers in PubMed, 1 synthesis or guideline pooled it.
- Improving Clinical Documentation with Artificial Intelligence: A Systematic Review.Perspectives in health information management · 2024Pooled it
- Generative large language models in medicine: a scoping review of recent methodological advances.npj health systems · 2026Review
- Large Language Models for Clinical Narrative Processing: Methods, Applications, and Challenges.Methods and protocols · 2026Article
- AI-powered surveillance of bronchiolitis in the Nirsevimab era: comparative performance of machine learning, deep learning, and large language models on free-text ED records.BMC emergency medicine · 2026Article
- Automated abstraction of clinical parameters of multiple myeloma from real-world clinical notes using large language models.BMC medical informatics and decision making · 2026Article
- Development and Validation of a Generative Artificial Intelligence-Based Pipeline for Automated Clinical Data Extraction From Electronic Health Records: Technical Implementation Study.JMIR bioinformatics and biotechnology · 2026Article
- Assessment of a Zero-Shot Large Language Model in Measuring Documented Goals-of-Care Discussions.Journal of pain and symptom management · 2026Article
- Validation of an AI-Based platform for structured diagnosis of headache disorders using ICHD-3 criteria.BMC neurology · 2025Article
- Fine-Tuning Large Language Models for Effective Nutrition Support in Residential Aged Care: A Domain Expertise Approach.Healthcare (Basel, Switzerland) · 2025Article
- Zero-Shot Extraction of Seizure Outcomes from Clinical Notes Using Generative Pretrained Transformers.Journal of healthcare informatics research · 2025Article
- Analyzing Patient Complaints in Web-Based Reviews of Private Hospitals in Selangor, Malaysia, Using Large Language Model-Assisted Content Analysis: Mixed Methods Study.JMIR formative research · 2025Article
- Mobile App-Based Interactive Care Plan for Migraine: Survey Study of Usability and Improvement Opportunities.JMIR formative research · 2025Article
- Artificial intelligence terminology, methodology, and critical appraisal: A primer for headache clinicians and researchers.Headache · 2025Review
- Leveraging Large Language Models for Improved Understanding of Communications With Patients With Cancer in a Call Center Setting: Proof-of-Concept Study.Journal of medical Internet research · 2024Article
- Enhancing the interoperability and transparency of real-world data extraction in clinical research: evaluating the feasibility and impact of a ChatGLM implementation in Chinese hospital settings.European heart journal. Digital health · 2024Article
- Automated Extraction of Patient-Centered Outcomes After Breast Cancer Treatment: An Open-Source Large Language Model-Based Toolkit.JCO clinical cancer informatics · 2024Article
- Preliminary External Validation Results of the Artificial Intelligence-Based Headache Diagnostic Model: A Multicenter Prospective Observational Study.Life (Basel, Switzerland) · 2024Article
- Exploring the Potential of Large Language Models in Neurology, Using Neurologic Localization as an Example.Neurology. Clinical practice · 2024Article
- ChatGPT-4 extraction of heart failure symptoms and signs from electronic health records.Progress in cardiovascular diseasesArticle
Corrections and comments
- Update of
Authors and funding
9 authors.
Funding
Abstract
objectiveTo develop a natural language processing (NLP) algorithm that can accurately extract headache frequency from free-text clinical notes.
backgroundHeadache frequency, defined as the number of days with any headache in a month (or 4 weeks), remains a key parameter in the evaluation of treatment response to migraine preventive medications. However, due to the variations and inconsistencies in documentation by clinicians, significant challenges exist to accurately extract headache frequency from the electronic health record (EHR) by traditional NLP algorithms.
methodsThis was a retrospective cross-sectional study with patients identified from two tertiary headache referral centers, Mayo Clinic Arizona and Mayo Clinic Rochester. All neurology consultation notes written by 15 specialized clinicians (11 headache specialists and 4 nurse practitioners) between 2012 and 2022 were extracted and 1915 notes were used for model fine-tuning (90%) and testing (10%). We employed four different NLP frameworks: (1) ClinicalBERT (Bidirectional Encoder Representations from Transformers) regression model, (2) Generative Pre-Trained Transformer-2 (GPT-2) Question Answering (QA) model zero-shot, (3) GPT-2 QA model few-shot training fine-tuned on clinical notes, and (4) GPT-2 generative model few-shot training fine-tuned on clinical notes to generate the answer by considering the context of included text.
resultsThe mean (standard deviation) headache frequency of our training and testing datasets were 13.4 (10.9) and 14.4 (11.2), respectively. The GPT-2 generative model was the best-performing model with an accuracy of 0.92 (0.91, 0.93, 95% confidence interval [CI]) and R
conclusionWe developed a robust information extraction model based on a state-of-the-art large language model, a GPT-2 generative model that can extract headache frequency from EHR free-text clinical notes with high accuracy and R
Indexed as
Identifiers
What OpenQuestion holds
Registered trials
Read under generation 80e0d062 · epoch 390. Bibliography from PubMed, PubMed Central and OpenAlex; grants from NIH RePORTER; trial links from ClinicalTrials.gov; estimates, votes and beliefs from the OpenQuestion graph.