Well, as I've always been told: in your head, okay to race, in your lungs...mmmmmm maybe not so okay.
But it sounds like you were pretty well medicated and perhaps on the mend anyway.

Great job to stick with it. Now rest.