had any tpn d22.5 been given to patient 31854 on the current intensive care unit visit?
select count(*)>0 from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31854 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'tpn d22.5' and d_items.linksto = 'inputevents_cv' )