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

Constraint : constraint_dsub_full

Constraint Name
constraint_dsub_full (type: ERROR, kind: )
Constraint Class
NotifySpec
Package
notifyReq
Description
A Full Notification shall be sent if the subscription request included the topic ihe:FullDocumentEntry. The <lcm:SubmitObjectsRequest> 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, '.*FullDocumentEntry$')) or
	(
		(not notm.message.oclIsUndefined()) and
		(not notm.message.submitObjectsRequest.oclIsUndefined()) and
		notm.message.retrieveDocumentSetRequest.oclIsUndefined()
	)
)