when was patient 83182 being prescribed with a medication for the last time in this hospital visit?
select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83182 and admissions.dischtime is null ) order by prescriptions.startdate desc limit 1