was patient 98517 prescribed atorvastatin?
select count(*)>0 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 98517 ) and prescriptions.drug = 'atorvastatin'