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