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

Constraint : plcda1885

Constraint Name
plcda1885 (type: ERROR, kind: Vocabulary)
Constraint Class
plCdaProcedureRequest
Package
plcda
Description
In [4] Zalecenie wykonania procedury, the code of /hl7:procedure[hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.4.23']/hl7:author/hl7:assignedAuthor/hl7:assignedAuthoringDevice/hl7:code SHALL be from the valueSet EntityCode(2.16.840.1.113883.1.11.16040)
OCL
self.author.assignedAuthor.assignedAuthoringDevice.code->forAll( (not nullFlavor.oclIsUndefined()) or ((not code.oclIsUndefined()) and CommonOperationsStatic::matchesValueSet('2.16.840.1.113883.1.11.16040', code, codeSystem, null, null)))