moving encounter form management to its own app