Constraint Descriptor : ccda21448 (type: ERROR, kind: Cardinality)

Constraint : ccda21448

Constraint Name
ccda21448 (type: ERROR, 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 most ONE hl7:component[hl7:section/hl7:templateId/@root='2.16.840.1.113883.10.20.22.2.56'] (Item : CONF:1198-32143)
OCL
self.component.structuredBody->forAll(component->select(section.templateId.root->exists(aa : String| aa = '2.16.840.1.113883.10.20.22.2.56'))->size()<2)