Prognosis and prognostic factors in chronic pancreatitis