d3, Sravanthi| #1067 | Fix hardcoding reg encounter type in registration visit page