The real problem is the inherent risk that other uses will also be made of the data, legally or otherwise. Compliance with the rules for using this sort of data properly and securely has not historically been 100%, and this is Pandora's box. If anything ever seriously breaches, that's game over for the privacy of tens of millions of people, for life.
It's also being done very quickly, very quietly, potentially illegally, and on an opt-out basis, which should be reason enough for us to be extremely sceptical about the whole process even without the doctors here raising questions about the medical ethics involved from a professional perspective.
What is that based on? It's plausible, but so are many things that turn out to be false (and which contradict each other). How do you know?
I worked at Unichem (now alliance-healtcare) upon the system that would produce that data that other companies would buy. No patient specific - just volume of drugs for area's and with that, still happens today.