Factors associated with time to first analgesic medication in the emergency department.