It occurs in pregnant women, usually around the 24th week of pregnancy. So the diagnosis may take place between the 24th and 28th weeks. However, if the risk occurs earlier, your doctor may ask you to go for the test earlier.