The guidance starts out well. '1.2 Guidance statement: Providers of NHS-funded care are expected to have a zero-tolerance approach to mixed-sex accommodation, except where it is in the overall best interest of all patients affected.'
But then there is Annex B, which says 'Trans people should be accommodated according to their presentation: the way they dress, and the name and pronouns they currently use. This may not always accord with the physical sex appearance of the chest or genitalia. It does not depend on their having a gender recognition certificate (GRC) or legal name change. It applies to toilet and bathing facilities (except, for instance, that preoperative trans people should not share open shower facilities).' Annex B was apparently written with input from the Government Equalities Office.
NHS accommodation is now mixed sex accommodation with allocations based on pronouns.