Factors influencing desired and received analgesia in emergency department