A hemodialysis patient receives intravenous sodium bicarbonate during treatment.What is the primary indication for this medication?