patient 28484 visited an emergency room until 3 years ago?
select count(*)>0 from admissions where admissions.subject_id = 28484 and admissions.admission_location = 'emergency room admit' and datetime(admissions.admittime) <= datetime(current_time,'-3 year')