OPD flow breaks due to by-default Visit purpose 

OPD record is not getting saved due to by-default visit purpose.

"Select Visit purpose" message flashes on saving OPD. If visit purpose is changed after msg is displayed, page returns Error on Loading."