Extraction of Glaucoma Diagnosis, Type, and Severity from Clinical Notes using Secure Cloud-based Large Language Models
G. A. Samico, N. Solages, R. Scherer, R. Muralidhar, N. E. Gutkind, V. Palazoni, F. A. Medeiros, S. S. Swaminathan
Key points
From the paper's conclusion- Conclusions: LLMs accurately extracted glaucoma diagnosis, type, and severity from free-text clinical notes, outperforming ICD-based phenotyping.
Abstract
Purpose: To evaluate the performance of large language models (LLMs) in extracting glaucoma diagnosis, type, and severity from clinical notes in the electronic health record (EHR). Methods: Clinical notes of glaucoma-related encounters between 2014 and 2024 from 1,242 subjects were extracted from the Bascom Palmer Ophthalmic Repository. Two fellowship-trained glaucoma specialists labeled notes for glaucoma presence, type, and severity. Dataset was split into development (10%), validation (10%), and test (80%) sets. Five LLMs (Claude Opus 4.6, DeepSeek-V3.2, GPT-5.2, Grok 4.1 fast non-reasoning, and Qwen3.6-35B-A3B) were accessed via Microsoft Foundry within HIPAA-compliant containers. Model performance was assessed using standard metrics. Clinician-entered ICD-10 codes were also compared with adjudicated labels. Main Outcome Measures: Gwet AC1, accuracy, sensitivity, specificity, and F1-score. Results: Inter-grader agreement for glaucoma diagnosis, type, and severity was high (Gwet AC1 0.940, 0.917, 0.906, respectively). For glaucoma diagnosis, LLMs demonstrated high accuracy, with Claude achieving 97.5%, DeepSeek 96.0%, GPT 96.2%, Grok 94.4%, and Qwen 95.5%. F1 scores for glaucoma detection ranged from 97.0% to 98.9%. For type, accuracies were 97.1%, 94.2%, 94.2%, 94.0%, and 94.4%, respectively. F1 scores for the most prevalent type (POAG) ranged from 96.6% to 98.9%. For severity, accuracies were 95.0%, 94.8%, 94.5%, 94.0%, and 95.2%, respectively, with F1 scores ranging from 89.7% to 96.3%. ICD-10 codes demonstrated lower accuracies for type and severity (87.3% and 69.2%, respectively). Conclusions: LLMs accurately extracted glaucoma diagnosis, type, and severity from free-text clinical notes, outperforming ICD-based phenotyping. Translational Relevance: LLMs have the potential to transform unstructured documentation into scalable, research-ready phenotypes for EHR-based glaucoma cohort construction.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Beyond Billing Codes: An Agentic Large Language Model Pipeline for Extracting Glaucoma Procedural Data from Free-Text Clinical Notes.medRxiv : the preprint server for health sciences · 2026
- Identification of Risk Factors for Glaucoma Progression in Free-Text Clinical Notes Using a Local Large Language ModelTranslational Vision Science & Technology · 2026
- Evaluating multimodal large language models for differential diagnosis of high myopia versus high myopia with GlaucomaFrontiers in Medicine · 2026
- Performance of a Small Language Model Versus a Large Language Model in Answering Glaucoma Frequently Asked Patient Questions: Development and Usability StudyJMIR AI · 2026
- Large language models for ophthalmic examination understanding: from information extraction to clinical decision support.Frontiers in medicine · 2026
- Comparative Accuracy and Safety of Large Language Models in Glaucoma Knowledge Assessment.Journal of glaucoma · 2026