Some diagnostic tests, such as imaging tests like X-rays, carry some risks for a developing fetus. Talk to your healthcare provider about any concerns you may have.