Constraint Descriptor : plcda1690 (type: ERROR, kind: Vocabulary)

Constraint : plcda1690

Constraint Name
plcda1690 (type: ERROR, kind: Vocabulary)
Package
plcda
Description
In [4] Zalecenie leku, the code of /hl7:substanceAdministration[hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.4.22']/hl7:informant/hl7:relatedEntity/@classCode SHALL be from the valueSet RoleClassMutualRelationship(2.16.840.1.113883.1.11.19316)
OCL
self.informant.relatedEntity.classCode->forAll( aa | (CommonOperationsStatic::matchesCodeToValueSet('2.16.840.1.113883.1.11.19316', CommonOperationsStatic::stringValueOf(aa))))