Pain management in emergency situations