Constraint Descriptor : plcda2074 (type: ERROR, kind: Cardinality)

Constraint : plcda2074

Constraint Name
plcda2074 (type: ERROR, kind: Cardinality)
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:specimen/hl7:templateId[@root='2.16.840.1.113883.3.4424.13.10.4.16'], the attribute root SHALL be present
OCL
self.specimen.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.3.4424.13.10.4.16')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))