Pain management for cancer patients