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

Constraint : plcda2278

Constraint Name
plcda2278 (type: ERROR, kind: Cardinality)
Constraint Class
plCdaObservationRequest
Package
plcda
Description
In [4] Zalecenie wykonania badania, /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.4.24']/hl7:participant/hl7:participantRole/hl7:playingDevice SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.3.4424.13.10.4.25']
OCL
self.participant.participantRole.playingDevice->forAll(templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.3.4424.13.10.4.25')->size()<2)