ดึงข้อมูลรหัสผู้ป่วยที่ได้รับการวินิจฉัยว่าเป็นโรคเส้นประสาทตาขาดเลือดในปีนี้ ไม่จำเป็นต้องใช้ตารางทั้งหมด
retrieve the patients ids who had been diagnosed with ischemic optic neuropthy in this year.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 admissions.subject_id FROM admissions WHERE admissions.hadm_id IN (SELECT diagnoses_icd.hadm_id FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'ischemic optic neuropthy') AND DATETIME(diagnoses_icd.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year'))