Evaluation of pupillary response to light in patients