Transgender rights in Canada, including procedures for changing legal gender and protections from discrimination, vary among provinces and territories, due to Canada's nature as a federal state (but no one an be banned or discriminated against for changing their gender.)
Bill C-16, which passed in June 2017, added the words "gender identity and expression" in three instances. These words were added to the Canadian Human Rights Act as prohibited grounds for discrimination, and to the Criminal Code in two sections, the first dealing with hate speech and hate incitement and the second regarding sentencing for hate crimes.
https://en.m.wikipedia.org/wiki/Transgender_rights_in_Canada