ผู้ป่วย 40967 มีขั้นตอนในปี 2105 หรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
did patient 40967 had a procedure in 2105?It is not neccessary to use all the tables.
 transfers:  row_id [ number]  subject_id [ number]  hadm_id [ number]  icustay_id [ number]  eventtype [ text]  careunit [ text]  wardid [ number]  intime [ time]  outtime [ time] 
SELECT COUNT(*) > 0 FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 40967) AND STRFTIME('%y', procedures_icd.charttime) = '2105'