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

Constraint : plcda2081

Constraint Name
plcda2081 (type: ERROR, kind: Vocabulary)
Constraint Class
plCdaObservationRequest
Package
plcda
Description
In [4] Zalecenie wykonania badania, the code of /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.4.24']/hl7:specimen/hl7:specimenRole/hl7:specimenPlayingEntity/hl7:code SHALL be from the valueSet SpecimenEntityType(2.16.840.1.113883.1.11.19464)
OCL
self.specimen.specimenRole.specimenPlayingEntity.code->forAll( (not nullFlavor.oclIsUndefined()) or ((not code.oclIsUndefined()) and CommonOperationsStatic::matchesValueSet('2.16.840.1.113883.1.11.19464', code, codeSystem, null, null)))