instruction: how much vancomycin has been prescribed to patient 1784 in total?
response: SELECT SUM(prescriptions.dose_val_rx) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 1784) AND prescriptions.drug = 'vancomycin'