The primary outcome (use of intravenous morphine) will be analyzed by dose, and within each dose group by genotype of OPRM1. Secondary outcomes will include pain scores every 6 hours, satisfaction with analgesia, side effects (itching, nausea/vomiting) by dose and genotype.