Never fear asking
First, you must find out the name of his pain drugs and home vs the meds in the hospital.
Bring it to the attention of the admitting physician. It is highly likely these two different pain drugs have the same mechanism of action or stimulate the same types of receptors. If they do not, you can always ask the physician to consider the patient's home drug along with or instead of the hospital drug.