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

Constraint : ccda21449

Constraint Name
ccda21449 (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.57'] (Item : CONF:1198-32624 / CONF:1098-30478)
OCL
self.component.structuredBody->forAll(component->select(section.templateId.root->exists(aa : String| aa = '2.16.840.1.113883.10.20.22.2.57'))->size()<2)