Prediction of risk in biliary surgery