We are testing whether patients who received protocolized pain management (1 mg of IV hydromorphone followed by an additional 1 mg IV hydromorphone 15 minutes later if the patients wants more) will have better pain relief and no more adverse events than patients receiving discretionary care, in which the patients receives whatever IV opioid the treating physician wants to give, in whatever dose.