Diagnosis is primarily clinical, based on the observation of symptoms and physical examination. Radiographic studies and abdominal ultrasound can be used to rule out other conditions. Monitoring of gastric residuals and stool patterns can provide additional clues.