Electronic medical record phenotyping using the anchor and learn framework | Synapse