Substance-related diagnosis type predicts the likelihood and co-occurrence of preterm and cesarean delivery.