I don’t believe that is true. I can’t remember where I saw it but I believe HIPPA specifically stops this from happening.
HIPPA does NOT prevent the govt or other health organizations from accessing your records. It prevents other regular folks from accessing your records, and prevents the doctor from discussing your health with other regular folks, but it is specific if the communication is between health professionals they can talk all they want. Also does not prevent info passed to insurance companies.
I have no doubt the govt will start scrubbing data for this kind of thing, but there is no real way for them to do this right now unless they are already tracking our medical records or prescription drug activity.