 A contrast-enhanced CT scan is usually performed more than 48 hours after the onset of pain to evaluate for pancreatic necrosis and extrapancreatic fluid as well as predict the severity of the disease.CT scanning earlier can be falsely reassuring.ERCP or an endoscopic ultrasound can also be used if a biliary cause for pancreatitis is suspected.