The primary outcome was continuation of pregnancy until a favorable gestational age , which was defined as either 34 ( 0/7 ) weeks of gestation or documentation of fetal lung maturity at 32 ( 0/7 ) to 33 ( 6/7 ) weeks of gestation .