until 4 years ago patient 78221 was diagnosed with any diagnosis?
select count(*)>0 from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 78221 ) and datetime(diagnoses_icd.charttime) <= datetime(current_time,'-4 year')