when patient 17505 was last discharged from the hospital until 4 years ago?
select admissions.dischtime from admissions where admissions.subject_id = 17505 and datetime(admissions.dischtime) <= datetime(current_time,'-4 year') order by admissions.dischtime desc limit 1