Automated data extraction from electronic medical records for pragmatic clinical trials. | Synapse