Constraint Descriptor : cdadt007 (type: ERROR, kind: )

Constraint : cdadt007

Constraint Name
cdadt007 (type: ERROR, kind: )
Constraint Class
CDSpec
Package
cdadt
Description
originalText attribute SHALL NOT have multimedia value, only reference or plain text form are allowed (CDADT-007)
OCL
self.originalText.oclIsUndefined() or 
self.originalText.mediaType.oclIsUndefined() or 
(
	self.originalText.mediaType<>'application/dicom' and 
	self.originalText.mediaType<>'application/pdf' and
	self.originalText.mediaType<>'image/gif' and
	self.originalText.mediaType<>'image/jpeg' and
	self.originalText.mediaType<>'image/tiff'
)