I've been in your boat...minus the child. If you're from a MMJ state, that's def. your best option. I was taking 3-4 1000mg vicodins....about 4 times a day. This is absolutely what you don't want...codein. It'll shut down kidneys if it gets to the worst point...I'm just glad Michigan came through, and just in time!
Stick with it, maybe try weening yourself off them, instead of quitting cold turkey. Detox is a bitch...that's probably what you went through.
Good luck, and good to hear you have your priorities straight.