Toronto doctor developed an AI to reduce surgical complications