A 65-year-old male with a 15-year history of intermittent cough and sputum production, and 3 years of palpitations and shortness of breath on exertion. Over the past 5 days, he developed fever, cough with yellow sputum, worsening breathlessness, oliguria, and bilateral lower extremity edema. Which of the following is the most critical treatment measure?