A patient is diagnosed with gastric cancer after presenting…