A 76-year-old man is admitted to the hospital for recurrent palpitations and dyspnea that began 4 days ago. He has hypertension and coronary artery disease, which was treated with percutaneous intervention 8 years ago. Medications are aspirin, atorvastatin, and lisinopril.

On physical examination, temperature is 36.8 °C (98.2 °F), and blood pressure is 115/62 mm Hg. The resting heart rate is 110/min with intermittent irregularity. The estimated central venous pressure is not elevated. S1 and S2 are unremarkable. The lung fields are clear, and the extremities are without edema.

An electrocardiogram obtained after the physical examination is shown.

Which of the following is the most appropriate next step in treatment?