I was prescribed a high dose of antacid and other meds. I don't feel the bloating
as much, until I eat, and this pain under
my rib is still there. I was told it could take up to to 6 months to heal. Also, you should look up, floating rib syndrome. My mother had this and it was pretty much the same symptoms too. Hope you find out what is wrong, I know how stressful and somewhat scary it is to not know what iis wrong.