It received its first rudimentary theoretical foundations in the first or second century AD, but it was not until the 12th century that the deeper principles of Chinese medicine were fully applied to herbal treatment.2Chinese medical theories involving diet follow along much the same lines as herbal theory; essentially, each food is an herb and has its own characteristic effects on the body. (A va