Introduction

In 2020, the world ground to a halt owing to the COVID-19 pandemic that still continues on its course in large parts of the world. Achieving durable universal sterilizing immunity through population-penetrating and transmission-halting vaccinations still remains a remote prospect: as of now, only 39.9% and 1.8% of the entire world population and that in low income countries, respectively, have started their COVID-19 immunization regimes1,2. Moreover, vaccine hesitancy percentages of up to 40% are reported in some large countries such as the U.S., Italy, and Russia3. As it seems possible that numerous COVID-19-naive individuals are yet to contract the virus, we anticipate that improvements in fortifying the health of risk group individuals in anticipation of a potential infection, as well as improving the outcomes of patients succumbing to the severe form of COVID-19, may translate to large savings in loss of life.

The SARS-CoV-2 virus that causes COVID-19 enters human cells via the ACE2 receptor. The infection first occurs in upper airways and at later stages may proceed to the lung, gastrointestinal tract, kidney, heart, or brain4. ACE2 and its antagonistic homolog ACE are core enzymes of the renin–angiotensin–aldosterone system (RAAS), which regulates electrolyte homeostasis, blood pressure, and cardiovascular health5, as well as restores balance upon volume disturbance of extracellular fluid6,7. The antagonistic effects of ACE and ACE2 are largely achieved by increases or decreases of the amount of circulating Angiotensin II, respectively. Angiotensin II is a potent secretagogue of aldosterone, an adrenal cortex hormone that enhances renal reabsorption of sodium and water, excretion of potassium, and the maintenance of acid–base balance8,9.

The underlying mechanisms of infection and viral spread are not fully understood, and despite the advances in prevention and treatment of severe COVID-19, an unmet need remains to better understand the clinical course and the risk factors of severe disease and death. Here, we present an agnostic and data-driven analysis of real world data from U.S. electronic health records (EHR) of 122,250 COVID-19 patients to identify a priori factors associated with death during a COVID-19 infection. Our unbiased analyses reveal pre-existing aberrations of fluid, pH or electrolyte levels as risk factors for COVID-19 mortality. We suggest that balancing electrolyte homeostasis in COVID-19 patients offers opportunities for better care and/or prevention of the severe disease.

Methods

Study design and participants

We extracted 122,250 COVID-19 cases collected by Optum® with a diagnosis date between 20 February and 1 July 2020 (Supplementary Data 1). The Optum® de-identified COVID-19 EHR dataset contains patient-level medical and administrative records from hospitals, emergency departments, outpatient centers, and laboratories from across the United States. Mortality information is derived from combining data from the Social Security Death Master File, hospital reports on patient deaths, and third party obituary sources. Data de-identification is performed in compliance with the HIPAA Expert Method and managed according to Optum® customer data use agreements. The COVID-19 EHR dataset sources clinical information from hospital networks that provide data meeting Optum’s internal data quality criteria. We confirmed COVID-19 diagnosis either by documented ICD-10 codes (Supplementary Information: Data Preparation) or via positive PCR test result (Supplementary Data 2). Survival time was computed as the number of days between the date of COVID-19 diagnosis and last documented clinical activity (vitals, labs, medication, encounter, collected until 13 July 2020) or documented death.

We analyzed variables that were observed at least a month before the infection. We selected such a conservative buffer time period, since some patients might have had an undiagnosed COVID-19 infection for days before an opportunity to get tested. We also wanted to exclude any physiological changes potentially incurred by the virus during the incubation period, which may be up to 14 days10. We used the median value captured between 1 and 12 months before the initial COVID-19 diagnosis for vitals and laboratory measurements, and the entire past medical history (mean length ~5.4 years, Supplementary Data 1) for variables with a long-term effect, such as diagnoses of chronic indications. Prior inoculations were handled analogously.

We investigated all disease entities that are a part of the Charlson comorbidity index11, the AHRQ12, or the former Elixhauser definition13. A detailed description of assignment of ICD codes to disease entities can be found in Supplementary Data 3.

After quality control (Supplementary Information: Quality control, transformation, and handling of missing data), 249 variables were available for primary univariable analysis. For multivariable analysis, patients with an exaggerated proportion of missing data were removed, leaving 55,757 patients for analysis. Variables available for less than 10,000 patients were mean-imputed, reducing the overall missing rate from 22.1% to a remaining missingness rate of 12.4% in total. The remaining missing values were imputed using the missForest R-package14.

Association analysis and model development

We originally set out to identify prognostic biomarkers that could identify patients at risk of COVID-19 mortality already before the onset of the disease. As primary analysis, we performed time-to-event analysis using Cox regression15. Univariable analysis was conducted using age, sex, ethnicity, race, insurance status, and US region/division as covariate parameters for adjustment. We applied a Bonferroni-correction with the number of variables (m = 249) to account for multiple testing and required a significance level of α = 0.05/m = 2 × 10−4. The univariable associations were calculated for the entire patient cohort, as well as separately for the age groups <50, 50–70, 70–80, and >80 years (Supplementary Data 4).

In order to allow comparison of hazard ratios (HRs) between different variables, we report the 2-standard-deviations hazard ratio “HR2SD”. It is computed as HR2SD = HR{2 × SD}, where SD is the standard deviation of the respective variable.

As secondary analysis, multivariable modeling was performed. We pursued two approaches in parallel. First, we performed a backward selection procedure on the Cox regression model of all eligible variables. We iteratively removed the variable with least impact on model performance until all remaining parameters were significant at α1 = 0.05/249 = 2 × 10−4 (Bonferroni-correction). By construction, the procedure controls the family-wise error rate at α = 0.05. In parallel, we derived a regularized Lasso model16. We fitted a L1 (Lasso) regularized Cox-Proportional Hazards Model using glmnet version 3.0216, with the concordance index (C-index)17 as the performance measure. The regularization parameter λ was optimized using ten-fold cross-validation. We selected λ such that we extracted the most regularized model with a C-index within one standard error of the best performing model.

More details on model assumption checking, calibrations and performance measures can be found in Supplementary Information: Supplementary Methods and Supplementary Figs. S1 and S2.

Ethical framework under which this study was conducted

Use of the Optum EHR data for research purposes has been determined by the New England Institutional Review Board (IRB) to not constitute research involving human subjects. This study has also been exempted from further IRB oversight in Switzerland and Germany by Kantonale Ethikkommission Kanton Zürich and Ethik-Kommission der Bayerischen Landesärztekammer, respectively.

The data licensed by Optum® to support the study consists of only data de-identified in compliance with 45 CFR 164.514(a)-(c). The data has identifying information removed and is not coded in such a way that the data could be linked back to the subjects from whom it was originally collected.

The resulting research with this data would utilize data that did not include Human Subjects, as there is no interaction or intervention with living individuals, and neither can the provider of the data nor the recipient link the data with identifiable individuals, as defined in HHS regulation 45 CFR 46.102(f).

Our research involving the data licensed by Optum® and described above, does not require an IRB review, as analyses with the data would not meet the definition of “research involving human subjects”.

Reporting summary

Further information on research design is available in the Nature Research Reporting Summary linked to this article

Results

Univariable analysis of predisposition

We set out to detect prognostic biomarkers identifying patients at risk of death already before the onset of COVID-19. The overall mortality in our data set is 5.5%, which is well in line with the case-fatality ratio estimate of 5.89% for the USA in early 202018. We first pursued a univariable analysis of 249 clinical variables observed at least a month before the initial diagnosis. We selected this conservative buffer time to exclude the effect of physiological changes incurred by the infection before the diagnosis or during the incubation period of up to 14 days10. We used the median value captured between 1 and 12 months before the initial COVID-19 diagnosis for vitals and laboratory measurements, and the entire past medical history (mean length ~5.4 years) for variables with a long-term effect, such as diagnoses of chronic indications. The univariable associations were calculated for the entire data set, as well as for the age groups <50, 50–70, 70–80, and >80 years separately (Supplementary Data 4).

The univariable analysis revealed 127 variables significantly associated (P < 0.0002) with mortality (Supplementary Data 4). As expected, age was the strongest prognostic factor, with a per-year hazard-ratio (HR) of 1.08 [1.077;1.084], and a two-standard-deviation hazard-ratio HR2SD of 17.8 [16.3;19.5]. The HR2SD measure can reflect the risk increase between, for instance, patients of age 50 versus 90 (=2 SD difference in age). Complementary to previous reports on biomarkers measured during COVID-19, we observed lower levels of a priori measurements of albumin, hemoglobin, calcium, HDL cholesterol, lymphocyte proportion, and lymphocyte to leukocyte ratio more frequently in deceased patients. Moreover, non-survivors had a higher likelihood of a history of elevated blood urea nitrogen, creatinine, blood glucose, respiratory rate, red cell distribution width, neutrophil percentage, neutrophil-to-lymphocyte ratio, and total white blood cell count.

Unexpectedly, low rather than high measurements of diastolic blood pressure were associated with death (Supplementary Data 4, HR2SD = 0.711 [0.655;0.771], P = 1.43E-16; Fig. 1a). This seemed to be in sharp contrast to earlier reports suggesting that hypertension was an important risk factor for COVID-1919. Curiously, a priori diagnoses of both hypotension (ICD-10 I95.1, I95.9) and hypertension (I.10*, O.100.*, O.109.*) were more common among the deceased patients (HR = 1.18 [1.14;1.22], P = 8.47E-24 and HR = 1.21 [1.14;1.29], P = 1.33E-09, respectively). Such ambivalent results might be associated with the natural decrease of DBP with age, or hypotension being a lagging comorbidity of heart failure, together with age and heart failure being risk factors for severe COVID-1920. However, after excluding all patients with a prior diagnosis of congestive heart failure and performing an age-group-specific analysis, we still observed an association of low DBP and mortality (Fig. 1b). Specifically, patients with a hypertension diagnosis (ICD-10 I.10*) and older than 40 years only showed consistently higher mortality rates, if they had also experienced abnormally low levels of DBP (<60 mmHg) in the past year. In fact, even abnormally high median measurements of DBP (>90 mmHg) were associated with lower mortality than abnormally low ones in the age groups 60–69 and 70–79 years (Fig. 1c). Indeed, the large epidemiological OpenSAFELY study20 has also previously reported that the fully adjusted variable of hypertension/elevated blood pressure has a negative rather than positive correlation with COVID-19 mortality, specifically in patients that are 70 years or older.

Fig. 1: COVID-19 mortality is associated with prior measurements of abnormally low diastolic blood pressure (DBP).
figure 1

a Distribution of the median diastolic blood pressure measurement in COVID-19 survivors (cyan) versus non-survivors (orange) during days -365…-31 before the COVID-19 diagnosis date. Threshold for normal range, 60 mmHg, is shown as a white dotted line. b Mortality rates of patients without a recorded history of heart failure (HF-) and either with or without a history of hypertension (HTN + and HTN-, respectively). Cohorts had lowest diastolic blood pressure measurement either at <60 mmHg or > =60 mmHg on days -365…-31 before the infection. Patients are distinguished by age groups. 95% confidence intervals for the standard error are provided, and indicate the sampling error. c Mortality rates of patients as distinguished by age group and median diastolic blood pressure measurement levels on days -365…-31 before the infection. 95% confidence intervals for the standard error are provided, and indicate the sampling error. For the N = number of patients in each category, see the table inserts in the figure panels.

Another factor that could contribute to the hypotension observation is a decrease in serum albumin levels21. Decreased albumin levels were very highly associated with COVID-19 mortality in our data set, having the largest effect size for any laboratory measurement in the univariable analysis (HR2SD = 0.471 [0.442;0.503], P = 5.10E-110). We also investigated the association of a priori measurements of DBP and median albumin levels, and observed that patients with abnormally low DBP typically had low albumin (OR2SD = 0.23 [0.22, 0.24], P < 2e-16). We conclude that many Optum® COVID-19 victims have a history of co-occurring low DBP and hypoalbuminemia.

Multivariable analysis findings

To further dissect the predisposition landscape of COVID-19 mortality, we pursued a multivariable time-to-event analysis (Cox regression) of laboratory, vital, comorbidity, immunization, and demographic variables in 55,757 patients, for whom at least ten variables were available (see Supplementary Information). We created three multivariable models in parallel: one for comorbidities, one for laboratory measurements and vitals, and a combined main model for all variable groups as well as inoculations. Unless otherwise stated, we are discussing the combined multivariable model below.

The combined multivariable Cox model reaches a C-index of 0.853 (SE 0.003), a high level of prognostic power for survival (Supplementary Data 5). Both alternative models also showed good performances, with C-indices 0.841 (0.003) for the comorbidity model, and 0.851 (0.003) for the labs/vitals model. The combined model reveals a combination of factors that are well aligned with previous studies20 and associated with age, male sex, renal impairment, diabetes, hypoxia, hematological insult, dementia, and cancer (Table 1). As repeatedly reported, the strongest associations with mortality are observed for age (HR2SD = 6.95 [6.11;7.91]) and male sex (HR2SD = 1.82 [1.66; 1.98]). We also confirmed independent effects of African ethnicity and insurance status, as previously observed and discussed by Yehia et al.22. Furthermore, while an association of death during COVID-19 and increased red blood cell distribution width (RDW) had previously been reported23, our predisposition model shows that RDW aberrations precede the infection by at least a month.

Table 1 Combined multivariable model of a priori prognostic factors for COVID-19 mortality (n = 55,757), complemented with univariable results and potential clinical associations.

The most striking novel finding of the multivariable model is a comorbidity group of diagnoses associated with fluid, pH and electrolyte imbalance (FPEI) (Table 1). Electrolyte and pH disturbances might obviously imply renal function impairment. However, renal comorbidities did not show an independent association in the combined multivariable model. An investigation of the co-dependence of different variables revealed that renal comorbidities were excluded from the model by correlated but stronger independent associations of age, albumin, and blood urea nitrogen measurements, as well as FPEI diagnoses and red blood cell distribution width (Supplementary Data 6). Moreover, our comorbidity-only model showed that the associations of FPEI and renal comorbidities were indeed independent (Supplementary Data 7). Interestingly, FPEI had the highest hazard ratio and the lowest P value in the comorbidity multivariable model (HR = 1.37 [1.27;1.49], and P = 1.71E-14). We conclude that while FPEI disorders in COVID-19 patients may often indicate suboptimal function of the kidneys, they do not always co-occur with a diagnosed renal comorbidity.

A priori levels of DBP did not show an independent association in the multivariable model. However, another dissection of variable co-dependence showed that it was not the history of congestive heart failure that sequestered DBP from the model. Instead, the combined associations of age, albumin, red cell distribution width, and blood urea nitrogen removed DBP from the model (Supplementary Data 6). Finally, the hypertension comorbidity group did not make it to any of the multivariable models, either. Instead, the most correlated variables that progressed to the model in its stead were age, albumin, FPEI, and Hemoglobin A1c (Supplementary Data 6).

Fluid, pH and electrolyte imbalance (FPEI) co-morbidity group deep dive

To further characterize the FPEI finding, we performed additional analyses involving both the prior medical history and the clinical findings during the COVID-19 infection. First, we inspected the overlap of patient cohorts with prior FPEI and/or renal comorbidities (Table 2). While the overlap was substantial, most patients with a history of FPEI did not have prior renal diagnoses. Interestingly, having a history of both renal and FPEI comorbidities was associated with a very high mortality, 25.0%. For comparison, mortalities of patient cohorts with renal only or FPEI only diagnoses were 15.2% and 10%, respectively. In fact, 26.0% of all non-survivors but only 6.0% of survivors in the entire data set had a combination of past FPEI and renal diagnoses. Moreover, an additional 19.5% of all deceased patients had an FPEI diagnosis but no renal diagnoses prior to the COVID-19 infection. From a Kaplan–Meier survival plot, a significant difference of survival can be observed for the four patient groups with/without renal/FPEI comorbidities (Fig. 2). Furthermore, we distinguished patients with end stage renal disease from other renal-diagnosed patients, but observed no significant difference (Supplementary Fig. S3).

Table 2 Mortality rates of patient cohorts with or without a prior history of fluid, pH and electrolyte imbalance (FPEI), and/or renal comorbidities.
Fig. 2: Overall survival of patients with a priori comorbidities associated with renal disorders and/or fluid, pH, and electrolyte imbalance (FPEI) as a Kaplan–Meier plot.
figure 2

Descriptors show overall survival of patients with either renal (orange) or FPEI (green) comorbidities, as well as patients with both (red) or neither (blue) comorbidities. For the N = number of patients at risk, see the table insert in the figure.

We repeated the univariable and multivariable analyses by including individual ICD codes from the FPEI comorbidity group (Supplementary Data 3). Two FPEI diagnoses made it to the comorbidity multivariable model: acidosis (ICD-10 E87.2), and mixed disorder of acid-base balance (E87.4) (Supplementary Data 7). Moreover, univariable analyses of all individual FPEI ICD codes showed a significant association with mortality (Supplementary Data 8). Lowest P values were observed for acidosis (E87.2), hyperkalemia (E87.5), and hypo-osmolality/hyponatremia (E87.1).

We also investigated the laboratory values to detect disturbances in the levels of electrolytes or total CO2 in the thirty days following the COVID-19 diagnosis. We distinguished incidences of abnormally low or high potassium, sodium, chloride, or total CO2 in the patients’ median daily measurements by using thresholds for normal ranges from Healthline24. Among the non-FPEI-diagnosed cohort, non-survivors were more likely than survivors to have high potassium, sodium or chloride, or low sodium or total CO2 (Fig. 3a–d, pairwise comparisons between first and third bars). Within the FPEI-diagnosed cohort, non-survivors were more likely to have sodium, potassium or chloride levels above, or total CO2 levels below reference values (Fig. 3a–d, second versus fourth bars). Furthermore, all aberrations except high total CO2 were more frequent in non-survivors with a prior FPEI diagnosis than in non-survivors without one (Fig. 3a–d, third versus fourth bar). To sum it up, our analysis shows that both increased and decreased levels of sodium, chloride and potassium, and decreased levels of total CO2 are more frequent in COVID-19 non-survivors than in survivors.

Fig. 3: Measurements with abnormally high/low levels of electrolytes during a COVID-19 infection.
figure 3

Proportions of daily median measurements per patient, with normal (gray), abnormally high (orange), or abnormally low (cyan) levels of a sodium, b potassium, c chloride, or d total CO2 in the thirty days following the COVID-19 diagnosis date are shown. The four bars in each plot show measurements from survivors/non-survivors with/without a priori diagnoses with fluid, pH, and electrolyte imbalance (FPEI). Fisher’s Exact test used for pairwise comparison of categories, Bonferroni correction applied. For the N = number of median daily measurements in each category, see the table inserts in the figure panels.

Finally, we inspected the frequency of FPEI diagnoses assigned to the patients during COVID-19, and observed that FPEI diagnoses were significantly more common among the non-survivors (Fig. 4a). We also distinguished FPEI diagnoses to subgroups associated with volume/fluid depletion, fluid overload, or aberrations of pH, and observed each of these subcategories more frequently in non-survivors (Fig. 4b–d).

Fig. 4: Cumulative incidence of fluid, pH, and electrolyte imbalance (FPEI) diagnoses assigned before and during COVID-19, separated by survivor versus non-survivor status.
figure 4

Proportion of patients having diagnoses associated with a any FPEI b fluid/volume deficit, ICD-10 codes E86.0, E86.1 or E86.9 c fluid/volume overload, ICD-10 codes E87.70 or E87.79 or d acid/base imbalance, ICD-10 codes E87.2, E87.3, E87.4, E87.5 or E87.6. The plot is split by survivor (cyan) versus non-survivor (orange) status. The underlying variable is a one-hot-encoded binary variable that indicates presence or absence of the comorbidity at the time point, “1” indicating presence, “0” indicating absence. The line shows the mean of the variable, i.e., the cumulative incidence. The standard error is shown as a shaded area around the mean, and indicates the sampling error. Plotted over days -7…+30 with respect to the COVID-19 diagnosis date. Non-survivors with an estimated death date before day +7 were excluded. For the N = number of patients with data available on each day, see the inserts in the figure panels.

To summarize, we propose that a history of FPEI is a risk factor for COVID-19 mortality both in the absence of and coupled with pre-existing renal comorbidities.

Discussion

Despite recent advances in COVID-19 vaccines and treatments, there is still an urgent need to better understand the course of disease and the risk factors of severe COVID-19. We have analyzed a rich real world data set of 122,250 COVID-19 patients and characterized the pre-existing clinical factors associated with risk of death. We foresee that our findings could generate novel hypotheses for COVID-19 treatment options and preventive medicine. The prognostic factors identified by our multivariable analysis are highly concordant with those from existing literature such as the large epidemiological OpenSAFELY study. This demonstrates that analyzing real world data to dissect COVID-19 predisposition is a powerful approach, and confirms that risk factors in European and American patients have a considerable overlap.

The multivariable and univariable models suggest multiple surprising associations. First, a previous inoculation with Diphtheria–Tetanus–Pertussis booster (NDC code 58160084252) is independently associated with lower risk of mortality in the combined multivariable model. Moreover, a group of herpes zoster vaccinations (NDC codes 00006496341, 58160082311, 58160081912, 00006496300) shows evidence of a protective effect in the univariable analysis, whereas a past diagnosis of herpes zoster is associated with lower mortality in the comorbidity multivariable model (Supplementary Data 4 and 7). Generally, it can be hypothesized that patients with active inoculation schedules have a keen interest in maintaining their health, and the financial means to pursue this goal. However, compelling computational evidence has been presented that the DTP vaccine harbors a number of T-cell epitopes with potential to induce cross-reactive immunity towards SARS-CoV-225. Curiously, herpes zoster has been reported as a leading comorbidity of COVID-1926, as well as a recurring adverse effect of COVID-19 vaccination in rheumatic patients27. Second, the multivariable model suggests an independent association of low height with death (Table 1), in line with previous prospective observational studies indicating that height has an inverse correlation with mortality from respiratory and cardiovascular diseases28,29. Further studies will be necessary to identify clinical implications of these associations.

The most prominent novel outcome of our multivariable and univariable analyses is that a priori fluid, pH, and electrolyte imbalance (FPEI) is an independent predisposing factor for COVID-19 mortality. This may not be surprising considering that even mild electrolyte imbalance is associated with ill health and overall mortality30, but the predisposition association in the context of COVID-19 has not been previously reported to our best knowledge. Out of various individual FPEI comorbidities, the association of death with metabolic acidosis seems strongest, which is interesting considering previous observations of COVID-19 patients frequently developing acidosis or diabetic ketoacidosis31. All in all, both increases and decreases of sodium, potassium, chloride, and total CO2 demonstrate an association with death in our univariable analysis of lab values and co-morbidities from 1-12 months before the COVID-19 diagnosis, as well as measurements of electrolyte levels during the infection.

Fluid and electrolyte imbalance has previously been reported as a putative driver of adverse effects in critically ill patients submitted to ICU, and three underpinning mechanisms have been suggested: (1) reduced perfusion to the kidney owing to hypotension or hypovolemia, (2) tubular damage caused by ischemic or nephrotoxic kidney damage, and (3) inappropriate activation of kidney-regulating hormones such as those in the renin–angiotensin–aldosterone system32. It is well-fitting that our analyses recognize an association of COVID-19 mortality with FPEI, hypotension, albumin deficiency, and renal comorbidities alike. It is hence worthwhile in our opinion to ask whether hormonal factors of electrolyte homeostasis could also be involved.

Notably, ACE2, which is the entry point of SARS-CoV-2 into human cells, is also a core factor of the renin–angiotensin–aldosterone system (RAAS) that regulates electrolyte homeostasis. A large proportion of active ACE2 normally resides in the lung alveoli, while abundant presence is also observed in the heart, gastrointestinal tract, nasopharyngeal region, and vascular endothelium, and limited expression in many other tissues including brain, liver, and kidney33,34. Such widespread expression of ACE2 may also partly explain the variety of COVID-19 clinical symptoms. The effect of ACE2 on homeostasis is largely achieved by reducing the amount of circulating aldosterone, an adrenal cortex hormone that stimulates kidney principal cells and alpha intercalated cells to enhance renal reabsorption of sodium and water, excretion of potassium, and the maintenance of acid–base balance8,9. ACE2 is counterbalanced by the homolog ACE, as well as the antidiuretic hormone and the natriuretic peptide, which may also become activated upon electrolyte or pH imbalance35,36. Disturbance of ACE2 may contribute to COVID-19 clinical characteristics via its effects on regulating vasodilation and dampening inflammation37. However, the full consequences of ACE2 aberrations for electrolyte homeostasis during COVID-19 remain to be understood.

The role of all-round electrolyte and pH imbalance in COVID-19 mortality was partially unappreciated in some earlier studies that focused on the median laboratory measurements and hence averaged out the effects of opposite extremities38,39. Nevertheless, recent reports have pointed out that electrolyte imbalance in general40,41 and dysnatremia in particular are frequently observed during COVID-1942,43,44,45. Our prognostic models suggest that the presence of electrolyte imbalance more than a month before the onset of the infection may sensitize the patient to unfavorable outcomes from COVID-19.

Another striking finding of our predisposition models is that of hypoalbuminemia, which is also often associated with abnormally low levels of blood pressure and highly correlated with low diastolic blood pressure in our data set. Previous studies have indicated that a large majority of patients that are critically ill with COVID-19, and almost all non-survivors, either present with hypoalbuminemia at the start of the infection or develop it during the course of the disease46. Low serum albumin is also associated with overall mortality in the elderly47. Patients with low albumin will lose colloidal osmotic (oncotic) pressure, and experience an extracellular fluid shift from the intravascular space into the extravascular space48. Notably, hypoalbuminemia coupled with excess extracellular fluid may result in co-occurring edema and hypovolemia49. Such a mechanism has also been suggested to contribute to COVID-19 severity50, and would be particularly disastrous in the lung. Indeed, compelling suggestions have been presented that volume contraction may be aggravating COVID-19 outcomes51.

Our analysis is based on a real world data resource and thus carries the burden of associated difficulties and limitations. In contrast to controlled randomized settings, systematic bias and negative effects by data errors cannot be completely ruled out a priori. On the other hand, the large sample size available can help to overcome issues and to detect phenomena, which are otherwise overlooked.

Specifically, while inpatient deaths are captured with high certainty, death events in care homes facilities may be underreported to an unknown degree. Nevertheless, time from diagnosis to death events shows the typical skewed distribution in our data, with a relatively elevated portion of patients who die more than two months after the infection. Moreover, the mortality percentage we observe in our data set is similar to that reported in earlier literature. In general, it is highly likely that any possible underreporting of death cases will not invalidate our multivariable model, but rather results in underestimation of effect sizes. In other words, some effects are likely to be higher than reported here, but, given the high sample size, were still detectable.

Another limitation is that of blood pressure measurements. While they are typically expected to be captured via a manual method by the medical assistant at the point of care, the possibility cannot be excluded that at some facilities and some situations, they might be recorded by automated oscillometric systems. Should this be the case, the algorithmically calculated diastolic blood pressure values might introduce artefacts in the DBP variable.

Finally, the majority of risk factors we identify are consistent with previous findings in the literature, while results for comorbidities from patient history are consistent with those of biomarkers of the respective diseases, demonstrating internal consistency and plausibility of our findings. In summary, while the exact risk effect size might be influenced by the way data was collected, it is likely that the qualitative conclusions we provide are correct.

ICU deaths are often associated with challenges in maintaining electrolyte homeostasis32. Our findings complement this picture for COVID-19 patients by showing that the balance of fluid, pH and electrolytes is more frequently disturbed in victims than survivors at least a month before the onset of the infection, and associated with an increased risk of death independently of age and prior renal comorbidities. Future observational and interventional studies may show that careful and personalized correction of fluid and electrolyte homeostasis early in the course of the infection, or even before it, correlates with better outcomes of COVID-19.