A proposed Yukon law that would make blood testing and disclosure mandatory in certain situations would violate the privacy of Yukoners, says the territory's privacy commissioner.

Tracy-Anne McPhee said Thursday the territorial government should not go ahead with its proposed mandatory testing and disclosure act until serious flaws in the draft legislation are fixed.

"Introducing a piece of legislation like that, in my view, could put the private health information of Yukoners at risk," McPhee told CBC News.

Under the legislation, a person could be forced to have their blood tested for HIV or other blood-borne diseases in some cases if their bodily fluids come into contact with an emergency worker or victim of crime.

The legislation could also allow a doctor to access a person's medical file to see whether that person has any blood-borne diseases.

Government officials introduced the act in December, at the urging of police, nurses, paramedics and other emergency workers.

Officials have said the act would also help victims of certain crimes, such as sexual assault.

But McPhee said it's essential for the Yukon's privacy commissioner to oversee how information from such blood testing would be handled.

If it's handled improperly, McPhee warned, people would need someone to advocate for them.

"My office operates independent of the government. And as a result, it's important for Yukoners to have a place to go where those decisions — if they don't agree with them — can be reviewed," she said.

An official in the Yukon's Justice Department said public comment on the proposed law is still being reviewed.