This document discusses how clinical trials can be powered by electronic health records (EHRs). It outlines a methodology using standard information models and archetypes to extract and normalize EHR data, abstract it to a higher level of meaning for clinical research, and integrate it into clinical trial systems. As a use case, it describes how diabetes patient data stored in EHRs could be formalized, transformed, and enriched to populate a clinical trial dataset using this approach. The benefits include closer clinical involvement, quicker reuse of EHR data for research, reduced costs and time to market, and a future-proof, standards-independent solution.