Examination of the inside of the stomach using a flexible fibre-optic tube called a gastroscope that is passed through the mouth and oesophagus and into the gut.