instruction: until 07/2102, what was the daily maximum dose of volume (ml)-magnesium sulfate ivpb 2 g 50 ml of patient 030-47098?
response: SELECT MAX(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '030-47098')) AND intakeoutput.celllabel = 'volume (ml)-magnesium sulfate ivpb 2 g 50 ml' AND intakeoutput.cellpath LIKE '%intake%' AND STRFTIME('%y-%m', intakeoutput.intakeoutputtime) <= '2102-07' GROUP BY STRFTIME('%y-%m-%d', intakeoutput.intakeoutputtime)