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

Constraint : ch_pdq_007_NameOrId

Constraint Name
ch_pdq_007_NameOrId (type: ERROR, kind: )
Constraint Class
CHPDQPatientSpec
Package
chpdqresponse
Description
Either "Person.name" or "Patient.id" must be non-null.
OCL
self.id->size() > 0 and self.patientPerson.name->size() > 0 
  			and not (
  				self.id->forAll(ii : II | not(ii.nullFlavor.oclIsUndefined()))
  				and self.patientPerson.name->forAll(pn : PN | not(pn.nullFlavor.oclIsUndefined()))
  				)