instruction: when did patient 031-13531 have the first respiration to be greater than 24.0 until 363 days ago?
response: 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 = '031-13531')) AND vitalperiodic.respiration > 24.0 AND NOT vitalperiodic.respiration IS NULL AND DATETIME(vitalperiodic.observationtime) <= DATETIME(CURRENT_TIME(), '-363 day') ORDER BY vitalperiodic.observationtime LIMIT 1