The doctor will ask about your symptoms and medical history, and perform a physical exam.

Tests may include:

Blood tests —These tests may be used to find an infection, jaundice , pancreatitis , or an obstruction. For example, if bile flow is blocked, the bile will back up into the liver, which can be detected. Common tests include liver function tests, lipase, and amylase.

Ultrasound —A technician will hold a device over the abdomen that bounces sound waves off the organs and the stones. The sound waves make electrical impulses that create a picture of the organ on a video monitor.

Endoscopic ultrasound —A long, flexible, lighted tube is inserted via the mouth or the rectum to visualize the different parts of digestive tract. A small ultrasound transducer is installed at the tip of the endoscope, which allows the doctor to get the device much closer to the internal organs of the body. This in turn helps to obtain pictures of better quality and accuracy than those obtained through traditional ultrasound.

Cholecystogram —You will be asked to swallow some tablets containing contrast material. The contrast material is then absorbed into bile, which fills the gallbladder. X-rays are then taken. The x-rays can show movement of the gallbladder, presence of gallstones, and any blockage of the bile ducts.

Endoscopic retrograde cholangiopancreatography (ERCP) —The doctor guides an endoscope (long, flexible, lighted tube connected to a computer and monitor) through the stomach and into the small intestine. Dye is injected that stains the ducts in the biliary system. Once the stones are located, they can also be removed. This method is effective for stones that have entered the common bile duct.

Cholescintigraphy —This test can be used to diagnose abnormal contractions of the gallbladder. You will receive an injection of a medicine that includes radioisotopes, which are taken up in the gallbladder. The gallbladder is then stimulated to contract and is evaluated by a doctor using an x-ray procedure.

Magnetic resonance cholangiopancreatography (MRCP) —This is an imaging technique using MRI to let the doctor see the biliary and pancreatic ducts. Its purpose is to determine if there is a gallstone blocking any of these ducts. The test allows doctors to visualize the gall bladder, pancreas, and biliary ducts without the use of contrast dye, invasive procedures, or radiation exposure.

HIDA scan —This is an imaging test to check the function of the gallbladder. You will receive a “tracer” drug, which is taken up by the gallbladder. This test will help your doctor determine if the organ is functioning properly and the kind of disease you may have.

CT scan —This is an x-ray scan that uses a computer to produce cross-sectional images of the abdomen.