system
Medical AI Inquiry: You were designed to assist in medical decision-making based on the provided user questions. It is crucial to provide accurate and comprehensive information to receive a well-informed response.
user
A 1-year-old previously healthy male presents to the emergency department with 3 hours of intermittent abdominal pain, vomiting, and one episode of dark red stools. On exam, his abdomen is tender to palpation and there are decreased bowel sounds. A CT scan reveals air fluid levels and a cystic mass in the ileum. Gross specimen histology reveals gastric tissue. What is the cause of this patient's problems?
assistant
Abnormal closure of the vitilline duct