was patient 27172 provided with any medication in this hospital visit?
select count(*)>0 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27172 and admissions.dischtime is null )