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 requestProperty Inventory
- Brokers
- Errors
- LocalBrokerOperation
- MetadataTransform
- ProducerReference
- PublishOperation
- TransformMessageToNotification
- Transformer
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
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
- %ConfigName
- %ConfigQueueName
- %CurrentResponseHeader
- %IsCompleted
- %IsTerminated
- %IsTimerInterrupted
- %LastActionTime
- %LastHandledTime
- %LastReportedError
- %MasterPendingResponses
- %MasterPendingResponsesOld
- %MessagesReceived
- %MessagesReceivedOld
- %MessagesSent
- %MessagesSentOld
- %PrimaryRequestHeader
- %PrimaryResponseHeader
- %QuitTask
- %RepliedStatus
- %SessionId
- %StatusCode
- %SuperSession
- %TimeCompleted
- %TimeCreated
- %WarnedLatest
- %isShadow
- %request
- %response
- %responseClassName
- %responseId
- Adapter
- AlertGroups
- AlertOnError
- AlertRetryGracePeriod
- BusinessPartner
- FailureTimeout
- InactivityTimeout
- QueueCountAlert
- QueueWaitAlert
- ReplyCodeActions
- Retry
- RetryInterval
- SuspendMessage
- ThrottleDelay
- TraceOperations
Inherited Methods
- %%CLASSNAMELogicalToStorage()
- %%CLASSNAMEStorageToLogical()
- %AddToSaveSet()
- %AddToSyncSet()
- %BMEBuilt()
- %BuildIndicesAsync()
- %BuildIndicesAsyncResponse()
- %CheckConstraints()
- %CheckConstraintsForExtent()
- %ClassIsLatestVersion()
- %ClassName()
- %ComposeOid()
- %ConstructClone()
- %Delete()
- %DeleteExtent()
- %DeleteId()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Exists()
- %ExistsId()
- %Extends()
- %GUID()
- %GUIDSet()
- %GetLock()
- %GetParameter()
- %GetSwizzleObject()
- %Id()
- %InsertBatch()
- %IsA()
- %IsModified()
- %IsNull()
- %KillExtent()
- %KillExtentData()
- %LoadFromMemory()
- %LockExtent()
- %LockId()
- %New()
- %NormalizeObject()
- %ObjectIsNull()
- %ObjectModified()
- %Oid()
- %OnBeforeAddToSync()
- %OnClose()
- %OnDeleteFinally()
- %OnDetermineClass()
- %OnNew()
- %OnOpenFinally()
- %OnSaveFinally()
- %Open()
- %OpenId()
- %OriginalNamespace()
- %PackageName()
- %PhysicalAddress()
- %PurgeIndices()
- %Reload()
- %RemoveFromSaveSet()
- %ResolveConcurrencyConflict()
- %RollBack()
- %Save()
- %SaveDirect()
- %SaveIndices()
- %SerializeObject()
- %SetModified()
- %SortBegin()
- %SortEnd()
- %SuperSessionSet()
- %SyncObjectIn()
- %SyncTransport()
- %UnlockExtent()
- %UnlockId()
- %ValidateIndices()
- %ValidateObject()
- %ValidateTable()
- AdapterName()
- AssignOneSetting()
- BuildTraceRequest()
- ClearAllPendingResponses()
- DeferResponse()
- EnumerateSettingsClose()
- EnumerateSettingsExecute()
- EnumerateSettingsFetch()
- GenerateSuperSession()
- GetDeferredResponseToken()
- GetMsgHdrRequestKey()
- GetProductionSettingValue()
- GetProductionSettings()
- GetPropertyConnections()
- GetSettings()
- GetShadowInstance()
- HSTrace()
- IsResponsePending()
- OnComplete()
- OnError()
- OnErroredResponse()
- OnFailureTimeout()
- OnGenerateSuperSession()
- OnGetConnections()
- OnGetReplyAction()
- OnInit()
- OnKeepalive()
- OnMonitor()
- OnProductionStart()
- OnProductionStop()
- OnTearDown()
- OnTimeout()
- QueueName()
- RemovePendingResponse()
- Reply()
- ReplyError()
- SendAlert()
- SendDeferredResponse()
- SendRequestAsync()
- SendRequestSync()
- SetTimer()
- WillHandleErroredResponse()
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
|