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

Constraint : plcda1245

Constraint Name
plcda1245 (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'], the attribute typeCode SHALL have the value 'COMP' if present
OCL
self.typeCode.oclIsUndefined() or self.typeCode=XActRelationshipEntry::COMP