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

Constraint : ccrc1388

Constraint Name
ccrc1388 (type: ERROR, kind: Cardinality)
Constraint Class
WoundMeasurementObservation
Package
ccrc
Description
In Wound Measurement Observation, in /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.22.4.133']/hl7:templateId[@root='2.16.840.1.113883.10.20.22.4.133'], the attribute root SHALL be present (Item : CONF:1098-29929)
OCL
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.22.4.133')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))