ResearchBMJ Open Ophthalmology · Jan 16, 2026

NLP-ROPCare: predicting retinopathy of prematurity with admission notes using natural language processing

Zhang Y, Zhao S, Ren J, Li Y, Zhao X, Sun J, et al
OphthalmologyPediatricsPediatric

Study type: Observational study: it can show a link, but not prove that one thing causes another.

Read the full paper free at PubMed Central ↗

Abstract

Objectives Retinopathy of prematurity (ROP) is a leading cause of blindness in children worldwide, requiring more efficient models to help predict treatment-requiring ROP. Our study aimed to develop a new prediction model for ROP occurrence and severity, named NLP-ROPCare, using natural language processing (NLP). Methods and analysis A retrospective observational study. Infants with a gestational age ≤32 weeks or birth weight ≤2000 g were collected in Guangdong Women and Children Hospital from 2013 to 2022, including 3922 preterm infants with 1106 patients with ROP. Four pretrained language models - BERT (Bidirectional Encoder Representations from Transformers), RoBERTa (Robustly Optimized BERT pretraining Approach), MC-BERT (language pre-training via a Meta Controller) and NEZHA (NEural contextualiZed representation for CHinese lAnguage understanding) - were used for development of NLP prediction models based on free-form texts in the admission notes. For comparison, two machine learning methods (Random Forest and Support Vector Machine) were used to construct prediction models based on 20 structured characteristics previously extracted from the admission notes. Performance evaluating metrics included accuracy, precision, recall, F1 score and area under the curve (AUC). Results The NLP prediction models for ROP occurrence outperformed those for severity. The NEZHA model demonstrated the highest accuracy in predicting ROP occurrence, achieving an F1 score of 89.35% and an AUC of 0.90. Its performance was also better than two machine learning models whose highest F1 was 78% with an AUC equal to 0.87. In addition, the F1 score of RoBERTa (78.44%) was slightly higher than that of NEZHA (77.81%) for predicting ROP severity, and the AUC of RoBERTa also achieved the highest 0.91. Conclusion The NLP-ROPCare combines language models NEZHA and RoBERTa to enable early prediction of ROP occurrence and severity based on unstructured free-form texts in the admission notes of preterm infants, highlighting its value in early prevention of ROP. Further external validation should be carried out to better adjust the model.

Abstract reproduced under the article’s CC BY NC licence.

More on this topic

AI in medicine

Subject terms

Female; Humans; Infant, Newborn; Male; China; Gestational Age; Infant, Premature; Machine Learning; Natural Language Processing; Retinopathy of Prematurity; Retrospective Studies

DOI: 10.1136/bmjophth-2025-002385 · PubMed: 41545231

Cite this article

Zhang Y, Zhao S, Ren J, et al. NLP-ROPCare: predicting retinopathy of prematurity with admission notes using natural language processing. BMJ Open Ophthalmol. 2026;11(1). doi:10.1136/bmjophth-2025-002385

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 · Br J Ophthalmol · Jul 22, 2026 · Pediatric · Ophthalmology, Pediatrics

Evaluation of the frequency, risk factors and outcomes of ROP in preterm infants with a BW >1500 g or GA >32 weeks in Turkiye (TR-ROP 2) and medicolegal fears: a Turkish Neonatal Society multicentre study

Research · Invest Ophthalmol Vis Sci · May 6, 2026 · Pediatric · Ophthalmology, Pediatrics

Risk Factors and Structural Impact of Macular Edema in Preterm Infants: An OCT-Based Cohort Study

Research · Invest Ophthalmol Vis Sci · Feb 3, 2026 · Pediatric · Ophthalmology, Pediatrics

Computational Vascular Development Model Explaining Incidence of Notch in Retinopathy of Prematurity With Ultra-Widefield Optical Coherence Tomography

Randomized trial n = 100 · JAMA Pediatr · Aug 3, 2026 · Pediatric · Pediatrics, Ophthalmology

Dexamethasone eye drops did not significantly reduce need for invasive ROP treatment

Research · JAMA Ophthalmol · May 28, 2026 · Pediatric · Ophthalmology, Pediatrics

Preterm Infant Stress During Noncontact Handheld Optical Coherence Tomography and Contact Fundus Photography