The surgical causes of a painful abdomen are almost entirely age-specific, and young children localize pain poorly, so age is the first clue to where to look.
2 months
Volvulus, incarcerated hernia, intussusception at the older end, and non-abdominal causes (urinary tract infection, sepsis).
Differential
Infantile colic (thriving, well between episodes)
Malrotation with volvulus
Incarcerated inguinal hernia (check the groin)
Urinary tract infection
Cow's milk protein allergy
What changes
The abdomen is examined by watching the face. Undress the child and look at the groin and the scrotum. Bilious vomiting or a tender, distended abdomen is surgical.
18 months
Intussusception and the abdominal presentation of infection elsewhere.
Differential
Intussusception
Gastroenteritis
Constipation
Urinary tract infection
Lower lobe pneumonia presenting with abdominal pain
What changes
Ask about intermittent episodes with pallor and drawing up the legs. Red-currant jelly stool is late. Ultrasound is the test. Examine the chest.
8 years
Appendicitis, which peaks in later childhood, and constipation, which is much more common.
Differential
Appendicitis
Constipation
Mesenteric adenitis
Gastroenteritis
Streptococcal pharyngitis
Diabetic ketoacidosis
Henoch-Schonlein purpura (IgA vasculitis) with abdominal pain
What changes
Pain that migrates to the right lower quadrant, anorexia, and pain with movement point to appendicitis; the child who hops on the spot without pain probably does not have it. Look at the legs and the urine for IgA vasculitis.
15 years
Appendicitis still, plus gynecological and testicular emergencies.