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

Constraint : plcda1563

Constraint Name
plcda1563 (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:performer/hl7:assignedEntity/hl7:representedOrganization, the attribute classCode SHALL have the value 'ORG' if present
OCL
self.performer.assignedEntity.representedOrganization->forAll(classCode.oclIsUndefined() or classCode=EntityClassOrganization::ORG)