Is it safe to get ultrasounds while pregnant?

Yes. Many years ago, there was a hypothetical belief that high frequency sound waves (ultrasound) used to perform a sonogram might harm the developing baby's hearing. Now, after literally millions of ultrasounds preformed on millions of babies, our fears have been relieved -- sonograms are safe. But a mom might still see a consent form before a sonogram for one reason only: medico-legal protection.
Not a problem. These have been looked at for years & have never showed evidence of being a problem.