instruction: on the first hospital encounter, did patient 18866 go to an er?
response: SELECT COUNT(*) > 0 FROM admissions WHERE admissions.subject_id = 18866 AND admissions.admission_location = 'emergency room admit' AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1