To diagnose IBS, the doctor will start by asking about your child's health history. The doctor will do a physical exam. They may also order some tests to rule out other digestive problems. These may include blood tests, stool tests, radiology tests, and possibly endoscopy. For endoscopy, the doctor uses a flexible tube with a small camera and light in it. The doctor puts the tube (catheter) through either the mouth or anus to look at the inside of the intestine.