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

Constraint : plcda1772

Constraint Name
plcda1772 (type: ERROR, kind: Cardinality)
Constraint Class
plCdaProcedureRequest
Package
plcda
Description
In [4] Zalecenie wykonania procedury, in /hl7:procedure[hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.4.23']/hl7:subject/hl7:templateId[@root='2.16.840.1.113883.3.4424.13.10.4.15'], the attribute root SHALL be present
OCL
self.subject.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.3.4424.13.10.4.15')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))