HI Dr. ,I am 35 yrs old male,I am having pain in right upper quadrent of stomach for the last 3 years,3 years back My Dr. checked and prescribed to take ultrasound scan ,it was normal.After that i undergone HIDA scan for gallbladder function and found 45% is only working,then he sent me to gallbladder specialist,He took endoscopy and told it is not problem of stomach,it was pain with your rib and prescribed some gel to apply.After I went to One more Dr. and he prescribed pantocid for one month,after that pain was reduced but pain is there when ever i am taking sweets and some kind of foods.Still it is continuing what may be the problem.