Add assertions to ensure that the encounter providers, obs and orders were transferred