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

Constraint : asipcse2479

Constraint Name
asipcse2479 (type: ERROR, kind: Cardinality)
Package
asipcse
Description
In Medication series number observation, /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:performer/hl7:assignedEntity/hl7:representedOrganization SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.12.151']
OCL
self.performer.assignedEntity.representedOrganization->forAll(templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.12.151')->size()<2)