As someone who comes from a family with a history of both (but also didn't realize how strong the link was), I want to thank you for pointing this out.
This kind of stuff is built into common measures of psychopathology, such as the somatization/somatic complaints scales of the MMPI. Similar stuff in other places, items about stomach problems loading on anxiety, specifically.