Do you suffer from chronic digestive symptoms or persistent anemia? Your immune system may be attacking your stomach. This test detects antibodies that attack the parietal cells responsible for producing stomach acid and intrinsic factor, helping to diagnose autoimmune atrophic gastritis and pernicious anemia.