Added functionality to combine encounters and obs for bulk insertion.