A 42-year-old man is evaluated for resistant hypertension. He was diagnosed with hypertension at age 35 years and reports that his blood pressure has never been well controlled. He is taking his medications as prescribed. He does not have headaches, chest pain, palpitations, shortness of breath, or symptoms of panic attack. He has no history of cardiovascular disease, does not smoke, and does not drink alcohol. Medications are lisinopril, amlodipine, hydrochlorothiazide, metoprolol, and potassium chloride supplementation. He is not taking any over-the-counter medications.

On physical examination, blood pressure is 150/86 mm Hg and pulse rate is 65/min. BMI is 24. Examination of the heart is significant for an S4 but no murmurs. The remainder of his examination is unremarkable.

Laboratory studies are significant for a serum creatinine level of 1.0 mg/dL (88.4 µmol/L), fasting plasma glucose level of 82 mg/dL (4.5 mmol/L), and serum potassium level of 3.2 mEq/L (3.2 mmol/L).

Which of the following is the most appropriate next diagnostic step?