how patient 86744 first entered the hospital until 3 years ago?
select admissions.admission_type from admissions where admissions.subject_id = 86744 and datetime(admissions.admittime) <= datetime(current_time,'-3 year') order by admissions.admittime asc limit 1