Calgary Flames defenseman Rasmus Andersson was struck by a car Wednesday night, the team announced.

The Flames were in Detroit before their matchup against the Red Wings on Thursday when Andersson was struck by the car around 6 p.m.

He was taken to a local hospital where tests were done and he was finally okay to go that night.

CLICK HERE FOR MORE SPORTS COVERAGE ON FOXNEWS.COM

Rasmus Andersson of the Calgary Flames (Gerry Thomas/NHLI via Getty Images/File)

«I was going through a crosswalk,» general manager Brad Treliving said via The Athletic. «The good news, and most importantly, is that Ras is doing well. He was transported by ambulance to Detroit Receiving Hospital.»

«I want to make sure to thank the medical staff there and specifically Dr. D. Our medical staff were in consultation with them and the people at the hospital.»

FLORIDA PANTHERS MASCOT, FAN GOES INTO MELEE; TEAM LAUNCHES INVESTIGATION

Treliving added that Andersson considers himself «day to day» at the moment.

Rasmus Andersson of the Calgary Flames plays the puck against the Winnipeg Jets at the Canada Life Center on January 3, 2023 in Winnipeg, Manitoba, Canada.

Rasmus Andersson of the Calgary Flames plays the puck against the Winnipeg Jets at the Canada Life Center on January 3, 2023 in Winnipeg, Manitoba, Canada. (Jonathan Kozub/NHLI via Getty Images)

«He won’t play, and we’ll take this very slowly… It’s not something we’re overly concerned about. But he got beat up, so we’ll see how things go over the next 24 hours and move on from there.»

Andersson was not under the influence of alcohol while riding the scooter, Treliving said.

KIM PEGULA, PART-OWNER OF BILLS AND SABERS, SUFFERED FROM CARDIAC ARREST IN JUNE, REMAINS IN RECOVERY: DAUGHTER

His teammate Mikael Backlund wondered where Andersson was while waiting for him at dinner and sent him a text message to find out his whereabouts. Andersson responded with a selfie and noted that he was fine.

«Hearing him say he was fine makes you feel so much better,» Backlund said.

Calgary Flames' Rasmus Andersson watches during the second period against the Seattle Kraken at Climate Pledge Arena on January 27, 2023 in Seattle.

Calgary Flames’ Rasmus Andersson watches during the second period against the Seattle Kraken at Climate Pledge Arena on January 27, 2023 in Seattle. (Steph Chambers/Getty Images)

CLICK HERE TO GET THE FOX NEWS APP

Andersson is in the Flames’ best defensive pairing with Noah Hanifin, so he’ll surely be missed in Thursday’s game. But, as Treliving and his teammates said, knowing that he’s not seriously injured is a huge sigh of relief.