A 75-year-old woman is evaluated for a 3-month history of progressive exertional dyspnea and decreased exercise tolerance. She does not have chest pain. She has a history of hypertension and COPD. She has a 55-pack-year tobacco use history but quit 3 years ago. She has no history of alcohol use. Medications are lisinopril, tiotropium, and as-needed albuterol.

On physical examination, blood pressure is 136/78 mm Hg, pulse rate is 88/min, and respiration rate is 16/min. Jugular venous distention is noted. There are decreased breath sounds throughout both lung fields, and crackles are detected. An S4 is heard on cardiac examination. There is trace bilateral lower extremity edema.

Laboratory studies, including thyroid function studies, are normal. Electrocardiogram is shown. A chest radiograph shows changes consistent with COPD, mild vascular congestion, and blunting of the costophrenic angles bilaterally. Echocardiogram shows a left ventricular ejection fraction of 30% and an akinetic anterior wall.

The patient is started on furosemide.

Which of the following is the most appropriate diagnostic test to perform next?