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

Constraint : plcda2190

Constraint Name
plcda2190 (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:author/hl7:assignedAuthor/hl7:representedOrganization/hl7:asOrganizationPartOf, the attribute classCode SHALL have the value 'PART' if present
OCL
self.author.assignedAuthor.representedOrganization.asOrganizationPartOf->forAll(classCode.oclIsUndefined() or classCode=RoleClass::PART)