ตั้งแต่ปี 2100 มีผู้ป่วยกี่รายที่ได้รับการตรวจชิ้นเนื้อหลอดลมแบบปิดภายใน 2 เดือนหลังจากการวินิจฉัยสถานะสารสกัดต้อกระจก?ไม่จำเป็นต้องใช้ตารางทั้งหมด
since 2100 how many patients have undergone closed bronchial biopsy within 2 months after the diagnosis of cataract extract status?It is not neccessary to use all the tables.
 prescriptions:  row_id [ number]  subject_id [ number]  hadm_id [ number]  startdate [ time]  enddate [ time]  drug [ text]  dose_val_rx [ text]  dose_unit_rx [ text]  route [ text] 
SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'cataract extract status') AND STRFTIME('%y', diagnoses_icd.charttime) >= '2100') AS t1 JOIN (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'closed bronchial biopsy') AND STRFTIME('%y', procedures_icd.charttime) >= '2100') AS t2 ON t1.subject_id = t2.subject_id WHERE t1.charttime < t2.charttime AND DATETIME(t2.charttime) BETWEEN DATETIME(t1.charttime) AND DATETIME(t1.charttime, '+2 month')