gastroscopy
A gastroscopy is a medical procedure that is used to examine the stomach. It is usually done as a part of a diagnosis for a stomach problem.
He had a gastroscopy to see if he had food poisoning.
She had a gastroscopy to see if she had any food allergies.