For diagnosis, a detailed history of the pain is most important, and includes characteristics of pain such as frequency, intensity, location, and association with food, events, times and other symptoms such as vomitting or diarrhea. Family history of gastrointestinal disease is also important, as is the social and emotional history of the child. Parents can maintain a pain diary to better understand a child’s pain occurrence. Over a week or two, you have to record the following information: intensity and length of pain; time and location; if it interfered with any activity like school, sports, movie time, meals; if it was triggered by specific food, activities, words; and how it was relieved. The doctor will study the pain diary to treat the child better. The second step is a physical examination, followed by an investigation of blood, urine and stool samples. Ultrasonography, Xray or CT scan of the abdomen, colonoscopy and gastroscopy are also conducted in some cases.