Skip to main content

HS.IHE.DSUB.NotificationConsumer.Process

persistent class HS.IHE.DSUB.NotificationConsumer.Process extends Ens.BusinessProcess, HS.HC.Util.Trace.Helper, HS.IHE.Common.Actor.Base

SQL Table Name: HS_IHE_DSUB_NotificationConsumer.Process

Take the request from the ConsumerService and fetch the document

Property Inventory

Method Inventory

Parameters

parameter HSDEPLOY = 1;
parameter SETTINGS = RetrieveOperation:Basic:selector?size=40&context={Ens.ContextSearch/ProductionItems?targets=1&productionName=@productionId},-RetrieveServiceName:Basic:selector?Select=1&context={HS.Util.ContextSearch/ServiceNameItems},-TransformNotificationToMessage;
Inherited description: List of properties can be set as settings in the configuration file format is a comma separated list of property names

Properties

property Errors as HS.Types.IHE.Errors;
Property methods: ErrorsGet(), ErrorsGetObject(), ErrorsGetObjectId(), ErrorsGetStored(), ErrorsGetSwizzled(), ErrorsIsEmpty(), ErrorsIsValid(), ErrorsNewObject(), ErrorsSet(), ErrorsSetObject(), ErrorsSetObjectId(), ErrorsUnSwizzle()
property RetrieveOperation as Ens.DataType.ConfigName;
Operation for XDSb Consumer. This Operation needs to be pointed to an Initiating Gateway to handle a query request (when leaf class) and route the retrieve request
Property methods: RetrieveOperationDisplayToLogical(), RetrieveOperationGet(), RetrieveOperationGetStored(), RetrieveOperationIsValid(), RetrieveOperationLogicalToDisplay(), RetrieveOperationLogicalToOdbc(), RetrieveOperationNormalize(), RetrieveOperationParseConfigNameSpec(), RetrieveOperationSet()
property RetrieveServiceName as %String [ InitialExpression = "XDSb.Retrieve" ];
*** Deprecated *** was never used Service name where we will send the retrieve request (typically our initiating gateway)
Property methods: RetrieveServiceNameDisplayToLogical(), RetrieveServiceNameGet(), RetrieveServiceNameGetStored(), RetrieveServiceNameIsValid(), RetrieveServiceNameLogicalToDisplay(), RetrieveServiceNameLogicalToOdbc(), RetrieveServiceNameNormalize(), RetrieveServiceNameSet()
property TransformNotificationToMessage as %String (MAXLEN = 512) [ InitialExpression = "IHE/XDSb/Version1/Message-to-MetadataObject.xsl" ];
Property methods: TransformNotificationToMessageDisplayToLogical(), TransformNotificationToMessageGet(), TransformNotificationToMessageGetStored(), TransformNotificationToMessageIsValid(), TransformNotificationToMessageLogicalToDisplay(), TransformNotificationToMessageLogicalToOdbc(), TransformNotificationToMessageNormalize(), TransformNotificationToMessageSet()
property Transformer as HS.Util.XSLTTransformer;
Property methods: TransformerGet(), TransformerGetStored(), TransformerGetSwizzled(), TransformerIsValid(), TransformerNewObject(), TransformerSet()

Methods

method Notify(pRequest As HS.Message.XMLMessage, Output pResponse As HS.Message.XMLMessage) as %Status
method OnNotify(pRequest As HS.Message.IHE.XDSb.Metadata, Output pResponse As HS.Message.XMLMessage) as %Status
Override to apply custom functionality - sample code to retrieve document The original inbound message is in pRequest.ContentStream, but the document elements have been extracted into the metadata object
method OnRequest(pRequest As %Library.Persistent, Output pResponse As %Library.Persistent) as %Status
Inherited description: Handle a 'Request'
method OnResponse(pRequest As Ens.Request, ByRef pResponse As Ens.Response, pCallrequest As Ens.Request, pCallresponse As Ens.Response, pCompletionKey As %String) as %Status
OnResponse must be overridden here to avoid error upon response from async request.
method RetrieveDocuments(pRequest As HS.Message.IHE.XDSb.Metadata, Output pResponse As HS.Message.XMLMessage) as %Status
Override to apply custom functionality - sample code to retrieve document

Inherited Members

Inherited Properties

Inherited Methods

Storage

Gray indicates storage defined by superclasses.

Storage Model: Storage (Ens.BusinessProcess)

^Ens.BusinessProcessD(ID,"pending",n)
=
%MasterPendingResponses(n)

Storage Model: Storage (Ens.BusinessProcess)

^Ens.BusinessProcessD(ID,"received",n)
=
%MessagesReceived(n)

Storage Model: Storage (Ens.BusinessProcess)

^Ens.BusinessProcessD(ID,"sent",n)
=
%MessagesSent(n)

Storage Model: Storage (Ens.BusinessProcess)

^Ens.BusinessProcessD(ID)
=
%%CLASSNAME
%ConfigQueueName
%IsCompleted
%MasterPendingResponsesOld
%PrimaryRequestHeader
%PrimaryResponseHeader
%RepliedStatus
%responseId
Adapter
%SessionId
%TimeCompleted
%TimeCreated
%ConfigName
%QuitTask
AlertOnError
%responseClassName
%IsTimerInterrupted
%IsTerminated
%StatusCode
%MessagesReceivedOld
%MessagesSentOld
ReplyCodeActions
RetryInterval
AlertRetryGracePeriod
FailureTimeout
Retry
SuspendMessage
QueueCountAlert
QueueWaitAlert
InactivityTimeout
BusinessPartner
AlertGroups
%SuperSession

Storage Model: Storage (HS.IHE.DSUB.NotificationConsumer.Process)

^Ens.BusinessProcessD(ID,"Process")
=
RegistryServiceName
RegistryOperation
TransformSubscribeNotification
TransformSubscribeResponse
CallbackHandler
ErrorHandler
Initialized
Errors
DoHSTrace
ClearCallbackVariables
MaximumDuration
NotificationOperation
TraceOperations
TransformDocumentNotification
XSLTCacheMode
XSLTCallbackHandlerClass
XSLTDirectory
XSLTErrorHandlerClass
TransformNotificationToMessage
TransformFullToSimpleNotification
RetrieveServiceName
RetrieveOperation
Transformer

Storage Model: Storage (HS.IHE.DSUB.NotificationConsumer.Process)

^Ens.BusinessProcessD(ID,"HS.IHE.DSUB.NotificationConsumer.Process.StyleSheets",n)
=
StyleSheets(n)
FeedbackOpens in a new tab