did warfarin, albuterol mdi, or glucagon be prescribed for patient 24971 on the last hospital encounter?
select count(*)>0 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24971 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and prescriptions.drug in ( 'warfarin', 'albuterol mdi', 'glucagon' )