Preface: I'm not a doctor!
If your husband has been suffering frequent heartburn for years on end, I'd be concerned about GERD. But, the general symptoms sound leaning toward something more bowel-related, or maybe gall bladder. Hopefully not a combination of things, either.
Good luck and God bless!