added scripts to migrate opd encounters