HIPPA exists so this can't happen. You (not the patient or their caregiver) should absolutely have no access, no right to access, and no need to access the personal medical details of a person.
I would never do such a thing, why are you?
Pragmatically, it exists. If Boston Scientific has an issue with a lead in one of their neurostimulators, they need to know who needs surgury to replace it and who doesn't.
These processes exist, you just don't know about them because you are focused on it from a data mining perspective, not a caregivers or patients perspective.