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

Constraint : plcda1697

Constraint Name
plcda1697 (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:informant/hl7:relatedEntity/hl7:relatedPerson, the attribute classCode SHALL have the value 'PSN' if present
OCL
self.informant.relatedEntity.relatedPerson->forAll(classCode.oclIsUndefined() or classCode=EntityClass::PSN)