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

Constraint : plcda2368

Constraint Name
plcda2368 (type: ERROR, kind: Vocabulary)
Package
plcda
Description
In [4] Dokument zewnętrzny zgodny z regułami, the code of /hl7:externalDocument[hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.4.33']/hl7:code/hl7:translation SHALL be from the valueSet TypDokumentuMedycznego(2.16.840.1.113883.3.4424.13.11.1)
OCL
self.code->select(oclIsKindOf(CE)).oclAsType(CE).translation->forAll( (not nullFlavor.oclIsUndefined()) or ((not code.oclIsUndefined()) and CommonOperationsStatic::matchesValueSet('2.16.840.1.113883.3.4424.13.11.1', code, codeSystem, null, null)))