Introduction

Endogenous endophthalmitis (EE) is a less common but serious intraocular infection caused by the spread of infectious agents from distant foci of infection to the eye through the bloodstream [1]. The condition has a very poor visual prognosis, and many patients have underlying or related immunosuppression [2]. Endophthalmitis has a short clinical course, hence early diagnosis and treatment are critical for visual recovery. However, delayed onset and therapy are issues that must be addressed, and current diagnosis and treatment approaches must be improved. The progression of endophthalmitis is linked to underlying disorders and acute infection, and standard blood tests are accurate and fast.

The Systemic Immune Inflammation Index (SII) is a new predictive scale for immune inflammation based on neutrophil, lymphocyte, and platelet counts. It is a prognostic indicator and an independent predictor of a variety of diseases, such as cancer, coronary artery disease, autoimmune disease, and infectious disease [3,4,5,6]. The SII has been linked to primary open-angle glaucoma, keratoconus, and dry eye disease in the field of ophthalmology [7,8,9]. At the same time, the neutrophil–lymphocyte ratio (NLR), platelet-lymphocyte ratio (PLR), and monocyte-lymphocyte ratio (MLR) have been used as important metrics of systemic inflammation in many conditions, such as tumors, blood disorders, and chronic inflammation, with incidence and progression being important factors to consider in evaluation [10,11,12,13].

As a result, the SII, NLR, and PLR are used in conjunction with characteristics such as underlying disorders, infection risk, symptoms, and signs as evaluation factors. Models were built based on the relationship between the occurrence and progression of diseases. To better understand the predictors, we laid the groundwork for investigating factors in the evaluation of endogenous endophthalmitis.

Methods

Study design

The study included 64 patients without endophthalmitis with routine visits who were matched according to quantity and patients with EE who visited Hebei Provincial Eye Hospital in the last ten years. Patients with a history of recent ophthalmic surgery (within 1 year of the study), a history of ocular trauma, and primary eye infection were excluded (e.g., blister infection or keratitis). This study was approved by the Ethics Committee of Hebei Provincial Eye Hospital (2022LW01) and conformed to the principles of the Declaration of Helsinki. All subjects signed informed consent forms.

To assess ocular conditions, all eyes were tested for visual acuity and performing a fundus examination by using a slit lamp microscope. Underlying disease (hypertension, diabetes, tuberculosis), infection risk (liver abscess, urinary tract infection, and recent abdominal surgery), signs and symptoms, complete blood counts (neutrophil count, lymphocyte count, monocyte count, platelet count, red blood cell distribution width), and SII, NLR, PLR, and MLR values were some of the evaluation parameters in this study [9]. All patients with endophthalmitis were followed up and divided into two groups based on their visual acuity prognosis: Group A had a good visual prognosis (visual acuity > 1.30 LogMAR), Group B had a poor visual prognosis (visual acuity < 1.30 LogMAR or a 10° visual field surrounding blindness and eye enucleation with central gaze). The control group included patients without endophthalmitis who had routine visits [14]. The LogMAR visual acuity chart was used to convert the visual acuity findings. In individuals with binocular illness, a follow-up analysis was performed based on the state of the heavier eye.

Statistical analysis

SPSS 26.0 was used for all analyses. The results were checked for a normal distribution by the Shapiro‒Wilk test. Nonparametric Tests Quantitative variables are described as medians. The chi-square test or Fisher's exact test was used to compare categorical variables. Continuous independent variables were subjected to principal component analysis. Ordinal logistic regression analysis and a parallelism test were used to examine the relevant independent variables.

Results

Characteristics of patients with endophthalmitis

There were 22 patients and 25 eyes with endogenous endophthalmitis, accounting for 3.31% of all endophthalmitis cases. There were 9 men and 13 women in this group. The average age was 53 years (30, 66). The mean time to the start of the study was 6 (4, 10) days, and all patients complained of diminished visual acuity. There were four cases of diabetes, six cases of hypertension, three cases of pulmonary tuberculosis, and two cases of recent abdominal surgery among the patients.

Among the gram-positive pathogenic bacteria were 1 case of Staphylococcus aureus, 1 case of Micrococcus luteus, 1 case of Staphylococcus hemolyticus, 1 case of Staphylococcus epidermidis, and 1 case of Bacillus cereus; among the gram-negative bacteria were 1 case of Klebsiella and 1 case of Serratia marcescens; and among the fungi were 1 case of Mucor, 1 case of Candida, and 1 case of Fusarium oxysporum. Vitreous opacity was seen in all 25 eyes, with corneal edema in 10 eyes, hyphema in 9 eyes, lens opacity in 12 eyes, and retinal detachment in 8 eyes. Nine patients underwent vitreous injection, 5 patients underwent vitrectomy and vitreous injection, 1 patient underwent lens resection with vitrectomy and vitreous injection, 1 patient underwent lens resection, 1 patient underwent enucleation, 1 patient underwent evisceration, and 1 patient had given up treatment. The study follow-up period ranged from 6 months to 8 years. The vision of the damaged eye was examined for any changes. Four of the 22 patients could not be followed up, and the data of patients who could not be followed up were recorded according to their discharge vision. Three patients died of illness, using the latest follow-up as the time point for efficacy judgment. The final visual acuity ranged from 1.22 (0.6, 2.7) LogMAR to 2.7 (1.55, 2.7) LogMAR (P = 0.008) (Table 1) (Fig. 1).

Table 1 Demographic information of the patients
Fig.1
figure 1

shows the changes of visual acuity at admission and final follow-up in patients with endogenous endophthalmitis: the visual acuity of patients with endogenous endophthalmitis changed significantly after treatment compared with before treatment (P = 0.008). The number of the affected eye on the abscissa and the visual acuity on the ordinate

Patient characteristics linked to the development and progression of endophthalmitis

There were 64 patients in the control group; 9 and 13 patients with endogenous endophthalmitis were included in Group A and Group B, respectively. In terms of onset time, sex, age, diabetes, hypertension, pulmonary tuberculosis, liver abscess, urinary tract infection, abdominal surgery history, corneal edema, hyphema, lens opacity, retinal detachment, and so on, the control group, Group A, and Group B had significantly different expression patterns (all p < 0.05) (Table 2).

Table 2 Comparison of characteristics of patients with group normal, A and B

Analysis of blood cells associated with the development and progression of endophthalmitis

Endophthalmitis patients had significantly higher neutrophil counts, monocyte counts, PLT counts, and SII, NLR, PLR, and MLR values than controls (p < 0.001; p < 0.001; p < 0.001; p < 0.001; p < 0.001; p < 0.01; p < 0.001). In patients with endophthalmitis in Group B, the neutrophil count, monocyte count, PLT count, and SII, NLR, and MLR values were all considerably higher (p < 0.001; p < 0.001; p < 0.01; p < 0.001; p < 0.001; p < 0.01) (Table 3).

Table 3 Blood analysis of participants

Principle component analysis

The neutrophil count, lymphocyte count, platelet count, monocyte count, red blood cell distribution, age, and onset time were all subjected to principal component analysis (KMO > 0.6, P < 0.05). The cumulative contribution rate for the 3 main components was 73.90%. The first principal component, Z1, had a higher factor load in the platelet count, monocyte count, and age than the other components, and it was thought that this component primarily reflected the inflammatory condition. The factor load of the second principal component, Z2, was larger in the neutrophil and lymphocyte count, and it was believed that this principal component mainly reflected the changes in infection-related indices. In terms of the red blood cell distribution and onset time, the third major component, Z3, had a higher factor load. This main component was thought to primarily reflect information on these factors (Table 4). However, it is worth noting that as shown in Table 4, although the PCA principal components have a certain degree of discrimination in Z1, the discrimination is not very good, so there is an overlap between Group A and the control group rather than Group B (Fig. S1) (Table S1).

Table 4 Factor loading matrix

Ordinal logistic regression analysis evaluation

The association among the SII, NLR, PLR, and MLR values, reduced dimension primary components and endophthalmitis development was investigated. For sex, age, onset time, diabetes, hypertension, monocyte count, red blood cell distribution, and SII, NLR, PLR, and MLR values, compared with control, logistic regression analysis was used. Ordinal logistic regression analysis was performed on the dimension-reduced principle components, as well as sex, diabetes, and hypertension. The cumulative probability model was statistically significant (P < 0.05). The model built using the SII to evaluate the occurrence and development of endophthalmitis was deemed the best when the AIC value (73.34, 75.90, 79.15, 78.73, 104.77) of the probability model involving SII, NLR, PLR, and MLR values and the principal components was compared to the P value (0.02, 0.04, 0.21, 0.16, 0) of each index. The OR values and 95% confidence intervals of the SII and onset time in this model were 1.002 (1–1.003) and 0.911 (0.833–0.996), respectively. This result indicated that when the patient's condition worsened by one grade, the SII increased by 1.002 times, and the onset time increased by 0.91 times. The SII and onset time had a significant effect on the occurrence of endophthalmitis (Table 5).

Table 5 Ordinal logistic regression of potential biomarkers in relation to the occurrence and progression of EE

Discussion

Endogenous endophthalmitis, which accounts for 2% to 15% of all endophthalmitis cases, is a dangerous intraocular infection caused by the hematogenous spread of bacterial germs [15,16,17]. Diabetes, cancer, urinary tract infections, intravenous drug misuse, an immunocompromised status, and other potentially life-threatening systemic sources of infection or risk factors for infection are linked to 56 percent to 68 percent of endophthalmitis cases [15, 18, 19]. Endogenous endophthalmitis can be caused by bacteria or fungi, mainly gram-positive bacteria such as Staphylococcus and Streptococcus, gram-negative bacteria such as Klebsiella [18, 19], and fungi such as Candida [20]. In this study, only some patients had positive aqueous humor cultures, mainly for gram-positive bacteria and fungi. Although endophthalmitis is closely related to bacteria and fungi, the positive intraocular culture rate in patients with endogenous endophthalmitis is usually low, at only 14–43% [20]. Given this low diagnostic rate, physicians generally base treatment on their clinical experience [20]. However, it was not comprehensive to focus on a certain index to reflect the disease.

In addition, when comparing the visual acuity of patients before and after therapy, it was discovered that the improvement in visual acuity was lower in patients with endophthalmitis after treatment, which was not what was expected. This finding is in line with earlier research on endophthalmitis and visual acuity [21]. The reason for consideration is that the current diagnosis and treatment methods have difficulty controlling the progression of endophthalmitis early. The discovery of more illness-influencing factors will aid in the identification of disease targets for early diagnosis and treatment. As a result, in this study, we attempted to use some biomarkers, such as the SII, NLR, and PLR, as well as analyze the clinical characteristics of patients to determine which factors are linked with the progression of endophthalmitis [22].

The SII is a good biomarker of the local immune response and systemic inflammation, and it can be used to predict outcomes. It has been confirmed as a good biomarker for a variety of tumors, such as hepatocellular carcinoma, esophageal cancer, colorectal cancer and small cell lung cancer [23,24,25]. There were substantial differences between the endophthalmitis patients in Group B and individuals in the control group in terms of the neutrophil count, the monocyte count, the PLT count and SII, NLR, PLR and MLR values. Endophthalmitis patients also exhibited considerably greater neutrophil counts, monocyte counts, PLT counts, and SII, NLR, PLR, and MLR values than individuals in the control group, indicating that inflammatory markers accurately depicted the inflammatory response in the group with disease and may be utilized as a diagnostic tool. Inflammatory markers are some of the indications used to help diagnose the course of inflammation.

However, it was not comprehensive to focus on a certain index to reflect the disease. Therefore, a probability model was further constructed with variables such as sex, age, onset time, diabetes, hypertension, monocyte count, and red blood cell distribution. It was found that the SII and sex, age, onset time, diabetes, hypertension, monocyte count, and red blood cell distribution were the most accurate logistic models. Therefore, it is believed that the SII and clinical characteristics are related to the occurrence of endogenous endophthalmitis, which is the most suitable for evaluating the possibility of the occurrence and development of endogenous endophthalmitis in patients. Furthermore, both the SII and onset time have an impact on endophthalmitis diagnosis. The SII value rises exponentially as the severity of endophthalmitis increases.

The SII is better as an evaluation index, and whether it is related to more fusion indices and whether multiple indices are more conducive to evaluating disease models needs to be explored. Therefore, neutrophil, lymphocyte, platelet, and monocyte counts, red blood cell distribution, age, and onset time were all subjected to principal component analysis. After dimensionality reduction, the comprehensive score was combined with characteristics including sex, diabetes, and hypertension to create a probability model. The model's accuracy was lower than that of the SII probability model. As a result, the SII is believed to be a better marker for early diagnosis and therapy. The structure of the factor loading matrix generated from the principal component analysis revealed that the endogenous endophthalmitis principal components had a specific orientation in representing inflammation in vivo, which could lead to specific ideas for further research and study of inflammatory markers.

There were 9 males and 13 females in this study, and the sex and age distributions were significantly different. The shorter mean time to onset is consistent with other literature [18]. The patients had diabetes, hypertension, pulmonary TB, recent abdominal surgery, liver abscess, urinary tract stones, long-term hormone use, and other systemic infection sources and risk factors. Endogenous endophthalmitis is commonly caused by diabetes and cancer, and liver abscesses are a major source of infection in Asian countries [19, 20, 26]. Diabetes is thought to affect the blood‒retinal barrier by altering blood vessel structure [15]. Pathogens pass the blood-eye barrier, fight off the body's immune system, and grow in the eye, causing endogenous endophthalmitis [20]. Only a few pathogens in the vitreous cavity can cause endophthalmitis because the blood-eye barrier is well immunized in most cases. In unprovoked young adults, however, more virulent bacteria such as Staphylococcus aureus can disrupt the retinal barrier and cause endogenous endophthalmitis [27].

In this study, 9 patients recovered well, and the treatment methods included vitrectomy and intravitreal injection. Thirteen patients had poor recovery, and the treatment methods included vitrectomy, intravitreal injection, lens resection, and local anti-inflammatory treatment. Relevant studies suggest that vitrectomy can improve the visual acuity of patients [28]. This study discovered no significant differences, which were attributed to the onset time, the degree of inflammation progression, bacterial invasiveness, and the small number of positive samples. There are some drawbacks to this study. First, because it was a retrospective study, this study may be prone to selection bias, as well as detection and analytical bias. Second, the sample size of the group with endogenous endophthalmitis was modest, and no significant variations in systemic features, such as diabetes and hypertension, were detected during the illness course. Therefore, patients with the same surgical procedure were limited, and no grou**s were compared.

Endophthalmitis is influenced by a variety of factors, including underlying disorders and infection risk, and has distinct symptoms and signs, although it is difficult to diagnose and has a poor prognosis. Alterations in the inflammatory state in patients with endophthalmitis were observed by analyzing the neutrophil, monocyte, and PLT counts and the SII, NLR, PLR, and MLR values. The SII was found to be a better predictor of endophthalmitis progression, laying a foundation for further exploration of diagnostic indicators of endophthalmitis and the prediction of disease progression.