Effective resource management using machine learning in medicine: an applied example. (22nd June 2018)