Urgent

All patients who've got dysphagia

All patients who've got an upper abdominal mass

consistent with stomach cancer

Patients aged >= 55 years who've got weight loss, AND any of the following:

Non-urgent

Patients with haematemesis

Patients aged >= 55 years who've got:

Managing patients who do not meet referral criteria ('undiagnosed dyspepsia')

This can be summarised at a step-wise approach