Gravar-mail: Prediction of hospital events based on the severity of illness