The Tohoku Journal of Experimental Medicine
Online ISSN : 1349-3329
Print ISSN : 0040-8727
ISSN-L : 0040-8727
Regular Contribution
Group-based Trajectory Modeling of Serum Sodium and Survival in Sepsis Patients with Lactic Acidosis: Results from MIMIC-IV Database
Hangyang LiQiongli ZhouYuyu NanChengwei LiuYun Zhang
Author information
JOURNAL OPEN ACCESS FULL-TEXT HTML
Supplementary material

2025 Volume 265 Issue 3 Pages 123-134

Details
Abstract

The purpose of this project was to characterize the longitudinal dynamic serum sodium trajectory of sepsis patients with lactic acidosis (LA) admitted to the intensive care unit (ICU), and to explore the association between these trajectories and the 30-day mortality rate of patients. Data on patients admitted to the ICU with a diagnosis of LA combined with sepsis from 2008-2019 were collected from the Medical Information Mart for Intensive Care-IV (MIMIC-IV) database. Patients admitted to the ICU for > 24 hours and for the first time were sorted into 3 groups based on their serum sodium levels at admission. The Group-based Trajectory Modeling (GBTM) method was applied to analyze the trajectory changes of serum sodium in each group of patients over 72 hours. Patients’ survival differences between different trajectory groups were compared using Kaplan-Meier (K-M) survival curves. Subgroup analysis was carried out to determine the influencing factors of the relationship between dynamic changes in serum sodium and patient survival. This study included 514 patients with LA complicated by sepsis, who were clustered into three groups based on their admission serum sodium levels, with 378 patients in the normal blood sodium (135-145 mEq/L) group, 116 patients in the hyponatremia (< 135 mEq/L) group, and 20 patients in the hypernatremia (> 145 mEq/L) group. GBTM analysis generated three different serum sodium trajectories. The K-M curve results demonstrated that patients with relatively stable serum sodium levels within the normal range (Class 2) had lower 30-day mortality compared to groups with larger fluctuations in sodium levels (Class 1, Class 3). Subgroup analysis uncovered notable interactions (P < 0.05) between different trajectories of serum sodium and covariates such as race, marital status, Glasgow Coma Scale (GCS), Sequential Organ Failure Assessment (SOFA), renal replacement therapy (RRT), congestive heart failure, kidney disease, liver disease, and diabetes. Among patients with LA complicated by sepsis, those with stable and normal fluctuations in serum sodium levels had better 30-day survival rates. GBTM is a refined method to describe the evolution of serum sodium and its association with clinical outcomes, which may enhance the current understanding of blood sodium level regulation.

Introduction

Sepsis is a life-threatening organ dysfunction induced by a dysregulated host response to infection, with septic shock being its most severe form, featuring low blood pressure and changes in peripheral tissue perfusion (Singer et al. 2016; Evans et al. 2021). Sepsis is a major culprit of death in critically ill patients in the Intensive Care Unit (ICU). Statistical data reports that there were 48.9 million cases of sepsis globally in 2017, with 11 million related deaths, accounting for nearly 20% of all deaths worldwide (Rudd et al. 2020). Furthermore, sepsis is linked with a considerable economic burden on healthcare systems and society. According to the estimation, healthcare costs related to sepsis treatment in the United States exceeded 24 billion (Paoli et al. 2018). In most cases, sepsis and septic shock present in the form of metabolic acidosis, a common acid-base imbalance characterized by decreased bicarbonate levels. Sepsis patients with concomitant metabolic acidosis have a higher risk of long-term clinical deterioration after discharge (Stumpff-Niggemann and Feldkamp 2020; Sarmin et al. 2021; Yang et al. 2023). Lactic acidosis (LA) is one of the common types of metabolic acidosis in critically ill patients and is also the most common cause of metabolic acidosis in sepsis patients (Ganesh et al. 2016; Achanti and Szerlip 2023). The treatment of LA is very difficult. Compared to patients without LA, patients with LA and sepsis have nearly doubled mortality rates (46.2% vs. 24.8%) (Doshi et al. 2018).

As the main cations in the extracellular fluid of the human body, sodium ions are very crucial for maintaining extracellular fluid volume, regulating acid-base balance, and maintaining normal osmotic pressure and cell physiological functions (Shrimanker and Bhattarai 2024). Abnormal sodium concentration is a common electrolyte disorder, which is linked with the severity of patients’ disease, adverse clinical outcomes, and increased in-hospital mortality rates. A previous analysis of the relationship between serum sodium levels and clinical outcomes in septic patients demonstrated that the higher serum sodium level indicates the higher mortality rate of ICU septic patients (Han et al. 2023). Meanwhile, another study discussing the relationship between sepsis and serum sodium put forward that moderate to severe hyponatremia at admission can independently predict the mortality rate of septic patients (Castello et al. 2021). However, all analyses of sodium serum are based on statistical results from specific time points. We currently do not know the changes in sodium serum levels during hospitalization and their relationship with the outcome of sepsis combined with LA.

Group-based Trajectory Modeling (GBTM) is a mature analysis method that can summarize the long-term changes in sodium serum values while considering the dynamic nature of this variable over time (Nagin 2014). Former studies have applied GBTM to identify ICU septic patients with different Sequential Organ Failure Assessment (SOFA) score trajectory groups, where patients in different trajectory groups may be at different levels of risk for adverse outcomes (Yang et al. 2022). Therefore, this project aims to utilize GBTM to reveal the different patterns of longitudinal development of sodium serum, achieve population clustering, and accurately assess the relationship between changes in sodium serum levels after the occurrence of LA in septic patients and the mortality rate of patients’ prognosis, thus providing a reference basis for clinical doctors to focus on nursing and taking early interventive measures for key populations in practice.

Materials and Methods

Data source

The Medical Information Mart for Intensive Care (MIMIC) database was funded by the Beth Israel Deaconess Medical Center (BIDMC), the National Institutes of Health, Massachusetts General Hospital, emergency physicians, intensivists, computer science experts, and other professional critical care medicine databases in 2003 (Yang et al. 2020). MIMIC is an intensive care hospital system based on BIDMC and also the largest open-source and free clinical database for ICUs and emergency departments. As the latest version, MIMIC-IV records detailed information of over 70,000 de-identified patients from BIDMC between 2008 and 2019, including demographic data, vital signs, comorbidity, and laboratory tests, proffering reliable data resources for epidemiological research by clinical physicians (https://mimic.physionet.org/about/mimic/). The database provides the patient’s time of death inside and outside the hospital from hospital databases or social security databases. As all data has been de-identified, the Institutional Review Board of BIDMC has waived informed consent and permitted the sharing of research resources (Johnson et al. 2023).

Patient selection

This project selected clinical data of 299,712 subjects from the MIMIC-IV database between 2008 and 2019 to investigate the relationship between in vivo serum sodium changes and survival of sepsis patients with LA. All data in the MIMIC-IV have undergone de-identification processing and cannot identify specific patients. Therefore, our investigation did not require written informed consent from patients or approval from the institutional ethics review board.

To ensure the integrity of the sample information in this investigation, the following criteria were applied to identify eligible patients: (a) age > 18 years, < 90 years; (b) admitted to the ICU for > 24 hours, with the first admission; (c) patients meeting the sepsis-3 criteria; (d) LA defined as blood pH < 7.35 and lactate level ≥ 4 mmol/L (first measurement within 48 hours of ICU admission). All included patients had serum sodium levels measured more than 4 times within the first 72 hours of admission.

The following patients were excluded: (a) patients who lack survival information; (b) patients who lack laboratory measurements and baseline data of serum sodium within the first 3 days of ICU admission; (c) patients who died within 24 hours of admission. Finally, 514 eligible subjects were included in the project. The detailed selection process of subjects for this study is shown in Fig. 1.

Fig. 1.

Study cohort selection workflow of the MIMIC-IV database.

Variable collection

This project collected patients’ demographic data, laboratory measurements, severity scores, medication use, positive microbiological culture results, and medical history. The data include age, gender, race, marital status, heart rate, mean blood pressure (MBP), breath rate, temperature, peripheral blood oxygen saturation (SpO2), glucose, anion gap, bicarbonate, chloride, hematocrit, hemoglobin, lactate, platelets, potassium, partial thromboplastin time (PTT), white blood cell (WBC) count, international normalized ratio (INR), prothrombin time (PT), sodium, blood urea nitrogen (BUN), partial pressure of oxygen (PO2), partial pressure of carbon dioxide (pCO2), mean corpuscular volume (MCV), pH, base excess, mean corpuscular hemoglobin (MCH), mean corpuscular hemoglobin concentration (MCHC), red cell distribution width (RDW), creatinine, Glasgow coma scale (GCS), SOFA, Charlson comorbidity index, Simplified acute physiology score II (SAPSII), vasopressor use (yes or no), mechanical ventilation (yes or no), renal replacement therapy (RRT), microbiological culture (blood, urine, sputum, and others), congestive heart failure (yes or no), kidney disease (yes or no), chronic lung disease (yes or no), diabetes (yes or no), and liver disease (yes or no).

Note: Severity scores, vital signs, and laboratory measurements within 24 hours of admission were collected. The most severe value was utilized when there were multiple results for measurement.

Trajectory grouping of serum sodium content

The GBTM approach was employed to identify serum sodium levels with similar developmental trajectories. The l cmm package was applied to identify and determine their trajectories. Patients were sorted into three groups based on their serum sodium levels after admission. The number of trajectories for each group of patients was determined using the GBTM method. The specific process is as follows: by setting up a baseline model without covariate, the number and order of the measured polynomial functions (linear, quadratic, and cubic terms) were determined. The best-fit model was determined by Akaike information criterion (AIC), Bayesian information criterion (BIC), sample-size adjusted BIC (SABIC), entropy, and the proportion of samples in each trajectory group. In addition, each participant was assigned to a model with an average posterior probability of 70% or higher as well as a sample proportion of each trajectory group greater than 5%.

Statistical analysis

Continuous variables in the statistical analysis were expressed as median (IQR), and comparisons between groups were made using the Mann-Whitney U test. Categorical data were expressed as percentages (%), and the chi-square test was utilized for comparison. Baseline serum sodium concentrations were clustered into three groups: < 135 mEq/L, 135-145 mEq/L, and > 145 mEq/L. The association of serum sodium level with demographic and clinical variables in patients with septic shock and LA was compared. A two-sided P value < 0.05 was considered statistically significant for characteristic comparisons between groups. By constructing the baseline characteristics of the best-fitting model for sodium serum using GBTM, Kaplan-Meier (K-M) curves were plotted to compare the survival differences between groups. Subgroup analysis was carried out to compare the survival status among different groups. Data statistical analysis in this experiment was conducted using R (4.2.3) statistical software. R packages utilized in this investigation included tableone (Panos and Mavridis 2020), mice (van Buuren and Groothuis-Oudshoorn 2011), rms (https://cran.r-project.org/web/packages/rms/index.html), and survival (https://github.com/therneau/survival).

Samples in this investigation with missing variable proportions exceeding 20% were excluded, and other missing variables were handled using the Random Forest (RF) method in the mice package.

Results

Baseline characteristics

This project included a total of 514 patients with LA complicated by sepsis between 2008 and 2019. Patients were clustered into three groups based on their serum sodium levels upon admission: normal blood sodium (135-145 mEq/L), hyponatremia (< 135 mEq/L), and hypernatremia (> 145 mEq/L). Table 1 displays characteristics. Baseline characteristics uncovered that the median age of patients with LA complicated by sepsis was 69.50 years, with a majority of males (63.8%) and white race (61.5%). Most patients had a GCS score ≥ 13 (82.7%) and no liver disease (70.6%). Three groups of patients with different serum sodium levels exhibited great differences in gender, age, race, hospital mortality, heart rate, breath rate, SpO2, SAPSII, GCS, SOFA, Charlson comorbidity index, anion gap, bicarbonate level, serum chloride level, serum potassium level, INR, PT, serum sodium level, BUN, PO2, PCO2, base excess, RDW, creatinine and liver disease (P < 0.05; Table 1).

Table 1.

Baseline characteristics of patients with hypernatremia, hyponatremia, and normal sodium levels at the time of ICU admission.

LOS, length of stay; MBP, mean blood pressure; GCS, Glasgow Coma Scale; SAPSII, Simplified Acute Physiology Score II; SOFA, Sequential Organ Failure Assessment; WBC, white blood cell; RBC, red blood cell; RDW, red cell distribution width; PTT, partial thromboplastin time; PT, prothrombin time; INR, international normalized ratio; BUN, blood urea nitrogen; MCH, mean corpuscular hemoglobin; MCHC, mean corpuscular hemoglobin concentration; MCV, mean corpuscular volume; RRT, renal replacement therapy. Forms the bold part of the representative data are statistically significant.

Characterization of the serum sodium trajectory

In Supplementary Table S1, the model fit statistics and average posterior probability (AvePP) were provided to determine the optimal number of serum sodium percentile trajectory groups. Finally, three different trajectory groups were identified to meet our criteria: Class 1 (N = 58, 11.3%), Class 2 (N = 429, 83.5%), and Class 3 (N = 27, 5.3%) (Table 2), with AvePP > 0.7 for each trajectory group, indicating good fit.

Demographic and clinical characteristics stratified by serum sodium trajectory group are shown in Table 2. There were notable differences in heart rate, breath rate, age, GCS, SAPSII, initial sodium level, SOFA, anion gap, INR, bicarbonate level, PT, sodium level, base excess, RDW, and liver disease among the 3 trajectory groups (P < 0.05). Overall, age, initial sodium level, bicarbonate level, and base excess in Class 1 were considerably lower than the other two groups (P < 0.05), while heart rate, SAPSII, SOFA, anion gap, INR, PT, and RDW were considerably higher (P < 0.05). In addition, the respiratory rate in Class 2 was remarkably lower. Regarding GCS and liver disease, the number and proportion of patients with GCS ≥ 13 and without liver disease in Class 2 were higher, with 362 (84.4%) and 323 (75.3%) respectively (Table 2). The 72-hour serum sodium trajectories for the three patient groups are shown in Fig. 2, where the serum sodium levels in the Class 2 group remained relatively stable with minimal fluctuations. The violin plots for each class are displayed in Supplementary Fig. S1, and the results also indicated that the serum sodium levels in the Class 2 group were more concentrated.

Table 2.

Participants’ characteristics of included patients stratified by trajectory grouping for the GBTM analysis of changes in the 72-h serum sodium.

LOS, length of stay; MBP, mean blood pressure; GCS, Glasgow Coma Scale; SAPSII, Simplified Acute Physiology Score II; SOFA, Sequential Organ Failure Assessment; WBC, white blood cell; RBC, red blood cell; RDW, red cell distribution width; PTT, partial thromboplastin time; PT, prothrombin time; INR, international normalized ratio; BUN, blood urea nitrogen; MCH, mean corpuscular hemoglobin; MCHC, mean corpuscular hemoglobin concentration; MCV, mean corpuscular volume; RRT, renal replacement therapy. Forms the bold part of the representative data are statistically significant.

Fig. 2.

Three trajectories of the serum sodium based on GBTM.

This graph shows the predicted and observed serum sodium levels over time, divided into three classes: Class 1: Black dots for predictions, solid line for observations, dashed line for CI. Class 2: Pink dots for predictions, solid line for observations, dash-dot line for CI. Class 3: Green dots for predictions, solid line for observations, dash-dot line for CI. Y-axis: Sodium concentration (mEq/L), X-axis: Time (hours).

Serum sodium trajectory and mortality rate

The survival status of patients with different serum sodium trajectories is shown in the K-M survival curve in Fig. 3. Notable differences in survival rates among patients in different serum sodium groups were observed (P = 0.0015), with Class 2 exhibiting the highest 30-day survival rate. Further analysis unearthed that, except for Class 1 and Class 2 (P < 0.001), there were no obvious differences in comparisons between any other two groups (P > 0.05) (Fig. 3).

In subgroup analysis, the change in Class 2 serum sodium trajectory was consistently associated with a reduced risk of 30-day mortality in patients (Fig. 4, HR: 0.56, 95% CI: 0.40-0.78). Moreover, factors such as race, marital status, GCS, SOFA, RRT, congestive heart failure, kidney disease, liver disease, and diabetes demonstrated great interactions between patients in different serum sodium trajectory groups (P < 0.05).

Fig. 3.

Survival curves showing the association between the classes and 30-day mortality.

This graph displays survival probability curves over time for differentiating classes and 30-day mortality risk. Class 1: Red line for survival probability.

Class 2: Yellow line for survival probability. Class 3: Blue line for survival probability. The graph also includes Log-rank p-values between classes to assess statistical significance of survival differences. Y-axis: Survival probability (0 to 1). X-axis: Time in days. “Number at risk” shows the number of individuals at risk over time for each class.

Fig. 4.

Subgroup analysis for the association of classes with 30-day mortality.

This figure shows subgroup analysis results linking different classes to 30-day mortality risk. Each forest plot corresponds to an association between a covariate and the classes. In each plot, the x-axis shows the Hazard Ratio (HR) and its 95% CI. Green squares represent HR estimates for each class, with lines indicating the confidence intervals. The plots also show p-values for interactions between covariates and classes. The reference class (Ref.) serves as the baseline for comparing HR estimates of other classes.

Discussion

LA is common in patients with septic shock or severe sepsis, being implicated in potential pathophysiological changes, drug therapy, and complications (Sendil et al. 2020; Nunnally et al. 2021). Herein, we focused on specific patients with LA complicated by sepsis. In this cohort, using GBTM, we identified three trajectory groups of sodium changes in patients with LA complicated by sepsis, with significant differences observed in the stability of sodium levels at admission and during hospitalization. To our knowledge, this is the first retrospective cohort study on the impact of longitudinal sodium patterns on sepsis patients with LA.

This project revealed three different longitudinal trajectory changes in serum sodium levels and their relationship with the prognosis and mortality risk of sepsis patients with LA. We unearthed many interesting insights through the GBTM model. The results demonstrated that in Class 2, patients had a stable trajectory of blood sodium levels after admission, and their 30-day mortality rate was remarkably better than the other two trajectory groups. Specifically, the relatively stable trajectory of serum sodium levels within the normal range was linked to the favorable prognosis of septic patients. A recent relationship study on serum sodium level trajectory and survival rate in heart failure patients uncovered that patients with normal steady-state changes in serum sodium levels have the highest survival rate (Xia et al. 2023), which is in line with our conclusion. Previous experiments on the association of serum sodium levels at admission and discharge with mortality rates of patients have also proven that patients with serum sodium levels between 138-142 mmol/L have the lowest mortality rates (Thongprayoon et al. 2020a, b). In our dynamic serum sodium trajectory changes, we unearthed that in Class 2, the level of serum sodium fluctuated slightly around 138 mmol/L during the first 72 hours of hospitalization, and the 30-day mortality rate was the lowest. The electrolyte levels in the human body are a dynamic process. The dynamic changes seem to be more instrumental in the impact on patient prognosis compared to focusing on the changes in blood sodium levels at a specific time point. By selecting the trajectory of serum sodium changes in septic patients within 72 hours of admission, analyzing possible trajectory subtypes, and determining the impact of different trajectory subtypes on patient mortality, the severity of disease and related risk factors in septic patients with LA were identified, which can proffer a basis and guidance for clinical doctors to diagnose and treatment of such patients.

We further carried out the subgroup analysis based on covariates, finding that ethnicity was a relevant factor affecting the mortality rate of septic patients with LA. The risk of death in white patients was considerably lower than that in black patients. A former study that simultaneously included socioeconomic status and race in sepsis confirmed our results, that is, compared with non-Hispanic white people, the incidence and mortality of sepsis in black people are considerably increased (Minejima and Wong-Beringer 2021), all of which may be attributed to multiple factors such as education, insurance, and income, indicating that in people with lower education, lack of insurance, and lower income, race alone cannot fully explain the differences related to sepsis (Galiatsatos et al. 2019; Minejima and Wong-Beringer 2021). SOFA and GCS scores are well-known scoring models in the ICU, with higher SOFA scores and lower GCS scores before ICU admission associated with increased mortality (Kari et al. 2023). Acute kidney injury is one of the most common organ dysfunctions in sepsis, increasing the risk of adverse outcomes (Kamei et al. 2023). Sodium concentration disorders are common in critically ill patients with possible AKI, many of whom may require dialysis for serum sodium management, with continuous RRT being the preferred dialysis method for patients with severe hyponatremia, hypernatremia, and respiratory distress (Tinawi and Bastani 2021; Yessayan et al. 2021).

Complications have also been studied as predictors of 30-day mortality. Among all trajectory groups, we observed a great interactive correlation of mortality in sepsis patients with congestive heart failure, kidney disease, liver disease, and diabetes. Congestive heart failure, diabetes, kidney disease, and liver disease are the most common comorbidities in sepsis patients, exhibiting an association with increased risk of mortality (Kim and Choi 2020; Bou Chebl et al. 2021; Lindstrom et al. 2021). Previous studies have pointed out that for congestive heart failure patients, high or low levels of serum sodium are linked with increased risk of short-term, medium-term, and long-term all-cause mortality (Peng et al. 2022). Furthermore, this risk relationship has also been detected in other diseases (Lopes-Secundo et al. 2018; Gao et al. 2019; Woyesa et al. 2019).

This project aims to determine the relationship between serum sodium trajectories and adverse prognosis in septic patients with LA, involving GBTM analysis of data obtained from the MIMIC-IV database. We identified the trajectories of serum sodium, characteristics in admission, and outcomes in three different groups of septic patients. Herein, the GBTM was utilized to determine different trajectories of serum sodium in septic patients with LA in the ICU, cluster the population, identify high-risk trajectory populations for adverse outcomes, and determine the characteristic trajectories of adverse serum sodium development trends. This evidence forms a reference basis for clinical doctors to focus on nursing and implementing early intervention measures for key populations in clinical practice. Certain limitations still existed in this project. First, being consistent with the inherent limitations of many large administrative database studies, this project is an observational investigation, only revealing statistical associations with mortality and adverse outcomes. Moreover, based on electronic records of routine clinical practice, since missing data and outliers are common, many pieces of information that could potentially affect the model may not have been collected, which could impact clinical approaches and drug therapies. Therefore, further research is necessary to validate these results. Thirdly, MIMIC-IV is a statistical database with a relatively long period. Catheters for monitoring and treatment methods for serum sodium may have changed over decades, leading to potential biases in the results. Lastly, since this project only included patients from the United States, the relevance of extrapolating these results to ICU patients in other countries remains uncertain.

Conclusion

This study explored the relationship between serum sodium trajectories and prognosis, as well as 30-day mortality, in patients with lactic acidosis complicated by sepsis. By applying the GBTM model, we found that the stability of serum sodium levels was significantly associated with patient outcomes. Specifically, in the Class 2 group, patients maintained relatively stable serum sodium levels after admission, and their 30-day mortality was significantly lower than in the other groups, suggesting that stable serum sodium levels within the normal range are linked to better prognoses. Additionally, we found that factors such as race, SOFA score, GCS score, and acute kidney injury also influenced the risk of death to varying degrees.

Although this study highlights the potential impact of dynamic changes in serum sodium on prognosis and provides important references for early intervention and care in clinical practice, it also has limitations. These include the limitations of data sources, the inherent drawbacks of observational studies, and the applicability of the results to patients in other countries. Therefore, further research is needed to validate these findings and to explore the management of serum sodium levels in patients of different races and backgrounds.

Author Contributions

Hangyang Li: Conception and design, Data analysis and interpretation, Manuscript writing. Qiongli Zhou: Conception and design, Manuscript writing. Yun Zhang: Administrative support, Data analysis and interpretation. Yuyu Nan and Chengwei Liu: Provision of study materials or patients, Collection and assembly of data. All authors have read and approved the final version of this manuscript.

Conflict of Interest

The authors declare no conflict of interest.

References
 
© 2025 Tohoku University Medical Press

This article is licensed under a Creative Commons [Attribution-NonCommercial-NoDerivatives 4.0 International] license.
This is an open-access article distributed under the terms of the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License (CC-BY-NC-ND 4.0). Anyone may download, reuse, copy, reprint, or distribute the article without modifications or adaptations for non-profit purposes if they cite the original authors and source properly.
https://creativecommons.org/licenses/by-nc-nd/4.0/
feedback
Top