I have.
I was 26 or thereabouts (it's been a while), in good health, but had one "touch base" appointment in my prior 2 year medical history (what the prospective insurer wanted, at that time). The appointment had no ongoing medical/treatment implications; it was simply a follow-up with a prior provider. Fortunately, a friend of a friend ran my application "unofficially" by the insurer's underwriters; if it had been a formal application, the result would have ended up in a cross-insurer database of decisions made whether to insure. Yes, there actually is -- was, certainly, at that time -- one, and if you landed in it with a "deny", getting anyone else to insure you became an order of magnitude more difficult. So I was told by this industry professional -- again, as a favor to my professional contact and friend.
More recently, I've had a minor condition that an eminent surgeon refused to operate on. Cost/benefit didn't merit it; his recommendation was simply to monitor.
When I changed from employer provided insurance to individually insured, I was denied. There was nothing I could do, and the condition did not hinder me in any way. Nonetheless.
Again, through the fortune of having a (different) professional contact and friend in the industry, with an allied company, I was able -- via a flaw in their processing of the application -- to get a re-evaluation. And a policy written, albeit with a rider excluding that condition.
But their initial reaction, before I "pulled strings"? They didn't offer me a policy with an exclusion rider. Nope, just "deny".
SO, many people who are paranoid about this kind of thing and "their health data getting around", are for damned good reason.
I agree, the knowledge and health benefits of sharing this data could be enormous. Think of what it could do for epidemiology. Best practices. Etc. Etc.
But, you want me to share it? You want me to sign on to a public program of same. You're going to have to guarantee that the data won't be used against participants.
As in, you do so use it, and you personally go to jail with a felony conviction and a multi-year sentence. And your company gets severely penalized and, if the behavior is widespread and with significant negative outcomes for those discriminated against, its own "death penalty".
You want the data? Demonstrate your good will. In ironclad terms.