resource definition codes