NHS Trust to use AI-led patient discharge programme ahead of winter