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

Constraint : constraint_iti46updatenotification_iti46val005

Constraint Name
constraint_iti46updatenotification_iti46val005 (type: ERROR, kind: )
Package
ITI46UpdateNotification
Description
At least one of the id attributes of the Patient class SHALL have a root component matching the value of ProviderOrganization.id.root
OCL
(self.providerOrganization.oclIsUndefined() or self.providerOrganization.id->size() = 0 or self.id->size() = 0) 
xor (self.id->exists(pid: PRPAMT201302UV02PatientId | 
	not (pid.root.oclIsUndefined()) 
	and self.providerOrganization.id->exists(ii: II | 
	 not (ii.root.oclIsUndefined()) and ii.root = pid.root)
)
)