Marijuana use while pregnant

I’m one that thinks weed is way better medicine than anything from pharma! What will happen if I continue to smoke while pregnant? I’m thinking of just using edibles but I don’t want to quit bud till st least 5-6 month. I’m using for appetite and sleep and I literally have none! So when they find weed in my system what will happen? Like at my first appointment and there on. I live in AR