Patient is a 52-year-old male, was admitted to our service through the emergency department at the hospital.  He was found down with respiratory arrest.  At the time of admission, head CT showed a very extensive subarachnoid and intraventricular hemorrhage throughout the ventricular system as well as the basilar cistern, also, there was noted a diffuse, severe cerebral edema with lots of normal white matter differentiation. Clinical examination at the time of admission showed a brain dead patient.  He was admitted to the intensive care unit and the family was notified.  By 9:45 a.m., the patient was declared brain dead following the appropriate protocols.  The patient's family was notified and they agreed with organ donation. The patient was taken to the operating room in late evening.


Given a medical text, extract all the diagnosis mentioned in the text that can then be used to assign ICD codes. The diagnosis may appear in the form of a disease, medical condition, or disorder that has been diagnosed or mentioned in the medical text. Ignore any such entities mentioned with negative evidence or mentioned in the history. Also list alongside the exact phrase from the text from where you inferred this information. 