Intelligent Management of Elective Surgery Patient Flow