Identification of Risk Factors for Glaucoma Progression in Free-Text Clinical Notes Using a Local Large Language Model
Anshul Bhatnagar, Rafael Scherer, Gustavo Albrecht Samico, Rohit Muralidhar, Naomi E. Gutkind, Vitoria Palazoni, Felipe A. Medeiros, Swarup S. Swaminathan
University of Miami
Key points
From the paper's conclusion- We extracted clinical notes of 1,250 glaucoma-related encounters between 2014 and 2024 and structured EHR family history field data from the Bascom Palmer Ophthalmic Repository, with 125 randomly selected notes (10%) used for prompt development and excluded from analysis.
Abstract
PURPOSE: To evaluate the performance of a large language model (LLM) in identifying medication non-adherence, visit non-adherence, and family history of glaucoma (FHoG) in clinical notes from the electronic health record (EHR). METHODS: We extracted clinical notes of 1,250 glaucoma-related encounters between 2014 and 2024 and structured EHR family history field data from the Bascom Palmer Ophthalmic Repository, with 125 randomly selected notes (10%) used for prompt development and excluded from analysis. Two fellowship-trained glaucoma specialists labeled notes for evidence of non-adherence and FHoG. We utilized MedGemma-27B-text-it, a specialized medical LLM, to identify medication non-adherence, visit non-adherence, and FHoG. We calculated accuracy, sensitivity, and specificity of LLM performance for each task, Jaccard index for FHoG, and mean squared error (MSE) of number of family members with glaucoma. RESULTS: Prevalence of medication non-adherence, visit non-adherence, and FHoG were 7.3%, 4.7%, and 29.2%, respectively. LLM accuracy was 0.91 (sensitivity: 0.96; specificity: 0.91) for medication non-adherence and 0.96 (sensitivity: 0.97; specificity: 0.94) for visit non-adherence. For FHoG, LLM accuracy was 0.98 (sensitivity: 0.99; specificity: 0.99) with Jaccard index of 0.99, while EHR family history field accuracy and Jaccard index were 0.49 and 0.75, respectively. LLM and EHR MSE in quantifying the number of relatives with glaucoma were 0.05±0.56 and 0.85±1.80, respectively (p<0.001). CONCLUSIONS: LLMs identified non-adherence to medication and visit schedules as well as degree of FHoG in clinical notes with high accuracy. TRANSLATIONAL RELEVANCE: Local LLM pipelines can enable large-scale research into glaucoma risk factors that are unavailable in discrete EHR fields. .
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Extraction of Glaucoma Diagnosis, Type, and Severity from Clinical Notes using Secure Cloud-based Large Language ModelsmedRxiv · 2026
- 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
- 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
- Evaluating large language model clinical reasoning in glaucoma using retrieval-augmented generation.Advances in ophthalmology practice and research · 2026
- Evaluation of large language models and retrieval-augmented generation for clinical reasoning in pediatric myopia: a 50-case real-world studyScientific Reports · 2026