Added in dependncy to look for document if status is compliant or not compliant.