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

Constraint : plcda2321

Constraint Name
plcda2321 (type: ERROR, kind: Cardinality)
Constraint Class
plCdaAttachmentListEntry
Package
plcda
Description
In [4] Lista załączników, in /hl7:organizer[hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.4.31']/hl7:reference/hl7:templateId[@root='2.16.840.1.113883.3.4424.13.10.4.32'], the attribute root SHALL be present
OCL
self.reference.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.3.4424.13.10.4.32')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))