Email-запись: Electronic medical record phenotyping using the anchor and learn framework