Pain under right breast almost like a bruise

Ki
Since about 22 weeks I've had this pain on my rib cage right underneath my right breast. (27w5d now) 
For a while I attributed it to be caused from the underwire in my bra. But I've gone either braless or in a loosely tied bikini top under my shirts for the past week or so and the pain still is quite bad. 
It feels like there should be a bruise there, but there isn't. 
I googled and that was a mistake! Now I'm all paranoid about gallbladder and preeclampsia😩 I read that when you have GI issues that the chances of having a gallbladder attack is higher and i have nyd ulcerative colitis. 
I have a doctors appointment on Wednesday but in the meantime has anyone experienced this before?