Prognosis of patients in a medical intensive care unit