Study highlights the importance of continuing medication in pregnancy