A hiatal hernia can be diagnosed with a specialized X-ray study that allows visualization of the esophagus and stomach (barium swallow) or with endoscopy (a test that allows the doctor to view the hernia directly).
Good luck with your testing.
Kindly,
Kitt