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

Constraint : conscodesystem

Constraint Name
conscodesystem (type: ERROR, kind: )
Constraint Class
PurposeOfUseSpec
Package
samlihe
Description
codeSystem shall be specified in the PurposeOfUse element (ITI TF Vol2b, 3.40.4.1.2.3)
OCL
self.attributeValue->forAll(att : AttributeValueType |
  				att.purposeOfUse.oclIsUndefined() or 
  				(not att.purposeOfUse.nullFlavor.oclIsUndefined()) or 
  				(not att.purposeOfUse.codeSystem.oclIsUndefined())
  			)