was patient 31854 given a hemoglobin f test since 52 months ago?
select count(*)>0 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hemoglobin f' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31854 ) and datetime(labevents.charttime) >= datetime(current_time,'-52 month')