When I was growing up, medicine was more focused on social elements. It more explicitly recognized that people spread disease from person to person.
At one time, the way we stopped STDs was we took the names of all your recent hookups, contacted them and let them know they had been with someone who had just tested positive for a particular STD and offered them testing and treatment.
In my teens, the AIDS crisis hit. In the US, it was mostly associated with gay men and IV drug users. These populations had reasonable concerns about giving a list of contacts to authorities and pushed for drug research and stronger privacy policies.
My understanding is we largely no longer use this proven method of stopping the spread of most STDs.
I can also remember going to a doctor with a sibling and a couple of cousins and all of us getting treated so that the issue wouldn't just go round and round through the family. I feel like that was a fairly common practice at the time and we mostly don't do stuff like that anymore.
Historically, doctors did house calls and were one of the smartest, best educated people in town and towns were relatively small. They could address issues that helped contribute to your medical problem beyond just prescribing drugs and surgeries.
Now we act like human beings are specimens in a petri dish and like their physical health is unrelated to their lifestyle or the fabric of their life.
I think this is a big problem. The phrase "We've thrown out the baby with the bathwater" comes to mind but doesn't quite fit.
What we've done is tossed aside wisdom and context to worship at the alter of ooh shiny diagnostics. The high tech diagnostics are useful but the largely unnoticed loss of wisdom and context is a serious problem and we aren't even trying to solve it because we mostly haven't noticed that it matters.