Javascript must be enabled to continue!
Large language models to infer depression in patients with neurological conditions
View through CrossRef
Objective
To develop and validate a large language model (LLM) prompt capable of ascertaining a patient’s depression from their multiple sclerosis (MS) neurologist’s note and to explore its potential for earlier detection of depression in MS care.
Materials and methods
This single-center retrospective study analysed prospectively collected electronic health record notes. In phase I, an institutionally secure ChatGPT-4 prompt was iteratively refined to infer the presence of depression using the neurologist’s note and compared with manual annotation of the neurologist’s impression (depression: present, absent, no mention) and patient-reported outcomes (PROs): Hospital Anxiety and Depression Scale or Patient Health Questionnaire-9. In phase II, longitudinal analysis compared timing of depression detection by the prompt and the neurologist across 5 years of notes for 250 patients.
Results
In phase I (n=278 adults with MS), the LLM prompt detected depression in 60.4% of notes (168/278). When compared with neurologist impression in the clinical notes, the prompt achieved 97.3% sensitivity and 84.4% accuracy. Specificity was more modest (68.3%): when neurologists did not mention depression, the prompt inferred depression based on symptoms, history and medications. When PRO and neurologist impression disagreed, the prompt aligned with PROs 61.9% of the time. In phase II, the LLM inferred depression earlier than the neurologist in 18.8% of patients, at an average of 2.45 (SD 1.54) years earlier.
Conclusion
The prompt was highly sensitive to neurologist documentation of depression in clinical notes; it inferred both present/treated depression from other note components. Potential applications include quality improvement initiatives aiming to improve depression care on a cohort level.
Title: Large language models to infer depression in patients with neurological conditions
Description:
Objective
To develop and validate a large language model (LLM) prompt capable of ascertaining a patient’s depression from their multiple sclerosis (MS) neurologist’s note and to explore its potential for earlier detection of depression in MS care.
Materials and methods
This single-center retrospective study analysed prospectively collected electronic health record notes.
In phase I, an institutionally secure ChatGPT-4 prompt was iteratively refined to infer the presence of depression using the neurologist’s note and compared with manual annotation of the neurologist’s impression (depression: present, absent, no mention) and patient-reported outcomes (PROs): Hospital Anxiety and Depression Scale or Patient Health Questionnaire-9.
In phase II, longitudinal analysis compared timing of depression detection by the prompt and the neurologist across 5 years of notes for 250 patients.
Results
In phase I (n=278 adults with MS), the LLM prompt detected depression in 60.
4% of notes (168/278).
When compared with neurologist impression in the clinical notes, the prompt achieved 97.
3% sensitivity and 84.
4% accuracy.
Specificity was more modest (68.
3%): when neurologists did not mention depression, the prompt inferred depression based on symptoms, history and medications.
When PRO and neurologist impression disagreed, the prompt aligned with PROs 61.
9% of the time.
In phase II, the LLM inferred depression earlier than the neurologist in 18.
8% of patients, at an average of 2.
45 (SD 1.
54) years earlier.
Conclusion
The prompt was highly sensitive to neurologist documentation of depression in clinical notes; it inferred both present/treated depression from other note components.
Potential applications include quality improvement initiatives aiming to improve depression care on a cohort level.
Related Results
Hubungan Perilaku Pola Makan dengan Kejadian Anak Obesitas
Hubungan Perilaku Pola Makan dengan Kejadian Anak Obesitas
<p><em><span style="font-size: 11.0pt; font-family: 'Times New Roman',serif; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-langua...
Učinak poučavanja razrednomu jeziku u izobrazbi nastavnika njemačkoga
Učinak poučavanja razrednomu jeziku u izobrazbi nastavnika njemačkoga
The actual use of classroom language is principally limited to the classroom environment. As far as foreign language learning is concerned, the classroom often turns out to be the ...
Stress-related mental disorders : an exploration astrocytic biomarkers, comorbidities, and cognition
Stress-related mental disorders : an exploration astrocytic biomarkers, comorbidities, and cognition
<p dir="ltr">Background</p><p dir="ltr">Prolonged exposure to stressors without sufficient recovery can lead to physical and mental symptoms. In Sweden, individua...
Stress-related mental disorders : an exploration astrocytic biomarkers, comorbidities, and cognition
Stress-related mental disorders : an exploration astrocytic biomarkers, comorbidities, and cognition
<p dir="ltr">Background</p><p dir="ltr">Prolonged exposure to stressors without sufficient recovery can lead to physical and mental symptoms. In Sweden, individua...
Increased life expectancy of heart failure patients in a rural center by a multidisciplinary program
Increased life expectancy of heart failure patients in a rural center by a multidisciplinary program
Abstract
Funding Acknowledgements
Type of funding sources: None.
INTRODUCTION Patients with heart failure (HF)...
Digital Mental Health Landscaping in Low- and Middle-Income Countries
Digital Mental Health Landscaping in Low- and Middle-Income Countries
Introduction
The aim of this project was to map the landscape of who is doing what and where in digital mental health, and to pr...
Emerging Evidence of IgG4-Related Disease in Pericarditis: A Systematic Review
Emerging Evidence of IgG4-Related Disease in Pericarditis: A Systematic Review
Abstract
Introduction
Immunoglobulin G4-related disease (IgG4-RD) is a recently identified immune-mediated condition that is debilitating and often overlooked. While IgG4-RD has be...
Small Cell Lung Cancer and Tarlatamab: A Meta-Analysis of Clinical Trials
Small Cell Lung Cancer and Tarlatamab: A Meta-Analysis of Clinical Trials
Abstract
Introduction
Tarlatamab is a Delta-like ligand 3 (DLL3) -directed bispecific T-cell engager recently approved for use in patients with advanced small cell lung cancer (SCL...

