# Example 1: Hyponatremia correction
# Na 115 -> 120 in 24h, using 3% Saline (513 mEq/L), 70kg Male (0.6 TBW)
sodium_correction_rate(115, 120, 24, 513, 70, 0.6)
# Example 2: Hypernatremia correction
# Na 155 -> 150 in 24h, using D5W (0 mEq/L), 60kg Elderly Woman (0.45 TBW)
sodium_correction_rate(155, 150, 24, 0, 60, 0.45)
Run the code above in your browser using DataLab