The primary treatment outcome was measured by pain intensity ratings ( 0-10 NRS ) reported several times per day during a five-day monitoring period , using an electronic pain diary combined with a web-based personal health record .