When did doctor-patient confidentiality become the expectation, particularly within a marriage/family?

by alphasubunit

I ask because in Downton Abbey, when Matthew asks Dr. Ryder (some sort of OB/gym/repro doctor) if his wife has seen the doctor as well, Dr. Ryder says "I couldn't possibly comment on it". This was supposed to be taking place in the early 1920s--did ideas about health privacy exist back then, and would they have extended to husband and wife? Iirc, coverture had been curtailed but not completely done away with, would this have impacted women's healthcare at all?

Grauzevn8

Point of clarification: you might want to give a specific country/place because legal and cultural shifts vary. For example, in the Philippines that expectation is not there as I understand it. Recently spoke with someone whose father has a stage IV thyroid cancer (anaplastic) with mets everywhere and a fistula leading out to his skin. The doctors told the family and not the patient and his medical team is so far telling him he has a severe infection. The father in question is cogent and according to his son legally still in control of his life. He said its just how things work with terminal illnesses there. This is almost in direct opposition to US policy in healthcare where the patient might not want their information shared with anyone (spouse/next of kin). So, I don't know if it is really universal among contemporary healthcare systems that Doctor-Patient confidentiality is the expectation.