Improving the Identification of Diabetic Retinopathy and Related Conditions in the Electronic Health Record Using Natural Language Processing Methods.
Harrigian Keith, Tran Diep, Tang Tina, Gonzales Anthony, Nagy Paul, Kharrazi Hadi, Dredze Mark, Cai Cindy X
AI Summary
Studying DR identification, an NLP system combining free-text notes and ICD codes significantly improved accuracy for detecting diabetic retinopathy and related conditions, offering better clinical phenotyping.
Abstract
Purpose
To compare the performance of 3 phenotyping methods in identifying diabetic retinopathy (DR) and related clinical conditions.
Design
Three phenotyping methods were used to identify clinical conditions including unspecified DR, nonproliferative DR (NPDR) (mild, moderate, severe), consolidated NPDR (unspecified DR or any NPDR), proliferative DR, diabetic macular edema (DME), vitreous hemorrhage, retinal detachment (RD) (tractional RD or combined tractional and rhegmatogenous RD), and neovascular glaucoma (NVG). The first method used only International Classification of Diseases, 10th Revision (ICD-10) diagnosis codes ( ICD-10 Lookup System ). The next 2 methods used a Bidirectional Encoder Representations from Transformers with a dense Multilayer Perceptron output layer natural language processing (NLP) framework. The NLP framework was applied either to free-text of provider notes ( Text-Only NLP System ) or both free-text and ICD-10 diagnosis codes ( Text-and-International Classification of Diseases [ ICD ] NLP System ).
Subjects
Adults ≥18 years with diabetes mellitus seen at the Wilmer Eye Institute.
Methods
We compared the performance of the 3 phenotyping methods in identifying the DR related conditions with gold standard chart review. We also compared the estimated disease prevalence using each method.
Main outcome measures
Performance of each method was reported as the macro F1 score. The agreement between the methods was calculated using the kappa statistic. Prevalence estimates were also calculated for each method.
Results
A total of 91 097 patients and 692 486 office visits were included in the study. Compared with the gold standard, the Text-and-ICD NLP System had the highest F1 score for most clinical conditions (range 0.39-0.64). The agreement between the ICD-10 Lookup System and Text-Only NLP System varied (kappa of 0.21-0.81). The prevalence of DR and related conditions ranged from 1.1% for NVG to 17.9% for DME (using the Text-and-ICD NLP System ).
Conclusions
The prevalence of DR and related conditions varied significantly depending on the methodology of identifying cases. The best performing phenotyping method was the Text-and-ICD NLP System that used information in both diagnosis codes as well as free-text notes.
Financial disclosures: Proprietary or commercial disclosure may be found in the Footnotes and Disclosures at the end of this article.
Shields Classification
Key Concepts4
The Text-and-International Classification of Diseases (ICD) natural language processing (NLP) system, which utilized both free-text notes and ICD-10 diagnosis codes, had the highest F1 score for most clinical conditions related to diabetic retinopathy (DR), ranging from 0.39 to 0.64, when compared to a gold standard chart review.
The agreement between the ICD-10 Lookup System and the Text-Only NLP System for identifying diabetic retinopathy (DR) and related conditions varied, with kappa statistics ranging from 0.21 to 0.81.
The prevalence of diabetic retinopathy (DR) and related conditions, including neovascular glaucoma (NVG) and diabetic macular edema (DME), ranged from 1.1% for NVG to 17.9% for DME when identified using the Text-and-International Classification of Diseases (ICD) natural language processing (NLP) system.
The prevalence of diabetic retinopathy (DR) and related conditions varied significantly depending on the methodology used for identifying cases.
Related Articles5
Effect of ICD-9 to ICD-10 Transition on Accuracy of Codes for Stage of Diabetic Retinopathy and Related Complications: Results from the CODER Study.
Retrospective Chart ReviewChorioretinal lesions in nonfatal cases of West Nile virus infection.
Case ReportElectrophysiological evaluation and visual outcome in patients with central retinal vein occlusion, primary open-angle glaucoma and neovascular glaucoma.
Retrospective StudyHigh prevalence of herpes simplex virus type 2 in acute retinal necrosis syndrome associated with herpes simplex virus in Japan.
Observational StudyInfluence of diabetes and diabetic retinopathy on the performance of Heidelberg retina tomography II for diagnosis of glaucoma.
Cross-Sectional StudyIs this article assigned to the wrong chapter(s)? Let us know.