If a patient has a dilated pupil and a sudden, severe headache (suggesting ruptured aneurysm) or is increasingly unresponsive (suggesting herniation), neuroimaging (CT or, if available, MRI) is done immediately.