Breast ultrasound

Hey all, 
I have a referral to get a breast ultrasound done ASAP but I am 27 weeks pregnant. I am wondering if this is safe to do while pregnant? Did anyone get a breast ultrasound done while pregnant or any other types of ultrasound ?