how did patient 40435 first get admitted in the hospital since 6 years ago?
select admissions.admission_type from admissions where admissions.subject_id = 40435 and datetime(admissions.admittime) >= datetime(current_time,'-6 year') order by admissions.admittime asc limit 1