Diagnosis and treatment of factors complicating subarachnoid hemorrhage