- Magnetic resonance imaging (MRI) of the abdomen - The patient lies on a table within a metal cylinder (the MRI scanner) for about 30 to 40 minutes while images are obtained with the use of a strong magnetic field and radio waves.