instruction: how many of metoprolol were prescribed to patient 92846 in total in this hospital visit?
response: SELECT SUM(prescriptions.dose_val_rx) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 92846 AND admissions.dischtime IS NULL) AND prescriptions.drug = 'metoprolol'