In the postanesthesia care unit (PACU), patients will be given intravenous boluses of hydromorphone or fentanyl as needed. Following immediate recovery from anesthesia, patients will be provided with a hydromorphone IV patient-controlled analgesia pump with standard initial settings and an option of clinician dose for breakthrough pain. IV patient-controlled hydromorphone pump settings will be titrated to comfort level (pain score<4) by blinded clinicians.