Quick google tell me
"I've had a seizure. Do I need to stop driving?
If you hold a driving licence, and you have a seizure of any kind, you need to stop driving and tell the driving agency. This applies to both full and provisional licence holders. In England, Scotland and Wales you need to tell the Driver and Vehicle Licensing Agency (DVLA). In Northern Ireland you need to tell the Driver and Vehicle Agency (DVA).
There are just 2 exceptions to this. You don’t need to tell the driving agency and can keep driving if:
You already hold a driving licence that has been issued on the understanding that you have seizures while asleep and
The seizure you have just had was when you were asleep
OR
You already hold a driving licence that has been issued on the understanding that you only have seizures that don’t affect your consciousness and
The seizure you have just had was the same type"
This is on
https://www.epilepsy.org.uk/info/driving/reporting-seizures-to-driving-agency and even though you don't have epilepsy, the above implies any seizure.
Doc should have told you IMO also.