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

Constraint : plcda1247

Constraint Name
plcda1247 (type: ERROR, kind: Cardinality)
Constraint Class
plCdaPrincipalDiagnosis
Package
plcda
Description
In [4] Rozpoznanie główne, in /hl7:entry[hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.4.1']/hl7:templateId[@root='2.16.840.1.113883.3.4424.13.10.4.1'], the attribute root SHALL be present
OCL
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.3.4424.13.10.4.1')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))