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

Constraint : constraint_eventCodeList2

Constraint Name
constraint_eventCodeList2 (type: ERROR, kind: )
Constraint Class
XDSIDocEntry
Package
xdsi68
Description
The eventCodeList SHALL be populated from codes in CID 29 and CID 4 (RAD TF Vol 3, Table 4.68.4.1.2.3-1)
OCL
self.classification->select(cl : ClassificationType| (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4')->forAll(cl :ClassificationType | 
	(not cl.nodeRepresentation.oclIsUndefined()) and 
	cl.slot->size()=1 and 
	(not cl.slot->first().name.oclIsUndefined()) and 
	(not (cl.slot->first().name='codingSchema')) and 
	(not cl.slot->first().valueList.oclIsUndefined()) and 
	cl.slot->first().valueList.value->size()=1 and 
	(not cl.name.oclIsUndefined()) and 
	cl.name.localizedString->size()=1 and 
	(not cl.name.localizedString->first().value.oclIsUndefined()) and 
	(
		cl.matchesValueSet('1.3.6.1.4.1.12559.11.4.5.1', cl.nodeRepresentation, cl.slot->first().valueList.value->first(), null, cl.name.localizedString->first().value) or 
		cl.matchesValueSet('1.3.6.1.4.1.12559.11.4.5.2', cl.nodeRepresentation, cl.slot->first().valueList.value->first(), null, cl.name.localizedString->first().value) or 
		cl.matchesValueSet('1.3.6.1.4.1.12559.11.4.5.3', cl.nodeRepresentation, cl.slot->first().valueList.value->first(), null, cl.name.localizedString->first().value) or 
		cl.matchesValueSet('1.3.6.1.4.1.12559.11.4.5.4', cl.nodeRepresentation, cl.slot->first().valueList.value->first(), null, cl.name.localizedString->first().value) or 
		cl.matchesValueSet('1.3.6.1.4.1.12559.11.4.5.5', cl.nodeRepresentation, cl.slot->first().valueList.value->first(), null, cl.name.localizedString->first().value) or 
		cl.matchesValueSet('1.3.6.1.4.1.12559.11.4.5.6', cl.nodeRepresentation, cl.slot->first().valueList.value->first(), null, cl.name.localizedString->first().value)
	)
)