when was patient 78221 admitted for the first time to the hospital until 3 years ago?
select admissions.admittime from admissions where admissions.subject_id = 78221 and datetime(admissions.admittime) <= datetime(current_time,'-3 year') order by admissions.admittime asc limit 1