Take a moment to read this part of the Hippocratic Oath:
Into whatsoever houses I enter, I will enter to help the sick, and I will abstain from all intentional wrong-doing and harm, especially from abusing the bodies of man or woman, bond or free. And whatsoever I shall see or hear in the course of my profession, as well as outside my profession in my intercourse with men, if it be what should not be published abroad, I will never divulge, holding such things to be holy secrets.
Part of the Hippocratic Oath, Translated by W.H.S. Jones (highlights mine)
Note—it doesn’t say:
And whatsoever I shall see or hear in the course of my profession, as well as outside my profession in my intercourse with men, if it be what should not be published abroad, I will never divulge, holding such things to be holy secrets—unless I am frustrated by a patient or their family, and I can add a great hashtag about it because then it’s OK to tweet it.
Yes, I know the Hippocratic Oath is deeply outdated, but this particular part of the Hippocratic Oath—the part that an ethical physician doesn’t share privileged information about their patients to the public—has a similar version in every state licensing board in the country.