Phenotyping community-acquired pneumonia according to the presence of acute respiratory failure and severe sepsis