instruction: what was the first procedure time of patient 006-113829 during their last hospital encounter for stress ulcer prophylaxis - pantoprazole?
response: SELECT treatment.treatmenttime FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-113829' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime DESC LIMIT 1)) AND treatment.treatmentname = 'stress ulcer prophylaxis - pantoprazole' ORDER BY treatment.treatmenttime LIMIT 1