Open-label , multicenter , noninferiority , randomized trial conducted from January 13 , 2009 , through January 31 , 2013 , in 580 immunocompetent adult patients hospitalized in 6 acute care hospitals in Switzerland for moderately severe community-acquired pneumonia .