improved the transfer appropriate encounters to the newly created patient feature.