It’s usually strictly regulated what is allowed and what requires consent. Like I said, life saving is usually the intended criteria. That’s how child molesters are caught. Are you gonna ask diddler daddy for consent to put him in prison for giving his daughter HPV?
If an adult is a suspected victim of human trafficking the police will be alerted despite their consent. Sexual abuse victims will be contacted by police and social workers as it is their job, not the doctor’s, to offer assistance and determine the consent and course of action to take. Same thing happened here, the doctor is not qualified to make the judgment call, so they call someone who is qualified and authorized to make such decisions. For doing so, the doctor is permitted and expected to partially disclose patient information, like identity and anything they saw or heard that prompted them to call social services or police. As they did in OPs case. This is not the violation of rights you think it is. It’s actually a sensible compromise to try and protect the most vulnerable members of society. Adults can be vulnerable too.