The Bottom Line: The two most common causes of acute pancreatitis are alcohol-induced and gallstones. For gallstone pancreatitis, cholecystectomy should be performed to prevent recurrence. In the past there has been controversy over the timing of cholecystectomy. The evidence shows that performing cholecystectomy during the same hospital admission if possible is recommended.
Kimura. Gallstone-induced acute pancreatitis. Journal of Hepato-Biliary-Pancreatic Sciences 2010 vol:17 iss:1 pg:60 -9
Summary: In all others with gallbladder in situ, definitive surgical management (cholecystectomy) should be performed in the same hospital admission if possible and, otherwise, no later than 2–4 weeks after discharge.