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

Constraint : asipcse2478

Constraint Name
asipcse2478 (type: ERROR, kind: Cardinality)
Package
asipcse
Description
In Medication series number observation, in /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:performer/hl7:assignedEntity/hl7:representedOrganization/hl7:templateId[@root='2.16.840.1.113883.10.12.151'], the attribute root SHALL be present
OCL
self.performer.assignedEntity.representedOrganization.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.12.151')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))