Software platform that predicts risks of surgical complications and allows surgeons to proactively intervene