Confidentiality law as an ethical obligation in developing competency