High-Throughput Phenotyping and Cohort Identification from Electronic Health Records for Clinical and Translational Research