added pk verification for Practice resources and fixed some bugs in DeclarativeTypeParser_DataObjectExclusive