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

Constraint : asipstructmin987

Constraint Name
asipstructmin987 (type: ERROR, kind: Cardinality)
Constraint Class
CDAProcedure
Package
asipstructmin
Description
In CDA Procedure, in /hl7:procedure[hl7:templateId/@root='2.16.840.1.113883.10.12.306']/hl7:entryRelationship/hl7:substanceAdministration/hl7:templateId[@root='2.16.840.1.113883.10.12.308'], the attribute root SHALL be present
OCL
self.entryRelationship.substanceAdministration.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.12.308')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))