A flow demand model to predict hospital utilisation