Specific tests depend on the findings (see Table: Physiologic Causes of Chronic Abdominal Pain) but typically include ultrasonography for ovarian cancer in women > 50 years, CT of the abdomen and pelvis with contrast, upper GI endoscopy (particularly in patients > 60 years old) or colonoscopy, and perhaps small-bowel imaging or stool testing.