Constraint Descriptor : plcda1522 (type: ERROR, kind: Fixed value)

Constraint : plcda1522

Constraint Name
plcda1522 (type: ERROR, kind: Fixed value)
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:specimen/hl7:specimenRole, the attribute classCode SHALL have the value 'SPEC' if present
OCL
self.specimen.specimenRole->forAll(classCode.oclIsUndefined() or classCode=RoleClassSpecimen::SPEC)