Constraint Descriptor : ccda211321 (type: org.eclipse.emf.ecore.impl.DynamicEObjectImpl@7dd92a36 (eClass: org.eclipse.emf.ecore.impl.EClassImpl@531ed68e (name: OclInvalid_Class) (instanceClassName: null) (abstract: false, interface: false)), kind: Vocabulary)

Constraint : ccda211321

Constraint Name
ccda211321 (type: org.eclipse.emf.ecore.impl.DynamicEObjectImpl@7dd92a36 (eClass: org.eclipse.emf.ecore.impl.EClassImpl@531ed68e (name: OclInvalid_Class) (instanceClassName: null) (abstract: false, interface: false)), kind: Vocabulary)
Constraint Class
WoundMeasurementObservation
Package
ccda21
Description
In Wound Measurement Observation, the code of /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.22.4.133']/hl7:code SHALL be from the valueSet 2.16.840.1.113883.1.11.20.2.5 (flexibility : C-CDA R2.1 2020-07-13) (Item : CONF:1098-29931)
OCL
self.code->forAll( (not nullFlavor.oclIsUndefined()) or ((not code.oclIsUndefined()) and CommonOperationsStatic::matchesValueSet('2.16.840.1.113883.1.11.20.2.5&version=C-CDA R2.1 2020-07-13', code, codeSystem, null, null)))