Constraint Descriptor : consSubRoleOption (type: ERROR, kind: )

Constraint : consSubRoleOption

Constraint Name
consSubRoleOption (type: ERROR, kind: )
Constraint Class
AuthzConsentOption
Package
samliheauthz
Description
When Actor is implementing Authz-Consent option, an attribute with @Name='urn:ihe:iti:bppc:2007:docid' or @Name='urn:ihe:iti:xua:2012:acp' SHALL be present (ITI_TF_Vol2b, 3.40.4.1.2.2)
OCL
self.attribute->exists(att : AttributeType |
	(not att.name.oclIsUndefined()) and 
	(
		att.name='urn:ihe:iti:xua:2012:acp' or 
		att.name='urn:ihe:iti:bppc:2007:docid'
	)
)