Patients of three Surrey hospitals will be able to get more treatment in their own homes, thanks to new digital technology.