Diagnosis and management of shock