ครั้งแรกที่ผู้ป่วย 007-849 ในการเข้ารับการรักษาในหอผู้ป่วยหนักครั้งล่าสุดมีค่าเฉลี่ยทั้งระบบน้อยกว่า 215.0 คือเมื่อใด? ไม่จำเป็นต้องใช้ตารางทั้งหมด
when was the first time that patient 007-849 on the last intensive care unit visit had systemicmean less than 215.0?It is not neccessary to use all the tables.
 patient:  uniquepid [ text]  patienthealthsystemstayid [ number]  patientunitstayid [ number]  gender [ text]  age [ text]  ethnicity [ text]  hospitalid [ number]  wardid [ number]  admissionheight [ number]  admissionweight [ number]  dischargeweight [ number]  hospitaladmittime [ time]  hospitaladmitsource [ text]  unitadmittime [ time]  unitdischargetime [ time]  hospitaldischargetime [ time]  hospitaldischargestatus [ text] 
SELECT vitalperiodic.observationtime FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '007-849') AND NOT patient.unitdischargetime IS NULL ORDER BY patient.unitadmittime DESC LIMIT 1) AND vitalperiodic.systemicmean < 215.0 AND NOT vitalperiodic.systemicmean IS NULL ORDER BY vitalperiodic.observationtime LIMIT 1