Stochastic models of patient access management in healthcare