was patient 82159 receiving until 05/2104 any medication?
select count(*)>0 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 82159 ) and strftime('%y-%m',prescriptions.startdate) <= '2104-05'