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

Constraint : constraint_dsub_min

Constraint Name
constraint_dsub_min (type: ERROR, kind: )
Constraint Class
NotifySpec
Package
notifyReq
Description
A Minimal Notification shall be sent if the subscription request included the topic ihe:MinimalDocumentEntry. The <ihe:RetrieveDocumentSetRequest> element is the only child of the wsnt:Notify/wsnt:NotificationMessage/wsnt:Message element in this message (IHE DSUB Supp, 3.53.4.1.2)
OCL
self.notificationMessage->forAll(notm : NotificationMessageHolderType |
	notm.topic.oclIsUndefined() or
	notm.topic.value.oclIsUndefined() or
	(not self.matches(notm.topic.value, '.*MinimalDocumentEntry$')) or
	(
		(not notm.message.oclIsUndefined()) and
		notm.message.submitObjectsRequest.oclIsUndefined() and
		(not notm.message.retrieveDocumentSetRequest.oclIsUndefined())
	)
)