Reworked enconuter visit handler so that MOH257 submissions (and other RE form submissions) can move between visits
and empty visits are cleaned up