what is the drug patient 19627 was prescribed for the first time when they came to the hospital last time via ip route?
select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19627 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and prescriptions.route = 'ip' order by prescriptions.startdate asc limit 1