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

Constraint : plcda1440

Constraint Name
plcda1440 (type: ERROR, kind: Cardinality)
Constraint Class
plCdaManufacturedLabeledDrug
Package
plcda
Description
In [4] Lek gotowy, in /hl7:manufacturedProduct[hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.4.21']/hl7:templateId[@root='2.16.840.1.113883.3.4424.13.10.4.21'], the attribute root SHALL be present
OCL
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.3.4424.13.10.4.21')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))