Gravar-mail: High-throughput phenotyping with electronic medical record data using a common semi-supervised approach (PheCAP)