how much was the total output of patient 2127 until 1489 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 = 2127 ) ) and datetime(outputevents.charttime) <= datetime(current_time,'-1489 day')