PA is the same way. You have to meet certain medical requirements to operate a vehicle. As for narcolepsy and epilepsy, as long as they under control, there is no harm. That being said, if you DO have an episode of one or the other, your license is supposed to be revoked. Regardless of if you were operating a vehicle at the time or not. I don't recall the time frame of how long they take the license away, but it's not a short period.
Really crappy this happened though.