It is said that 50 percent of world population have colonisation of H.pylori in stomach.The gold standerd test to rule out infection due to same is microscopy of gastric biopsy and culture of the same, though many other non invasive test are available. Patients with APD/gastric ulcer are diagnosed on the basis of endoscopy.
When they perform endoscopy, are they doing biopsy and sending sample in lab for microscopy and culture?