Is wearing a dress appropriate for a dr office appointment?

I’m 34 weeks pregnant and I don’t fit in any pants at all. All I can wear are dresses.

I have an ultrasound and exam today and I want to wear my dress but am afraid it won’t be appropriate since when they lift it up it’ll just be my underwear.

Is it ok for me to wear a dress? Just don’t want to make anyone feel uncomfortable