Although an upper GI series provides definitive diagnosis, it must be done carefully by a radiologist experienced with doing this procedure on children to avoid aspiration and is not typically necessary if surgery is to be done immediately.