tell me the amount of output patient 7512 has had until 1384 days ago?
select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7512 ) ) and datetime(outputevents.charttime) <= datetime(current_time,'-1384 day')