Sometimes amniocentesis to check fetal lung maturity can help determine when delivery should be done; a lecithin / sphingomyelin ratio of > 2: 1 or presence of phosphatidylglycerol indicates maturity.