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

Constraint : plcda1798

Constraint Name
plcda1798 (type: ERROR, kind: Datatype)
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:specimen/hl7:templateId[@root='2.16.840.1.113883.3.4424.13.10.4.16'], the attribute root SHALL have the datatype 'oid' if present
OCL
self.specimen.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.3.4424.13.10.4.16')->forAll(root.oclIsUndefined() or CommonOperationsStatic::isOID(root))