A nurse is assessing a patient who has been receiving a continuous infusion of morphine sulfate for the management of severe chronic pain. The patient reports a pain level of 7 on a scale of 0 to 10 despite receiving the infusion. Which of the following interventions should the nurse implement first?