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

Constraint : plcda1251

Constraint Name
plcda1251 (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, the attribute classCode SHALL have the value 'BATTERY' if present
OCL
self.organizer->forAll(classCode.oclIsUndefined() or classCode=XActClassDocumentEntryOrganizer::BATTERY)