A diagnostic examination of the upper digestive tract to evaluate symptoms and identify potential abnormalities.