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

Constraint Name
hl7ips1052 (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:confidentialityCode SHALL be from the valueSet 2.16.840.1.113883.1.11.16926 (flexibility : dynamic)
OCL
self.confidentialityCode->forAll( (not nullFlavor.oclIsUndefined()) or ((not code.oclIsUndefined()) and CommonOperationsStatic::matchesValueSet('2.16.840.1.113883.1.11.16926', code, codeSystem, null, null)))