@SweetPetrichor
I would assume that if a person has just died, or is near death, when it comes to organ donation they’d look at the medical records for the donor. And if someone is transgender, it will be pretty obvious because I’m sure that those medical details will be recorded in medical records.
I think this is a non-issue.
Only if that's person has had official, recorded medical intervention. If they have self id-d their sex on their id documents, changed name by deed poll and ordered Corsa sex hormones on line through dodgy doctors like gender gp, there won't be any medical records.
Of course there will also be those who have done no medical transition at all and have entirely male bodies. Hugely obvious that the body in front of them is male but if it's recorded as female, what happens then?