“Friend mad I keep going to hospital”

My friend always gets mad at me for going to the hospital due to something pregnancy related. I’m almost 38 weeks and the last couple weeks I’ve had complications or my baby hasn’t moved so obviously I’m going to get checked out and anytime she knows I’m going she gives me an attitude. How do I tell her that the health of my baby and myself is more important then her being rude to me? It’s not like I go just to o I have legitimate reasons along with documentation I’ve been and seen for whatever reason. We do also work together so she gets extra pissed when I miss work, she’s not even my boss 😂 I call work, tell them what’s going o, bring notes ect