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

Constraint : plcda1731

Constraint Name
plcda1731 (type: ERROR, kind: Cardinality)
Package
plcda
Description
In [4] Zalecenie leku, in /hl7:substanceAdministration[hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.4.22']/hl7:participant/hl7:participantRole/hl7:playingEntity/hl7:templateId[@root='2.16.840.1.113883.3.4424.13.10.4.26'], the attribute root SHALL be present
OCL
self.participant.participantRole.playingEntity.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.3.4424.13.10.4.26')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))