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

Constraint : consSubRole

Constraint Name
consSubRole (type: ERROR, kind: )
Constraint Class
Package
Description
The Role shall be recorded under the AttributeValue with an element <Role> in the namespace 'urn:hl7-org:v3', whose content is defined by the CE datatypes from HL7V3 (ITI_TF_Vol2b, 3.40.4.1.2.1)
OCL
self.attributeValue->size()>0 and 
self.attributeValue->forAll(att : AttributeValueType |
	(not att.role.oclIsUndefined()) 
)