Can seatbelt hurt baby?

I’m 18 weeks and today in the car my boyfriend slammed very hard on the breaks and the seatbelt hit my stomach. I’m having some cramping now. I think the baby might have been sticking up at the time. could this have hurt the baby?