factors affecting surgical outcomes