Constraint Descriptor : ccda21447 (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: Cardinality)

Constraint : ccda21447

Constraint Name
ccda21447 (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: Cardinality)
Package
ccda21
Description
In Continuity of Care Document (CCD) (V3), /hl7:ClinicalDocument[hl7:templateId/@root='2.16.840.1.113883.10.20.22.1.2']/hl7:component/hl7:structuredBody SHALL contain at least ONE hl7:component[hl7:section/hl7:templateId/@root='2.16.840.1.113883.10.20.22.2.4.1'] (Item : CONF:1198-30689)
OCL
(not self.nullFlavor.oclIsUndefined()) or self.component->reject(not nullFlavor.oclIsUndefined())->size()=0 or self.component->reject(not nullFlavor.oclIsUndefined()).structuredBody->forAll((not nullFlavor.oclIsUndefined()) or component->select(section.templateId.root->exists(aa : String| aa = '2.16.840.1.113883.10.20.22.2.4.1'))->size()>0)