Using the proposed models, the likelihood for a patient to have gastritis or ulcer can be estimated by screening the presence of H. pylori virulence genes (i.e. vacA m1/m2, ureA and cagA) and expression levels of IL-17, FOXP3 and IFN- γ in the host. The gene discussed is IL17A; the disease is ulcer disease.