Pregnant and lactating women have been historically excluded from drug trials, even though many rely on medications to manage pain, mental health and chronic disease.