Constraint Descriptor : plcda2002 (type: ERROR, kind: Mandatory)

Constraint : plcda2002

Constraint Name
plcda2002 (type: ERROR, kind: Mandatory)
Constraint Class
plCdaProcedureRequest
Package
plcda
Description
In [4] Zalecenie wykonania procedury, in /hl7:procedure[hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.4.23']/hl7:participant/hl7:participantRole/hl7:playingDevice, the element(s) hl7:templateId[@root='2.16.840.1.113883.3.4424.13.10.4.25'] SHALL not have nullFlavor (mandatory)
OCL
self.participant.participantRole.playingDevice.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.3.4424.13.10.4.25')->forAll(nullFlavor.oclIsUndefined())