Some light reading;
It can be seen in some instances as criminal behaviour, with very serious implications. Such as what we are seeing whether guilty or not. Apologies I don’t know if you are uk based or not- but If you research the NMC (for nurses) or the GMC (for doctors) and “confidentiality” and the various articles and journal documents on the matter- the legislation and obligations are the same, and in many other areas whether a trained nurse, doctor, social worker, teacher etc.
In 2015 in fact, there was also a member of staff (coincidentally in the same place as the accused) who was banned from practice on this very point. It doesn’t matter who does or does not do this (example as in others we’re doing it, on their phone or gossip sing about patients etc) it is legally against the expectations of many professionals.