Criminal justice agencies honor code

Criminal justice agencies honor code

In order for the profession to police itself and protect the innocent consumer, members of these professions are required to swear to honor a code of conduct or ethics in order to be licensed to practice.

Does this only pertain to criminal justice agencies? Why or why not?