I have had a similar reaction and also get the unbearable pain with codeine and the docs had to switch to another pain med.
They were advised by the hospital pharmacist.
Perhaps you would be better to let your doctors know so they can give you an alternative
drug.
Feel better soon
Trysha