Predictive analytics for scheduling in hospitals