Consultation open on draft code of ethics