has patient 23436 ever had a lab test done in this hospital visit?
select count(*)>0 from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23436 and admissions.dischtime is null )