Related Experiment Video
Updated: Sep 1, 2026

Assessing Early Stage Open-Angle Glaucoma in Patients by Isolated-Check Visual Evoked Potential
Published on: May 25, 2020
Text Processing for Detection of Fungal Ocular Involvement in Critical Care Patients: Cross-Sectional Study
Sally L Baxter1,2, Adam R Klie3, Bharanidharan Radha Saseendrakumar4
1Viterbi Family Department of Ophthalmology and Shiley Eye Institute, University of California San Diego, La Jolla, CA, United States.
Background:
Fungal ocular involvement can develop in patients with fungal bloodstream infections and can be vision-threatening. Ocular involvement has become less common in the current era of improved antifungal therapies. Retrospectively determining the prevalence of fungal ocular involvement is important for informing clinical guidelines, such as the need for routine ophthalmologic consultations. However, manual retrospective record review to detect cases is time-consuming.
Objective:
This study aimed to determine the prevalence of fungal ocular involvement in a critical care database using both structured and unstructured electronic health record (EHR) data.
Methods:
We queried microbiology data from 46,467 critical care patients over 12 years (2000-2012) from the Medical Information Mart for Intensive Care III (MIMIC-III) to identify 265 patients with culture-proven fungemia. For each fungemic patient, demographic data, fungal species present in blood culture, and risk factors for fungemia (eg, presence of indwelling catheters, recent major surgery, diabetes, immunosuppressed status) were ascertained. All structured diagnosis codes and free-text narrative notes associated with each patient's hospitalization were also extracted. Screening for fungal endophthalmitis was performed using two approaches: (1) by querying a wide array of eye- and vision-related diagnosis codes, and (2) by utilizing a custom regular expression pipeline to identify and collate relevant text matches pertaining to fungal ocular involvement. Both approaches were validated using manual record review. The main outcome measure was the documentation of any fungal ocular involvement.
Results:
In total, 265 patients had culture-proven fungemia, with Candida albicans (n=114, 43%) and Candida glabrata (n=74, 28%) being the most common fungal species in blood culture. The in-hospital mortality rate was 121 (46%). In total, 7 patients were identified as having eye- or vision-related diagnosis codes, none of whom had fungal endophthalmitis based on record review. There were 26,830 free-text narrative notes associated with these 265 patients. A regular expression pipeline based on relevant terms yielded possible matches in 683 notes from 108 patients. Subsequent manual record review again demonstrated that no patients had fungal ocular involvement. Therefore, the prevalence of fungal ocular involvement in this cohort was 0%.
Conclusions:
MIMIC-III contained no cases of ocular involvement among fungemic patients, consistent with prior studies reporting low rates of ocular involvement in fungemia. This study demonstrates an application of natural language processing to expedite the review of narrative notes. This approach is highly relevant for ophthalmology, where diagnoses are often based on physical examination findings that are documented within clinical notes.
Insights
This study found no cases of fungal ocular involvement in critically ill patients with fungemia, despite using advanced electronic health record analysis. This highlights the low prevalence of this vision-threatening complication, even with improved antifungal treatments.
Area of Science:
- Ophthalmology
- Infectious Diseases
- Critical Care Medicine
Background:
- Fungal ocular involvement, a vision-threatening complication of fungemia, has become less common due to improved antifungal therapies.
- Determining the prevalence of fungal ocular involvement is crucial for clinical guidelines, but manual record review is time-consuming.
Purpose of the Study:
- To determine the prevalence of fungal ocular involvement in critically ill patients using both structured and unstructured electronic health record (EHR) data.
- To evaluate the utility of natural language processing (NLP) for identifying cases within EHRs.
Main Methods:
- Retrospective analysis of 46,467 critical care patients from the MIMIC-III database (2000-2012).
- Identified 265 patients with culture-proven fungemia and extracted demographic data, fungal species, and risk factors.
- Screened for fungal endophthalmitis using diagnosis codes and an NLP pipeline on free-text notes, validated by manual review.
Main Results:
- Culture-proven fungemia was present in 265 patients; Candida albicans and Candida glabrata were the most common species.
- Manual review confirmed 0% prevalence of fungal ocular involvement in this cohort.
- NLP identified potential cases in 108 patients, but manual validation confirmed none had ocular involvement.
Conclusions:
- The prevalence of fungal ocular involvement in fungemic patients within the MIMIC-III database was 0%.
- This study validates the low incidence of fungal ocular involvement, even in a large critical care cohort.
- Demonstrates the successful application of NLP for efficient review of clinical notes in ophthalmology research.

