A drug used to treat moderate to severe pain. It may also be used to treat certain types of cough. Hydromorphone hydrochloride is made from morphine and binds to opioid receptors in the central nervous system. It is a type of opioid and a type of analgesic agent. Also called Dilaudid, Exalgo, and Hydrostat IR.