What is the origin of disciplinary code?

Disciplinary code of WHAT