A law or system of laws which forms the foundation of a government, corporation or other organization's body of rules. A constitution is a particular form of organic law for a sovereign state.
How often have the words legal code and organic law occurred in a corpus of books? (source: Google Ngram Viewer )