I'm really glad that he will be okay but... It's weird that he doesn't remember you guys were dating.
Give it time. He's probably still just dealing with being hit by a car. That's pretty horrifying.
I wish you both the best and I'll be waiting to hear how he is once he leaves the hospital.