MRCP is done if liver tests, particularly direct bilirubin and alanine aminotransferase (ALT), are elevated from their baseline and abdominal ultrasonography does not exclude gallstones in the common bile duct as the etiology for gallstone acute pancreatitis.