Skip to main content

HS.HC.IHE.DSUB.Publisher.Process

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

SQL Table Name: HS_HC_IHE_DSUB_Publisher.Process

Take a registration request from an XDSb.Registry and build Publish request

Property Inventory

Method Inventory

Parameters

parameter HSDEPLOY = 1;
parameter SETTINGS = LocalBrokerOperation,Brokers,PublishOperation,ProducerReference,TransformMessageToNotification,MetadataTransform;
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 Brokers as %String (MAXLEN = 512);
Comma separated list of Broker Service registry entries in which to publish this request. Don't define the local broker here when defined in LocalBrokerOperation, otherwise the broker will receive duplicate messages.
Property methods: BrokersDisplayToLogical(), BrokersGet(), BrokersGetStored(), BrokersIsValid(), BrokersLogicalToDisplay(), BrokersLogicalToOdbc(), BrokersNormalize(), BrokersSet()
property Errors as HS.Types.IHE.Errors;
Property methods: ErrorsGet(), ErrorsGetObject(), ErrorsGetObjectId(), ErrorsGetStored(), ErrorsGetSwizzled(), ErrorsIsEmpty(), ErrorsIsValid(), ErrorsNewObject(), ErrorsSet(), ErrorsSetObject(), ErrorsSetObjectId(), ErrorsUnSwizzle()
property LocalBrokerOperation as Ens.DataType.ConfigName;
Local broker definition, use this to send transaction to local broker (without the overhead of sending a soap request). In this case don't define the service name in "Brokers"
The local broker would be defined as HS.IHE.DSUB.NotificationBroker.Operations
Property methods: LocalBrokerOperationDisplayToLogical(), LocalBrokerOperationGet(), LocalBrokerOperationGetStored(), LocalBrokerOperationIsValid(), LocalBrokerOperationLogicalToDisplay(), LocalBrokerOperationLogicalToOdbc(), LocalBrokerOperationNormalize(), LocalBrokerOperationParseConfigNameSpec(), LocalBrokerOperationSet()
property MetadataTransform as %String (MAXLEN = 512) [ InitialExpression = "IHE/XDSb/Version1/Message-to-MetadataObject.xsl" ];
Property methods: MetadataTransformDisplayToLogical(), MetadataTransformGet(), MetadataTransformGetStored(), MetadataTransformIsValid(), MetadataTransformLogicalToDisplay(), MetadataTransformLogicalToOdbc(), MetadataTransformNormalize(), MetadataTransformSet()
property ProducerReference as %String (MAXLEN = 512) [ InitialExpression = "https://"_$$$HSNetworkHostName_"/csp/connect/HS.IHE.XDSb.Registry.Services.cls" ];
Property methods: ProducerReferenceDisplayToLogical(), ProducerReferenceGet(), ProducerReferenceGetStored(), ProducerReferenceIsValid(), ProducerReferenceLogicalToDisplay(), ProducerReferenceLogicalToOdbc(), ProducerReferenceNormalize(), ProducerReferenceSet()
property PublishOperation as Ens.DataType.ConfigName [ InitialExpression = "HS.IHE.DSUB.Notification.Operations" ];
Generic operation HS.Util.IHE.SOAPClient.Operations to send notification to broker
Property methods: PublishOperationDisplayToLogical(), PublishOperationGet(), PublishOperationGetStored(), PublishOperationIsValid(), PublishOperationLogicalToDisplay(), PublishOperationLogicalToOdbc(), PublishOperationNormalize(), PublishOperationParseConfigNameSpec(), PublishOperationSet()
property TransformMessageToNotification as %String (MAXLEN = 512) [ InitialExpression = "IHE/DSUB/Version1/PublisherMetadataToNotification.xsl" ];
Used to transform Registration Request into a publish message
Property methods: TransformMessageToNotificationDisplayToLogical(), TransformMessageToNotificationGet(), TransformMessageToNotificationGetStored(), TransformMessageToNotificationIsValid(), TransformMessageToNotificationLogicalToDisplay(), TransformMessageToNotificationLogicalToOdbc(), TransformMessageToNotificationNormalize(), TransformMessageToNotificationSet()
property Transformer as HS.Util.XSLTTransformer;
Property methods: TransformerGet(), TransformerGetStored(), TransformerGetSwizzled(), TransformerIsValid(), TransformerNewObject(), TransformerSet()

Methods

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 Publish(pRequest As HS.Message.IHE.XDSb.Metadata) as %Status
Internal publish - (from registry)

Inherited Members

Inherited Properties

Inherited Methods

Storage

Gray indicates storage defined by superclasses.

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.HC.IHE.DSUB.Publisher.Process)

^Ens.BusinessProcessD(ID,"Process")
=
FacilityOIDPrefix
TransformMessageToNotification
MetadataTransform
Brokers
LocalBrokerOperation
PublishOperation
ProducerReference
Errors
Transformer
TraceOperations
FeedbackOpens in a new tab