I also have this reaction when taking any form of severe pain medication that includes any narcotic drug. Which was a problem for me when I was diagnosed with fibromyalgia in 2001. Instead of trying to kill the pain I set out to find out why I had this horribly painful, crippling problem. I spend many thousands of dollars and three years trying a myriad of treatments and I spent months researching on the internet and discovered that it is caused by acid body.
I then found an eating programme that cut out all acids, bread, pasta, potatoes, oils, all wheat based products and low carbs. I ate lots of animal proteins cooked in butter, bacon with the fat on, high fat yoghurt etc. Within weeks I started to feel better and along with procaine injections to almost 90% of my body I overcame the worst of the pain - without drugs.
There's a great book you might find useful 'What Your Doctor May Not Tell You About Fibromyalgia' - R.Paul St.Amand. Certainly helped me to understand how we get this problem. Hope this helps. Stay strong and determined, you'll overcome it. If you need any further information, please ask. Take good care of yourself.