Constraint Descriptor : plcda1343 (type: ERROR, kind: Datatype)

Constraint : plcda1343

Constraint Name
plcda1343 (type: ERROR, kind: Datatype)
Constraint Class
plCdaSecondaryDiagnosis
Package
plcda
Description
In [4] Rozpoznania dodatkowe, in /hl7:entry[hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.4.2']/hl7:templateId[@root='2.16.840.1.113883.3.4424.13.10.4.2'], the attribute root SHALL have the datatype 'oid' if present
OCL
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.3.4424.13.10.4.2')->forAll(root.oclIsUndefined() or CommonOperationsStatic::isOID(root))