Are nursing codes of practice ethical?

Are nursing codes of practice ethical?