Constraint Descriptor : asipstructmin424 (type: ERROR, kind: Cardinality)

Constraint : asipstructmin424

Constraint Name
asipstructmin424 (type: ERROR, kind: Cardinality)
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/hl7:text, the attribute mediaType SHALL be present
OCL
self.component.nonXMLBody.text->forAll((not nullFlavor.oclIsUndefined()) or (not mediaType.oclIsUndefined()))