EnsLib.HL7.MsgRouter.RoutingEngine
persistent class EnsLib.HL7.MsgRouter.RoutingEngine extends EnsLib.EDI.MsgRouter.SegmentedRoutingEngine
SQL Table Name: EnsLib_HL7_MsgRouter.RoutingEngine
Property Inventory
Method Inventory
Parameters
Properties
'A' is the default code.
This value is used as SendingFacility:SendApplication if constructing an ACK or NACK reply message locally.
'E' is the default code.
Otherwise, this value is a comma-separated list of target config names. The response returned will be the first one that arrives back from any target in the list. A value of '*' will match any target, so the first response received will be the one returned.
If none of the listed targets gets called or the replying target does not return a document, this router will generate an ACK response if needed.
If the list of targets begins with a '+' character, the responses from all the targets called will be returned in a new HL7 batch document, or a new ACK response if no responses appear before the timeout expires.
If the list of targets begins with a '-' character, all error responses only from any of the targets called will be returned in a new HL7 batch document, or a new ACK response if no error responses appear before the timeout expires.
Set to 1 to block documents that don't pass default validation. Default validation requires a DocType, allows messages with unmapped Z-segments, and blocks messages with any other error encountered while mapping the document's sequence of segments using the HL7 schema structure specified by the document's DocType. This is equivalent to 'dm-z'.
(The '-z' means 'the opposite of z', i.e. do tolerate unrecognized trailing Z-segments, which is the customary HL7 behavior.) 'd' - require DocType'm' - don't tolerate BuildMap segment mapping errors (includes 'z' by default; specify '-z' to tolerate unrecognized trailing Z-segments)
'z' - don't tolerate unrecognized trailing Z-segments
'n' - enforce segment structures
'r' - enforce required fields being present
'l' - enforce field size restrictions
'a' - enforce field array repetition limits
't' - enforce code tables
'b' - permit values not explicitly listed in a code table to pass validation when the code table uses "..." to indicate that any other values are also allowed.
'u' - ignore code tables that do not list any permissible values; permit any value in fields that use such a code table.
'y' - enforce data types
'p' - enforce component data structures
'j' - enforce optionality at the subcomponent level
'w' - enforce subcomponent size restrictions
's' - perform all available subcomponent-level validations. Equivalent to 'pjw'.
'g' - enforce field data structures
'o' - enforce optionality at the component level
'i' - enforce component size restrictions
'c' - perform all available component - level validations. Equivalent to 'gois'.
'f' - perform all validations available within an individual segment. Equivalent to 'nrlatbuyc'.
'e' - perform every available validation. Equivalent to 'dmf'.
'x' - stop validating when an error is encountered. This is the default behavior. Specify '-x' to scan the entire document and report all errors.
Methods
Inherited Members
Inherited Properties
- %ConfigName
- %ConfigQueueName
- %CurrentResponseHeader
- %ErrorStatus
- %IsCompleted
- %IsTerminated
- %IsTimerInterrupted
- %LastActionTime
- %LastHandledTime
- %LastReportedError
- %MasterPendingResponses
- %MasterPendingResponsesOld
- %MessagesReceived
- %MessagesReceivedOld
- %MessagesSent
- %MessagesSentOld
- %PrimaryRequestHeader
- %PrimaryResponseHeader
- %QuitTask
- %RepliedStatus
- %ResponseList
- %SessionId
- %StatusCode
- %SuperSession
- %TimeCompleted
- %TimeCreated
- %TimedOut
- %WaitAll
- %WarnedLatest
- %isShadow
- %request
- %response
- %responseClassName
- %responseId
- ActOnTransformError
- ActOnValidationError
- ActionTargets
- Adapter
- AlertGroups
- AlertOnBadMessage
- AlertOnError
- AlertRetryGracePeriod
- BadMessageHandler
- BusinessPartner
- BusinessRuleName
- DocName
- DocType
- Document
- FailureTimeout
- ForceSyncSend
- ForwardGeneratedResponseToTargets
- InactivityTimeout
- MsgClass
- QueueCountAlert
- QueueWaitAlert
- ReplyCodeActions
- ResponseTargetConfigNames
- ResponseTimeout
- Retry
- RetryInterval
- RuleActionReason
- RuleActionUserData
- RuleActionUserDataArray
- RuleLogging
- RuleReason
- RuleUserData
- Source
- SuspendMessage
- ThrottleDelay
- aRespFrom
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()
- ClearAllPendingResponses()
- DeferResponse()
- EnumerateSettingsClose()
- EnumerateSettingsExecute()
- EnumerateSettingsFetch()
- GenerateSuperSession()
- GetDeferredResponseToken()
- GetDelegateConnections()
- GetMsgHdrRequestKey()
- GetProductionSettingValue()
- GetProductionSettings()
- GetPropertyConnections()
- GetRequestClassList()
- GetResponseClassList()
- GetSettings()
- GetShadowInstance()
- IsResponsePending()
- OnComplete()
- OnError()
- OnErroredResponse()
- OnFailureTimeout()
- OnGenerateSuperSession()
- OnGetConnections()
- OnGetReplyAction()
- OnInit()
- OnKeepalive()
- OnMonitor()
- OnProductionStart()
- OnProductionStop()
- OnRequest()
- OnResponse()
- OnTearDown()
- OnTimeout()
- QueueName()
- RemovePendingResponse()
- Reply()
- ReplyError()
- RuleLoggingSet()
- SendAlert()
- SendDeferredResponse()
- SendRequestAsync()
- SendRequestSync()
- SetTimer()
- WillHandleErroredResponse()
- doOneAction()
- normalizeValSpec()
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 (EnsLib.MsgRouter.RoutingEngine)
^Ens.BusinessProcessD(ID,"RoutingEngine") |
= | %WaitAll
%ResponseList
%TimedOut
ResponseTargetConfigNames
ActOnTransformError
RuleLogging
ActOnValidationError
ForwardGeneratedResponseToTargets
|
Storage Model: Storage (EnsLib.MsgRouter.RoutingEngine)
^Ens.BusinessProcessD(ID,"aRespFrom",n) |
= | aRespFrom(n) |
Storage Model: Storage (EnsLib.HL7.MsgRouter.RoutingEngine)
^Ens.BusinessProcessD(ID,"RoutingEngine1") |
= | LocalFacilityApplication
AckType
NackCode
AddNackERR
|