Prognostic prediction of critical illnesses