Psychiatry

A 16 years old female presents with recurrent abdominal pain hut biochemical assays and ultrasound abdomen is normal. After waking up from sleep, she suddenly complains of loss of vision of bilateral eyes. Ophthalmologist finds nothing on examination. This condition is most probably due to: