Thanks for the query to H.C.M. Forum.
I would come up with these possibilities for such type of symptoms, these includes.
stone as pain is on the right side just around and below ribs .Green colored urine is also passing .Diagnosis can be confirmed by ultrasound
2 The 2nd possibility is of pancreatitis
as it may cause upper left abdominal pain
which is worse when bending over or sitting .Pancreatic enzyme like serum amylase & lipase should be measured to rule out any pancreatic cause.
3 The last possibility may be cancer in large intestine . Diagnosis can be confirmed by colonoscopy
In my opinion deal according to above mentioned and consult a physician and get his opinion as physical examination is very important in this type of case.
Good luck. Dr. HET