Sorry, forgot............also request a celiac disease test. Celiac can often result in oily stools.
In many cases the presence of URQ pain and oily fecal material can be due to gallbladder issues or pancreatic problems. Don't immediately jump to thoughts of cancer, though, since gallbladder issues can create pancreatic issues. Make sure you discuss testing with the doc. You may want to request another ultrasound and a HIDA scan with CCK test. In addition, inquire about doing a liver and pancreatic enzyme blood test. You may also want to see if a low fat diet is of help.