management of emergency cases in hospital