Translating and evaluating historic phenotyping algorithms using SNOMED CT