Horrible rib pain. Help!

In 34 weeks today and since yesterday I've had the worst rib pain. It's only on the right side and has gradually since yesterday been increasing in intensity. It hurts to breathe, it hurts to move and lying down doesn't help much. I have an appointment Wednesday morning but I'm worried about preeclampsia as I was told with my last scan that something to do with the blood flow through my placenta puts me at a higher risk. Should I be worried or could it just be baby?