Skip to main content

HS.Test.IHE.DSUB.General

class HS.Test.IHE.DSUB.General extends HS.Test.IHE.DSUB.Base

Method Inventory

Methods

method ClearDSUBOutboundTargetForHost(pHost As %String) as %Status
method ClearSubscriptions()
Clear subscriptions with each test so that there is no confusion
method CreateDSUBSubscription(pMPI As %String, Output pSubResp As HS.Message.XMLMessage) as %Status
Create a standard DSUB (Document/Minimal) subscription for a patient.
method FileMPIPatientPolicy(pMPI As %String, pGroupToken As %String, pDecision As %String) as %Status
Clean up then file an MPI-level policy for a group (allow/deny)
method GetDocument(Output pDocument As HS.Message.IHE.XDSb.Document, pMessage As HS.Message.IHE.XDSb.ProvideAndRegisterRequest)
classmethod GetHostFromService(pName As %String, Output pHost As %String, Output pPort As %String) as %Status
Get host and port from a Service Registry SOAP EndPoint
method GetMessage(Output pMessage As HS.Message.IHE.XDSb.ProvideAndRegisterRequest)
method GetProvideMessage(Output pMessage As HS.Message.IHE.XDSb.ProvideAndRegisterRequest, pPatient, pDocumentText As %String = "", pDocumentXData="")
method GetSOAPEndPointByName(pName As %String) as %String
Return the Service Registry SOAP EndPoint (string) for a name.
method Test100Setup()
method Test110SubscribeMinimal()
Validates Expired subscriptions by creating a subscription which terminates immediately P0M Validates ATNA logging for create / unsubscribe and notifications Validates the notification is for a Minimal Subscription
method Test200SubscribeFull()
method Test300SubscribeUnsupportedFolder()
We are required to report an error when folder subscriptions arrive and we don't support them
method Test400SubscribeSubmissionSet()
Test subscriptions by submission set
method Test410SubmissionSetAuthor()
method Test420SubmissionSetIntendedRecipient()
method Test430NotMatchingSubmissionSetIntendedRecipient()
method Test500ReferenceIdList()
method Test510SubscribeWithTimezone()
method Test600OutboundConsentUnmappedAllowsNotification() as %Status
DSUB outbound consent: unmapped => legacy behavior
method Test610OutboundConsentSuppressesNotification() as %Status
DSUB outbound consent: deny => suppress notifications
method Test620OutboundConsentAllowSendsNotification() as %Status
DSUB outbound consent: allow => notification delivered
method Test630OutboundConsentPolicyChangeAffectsDelivery() as %Status
DSUB outbound consent: policy changes after subscription should affect later deliveries

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab