Constraint Descriptor : asipstructmin423 (type: ERROR, kind: Vocabulary)

Constraint : asipstructmin423

Constraint Name
asipstructmin423 (type: ERROR, kind: Vocabulary)
Constraint Class
SMDS_CDAClinicalDocument
Package
asipstructmin
Description
In Structuration Minimale Documents de Santé, the code of /hl7:ClinicalDocument[hl7:templateId/@root='1.2.250.1.213.1.1.1.1']/hl7:component/hl7:nonXMLBody/hl7:text/@representation SHALL have code='B64'
OCL
self.component.nonXMLBody.text.representation->forAll( aa | aa.oclIsUndefined() or (CommonOperationsStatic::stringValueOf(aa)='B64'))