Published August 26, 2026 | Version 1
Software Restricted

Reproducibility code for 48-h serum sodium range and short-term mortality in ICU patients with hyponatremia

  • 1. Department of Critical Care Medicine and Emergency, The Affiliated Suzhou Hospital of Nanjing Medical University, Suzhou, Jiangsu Province, 215000, China
  • 2. Suzhou Clinical Medical Center of Critical Care Medicine, Suzhou Municipal Hospital, Gusu School, Nanjing Medical University, Suzhou, Jiangsu Province, 215000, China
  • 3. Research Center for Neutrophil Engineering Technology, The Affiliated Suzhou Hospital of Nanjing Medical University, Suzhou, Jiangsu Province, 215000, China
  • 4. Department of Critical Care Rehabilitation, Suzhou Rehabilitation Hospital, Suzhou, Jiangsu Province, 215000, China

Description

This archive contains the R code used to reproduce the statistical analyses and figures for a 48-hour landmark cohort study evaluating the association between early serum sodium range and short-term mortality among ICU patients with hyponatremia in MIMIC-IV version 3.1.

The archive includes code for baseline characteristics, continuous and tertile-based Cox proportional hazards models, restricted cubic spline analyses, baseline-sodium severity-stratified analyses, Kaplan–Meier curves, alluvial plots, subgroup analyses and forest plots, Fine–Gray competing-risk models, sensitivity analyses, and direction-specific exploratory analyses.

Patient-level MIMIC-IV data are not included because access and redistribution are governed by the PhysioNet Data Use Agreement. Authorized users should place the cleaned analytic file hyponatremia_.csv in the project root before running the numbered R scripts.

Files

Restricted

The record is publicly accessible, but files are restricted. Log in to check if you have access.

Additional details

Dates

Issued
2026-08-26
First public release of the reproducibility code (version 1)