when was the first time in this hospital encounter patient 94229 was prescribed a medication?
select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 94229 and admissions.dischtime is null ) order by prescriptions.startdate asc limit 1