Developing a prognostic algorithm for non-severe pneumonia treatment failure