Constraint Descriptor : hl7ips1188 (type: org.eclipse.emf.ecore.impl.DynamicEObjectImpl@3c220740 (eClass: org.eclipse.emf.ecore.impl.EClassImpl@5e0a1997 (name: OclInvalid_Class) (instanceClassName: null) (abstract: false, interface: false)), kind: Context)

Constraint : hl7ips1188

Constraint Name
hl7ips1188 (type: org.eclipse.emf.ecore.impl.DynamicEObjectImpl@3c220740 (eClass: org.eclipse.emf.ecore.impl.EClassImpl@5e0a1997 (name: OclInvalid_Class) (instanceClassName: null) (abstract: false, interface: false)), kind: Context)
Constraint Class
HL7IPS
Package
hl7ips
Description
In International Patient Summary, the element defined by /hl7:ClinicalDocument[hl7:templateId/@root='2.16.840.1.113883.10.22.1.1']/hl7:participant/hl7:associatedEntity/hl7:addr shall verify this requirement : If addr is not nullflavored at least one sub element has to be provided
OCL
self.participant.associatedEntity.addr->reject(not nullFlavor.oclIsUndefined())->forAll(aa | CommonOperationsStatic::validateByXPATHV2(aa, '@nullFlavor or cda:*') )