What is the most important factor in determining the risk of damage to a fetus following radiation exposure?

What is the most important factor in determining the risk of damage to a fetus following radiation exposure?

The stage of gestation