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

Constraint : consValueOID

Constraint Name
consValueOID (type: ERROR, kind: )
Constraint Class
Package
Description
homeCommunityID shall have an OID value with the prefix 'urn:oid' (ITI_TF_Vol2b, 3.40.4.1.2)
OCL
self.attributeValue->size()>0 and 
self.attributeValue->forAll(att : AttributeValueType | 
	att.getListStringValues()->size()=1 and 
	att.matches(att.getListStringValues()->first(), 'urn:oid:.*') and 
	att.isOID(att.getListStringValues()->first().substring(9, att.getListStringValues()->first().size()))
)