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

Constraint : asipcse2461

Constraint Name
asipcse2461 (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:templateId[@root='2.16.840.1.113883.10.20.1.46'], the attribute root SHALL be present
OCL
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.46')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))