A run time error 5 occurs when running a note you have a bracket (either a lesser < than sign or greater than sign >) in your note.
This can happen in a note that you are repeating or in a brand new note.
Check the following areas:
1. The template you are using
2. The note that you are repeating
3. The supermacro choices. (Routine Footcare, Mycotic nails and the HPI for chief complaint. Many times the choices themselves have these brackets in them.
4. The H&P bar at the top of the screen.