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

Constraint : plcda1362

Constraint Name
plcda1362 (type: ERROR, kind: Fixed value)
Constraint Class
plCdaSecondaryDiagnosis
Package
plcda
Description
In [4] Rozpoznania dodatkowe, in /hl7:entry[hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.4.2']/hl7:organizer/hl7:component, the attribute typeCode SHALL have the value 'COMP' if present
OCL
self.organizer.component->forAll(typeCode.oclIsUndefined() or typeCode=ActRelationshipHasComponent::COMP)