Laparoscopic or open surgery for diaphragmatic hernia and eventration of the diaphragm is aimed at repairing defects in the diaphragm that allow abdominal contents to move into the chest cavity.