Determination of pregnancy outcome risk rates after exposure to an intervention