Prognosis, trend and prediction in patient management