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

Constraint : asipstructmin425

Constraint Name
asipstructmin425 (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/@mediaType SHALL have code='image/jpeg' OR SHALL have code='image/tiff' OR SHALL have code='text/rtf' OR SHALL have code='text/plain' OR SHALL have code='application/pdf'
OCL
self.component.nonXMLBody.text.mediaType->forAll( aa | aa.oclIsUndefined() or (aa='image/jpeg') or (aa='image/tiff') or (aa='text/rtf') or (aa='text/plain') or (aa='application/pdf'))