Identifying Pneumatic Retinopexy in Electronic Medical Records with an On-Premises Large Language Model
-
By
-
James Tsimiklis
-
Shrirajh Satheakeerthy
-
Jai Paris
-
Weng Onn Chan
-
October 9, 2026
Clinical Report: Identifying Pneumatic Retinopexy in Electronic Medical Records
Overview
In a retrospective diagnostic accuracy study of 542 patient records from two Australian hospitals, an on-premises open-weight large language model identified documented pneumatic retinopexy (PnR) with 0.98 sensitivity and 0.94 specificity. Its positive predictive value was 0.81, with false positives mainly involving pneumatic displacement or gas tamponade associated with pars plana vitrectomy. The authors support its use as a supervised case-finding tool, with positive classifications verified by a human reviewer.
Background
Accurate procedure identification in electronic medical records can support clinical registries, trial recruitment, quality assurance, and operative log validation. Administrative coding may not reliably represent ophthalmic procedures; the article cites an Australian study in which ophthalmology procedures were coded correctly in 53.9% of cases. PnR is a relevant test case because it may be performed outside the operating theatre, documented across multiple notes, and confused in text with other gas-based retinal procedures. Locally deployed open-weight language models may allow unstructured clinical text to be processed within institutional infrastructure.
Data Highlights
| Measure | Result | 95% CI |
|---|---|---|
| Records assessed | 542 | — |
| Records documenting PnR | 110 (20.3%) | — |
| True positives | 108 | — |
| True negatives | 407 | — |
| False positives | 25 | — |
| False negatives | 2 | — |
| Sensitivity | 0.98 | 0.94–0.99 |
| Specificity | 0.94 | 0.92–0.96 |
| Positive predictive value | 0.81 | 0.74–0.87 |
| Negative predictive value | 0.99 | 0.98–0.99 |
| Manual reviewer agreement | 98.2%; Cohen κ = 0.943 | — |
Key Findings
- The retrospective study included patients treated at the Royal Adelaide Hospital or The Queen Elizabeth Hospital between July 2023 and June 2024; candidate records were retrieved using “C3F8,” “SF6,” or “pneumatic.”
- Qwen3-235B-A22B was deployed on-premises and used a two-stage zero-shot prompt to classify whether PnR was documented.
- Against a manually established reference standard, the model produced 108 true positives, 407 true negatives, 25 false positives, and 2 false negatives among 542 records.
- Of the 25 false positives, 14 (56%) involved pneumatic displacement for submacular haemorrhage and 11 (44%) involved gas tamponade associated with PPV.
- The authors report that earlier supervised NLP approaches depended on labeled training data and performed less well for more complex ophthalmic procedures; the present zero-shot approach reduced task-specific development burden while keeping data within institutional infrastructure.
- The study assessed one model and prompt in a keyword-enriched cohort, had no rule-based comparator, and did not include external multicentre validation or prospective workflow assessment.
Clinical Implications
The authors describe the model as a potential case-finding instrument for research and administrative workflows, while noting that positive classifications require targeted human verification because the PPV was 0.81. They state that external multicentre validation and prospective workflow assessment are needed before implementation and favour human-supervised workflows over fully autonomous classification.
Conclusion
In this two-hospital cohort, an on-premises open-weight LLM showed high sensitivity and NPV for identifying documented PnR in longitudinal EMRs. Its observed errors, particularly confusion with other gas-based retinal procedures, support the authors’ emphasis on human verification and further validation.
Related Resources & Content
- Study authors, Source not specified, Year not provided — Identifying Pneumatic Retinopexy in Electronic Medical Records with an On-Premises Large Language Model
- EyeWiki, American Academy of Ophthalmology, Year not provided — Pneumatic Retinopexy
- Ophthalmology, Year not provided — The Pneumatic Retinopexy versus Vitrectomy for the Management of Primary Rhegmatogenous Retinal Detachment Outcomes Randomized Trial (PIVOT)
- BMJ Health & Care Informatics, Year not provided — Open-source large language model-based on-premises pipeline for automated data extraction from unstructured electronic health records: a pilot study
- Eye — Performance of large language models for ophthalmic literature retrieval
- JAMA Network Open — A Tool for Surgical Patient Triage Utilizing a Large Language Model Integrated with Electronic Health Records
- Journal of Medical Internet Research (JMIR) — Automated Identification of Nursing Diagnoses and Interventions From Nursing Records Using a Retrieval-Augmented Large Language Model Approach: Quantitative Study
- Pneumatic Retinopexy - EyeWiki
- The Pneumatic Retinopexy versus Vitrectomy for the Management of Primary Rhegmatogenous Retinal Detachment Outcomes Randomized Trial (PIVOT)
- Open-source large language model-based on-premises pipeline for automated data extraction from unstructured electronic health records: a pilot study
- Pneumatic Retinopexy - EyeWiki
- The Pneumatic Retinopexy versus Vitrectomy for the Management of Primary Rhegmatogenous Retinal Detachment Outcomes Randomized Trial (PIVOT) - Ophthalmology
- Procedure Price Lookup for Outpatient Services | Medicare.gov 67110
Based on findings from:
Pneumatic retinopexy identification in electronic medical records using an on-premises large language model
James Tsimiklis, Shrirajh Satheakeerthy, Jai Paris, Weng Onn Chan. Eye, 2026.
https://www.nature.com/articles/s41433-026-04958-4
This content is an AI-generated, fully rewritten summary based on a published scholarly article. It does not reproduce the original text and is not a substitute for the original publication. Readers are encouraged to consult the source for full context, data, and methodology.