Residents immerse themselves in rural medicine