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

Constraint : plcda1597

Constraint Name
plcda1597 (type: ERROR, kind: Cardinality)
Package
plcda
Description
In [4] Zalecenie leku, /hl7:substanceAdministration[hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.4.22']/hl7:author/hl7:assignedAuthor/hl7:assignedPerson SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.3.4424.13.10.2.1']
OCL
self.author.assignedAuthor.assignedPerson->forAll(templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.3.4424.13.10.2.1')->size()<2)