Study identifies three patterns in acute pneumonia outcomes