did patient 94229 come into an er during this hospital encounter?
select count(*)>0 from admissions where admissions.subject_id = 94229 and admissions.admission_location = 'emergency room admit' and admissions.dischtime is null