Hi ! It is not possible to guess the nature of the swelling which you have developed under your rib cage
without a clinical examination. Therefore, I would suggest you to get reviewed by your family physician for a physical examination by him for further management. For constipation
, you should take a lot of fibers along with plenty of liquids. Wishing you an early recovery.