เคยมีการให้ซิเตรต 3% แก่ผู้ป่วย 18866 ในการมาโรงพยาบาลครั้งแรกหรือไม่ ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
has there ever been any 3% citrate given to patient 18866 in their first hospital visit?It is not neccessary to use all the tables.
 microbiologyevents:  row_id [ number]  subject_id [ number]  hadm_id [ number]  charttime [ time]  spec_type_desc [ text]  org_name [ text] 
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 = 18866 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1)) AND inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = '3% citrate' AND d_items.linksto = 'inputevents_cv')