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

Constraint Name
hl7ips2847 (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
IPSMedicationStatement
Package
hl7ips
Description
In IPS Medication Statement, the code of /hl7:substanceAdministration[hl7:templateId/@root='2.16.840.1.113883.10.22.4.4']/hl7:routeCode SHALL be from the valueSet 2.16.840.1.113883.11.22.33 (flexibility : dynamic)
OCL
self.routeCode->forAll( (not nullFlavor.oclIsUndefined()) or ((not code.oclIsUndefined()) and CommonOperationsStatic::matchesValueSet('2.16.840.1.113883.11.22.33', code, codeSystem, null, null)))