Using Natural Language Processing to Identify Different Lens Pathology in Electronic Health Records. American journal of ophthalmology Stein, J. D., Zhou, Y., Andrews, C. A., Kim, J. E., Addis, V., Bixler, J., Grove, N., McMillan, B., Munir, S. Z., Pershing, S., Schultz, J. S., Stagg, B. C., Wang, S. Y., Woreta, F. 2024

Abstract

Nearly all published ophthalmology-related Big Data studies rely exclusively upon International Classification of Diseases (ICD) billing codes to identify patients with particular ocular conditions. However, inaccurate or non-specific codes may be used. We assessed whether natural language processing (NLP), as an alternative approach, could more accurately identify lens pathology.Database study comparing the accuracy of NLP versus ICD billing codes to properly identify lens pathology.We developed an NLP algorithm capable of searching free-text lens exam data in the electronic health record (EHR) to identify type(s) of cataract present, cataract density, presence of intraocular lenses, and other lens pathology. We applied our algorithm to 17.5 million lens exam records in the Sight Outcomes Research Collaborative (SOURCE) repository. We selected 4314 unique lens-exam entries and asked 11 clinicians to assess whether all pathology present in the entries had been correctly identified in the NLP algorithm output. The algorithm's sensitivity at accurately identifying lens pathology was compared with that of the ICD codes.The NLP algorithm correctly identified all lens pathology present in 4104 of the 4314 lens-exam entries (95.1%). For less common lens pathology, algorithm findings were corroborated by reviewing clinicians for 100% of mentions of pseudoexfoliation material and 99.7% for phimosis, subluxation, and synechia. Sensitivity at identifying lens pathology was much better for NLP (0.98 (0.96-0.99) than for billing codes (0.49 (0.46-0.53)).Our NLP algorithm identifies and classifies lens abnormalities routinely documented by eye-care professionals with high accuracy. Such algorithms will help researchers to properly identify and classify ocular pathology, broadening the scope of feasible research using real-world data.

View details for DOI 10.1016/j.ajo.2024.01.030

View details for PubMedID 38296152