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

Constraint : plcda1707

Constraint Name
plcda1707 (type: ERROR, kind: Datatype)
Package
plcda
Description
In [4] Zalecenie leku, in /hl7:substanceAdministration[hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.4.22']/hl7:informant/hl7:templateId[@root='2.16.840.1.113883.3.4424.13.10.4.14'], the attribute root SHALL have the datatype 'oid' if present
OCL
self.informant.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.3.4424.13.10.4.14')->forAll(root.oclIsUndefined() or CommonOperationsStatic::isOID(root))