ผู้ป่วย 022-89058 อยู่ในห้องไอซียูครั้งแรกนานแค่ไหน?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what's patient 022-89058's length of stay in the first icu stay?It is not neccessary to use all the tables.
 intakeoutput:  intakeoutputid [ number]  patientunitstayid [ number]  cellpath [ text]  celllabel [ text]  cellvaluenumeric [ number]  intakeoutputtime [ time] 
SELECT STRFTIME('%j', patient.unitdischargetime) - STRFTIME('%j', patient.unitadmittime) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '022-89058') AND NOT patient.unitadmittime IS NULL ORDER BY patient.unitadmittime LIMIT 1