ผู้ป่วยที่ได้รับการวินิจฉัยว่าเป็น family hx-breast mali จนถึง 2 ปีที่แล้วมีจำนวนเท่าใด? ไม่จำเป็นต้องใช้ตารางทั้งหมด
what's the number of patients who have had family hx-breast malig diagnosed until 2 years ago?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(DISTINCT 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 = 'family hx-breast malig') AND DATETIME(diagnoses_icd.charttime) <= DATETIME(CURRENT_TIME(), '-2 year'))