Electronic health care records are not high quality data. They are qualitative, often discretized, and also distorted by fiscal shenanigans.
The best “EHR” data we have—quantitative and minimally biased—-are from large genetically diverse animal cohorts like the BXD mouse family.