Skip to main content

Demo.DICOM.Process.Storage

persistent class Demo.DICOM.Process.Storage extends EnsLib.DICOM.Process

SQL Table Name: Demo_DICOM_Process.Storage

Property Inventory

Method Inventory

Parameters

parameter SETTINGS = OperationDuplexName;
This parameter names the operation used to provide storage

Properties

property CurrentState as %String [ InitialExpression = "OperationNotConnected" ];
This keeps track of the current state of the process
Property methods: CurrentStateDisplayToLogical(), CurrentStateGet(), CurrentStateGetStored(), CurrentStateIsValid(), CurrentStateLogicalToDisplay(), CurrentStateLogicalToOdbc(), CurrentStateNormalize(), CurrentStateSet()
property DocumentFromService as EnsLib.DICOM.Document;
This is the incoming document from the business Sservice
Property methods: DocumentFromServiceGet(), DocumentFromServiceGetObject(), DocumentFromServiceGetObjectId(), DocumentFromServiceGetStored(), DocumentFromServiceGetSwizzled(), DocumentFromServiceIsValid(), DocumentFromServiceNewObject(), DocumentFromServiceSet(), DocumentFromServiceSetObject(), DocumentFromServiceSetObjectId(), DocumentFromServiceUnSwizzle()
property OperationDuplexName;
This is the name of the operation providing storage
Property methods: OperationDuplexNameDisplayToLogical(), OperationDuplexNameGet(), OperationDuplexNameGetStored(), OperationDuplexNameIsValid(), OperationDuplexNameLogicalToDisplay(), OperationDuplexNameLogicalToOdbc(), OperationDuplexNameNormalize(), OperationDuplexNameSet()
property OriginatingMessageID as %Integer;
This keeps track of the OriginatingMessageID
Property methods: OriginatingMessageIDDisplayToLogical(), OriginatingMessageIDGet(), OriginatingMessageIDGetStored(), OriginatingMessageIDIsValid(), OriginatingMessageIDLogicalToDisplay(), OriginatingMessageIDNormalize(), OriginatingMessageIDSet()

Methods

final method OnAssociationAborted(pSourceConfigName As %String, pInput As EnsLib.DICOM.Notify.Aborted) as %Status
This callback is called by the framework when an association is aborted
final method OnAssociationErrored(pSourceConfigName As %String, pInput As EnsLib.DICOM.Notify.Errored) as %Status
This callback is called by the framework when an association encounters an error
method OnAssociationEstablished(pSourceConfigName As %String, pInput As EnsLib.DICOM.Notify.Established) as %Status
This method is called by the framework on successful establishment of an association
final method OnAssociationRejected(pSourceConfigName As %String, pInput As EnsLib.DICOM.Notify.Rejected) as %Status
This callback is called by the framework when an Association is rejected
method OnAssociationReleased(pSourceConfigName As %String, pInput As EnsLib.DICOM.Notify.Released) as %Status
Inherited description: This callback is called by the framework when an Association is released
method OnError(request As %Library.Persistent, ByRef response As %Library.Persistent, callrequest As %Library.Persistent, pErrorStatus As %Status, pCompletionKey As %String) as %Status
This method is called when any error occurs. Returning the same error will cause the BusinessProcess to set its status to error and close down
method OnMessage(pSourceConfigName As %String, pInput As %Library.Persistent) as %Status
Messages received here are instances of EnsLib.DICOM.Document sent to this process by the service or operation config items. In this demo, the process is ever in one of two states, the Operation is connected or not.

Inherited Members

Inherited Properties

Inherited Methods

Storage

Gray indicates storage defined by superclasses.

Storage Model: CacheStorage (Ens.BusinessProcess)

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

Storage Model: CacheStorage (Ens.BusinessProcess)

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

Storage Model: CacheStorage (Ens.BusinessProcess)

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

Storage Model: CacheStorage (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: CacheStorage (EnsLib.PrivateSession.Process)

^Ens.BusinessProcessD(ID,"Process")
=
ServiceDuplexName
%IsInPrivateSession

Storage Model: CacheStorage (Demo.DICOM.Process.Storage)

^Ens.BusinessProcessD(ID,"Storage")
=
OriginatingMessageID
DocumentFromService
DocumentFromOperation
CurrentState
OperationDuplexName
FeedbackOpens in a new tab