I think it’s very commendable that you admitted you weren’t well and proceeded to the hospital as soon as you realized you were not well.
Maybe it wouldn’t be forgivable if you kept it a secret, lied how unwell you were and never seeked help thus endangering everyone around you. That’s not what you did.
If you feel uneasy, maybe bring it up to him that you worried how he feels about the whole thing.