Prognosis of hospitalized patients with community-acquired pneumonia.