A strong opioid drug called hydromorphone 4 mg is used to treat patients with severe pain that needs to be managed 24 hours a day. It is commonly recommended to treat chronic pain disorders such as pain following surgery, cancer, and severe traumas.