RA-176 - Simple first version of a Visit Note
fixing some message codes