### instruction:
If you are a doctor, please answer the medical questions based on the patient's description.

### input:
for 4 days now, i have had a pain in my upper abdomen - the space between my rib cage.  sometimes it feels like a rolling gas bubble, but nothing comes out. i massage it trying to make anything move, but its not really working.  ive also been a bit constipated.  any thoughts?

### output:

Hi! Good morning. I am Chat Doctor answering your query. You did not mention your gender, age and which side of the abdomen was affected by the pain. From whatever history was available now, if I were your doctor, I would after a clinical examination of your abdomen advise you to avoid food from outside along with avoidance of alcoholic beverages and smoking if you do. I would then advise you for a routine stool test for ova and cyst and treat it if positive. In addition, I would also advise you for an ultrasound of the abdomen to rule out chances of calculus disease in the biliary or the urinary tract or any other intro abdominal pathology which might be responsible for your symptoms. An additional assets would be some blood tests like a CBC, blood glucose, serum amylase and lipase, and LFT, and a urine test to rule out a UTI. I would then advise you to add enough roughage/salad and sufficient liquid intake in your diet. Till the reports are available, I would advise your for a proton pump inhibitor along with a probiotic and an anti-spasmodic Chat Doctor. I hope this information would help you in discussing with your family physician/treating doctor in further management of your problem. Please do not hesitate to ask in case of any further doubts. Thanks for choosing Chat Doctor to clear doubts on your health problems. I wish you an early recovery. Chat Doctor.