Wyślij emailem: Electronic medical record phenotyping using the anchor and learn framework