https://www.cbc.ca/news/canada/saskatchewan/canadian-dies-ukraine-medic-1.6716143
They're literally posting pictures of him armed (one where he looks like he's sleeping with his rifle) and then claiming he was a medic.
The law itself is written in typically stupid Canadian fashion where terms are poorly defined, i.e. foreign state is defined but then used as friendly foreign state in the relevant section.
As per the letter of the law, CBC is violating it as well. They're obviously misrepresenting this guy as a medic which may induce others to go be "medics".
"Any person who induces any other person to leave Canada or to go on board any conveyance within Canada under a misrepresentation or false representation of the service in which such person is to be engaged, with the intent or in order that such person may accept or agree to accept any commission or engagement in the armed forces of any foreign state at war with any friendly foreign state, is guilty of an offence."
Yes, they could put red crosses all over, but for some enemies this means nothing, just makes them a more desirable target. I guess they're allowed to engage if their patients or their own lives are in danger, but not engage in combat. It would make sense for them to stay out of the fight because they're the ones who have to deal with everyone else getting wounded.