EHRs (electronic health records) were suppose to be the "common charting protocol" back when ACA passed.
Unfortunately so many junk systems were pushed to the market and the "common charting protocol" is highly dependent on the EHR used by the hospital system.
There _was_ supposed to be some interoperability between EHRs but I honestly haven’t been following it for quite some time.
As for availability of medical history to researchers, I highly doubt this will happen.
Big tech has ruined the trust between people and technology. People gave up their data to G, MS, FB, and others for many years.
We have yet to see any benefit for the common man or woman. Only the data is used against us. Used to divide us (echo chambers). Used to manipulate us (buy THIS, hate that, anti WoKe). Used to control uneducated and vulnerable population. Used to manipulate elections. Used to enrich the billionaire class.