A 54-year-old woman is found to have a haemoglobin of 88 g/L and microcytosis. Ferritin is low and iron-deficiency anaemia is diagnosed. She reports menorrhagia but is also post-viral with some weight loss. What is the most appropriate next step in investigation?