Identification of variables to decide optimal hospital for emergency patients