ครั้งสุดท้ายที่วัดหรือถ่ายความดันโลหิตของผู้ป่วย 15986 [ค่าล่าง] ในเดือน/23 นี้คือเมื่อใด? ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
when was the last time that patient 15986's arterial bp [diastolic] was measured or taken on this month/23?It is not neccessary to use all the tables.
 diagnoses_icd:  row_id [ number]  subject_id [ number]  hadm_id [ number]  icd9_code [ text]  charttime [ time] 
SELECT chartevents.charttime FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 15986)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arterial bp [diastolic]' AND d_items.linksto = 'chartevents') AND DATETIME(chartevents.charttime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-0 month') AND STRFTIME('%d', chartevents.charttime) = '23' ORDER BY chartevents.charttime DESC LIMIT 1