A 64-year-old man is hospitalized with confusion, nausea, and dizziness. He has not felt well for weeks. Medical history is notable for hypertension, atrial fibrillation, and hyperlipidemia. He had a superior mesenteric artery embolus 2 years ago and had a resection of a large segment of his small bowel. He has chronic diarrhea. Medications are rosuvastatin, metoprolol, warfarin, and enalapril. His wife confirms that he takes no additional medications, including over-the-counter drugs or supplements.

On physical examination, temperature is 37.2 °C (99.0 °F), blood pressure is 108/60 mm Hg, pulse rate is 96/min, and respiration rate is 18/min. BMI is 22. He is confused to place and time and is easily distractible. The remainder of the physical examination is noncontributory.

Laboratory studies:

Blood urea nitrogen

14 mg/dL (5 mmol/L)

Electrolytes:

Sodium

140 mEq/L (140 mmol/L)

Potassium

3.8 mEq/L (3.8 mmol/L)

Chloride

106 mEq/L (106 mmol/L)

Bicarbonate

20 mEq/L (20 mmol/L)

Glucose

90 mg/dL (5 mmol/L)

Lactate

Normal

Arterial blood gases:

pH

7.37

PCO2

36 mm Hg (4.8 kPa)

Plasma osmolality

296 mOsm/kg H2O

Which of the following is the most likely diagnosis?