added patient program to reg encounter