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

Constraint : plcda1265

Constraint Name
plcda1265 (type: ERROR, kind: Fixed value)
Constraint Class
plCdaPrincipalDiagnosis
Package
plcda
Description
In [4] Rozpoznanie główne, in /hl7:entry[hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.4.1']/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)