Pain tracking apps?

I’m looking for an app for iPhone that I can use to track my pain, which can also link with my food and fitness tracking. I feel like there must be an all encompassing system so I can compare what I ate to my flare ups?

anyone use anything similar?