ResearchTranslational Vision Science & Technology · May 19, 2026

Identification of Risk Factors for Glaucoma Progression in Free-Text Clinical Notes Using a Local Large Language Model

Bhatnagar A, Scherer R, Samico GA, Muralidhar R, Gutkind NE, Palazoni V, et al
OphthalmologyDigital Health & AIAdult
Read the full paper free at PubMed Central ↗

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 1250 glaucoma-related encounters between 2014 and 2024 and structured EHR family history field data from the Bascom Palmer Ophthalmic Repository; of these, 125 randomly selected notes (10%) were used for prompt development and were excluded from analysis. Two fellowship-trained glaucoma specialists labeled notes for evidence of non-adherence and FHoG, which was used as the reference standard. 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, the Jaccard index for FHoG, and the 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 a Jaccard index of 0.99, whereas 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.

More on this topic

AI in medicine

Subject terms

Large Language Models; Humans; Electronic Health Records; Glaucoma; Risk Factors; Disease Progression; Male; Female; Middle Aged; Medication Adherence

DOI: 10.1167/tvst.15.5.13 · PubMed: 42153777

Cite this article

Bhatnagar A, Scherer R, Samico GA, et al. Identification of Risk Factors for Glaucoma Progression in Free-Text Clinical Notes Using a Local Large Language Model. Transl Vis Sci Technol. 2026;15(5):13. doi:10.1167/tvst.15.5.13

RIS (EndNote, Zotero, Mendeley)BibTeX

Spotted a mistake? Suggest a correction

Top Ophthalmology studies every Monday

The week’s key trials and guidelines, free to read, in one short email. No account; unsubscribe in one click.

Choose specialties and topics

Similar articles

Research · Transl Vis Sci Technol · Jan 14, 2026 · Ophthalmology, Digital Health & AI

Assessing the Accuracy of Artificial Intelligence-Generated Clinical Summaries From Ambulatory Glaucoma Subspecialty Clinical Encounters

Research · Transl Vis Sci Technol · Apr 17, 2026 · Ophthalmology

Benchmarking GPT-5, LLaMA, and Mistral for Clinical Named Entity Recognition in Ophthalmology Progress Notes

Randomized trial n = 200 · Am J Ophthalmol · Aug 21, 2022 · Ophthalmology

Within-Trial Cost-Effectiveness of an Adherence-Enhancing Educational Intervention for Glaucoma

Meta-analysis n = 961,000 · Am J Ophthalmol · Mar 18, 2025 · Ophthalmology

Glaucoma patients show low adherence and persistence with prostaglandin analogue eye drops over time

Randomized trial n = 235 · JAMA Ophthalmol · Feb 26, 2026 · Ophthalmology

Glaucoma coaching program improved medication adherence and reduced distress compared to standard written education