A 75-year-old man is evaluated in the emergency department for fever, productive cough, and shortness of breath of 5 days' duration. Medical history is significant for type 2 diabetes mellitus. He has never smoked and does not drink alcohol. His only medication is metformin.

On physical examination, temperature is 39.2 °C (102.6 °F), blood pressure is 95/65 mm Hg, heart rate is 110/min, and respiration rate is 32/min. Oxygen saturation is 83% breathing ambient air and rises to 94% with 30% oxygen by face mask. BMI is 29. Pulmonary examination reveals decreased breath sounds and crackles at the left lung base. The remainder of the examination, including mental status, is normal.

Laboratory studies show a leukocyte count of 18,000/µL (18 × 109/L). A basic metabolic panel is normal. Blood cultures are pending.

Chest radiograph shows left lower lobe consolidation.

The patient is transferred to the ICU, and empiric broad-spectrum antibiotics are ordered.

Which of the following additional studies is most appropriate in this patient?