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

Constraint : sp021

Constraint Name
sp021 (type: ERROR, kind: )
Constraint Class
KSASubjRoleSpec
Package
ksaml
Description
The value of SubjectRoleSHALL be one of the values of KSA Individual Provider Specialty Value Set (OID= 2.16.840.1.113883.3.3731.1.202.5) [SP-021]
OCL
self.attributeValue->forAll(att : AttributeValueType|
	(not att.role.oclIsUndefined()) and 
	(
		(not att.role.nullFlavor.oclIsUndefined()) or 
		att.role.matchesValueSet('2.16.840.1.113883.3.3731.1.202.5', att.role.code, att.role.codeSystem, null, null)
	)
)