did patient 31306 underwent any procedure since 2 years ago?
select count(*)>0 from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31306 ) and datetime(procedures_icd.charttime) >= datetime(current_time,'-2 year')