An opioid analgesic made from morphine and used mainly as an analgesic. It has a shorter duration of action than morphine.