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

Constraint Name
hl7ips3120 (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
IPSProblemEntry
Package
hl7ips
Description
In IPS Problem Entry, the code of /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.22.4.8']/hl7:code SHALL be from the valueSet 2.16.840.1.113883.11.22.16 (flexibility : dynamic)
OCL
self.code->forAll( (not nullFlavor.oclIsUndefined()) or ((not code.oclIsUndefined()) and CommonOperationsStatic::matchesValueSet('2.16.840.1.113883.11.22.16', code, codeSystem, null, null)))