Constraint Descriptor : plcda2343 (type: ERROR, kind: Closed)

Constraint : plcda2343

Constraint Name
plcda2343 (type: ERROR, kind: Closed)
Constraint Class
plCdaAttachmentListEntry
Package
plcda
Description
In [4] Lista załączników, the sub-element reference of /hl7:organizer[hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.4.31'] SHALL NOT be provided (the template is closed), unless those specified in the template definition. Some of the sub-element(s) reference provided are illegal.
OCL
self.reference->size()=self.reference->select(templateId.root->exists(aa : String| aa = '2.16.840.1.113883.3.4424.13.10.4.32'))->size()