did patient 52604 get diagnosed with a disease on their first hospital encounter?
select count(*)>0 from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52604 and admissions.dischtime is not null order by admissions.admittime asc limit 1 )