Prediction of survival in a hospital-based continuing care unit