I'll probably get downvoted but this article seems highly sensationalized. It blames Facebook, while the blame should be on the hospitals who, for whatever reason, have the FB pixel code in locations where it shouldn't be.
You're suggesting that there are places where the "FB pixel code" should be?
Yes (relatively speaking, only).
The blame should fall squarely on the company providing the electronic health records system, and any regulatory agencies (like the FDA) that are supposed to be overseeing them. The hospitals buy these systems, which are massive and complex, they don't create them in-house. I would not expect them to have the expertise to do so.