Hello, Anon! Thank you for posting.
There are several types of opioids. Morphine is the most commonly used opioid for cancer pain. Opioids slow down the muscle contractions and movement in the stomach and intestines, which can cause hard stools. To keep the stool soft and prevent constipation, it's important to drink plenty of fluids. Laxatives might also help.
Acetaminophen and NSAIDs help relieve mild pain and are sometimes given with opioids for moderate to severe pain. Pain relievers of this type include:
There may be other options. Speak with her doctor about what else she can take, or what else might help her constipation.