Planning the appropriate operation for chronic pancreatitis