what was the first drug that patient 19059 was prescribed on their last hospital encounter?
select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19059 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by prescriptions.startdate asc limit 1