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

Constraint : plcda2066

Constraint Name
plcda2066 (type: ERROR, kind: Fixed value)
Constraint Class
plCdaObservationRequest
Package
plcda
Description
In [4] Zalecenie wykonania badania, in /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.4.24']/hl7:subject/hl7:relatedSubject/hl7:subject, the attribute determinerCode SHALL have the value 'INSTANCE' if present
OCL
self.subject.relatedSubject.subject->forAll(determinerCode.oclIsUndefined() or determinerCode=EntityDeterminer::INSTANCE)