ครั้งแรกในเดือน/27 นี้ที่ผู้ป่วย 31854 ได้รับการวัดความดันโลหิต [ซิสโตลิก] ของเขาหรือเธอ? ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
when was the first time on this month/27 that patient 31854 had his or her arterial bp [systolic] measured?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 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 = 31854)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arterial bp [systolic]' 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) = '27' ORDER BY chartevents.charttime LIMIT 1