The optimization of a surgical clinical pathway