Morning sickness medicine

Rachael
Has anyone heard of Diclegis for morning sickness and does anyone know if it is actually safe for baby and mom?  The doctor prescribed it to me because I was extremely sick. It has worked but I want to make sure it's okay to keep taking it