when was the first time that patient 31854 was prescribed medication via an pb route in their current hospital encounter?
select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31854 and admissions.dischtime is null ) and prescriptions.route = 'pb' order by prescriptions.startdate asc limit 1