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
In X-ray, loops of bowel on the left side of hemithorax and shift of heart shadow -
assistant
The correct answer is  Certain malformations result in the defect in the diaphragm which allows the abdominal organs to push into the chest with mediastinal shift to the opposite side.
Such defects are a Bochdalek hernia, Morgagni's hernia and Diaphragmatic eventration.