had patient 23224 had received medication since 6 years ago?
select count(*)>0 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23224 ) and datetime(prescriptions.startdate) >= datetime(current_time,'-6 year')