Opioids during pregnancy ...

What happens if you and your baby test positive for opioids during pregnancy and at delivery? Do the doctors take your baby?