Constraint Descriptor : hl7ips3062 (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 : hl7ips3062

Constraint Name
hl7ips3062 (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)
Package
hl7ips
Description
In IPS Allergy and Intolerance Concern, the element defined by /hl7:act[hl7:templateId/@root='2.16.840.1.113883.10.22.4.5']/hl7:effectiveTime/hl7:high shall verify this requirement : If statusCode/@code="completed" Completed, then effectiveTime *SHALL* contain [1..1] high
OCL
self.effectiveTime.high->reject(not nullFlavor.oclIsUndefined())->forAll(aa | CommonOperationsStatic::validateByXPATHV2(aa, 'not(../cda:statusCode[@code=\u0027completed\u0027]) or cda:high') )