Leveraging digital technology in the realms of pain management