what time is the first time patient 57050 was prescribed a medicine via im route during this hospital visit?
select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 57050 and admissions.dischtime is null ) and prescriptions.route = 'im' order by prescriptions.startdate asc limit 1