So should I just take the hit or appeal?
Appeal.
You were driving along normally when your medical condition began to flare up so you safely pulled over to take your medication then after recovering continued on. You saw the traffic warden at the scene and explained the situation to him but he was quite rude.
They will cancel the ticket faster than you can say "wedontwantthepressgettingwindofthis".