Patients will be randomized to either hydromorphone or fentanyl once in the operating room by opening a sealed protocol envelope. The anesthesiologist will fractionate the total dose opiate administered as the clinical situation warrants to preserve spontaneous breathing. The anesthesiologist will titrate the same drug as required during the first 15 minutes in the recovery room to ensure that immediate analgesic goals are met.