I was a medical transcriptionist when I was a JW and I have typed medical reports on JWs who received medical treatment and one time it was revealed in a dictation that an unmarried JW had multiple sex partners but I kept that information to myself when I was working in that capacity, however I know others may not have. I guess I was not a model witness at the time.
If you work in healthcare and you disclose confidential information you can be individually sued as well as prosecuted. That kind of violation has serious consequences and it may show up to future employers who would do a background check on you even if you no longer work in healthcare.