Constraint Descriptor : hl7ips1234 (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: Vocabulary)

Constraint : hl7ips1234

Constraint Name
hl7ips1234 (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: Vocabulary)
Constraint Class
HL7IPS
Package
hl7ips
Description
In International Patient Summary, the code of /hl7:ClinicalDocument[hl7:templateId/@root='2.16.840.1.113883.10.22.1.1']/hl7:relatedDocument/hl7:parentDocument/hl7:code SHALL have codeSystem='2.16.840.1.113883.6.1'
OCL
self.relatedDocument.parentDocument.code->forAll( (not nullFlavor.oclIsUndefined()) or (((codeSystem.oclIsUndefined()) or codeSystem='2.16.840.1.113883.6.1')))