Diabetic foot surgery: classifying patients to predict complications