when did patient 24517 receive a laboratory test for the last time?
select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24517 ) order by labevents.charttime desc limit 1