I will add this as my experience, though it has nothing to do with mental health. When I was in jail for a month, my ruptured disc in my back flared up. They gave me steroids and Ibuprofen. Steroids make me EVIL! I told the nurse "look, steroids make me evil, I'm locked up in a room with 32 other whiney women and if you don't give me SOMETHING it's not going to be pretty!" She did give me something (not a controlled substance) to calm me down and help me sleep.
I know, not every jail is the same, but I have to admit...the one I was in did take my concerns seriously.
Still praying that things work out.
Hugs and prayers,
Amy