what's the name of the specimen test that was first given to patient 40967 during the last hospital encounter?
select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40967 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by microbiologyevents.charttime asc limit 1