decision-making algorithms surgery