A new service is set to be launched that will lay on 20 beds to help people stay out of hospital.