Criteria for spontaneous breathing trial