ผู้ป่วย 021-227292 มีการหายใจมากกว่า 21.0 ในวันนี้หรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
had patient 021-227292 have a respiration greater than 21.0 today?It is not neccessary to use all the tables.
 intakeoutput:  intakeoutputid [ number]  patientunitstayid [ number]  cellpath [ text]  celllabel [ text]  cellvaluenumeric [ number]  intakeoutputtime [ time] 
SELECT COUNT(*) > 0 FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '021-227292')) AND vitalperiodic.respiration > 21.0 AND NOT vitalperiodic.respiration IS NULL AND DATETIME(vitalperiodic.observationtime, 'start of day') = DATETIME(CURRENT_TIME(), 'start of day', '-0 day')