My girlfriend has pain in abdomen to the right just below rib cage only at night, been checked for ulcer, gallstones, had scan and also colposcopy?

Biliary dyskinesia . Pain in the right upper abdominal quadrant after ruling out gastric ulcer could still be gallbladder related. Biliary dyskinesia could be an example. It is diagnosed by a hida scan with cck. It essentially a poorly functioning gb that is over distended. Hida scan is a dynamic study that show that emptying capability of the gb. Check it out with a surgeon and good luck.
Gallbladder. May need to have a cck-hida scan to check the function of the gallbladder. Just because there are no stone does not rule out the gb as a cause.