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

Constraint : plcda1442

Constraint Name
plcda1442 (type: ERROR, kind: Cardinality)
Constraint Class
plCdaManufacturedLabeledDrug
Package
plcda
Description
In [4] Lek gotowy, /hl7:manufacturedProduct[hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.4.21'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.3.4424.13.10.4.21']
OCL
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.3.4424.13.10.4.21')->size()<2