Patients were evaluated for changes in pain intensity , frequency , and duration by using the modified Severity Symptoms Index and changes in sleep quality with the use of the Pittsburgh Sleep Quality Index .