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

Constraint : asipstructmin420

Constraint Name
asipstructmin420 (type: ERROR, kind: Fixed value)
Constraint Class
SMDS_CDAClinicalDocument
Package
asipstructmin
Description
In Structuration Minimale Documents de Santé, in /hl7:ClinicalDocument[hl7:templateId/@root='1.2.250.1.213.1.1.1.1']/hl7:component/hl7:nonXMLBody, the attribute classCode SHALL have the value 'DOCBODY' if present
OCL
self.component.nonXMLBody->forAll(classCode.oclIsUndefined() or classCode=ActClass::DOCBODY)