OpenEMR and clinical trial CDISC standards

Hi,
I work on statistical programming for clinical trials. I am trying to understand how EMR data could be used in clinical trials. Clinical trials are submitted to FDA using CDISC standards. I am trying to understand and develop process for it. Can somebody please help me with this effort.

Thanks,
Priya