Introduction

In 2020, the flare-up of Coronavirus-disease 2019 (COVID-19), attributed to the novel acute respiratory syndrome coronavirus-2 (SARS-CoV-2) virus, resulted in more than 633 million cases worldwide and 6 million deaths up until November 2022 [1]. Acute respiratory diseases are the leading cause of morbidity worldwide, with children and the elderly at increased risk, especially in low and middle-income countries [2, 3]. According to the latest statistics available on the Iranian population, as of June 22, 2022, 7.5 million people have been infected with COVID-19 (positive PCR test) and more than 140,000 deaths have been reported [4].

Individuals with an impaired immune system are at greater risk of acquiring infectious diseases, including COVID-19. Therefore, boosting the body's immune response is important in protecting against COVID-19. It is well-established that nutrition plays an important role in supporting the immune system. Based on both mechanistic and clinical literature, some vitamins, trace elements, including zinc, copper, iron, selenium, and magnesium, and fatty acids are essential for optimal function of the immune system at the level of physical barriers, innate and adaptive immunity, and the microbiome [5, 6]. Deficiencies in these essential micronutrients could increase the susceptibility to infectious diseases. However, nutrition does not impact all infectious diseases equally. In a study of COVID-19 patients, most patients were zinc deficient and had more complications than zinc-sufficient patients, including more acute respiratory distress syndrome, longer hospital stays, and increased mortality [7].

COVID-19 infection, due to its complex dynamic nature, cannot be adequately described by common linear analysis methods [8]. Nonlinear mathematical approaches, involving interactions, feedback loops, or non-proportional relationships between variables, have been effectively used for the analysis, understanding, and predictions of the dynamics of this pandemic [9, 10]. As among non-linear tools, dynamic system models provide valuable insights into the behavior and evolution of complex systems, enabling researchers and practitioners to make informed decisions, predict outcomes, and design interventions or control strategies over time [11], we operated this advanced data analysis method to predict the relationship between dietary mineral intake and COVID-19 incidence and hospitalization. To our knowledge, this is the first study in this area.

Methods

Study design

The population of this cohort study was derived from Mashhad stroke and heart atherosclerotic disorder (MASHAD) study [12]. Subjects who entered the first phase of MASHAD study (n = 9704, 2007–2010), who were also common in the second phase (2017–2020) and still living in Mashhad were included. All participants provided their written and informed consent. Our participants were apparently healthy and free of CVD, active cancers, chronic infections, or autoimmune disorders. We also excluded pregnant or lactating women. As previously described [13], to determine the COVID-19 infection, we collected the data of all PCR-positive patients from all related medical centers in Mashhad city during February 2020 and June 2022 (n = 405,398) and merged with MASHAD study data. Patients at baseline were 35–65 years old. After removing records with any missing dietary intake data, the remaining sample size was 1957, with 193 individuals testing positive for COVID-19 (Fig. 1). Hospitalized patients were identified using data from the hospital information system (HIS). The study protocol received approval from the Human Research Ethics Committee of Mashhad University of Medical Sciences (MUMS).

Fig. 1
figure 1

Flow diagram of study design

Dietary intake assessment

Dietary intake was assessed using a validated 65-item food frequency questionnaire (FFQ) in the first phase of MASHAD study [14]. An experienced researcher administered the questionnaire, and data was collected on demographic characteristics. Diet plan software (version 6) was used to analyze the mineral intake [15]. Mineral intakes were energy-adjusted, using residual method [16].

Statistical analysis

Data analysis was carried out by SPSS 26 (SPSS Inc., IL, USA). We utilized the Kolmogorov–Smirnov test to assess the normality of our variables. Normally distributed variables were presented as mean ± standard deviation, while non-normally distributed variables were described using median and interquartile range (IQR). We used multiple logistic regression with a backward variable selection method to determine the association of mineral intakes with COVID-19 infection and hospitalization. All analysis was performed in IBM SPSS statistics 26. Minerals including calcium, magnesium, phosphorus, iron, zinc, iodine, potassium, manganese, selenium, chloride, sodium, and copper were included in the model. Further, the effect of age and sex was adjusted. P-value < 0.05 was considered statistically significant.

Advanced data analysis methods were also applied to predict the relationship between dietary mineral intake and Coronavirus-disease COVID-19. First, the best cut-off values of mineral intakes, in regard to COVID-19 infection, were determined by MedCalc software. The best cut-off value is the point where the sensitivity + specificity – 1 is the maximum.

The modified SEIR (Susceptible-Exposed-Infected-Removed) differential equation machine (Fig. 2) was utilized to forecast the impact of mineral intake on COVID-19 dynamics. In this particular model, all individuals were considered susceptible to contracting COVID-19 (S). Participants who consumed the mineral above the specified threshold are denoted as E1, while the group that consumed below the mentioned threshold is denoted as E2. I1 represents the group of individuals who tested positive for COVID-19 through PCR testing, while I2 refers to those who were not infected. When considering all participants within the modified equation model, this distinction is taken into account. In the aforementioned model, hospitalization due to COVID-19 (H) or outpatient management (OU) was also considered. To solve the differential equation described in the model, the numerical methods of ODe45 were employed within the Matlab software.

Fig. 2
figure 2

The modified SEIR (Susceptible-Exposed-Infected-Removed) model to predict COVID-19 infection and outcome. S: susceptible, E1: patients consuming minerals above the cut-off, E2: patients consuming minerals below the cut-off, I1: patients with positive PCR results for COVID-19, I2: patients with negative PCR results for COVID-19, H: hospitalized patients, OU: patients who were managed in outpatient setting, α: Rate of transmission from S to E1, 1-α: Rate of transmission from S to E2, m: rate of death in susceptible individuals,\({\gamma }_{1}\):Rate of transmission from E1 to I1,\({\gamma }_{2}:\) Rate of transmission from E1 to I2,\({\gamma }_{3}\):Rate of transmission from E2 to I1, \({\gamma }_{4}:\) Rate of transmission from E2 to I2 \(, {\beta }_{1}:\) Rate of transmission from I1 to H, \({\beta }_{2:}\) Rate of transmission from I1 to OU, \({\beta }_{3}:\) Rate of transmission from I2 to OU

Results

Baseline characteristics are presented in Tables 1 and 2. The median age of covid-19-positive and covid-19-negative subjects was 59 years. Around 49% of CPVID-19-positive and 46% of COVID-19-negative patients were female. As presented in Table 1, dietary intakes of magnesium, iron and potassium were significantly lower in Covid-19 patients compared to the COVID-19-negative group (P < 0.05). There was no significant difference in other variables.

Table 1 Baseline characteristics and mineral intakes in COVID-19 and non-COVID-19 patients
Table 2 Baseline characteristics and mineral intakes in COVID-19 hospitalized and non-hospitalized patients

The median age of hospitalized and non-hospitalized subjects was 61 and 58 years, respectively. Around 31% of hospitalized and 46% of non-hospitalized patients were female. As shown in Table 2, there was no significant difference in mineral intake of patients with and without hospitalization except for zinc, which was higher in subjects without hospitalization (P < 0.05).

In Table 3, a significant association was observed between the dietary intake of iron and phosphorus and the occurrence of COVID-19 (P < 0.05). Following adjustments for age and sex, iron continued to exhibit a significant association with COVID-19 incidence. Specifically, each unit increase in iron intake was linked to approximately a 6% reduction in the relative risk of COVID-19 infection.

Table 3 Relative risk and 95% confidence intervals for the association of mineral intakes and COVID-19 infection

Prior to adjusting for age and sex, Table 4 demonstrates a significant association between dietary zinc intake and hospitalization (P < 0.05). This association retained its significance even after adjusting for age and sex (P < 0.05). Furthermore, each unit increase in dietary intake of zinc was linked to a 31% reduction in the relative risk of hospitalization due to COVID-19.

Table 4 Relative risk and 95% confidence intervals for the association of mineral intakes and COVID-19 hospitalization

Dynamical system

The best cut-offs for mineral intake are presented in Table 5. The best cut-off for daily consumption of calcium, iodine, iron, phosphorus, and zinc were 1138.16 mg, 52.19 mg, 8.17 mg, 1439.35 mg, and 9.7 mg, respectively.

Table 5 Best cut-off points for daily mineral consumption

Figure 2 represents the modified SEIR differential equation machine. If we consider all the participants in the modified equation model, we have the following equation:

$$\mathrm{N }\left({\text{t}}\right) =\mathrm{S }\left({\text{t}}\right) +{\text{E}}1 \left({\text{t}}\right) +{\text{E}}2 \left({\text{t}}\right) +{\text{I}}1 \left({\text{t}}\right) +{\text{I}}2 \left({\text{t}}\right) +\mathrm{H }\left({\text{t}}\right) +\mathrm{Ou }\left({\text{t}}\right)$$

Considering the mentioned model, the below differential equation was solved using the numerical methods of OD45 in the Matlab software.

$$\left\{\begin{array}{c}\dot{S}=\left(1+ {\text{m}}\right)s+L\\ \dot{{{\text{E}}}_{1}}=-\left(1+{\text{m}}\right){{\text{E}}}_{1}+\alpha s\\ \begin{array}{c}\dot{{{\text{E}}}_{2}}=-\left({\eta }_{3}+{\text{m}}\right){{\text{E}}}_{2}+(1-\alpha )s\\ \dot{{{\text{I}}}_{1}}={\gamma }_{1}{{\text{E}}}_{1}+{\gamma }_{3}{{\text{E}}}_{2}-\left({{\beta }_{1}+\beta }_{2}+{{\text{m}}}_{1}\right){{\text{I}}}_{1}\\ \begin{array}{c}\dot{{{\text{I}}}_{2}}={\gamma }_{2}{{\text{E}}}_{1}+{\gamma }_{4}{{\text{E}}}_{2}-m{{\text{I}}}_{2}-{\beta }_{3}{{\text{I}}}_{2}\\ \dot{H}={\beta }_{1}{{\text{I}}}_{1}-{{\text{m}}}_{1}H\\ \begin{array}{c}\dot{{\text{OU}}}={\beta }_{2}{{\text{I}}}_{2}-{{\text{m}}}_{1}OU+ {\beta }_{3}{{\text{I}}}_{2}\\ \dot{D}={\text{m}}s+{{\text{mE}}}_{1}+{{\text{mE}}}_{2}+{{\text{m}}}_{1}{{\text{I}}}_{1}+{{\text{m}}}_{1}{\text{H}}+{\text{m}}{I}_{2}+{{\text{m}}}_{1}{\text{OU}}\end{array}\end{array}\end{array}\end{array}\right.$$
(1)

As illustrated in Fig. 3, considering calcium, zinc, and iron, the number of patients in the E1 group (mineral consumption above the cut-off) is increasing, while there is a decline in the E2 group (mineral consumption below the cut-off). It shows that patients who consume less calcium, zinc, or iron than the cut-offs move to the COVID-19-positive group.

Fig. 3
figure 3

The model parameters for each mineral. E1: patients consuming minerals above the cut-off, E2: patients consuming minerals below the cut-off, I1: patients with positive PCR results for COVID-19, I2: patients with negative PCR results for COVID-19

The risk of COVID-19 infection in the group with a daily calcium intake < 1138 mg per day was 5.2 times greater than in those who consume more than this value. Consumption of zinc < 9.7 mg per day was associated with a 1.5 times greater risk of COVID-19 infection. The risk of COVID-19 disease in the group with a daily Consumption of iron < 8.7mg per day was 2.1 times greater than those who consume more. On the other hand, consumption of iodine greater than 52.19 mg/day is associated with a greater risk of COVID-19 infection by three times.

Discussion

This study sought to assess the association between specific dietary mineral intakes with COVID-19 infection in the older adult population. Taken together, dietary magnesium, iron, and potassium intake were significantly lower in COVID-19-positive compared to COVID-19-negative patients. Dietary intake of iron was significantly associated with the risk of COVID-19 infection. Patients hospitalized due to COVID-19 had a significantly lower intake of zinc. Dietary zinc intake was also significantly associated with the risk of hospitalization due to COVID-19 infection. In the dynamical system models, it was observed that dietary intakes of calcium, zinc, and iron below the specified cut-offs, as well as iodine intake above the cut-off, were associated with an elevated risk of COVID-19 incidence.

Based on our findings, there was a significant association between iron intake and COVID-19 incidence. Specifically, each unit increase in iron intake was linked to a 6% decrease in the risk of COVID-19 incidence. About 6.5% of human enzymes depend on iron, and virus replication is dependent on host cellular processes. The cellular iron status could affect viral pathogenesis and host response to viral infection [17, 18]. Besides, iron concentration is associated with macrophage function and cytokine production, influencing inflammatory responses to COVID-19 infection [19]. Iron deficiency also enhances impaired lung function and hypoxia, common traits of severe COVID-19 disease [20]. A recent meta-analysis showed that serum iron levels and hemoglobin indices are inversely associated with COVID-19 infection severity and mortality [21].

Our results indicate a significant association between dietary zinc intake and the risk of hospitalization due to COVID-19 infection. Specifically, each unit increase in zinc consumption was associated with approximately a 30% reduction in the risk of hospitalization. Zinc is an essential trace element for the immune system's growth and function [22]. Zinc deficiency due to inadequate intake or malabsorption results in immune system imbalance and increases the risk of inflammatory and infectious diseases [23]. An observational cohort study in 2021 demonstrated that lower serum zinc levels at admission are associated with more viral expansion, more unfavorable clinical presentation, longer time to become stable, and higher mortality [24]. Another prospective observational study also indicated that COVID-19 patients had significantly lower serum zinc levels, and zinc deficiency was associated with a higher rate of complications, prolonged hospitalization, and increased mortality [25].

Based on the results of the dynamical system, the risk of COVID-19 infection in the group with daily consumption of calcium < 1138.13 mg per day was 5.2 times greater than in those who consume more. According to previous studies, hypocalcemia was reported to be an independent risk factor for poor COVID-19 outcomes, together with C-reactive protein and interleukin 6. Hypocalcemia was also correlated with a more severe inflammatory response, hematologic complications, and mortality in COVID-19 patients [26,27,28,29]. Although previous studies showed that hypocalcemia is negatively associated with COVID-19, it should be considered that lower dietary intake of calcium is very difficult to cause hypocalcemia. An ecological study on 158 countries across the world demonstrated that the infection rate of COVID-19 increased by raising calcium consumption. It was justified that this may be due to the effect of higher calcium intakes on other chronic diseases like myocardial infarction [30].

Although there was no significant difference in dietary intake of iodine between COVID-19-positive and negative patients, the results of the dynamical system showed that the risk of COVID-19 infection in the group with daily consumption of iodine > 52.19 μg/day was associated with a greater risk of COVID-19 disease by three-fold. Iodine, a trace element required for thyroid function, is needed in small quantities to maintain health. According to previous studies, iodine has some roles in strengthening the immune system function and removing pathogens [31]. According to the Food and Nutrition Board of the Institute of Medicine, the recommended iodine intake is 150 µg/d. To achieve the iodine intake standards, the salt iodization program in Iran started in 1996; the main dietary source of iodine in our population is iodinated salt. In fact, in our population, iodine intake is correlated with salt intake. This harmful correlation may justify the adverse effect of iodine consumption on COVID-19 infection in our dynamical system analysis.

Numerous studies have examined changes in dietary intake during the COVID-19 pandemic. However, to our knowledge, there are only a few studies that have assessed the impact of dietary intakes on the risk of COVID-19 and its associated hospitalization. One of the strengths of this study was evaluating the association of past dietary intakes with the incidence of COVID-19 during its pandemic. Although COVID-19 is subsiding, our results may be helpful to prevent infectious disease crises in our population. We also applied advanced data analysis methods to determine the risk of COVID-19 disease in accordance with dietary intakes of minerals. Besides its strengths, some limitations should also be considered. First, to determine COVID-19 patients we only relied on PCR results from all clinical sites in Mashhad. Patients without a PCR positive result were considered as COVID-19 negative. It should be noted that this may prone the study to classification bias. Because some patients affected by Corona virus did not have a PCR test. Besides, we have not considered the frequency of COVID-19 infection and the time of disease occurrence in each person during the pandemic period. Individuals with dietary intake missing were excluded which may influence the generalizability of our results. It should also be considered that we did not define the system, therefore we did not mention the components, delays, or calibration methods. In this study, we only focused on the association of mineral intake with COVID-19 incidence and hospitalization. It should be noted that other factors, including chronic diseases, medications, taking supplements or dietary changes during the time may influence the association between mineral intake and risk of COVID-19 which have not been considered in this study.

Conclusion

Higher dietary iron and zinc intake are associated with decreased risk of COVID-19 infection and hospitalization, respectively. Based on dynamical system results, higher intakes of calcium, zinc, and iron were associated with decreased susceptibility to COVID-19 infection.