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

Constraint Name
hl7ips1056 (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:languageCode SHALL be from the valueSet 2.16.840.1.113883.11.22.19 (flexibility : dynamic)
OCL
self.languageCode->forAll( (not nullFlavor.oclIsUndefined()) or ((not code.oclIsUndefined()) and CommonOperationsStatic::matchesCodeToValueSet('2.16.840.1.113883.11.22.19', code)))