I'll speak as a lawyer with my confidentiality obligations. I am protected by the only existing professional solicitor-client privilege—not confidentiality—I am bound by solicitor-client privilege. That privilege is waived in the face of an imminent threat to an identifiable person. I am then relieved of that privilege.
To me, as a lawyer, we know...and everyone thinks their privilege or their confidentiality is the most important, but mine is recognized as the most important constitutionally. But I am still relieved of it.
If there is an imminent threat to an identifiable person, I certainly wouldn't see why a professional confidentiality wouldn't be waived.