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

Constraint : constraintRepositoryUniqueId_length

Constraint Name
constraintRepositoryUniqueId_length (type: ERROR, kind: )
Constraint Class
XDSOnDemandDocumentEntry
Package
rimihe
Description
the repositoryUniqueId has a max length of 64 characters (IHE_ITI_TF V3, 4.2.3.2.18)
OCL
self.slot->select(sl : SlotType1 |
	(not sl.name.oclIsUndefined()) and 
	sl.name='repositoryUniqueId'
)->forAll(sl : SlotType1 |
	sl.valueList.oclIsUndefined() or 
	sl.valueList.value->size()=0 or 
	(
		sl.valueList.value->size()=1 and 
		sl.valueList.value->first().size()<65
	)
)