what was the name of the medicine that was prescribed to patient 8116 in this hospital encounter for the last time?
select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8116 and admissions.dischtime is null ) order by prescriptions.startdate desc limit 1