Factors Associated with 24-Hour Clinical Outcome of Emergency Patients; a Cohort Study