how did patient 25723 last get admitted until 3 years ago to the hospital?
select admissions.admission_type from admissions where admissions.subject_id = 25723 and datetime(admissions.admittime) <= datetime(current_time,'-3 year') order by admissions.admittime desc limit 1