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

Constraint : rcs66

Constraint Name
rcs66 (type: ERROR, kind: )
Constraint Class
D_RCS_Document_Custodian
Package
rcsep
Description
RCS Document Custodian SHALL contain exactly one [1..1] assignedCustodian (CONF:1166-58). This assignedCustodian SHALL contain exactly one [1..1] representedCustodianOrganization (CONF:1166-59). This representedCustodianOrganization SHALL contain at least one [1..*] id (CONF:1166-60). Such ids SHALL contain exactly one [1..1] @root, which SHALL be selected from ValueSet Registry Participant Identifier Namespace urn:oid:1.3.6.1.4.1.19376.1.4.1.6.5.145 STATIC (CONF:1166-66).
OCL
self.assignedCustodian.oclIsUndefined() or (
	(not self.assignedCustodian.representedCustodianOrganization.oclIsUndefined())
	and self.assignedCustodian.representedCustodianOrganization.id->forAll(var : II |
		(not var.root.oclIsUndefined())
		and var.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.145',var.root)
	)
)