One inmate shot a deputy from within a home; the deputy was transported to a hospital and is stable