instruction: during their current hospital encounter, has patient 27172 been ordered with atenolol, pantoprazole sodium or vial?
response: 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) AND prescriptions.drug IN ('atenolol', 'pantoprazole sodium', 'vial')