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

Constraint Name
hl7ips1079 (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:recordTarget/hl7:patientRole/hl7:patient/hl7:guardian/hl7:code SHALL be from the valueSet 2.16.840.1.113883.1.11.19563 (flexibility : dynamic)
OCL
self.recordTarget.patientRole.patient.guardian.code->forAll( (not nullFlavor.oclIsUndefined()) or ((not code.oclIsUndefined()) and CommonOperationsStatic::matchesValueSet('2.16.840.1.113883.1.11.19563', code, codeSystem, null, null)))