Riskiest time for surgery patients is not in the operating room