Introduction

The infection produced by SARS-COV2 represents a public health burden. To date, the global pandemic has caused 636,440,663 confirmed cases, including 6,606,624 deaths1. Although coinfections are not as common as those in other viral respiratory pneumonias, COVID-19 have been also described to suffer bacterial coinfections2.

Fungal coinfection is a well-known cause of complication in respiratory viral infections., but the incidence shows huge variations. For example, the incidence of Aspergillus-influenza virus coinfection ranges from 7 and 32%3,4,5. Before COVID-19, fungal infections associated with influenza pneumonia have been described to cause an increase in mortality and severity, with invasive pulmonary aspergillosis being the most common agent6. Additionally, previous coronavirus outbreaks of severe acute respiratory syndrome (SARS), patients with fungal coinfections also have higher mortality in both general (14.80–27%) and critically ill patients (21.90–33%)7. Therefore, the delay in diagnosis and treatment could be a determinant for survival4. Until now, the information known about fungal infections in COVID-19 patients is limited. In a prospective study carried out by Garcia-Vidal in Spain including 989 patients, fungal coinfection was observed in 0.70% of cases8. A meta-analysis found an incidence of 4% in fungal superinfections in COVID-19 patients9. Fungal superinfections are more frequent in COVID-19 patients admitted to the ICU, especially in those who are under mechanical ventilation2. Critical ill patients have increased proinflammatory and anti-inflammatory cytokines, as well as a decreased number of CD4 + and CD8 + lymphocyte counts10,11, that increase the risk of invasive fungal infection. The most common fungal coinfections in COVID-19 patients are pulmonary aspergillosis, invasive candidiasis, and mucormycosis8,12,13,14.

Different risk factors have been associated with fungal infections in patients with COVID-19, such as admission to the ICU, length of stay, co-morbidities like diabetes mellitus and use of high doses of steroids15. Early appropriate treatment in patients with risk factors is of importance to reduce the unnecessary use of antifungals, therefore reducing antifungal resistance and minimizing costs. Given that there are not many studies on fungal coinfections in patients with COVID-19, and the variability of the results, we propose to carry out a nationwide study that groups all COVID-19 patients based on the National Surveillance System for Hospital Data. The aim of the study was to describe the epidemiology and risk factors of fungal co-infections in COVID-19 hospitalized patients.

Methods

Study design and data source

A nationwide population-based retrospective study was performed in patients with diagnosis confirmed of COVID-19 during the first two years of the pandemic, 2020 and 2021 in Spain. The data was obtained from the records of the Minimum Basic Data Set (MBDS) of the National System of Hospital Data Surveillance in Spain, provided by the Ministry of Health, Consumer Affairs, and Social Welfare, published annually, published with a two-year lag. The MDBS is a clinical and administrative database, with an estimated coverage of 99.5% of hospital discharges registered in both public and private hospitals in Spain16,17. It comprises 20 diagnoses, each one indicating if the diagnosis was present on admission, and 20 therapeutic procedures according to the International Classification of Diseases 10th Revision, Clinical Modification (ICD-10-CM)18. The MDBS provides encrypted patient identification, sex, age, dates of hospital admission and discharge, information on intensive care unit (ICU) admission, length of stay in the ICU, diagnoses, and procedures during hospitalization, as well as the outcome at discharge. The data were handled with utmost confidentiality in strict compliance with Spanish legislation. It is important to point that when working with CMBD data, not all the clinical data that would be necessary are available. This study was approved by the CEIm Area de Salud Valladolid Este Ethics Review Board under the code PI 22–2855, which waived the informed consent requirement given the anonymous character of the data used in the study. All methods were performed in accordance with the relevant guidelines and regulations.

Study variables

We selected all hospitalized patients in Spanish public and private hospitals between January 1, 2020, and December 31, 2021, with a confirmed primary diagnosis of COVID-19 (ICD-10-CM codes B97.29 and U07.119. Additionally, we included all hospitalized patients with ICD-10-CM codes for fungal infections (Supplementary Table 1), acute organ dysfunction (Supplementary Table 2), and site of infection (Supplementary Table 3). The codes were adapted from Shen et al.20, Angus et al.21, and Dombovskiy et al.22.

The patients in our study were divided into two groups based on the presence of fungal coinfection and the absence of fungal coinfection (FI and NFI group, respectively). We studied the impact of fungal coinfections in hospitalized patients with COVID-19, as well as hospital and ICU mortality. In addition to collecting clinical information from patients admitted during this period, we constructed a logistic regression model to identify risk factors associated with developing a fungal infection.

Model development and statistical analysis

The results were reported as median (interquartile range) for continuous variables and as percentages and frequencies for categorical variables. To compare continuous variables, the t-test or Mann–Whitney U test was used, and for comparing categorical variables, the chi-square test or Fisher's exact test was used, as required. Analyses were conducted to identify variables correlated with fungal infection.

Subsequently, a multivariate logistic regression analysis was performed using the backward stepwise Wald method, including variables that showed a p value < 0.1 in the previous analysis. Two-tailed tests were conducted, and Odds Ratios (OR) were reported with a 95% confidence interval and corresponding p values. A p value ≤ 0.05 was considered statistically significant. Due to the large number of potential risk factors, collinearity between explanatory variables was evaluated.

The statistical analysis for both studies was performed using Python 3.9 and SPSS Statistics version 27.0 (IBM Corp, Armonk, New York). All tests conducted were two-tailed, and p values < 0.05 were considered statistically significant.

Results

Patient cohorts

We identified a total of 410,708 patients with a primary diagnosis of COVID-19 and fungal infection non present on admission upon admission to Spanish public and/or private hospitals from January 1, 2020, to December 31, 2021. Among these, 5796 presented fungal infections during their hospitalization (1.41%) (Fig. 1).

Figure 1
figure 1

Study flowchart of patients with primary diagnosis of COVID-19 admitted in Spain from January 1, 2020, to December 31, 2021.

Fungal infection was more frequently present in men (62.84% in FI group vs. 57.19% in NFI group), patients admitted to the ICU (68% in FI group vs. 10.13% in NFI group), patients with higher hospital mortality (34.54% in FI group vs. 14.44% in NFI group), and ICU mortality (41.11% in FI group vs. 26.77% in NFI group), as well as a higher need for invasive ventilatory support (67.41% in FI group vs. 6.61% in NFI group) and non-invasive ventilatory support (26.14% in FI group vs. 7.46% in NFI group) compared to those without concurrent fungal infection. Additionally, patients admitted to the hospital with fungal infection had a longer higher length of stay (LoS) (43.94 days in FI group vs. 10.59 days in NFI group), as well as in the ICU (36.05 days in FI vs. 15.86 days in NFI group), compared to those without fungal infection. Regarding comorbidities, those with fungal infection more frequently had diabetes mellitus (20.53% in FI group vs. 19.61% in NFI group), obesity (16.13% in FI group vs. 11.16% in NFI group), Chronic obstructive pulmonary disease (CPOD) (15.91% in FI group vs. 13.84% in NFI group), and cardiovascular diseases (27.35% in FI group vs. 25.13% in NFI group). Furthermore, patients in the FI group more frequently developed sepsis (62.47% in FI group vs. 7.81% in NFI group), with dysfunction of one organ (36.18% in FI group vs. 3.79% in NFI group), two organs (17.18% in FI group vs. 1.69% in NFI group), and more than two organs (7% in FI group vs. 0.61% in NFI group). The number of organs with failure was higher in the FI group (1.4 in FI group vs. 0.72 in NFI group). The organ most frequently affected by failure in the FI group was the respiratory system (89.61% in FI group vs. 45.35%), followed by the hematological system (13.34% FI group vs. 5.3% in NFI group) (Table 1).

Table 1 Characteristics of patients admitted in Spain during the years 2020 and 2021 due to SARS-CoV-2 infection, comparing fungal infection (FI) and non-fungal infection (NFI) groups.

The respiratory tract was the most frequent site of infection in both patient groups (97.43% in FI vs. 86.34% in NFI). In the FI group, genitourinary infections were also predominant (40.1%) (Table 2). Regarding the profile of fungal infections, candidiasis was the most frequent coinfection, with mucocutaneous candidiasis being the most common (44.65%), followed by invasive candidiasis (18.65%). Coinfections caused by Aspergillus spp. also stood out, with an incidence of 21.91% (Table 2).

Table 2 Site of infection and fungus family in patients with SARS-CoV-2 infection, comparing comparing fungal infection (FI) and non-fungal infection (NFI) groups.

Risk factors of fungal coinfection

Sepsis increases the likelihood of developing a fungal infection by 10.094 times (adjusted OR 10.094, 95% CI 9.478–10.748) (Supplementary Table 4). Additionally, undergoing surgery increases the odds of fungal infection by 8.793 times (adjusted OR 8.793, 95% CI 8.220–9.406). Male gender has a 1.004 times higher probability of fungal infection than females (adjusted OR 1.004, 95% CI 1.002–1.006). The presence of COPD raises the risk by 1.286 times (adjusted OR 1.286, 95% CI 1.191–1.388). Lastly, being obese increases the risk of fungal infection by 1.338 times (adjusted OR 1.338, 95% CI 1.237–1.446) (Supplementary Table 4). The ROC curve of fungal infection group (receiver operating characteristic curve) has an area under the curve (AUC) of 0.844 (95% CI 0.838–0.850) (Fig. 2A).

Figure 2
figure 2

(A) The area under the curve of the fungal infection group was 0.844 (95% CI 0.838–0.850). (B) The AUC of the invasive candidiasis infection was 0.907 (95% CI 0.895–0.918). (C) The AUC of the invasive aspergillus infection was 0.860 (95% CI 0.847–0.872).

Infections caused by invasive candidiasis: epidemiology and risk factors

We conducted an analysis of the characteristics of patients who presented with invase candidiasis (CI group) and compared them with patients who did not have candidiasis (NCI group) (Supplementary table 5).

The presence of sepsis increases the probability of developing invasive candidiasis by 13.882 times (adjusted OR 13.882, 95% CI 11.818–16.306). Additionally, undergoing surgery increases the odds by 10.288 times (adjusted OR 10.288, 95% CI 8.914–11.874), and being male increases it by 1.506 times (adjusted OR 1.506, 95% CI 1.312–1.727) (Supplementary Table 6). The ROC curve of fungal infection group (receiver operating characteristic curve) has an area under the curve (AUC) of 0.907 (95% CI 0.895–0.918) (Fig. 2B).

Infections caused by invasive aspergillosis: epidemiology and risk factors

Subsequently, we conducted an analysis of the characteristics of patients who presented with Aspergillosis (AI group) and compared them with patients who did not have Aspergillosis (NAI group) (Supplementary table 7).

Surgery increases the probability of developing Aspergillus infection by 10.658 times (adjusted OR 10.658, 95% CI 9.285 to 12.235), while the presence of sepsis increases the odds of developing the infection by 6.476 times (adjusted OR 6.476, 95% CI 5.642–7.432). Male sex has a 1.648 times higher probability of fungal infection than females (adjusted OR 1.648, 95% CI 1.451 to 1.871). The presence of COPD raises the risk by 1.466 times (adjusted OR 1.466, 95% CI 1.265 to 1.698), and obesity shows an increase of 1.428 times (adjusted OR 1.428, 95% CI 1.230 to 1.659). Lastly, having cancer increases the risk by 1.299 times (adjusted OR 1.299, 95% CI 1.018 to 1.657). (Supplementary Table 8). The ROC curve of fungal infection group (receiver operating characteristic curve) has an area under the curve (AUC) of 0.860 (95% CI 0.847–0.872) (Fig. 2C).

Discussion

This is a retrospective study of COVID-19 hospitalized patients in Spain during 2020 and 2021 with a nosocomial fungal coinfection. To the best of our knowledge, this is the first study analyzing fungal coinfection at a national level in hospitalized patients with COVID-19 in Spanish population. We found that (i) The incidence of fungal coinfections in patients with COVID-19 was 1.41%, (ii) Patients with fungal coinfection had a longer general hospital stay, higher ICU admission, mortality and stay, as well as and a greater need for mechanical ventilation, (iii) The respiratory tract was the most frequent site of infection, followed by the genitourinary tract, (iv) Risk factors for the development of fungal infection included surgery, sepsis, age, male sex, obesity and chronic obstructive pulmonary disease.

Previous studies analyzing the association between fungal coinfections and SARS-CoV-2, reported highly variable incidences, ranging from 0.70% in a study by García-Vidal8 to 26.70% in another study by White23. In our study, the incidence found was 1.41%, which is within the lower range of the previously described incidences. Estimating the coinfection rate in all COVID-19 cases is a challenging task as not all patients undergo sequential testing for coinfection. Also, this disparity could be attributed to the different methodologies used in these studies (case series, retrospective studies, prospective studies) with varying numbers of patients, and conducted in different populations.

Critically ill patients have a higher risk of developing coinfections. These patients exhibit increased levels of pro-inflammatory and anti-inflammatory markers, elevated cytokine levels, and reduced CD4 + and CD8 + lymphocyte levels10,24. These conditions, along with invasive procedures performed in the ICU25, and prolonged hospital stays26, increased the risk of developing fungal coinfections. In our study, patients with fungal coinfection had longer hospital stay, higher risk of death, increased ICU admission, and longer duration of ICU stay.

Furthermore, the most commonly fungal microorganisms found in the population studied, were Candida and Aspergillus that have been previously described2,27. In our cohort, the most frequent site of infection was the respiratory tract. This could be explained by the destruction of the respiratory tract epithelium and suppression of the immune response in the site after viral infections. Also, the antibiotic treatment and the microbiota alteration, may lead to the emergence of fungal infection13. The second most frequent site of infection was the genitourinary tract. This could be attributed to the presence of risk factors in COVID-19 patients that promote the occurrence of fungal infections in the urinary tract, such as renal failure, advanced age, diabetes, cancer, and immune system disorders28.

Multiple factors have been associated with the risk of fungal coinfection in COVID-19 patients, such as admission to the ICU, high-dose steroid administration, presence of diabetes mellitus, COPD, among other15,29,30. In our study, the main risk factors described were surgery, sepsis, obesity, advanced age, men gender, and COPD.

Surgery, especially abdominal surgery, causes damage to the body's natural barrier, which can favor gastrointestinal translocation and lead to Candida infection, as Candida often colonizes the intestines31. This risk factor has not been described in previous studies conducted in COVID-19 patient groups, but in the literature, different risk assessment scales analyze the main risk factors for developing invasive fungal infection in non-COVID-19 patients, such as the scale developed by León et al.32, where surgery was identified as a significant risk factor, consistent with our study findings. This is the first time that surgery has been described as a risk factor for the development of aspergillosis in patients with SARS-CoV-2. The presence of surgery as a risk factor for the development of aspergillosis in patients with SARS-CoV-2 may not have been previously identified due to the lack of information on surgical procedures in previous studies or because this variable was not considered in those studies. Therefore, further research and data collection are required to better understand the relationship between surgery and fungal infections in COVID-19 patients.

Sepsis and the presence of multiorgan dysfunction further contribute to the occurrence of superinfections due to the immunosuppressive state they induce. Patients with sepsis and multiorgan failure have multiple risk factors for developing fungal infections, such as antibiotic administration, invasive therapeutic strategies33, sepsis-induced immunosuppression34, and intestinal barrier dysfunction35. The presence of sepsis was a significant risk factor for Aspergillus spp. infection in COVID-19 patients, which is consistent with the findings of the meta-analysis by Chong et al.36.

Obese patients have an increased risk of bacterial, viral, and fungal infections37,38 due to the inflammatory state they experience, which leads to elevated proinflammatory cytokines and favors the development of chronic inflammation. Additionally, obese patients often require invasive mechanical ventilation, which further contributes to the development of superinfections39.

We observed that age was independently associated with an increased incidence of fungal infection. Advanced age is a known risk factor for infections due to immunosenescence, which results in reduced activation of the immune system (increased immature T lymphocytes, altered CD4 + /CD8 + T cell ratio, and decreased immune response), thus promoting the occurrence of infections40,41.

We report that fungal coinfection was more frequent in men than in women. This higher risk in males could be influenced by hormonal factors, genetic factors leading to differences in immune response, or even genetic polymorphisms.

In this research, the presence of COPD was identified as a risk factor for the development of Aspergillus spp. infection in COVID-19 patients, that do not present in patients with invasive candidiasis. This could be explained by the fact that Aspergillus spp. spores are normally cleared by the ciliary action of the respiratory epithelium, but in COPD patients (as in those infected with SARS-CoV-2), this ciliary clearance is impaired, facilitating the invasion of the bronchial mucosa and lung parenchyma42. Additionally, COPD patients often receive inhaled corticosteroid treatment, which can reduce immune activity and predispose them to fungal infection.

Our study presents certain limitations due to its retrospective design, relying on data obtained from the Spanish MBDS. As with any retrospective analysis, there is a possibility of under-coding of variables, leading to incomplete or inaccurate information. This could introduce potential bias and affect the robustness of our findings. Furthermore, the lack of coding for certain analytical variables and multiple admissions of the same patient might have influenced the precision and completeness of our results. Despite the limitations, our study possesses notable strengths. Foremost among these is the substantial sample size, which confers high statistical power and enhances the reliability of our analyses. The extensive dataset enabled us to provide a comprehensive and representative perspective on the epidemiological landscape of fungal co-infections in patients with COVID-19 within the Spanish population. This large-scale approach contributes to a more nuanced understanding of the prevalence and characteristics of fungal infections in this specific context.

Conclusion

In summary, this study reported the characteristics and risk factors of COVID-19 patients in the Spanish population during the years 2020 and 2021. Our results showed that the incidence was 1,41% and these patients presented higher in-hospital and length of stay in intensive care unit and mortality, as well as intensive care unit admission. Surgery, chronic obstructive pulmonary disease, sepsis, gender male, and advanced age were the main risk factors. Also, this is one of the few studies available that demonstrate that surgery was an independent risk factor of Aspergillus spp. coinfection in COVID-19 patients.