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

Constraint : plcda1781

Constraint Name
plcda1781 (type: ERROR, kind: Fixed value)
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:subject/hl7:relatedSubject/hl7:addr, the attribute nullFlavor SHALL have the value 'UNK' if present
OCL
self.subject.relatedSubject.addr->forAll(nullFlavor.oclIsUndefined() or nullFlavor=NullFlavor::UNK)