Adding lactate trajectory classification into the SOFA score improved its accuracy in predicting mortality in sepsis-associated acute lung injury.