Home > Class Reference > HSLIB namespace > HS.FHIR.DTL.Util.HC.FHIR.SDA3.Process

HS.FHIR.DTL.Util.HC.FHIR.SDA3.Process

persistent class HS.FHIR.DTL.Util.HC.FHIR.SDA3.Process extends Ens.BusinessProcess, HS.HC.Util.Trace.Helper

SQL Table Name: HS_FHIR_DTL_Util_HC_FHIR_SDA3.Process

This business process takes a FHIR resource or Bundle as input, transforms the FHIR data into SDA3, forwards the SDA3 stream to a specified business host, receives the response from the business host, and returns a FHIR response based on the return from the business host that received the SDA3.

Property Inventory

Method Inventory

Parameters

parameter HSDEPLOY = 1;
parameter SETTINGS = TargetConfigName:Basic:selector?context={Ens.ContextSearch/ProductionItems?targets=1&productionName=@productionId},CallbackClass,OutputToQuickStream;
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 CallbackClass as %String (MAXLEN = 256);
Class to use for the callback object that is invoked during the DTL transformation process. If this setting is left blank, at run-time it is defaulted to "HS.FHIR.DTL.Util.API.HC.Callback.Default."+FHIRVersion+"ToSDA3". FHIRVersion is to be derived from the incoming FHIR request message FHIRVersion property.
Property methods: CallbackClassDisplayToLogical(), CallbackClassGet(), CallbackClassGetStored(), CallbackClassIsValid(), CallbackClassLogicalToDisplay(), CallbackClassLogicalToOdbc(), CallbackClassNormalize(), CallbackClassSet()
property OutputToQuickStream as %Boolean [ InitialExpression = 0 ];
The output of this business process is an HS.Message.XMLMessage message.

If OutputToQuickStream is not checked, the SDA3 output of the transformation will be placed in the HS.Message.XMLMessage ContentStream property.

If this setting is checked, the SDA3 output will be placed in an HS.SDA3.QuickStream, and the QuickStreamId property of the HS.Message.XMLMessage will be set to the id of that QuickStream.
Property methods: OutputToQuickStreamDisplayToLogical(), OutputToQuickStreamGet(), OutputToQuickStreamGetStored(), OutputToQuickStreamIsValid(), OutputToQuickStreamLogicalToDisplay(), OutputToQuickStreamNormalize(), OutputToQuickStreamSet()
property TargetConfigName as Ens.DataType.ConfigName;
Business host to which to forward the XMLMessage message (which includes the SDA3 stream) after it is built by the DTL transformation.
Property methods: TargetConfigNameDisplayToLogical(), TargetConfigNameGet(), TargetConfigNameGetStored(), TargetConfigNameIsValid(), TargetConfigNameLogicalToDisplay(), TargetConfigNameLogicalToOdbc(), TargetConfigNameNormalize(), TargetConfigNameParseConfigNameSpec(), TargetConfigNameSet()

Methods

method OnRequest(pRequest As %Library.Persistent, Output pResponse As %Library.Persistent) as %Status [ Language = objectscript ]
Inherited description: Handle a 'Request'
method ProcessFHIRRequest(pFHIRRequest As HS.Message.FHIR.Request, Output pFHIRResponse As HS.Message.FHIR.Response) as %Status [ Language = objectscript ]
This is an instance method because it needs to SendSync to a business host and get the response from the host.
method ProcessSDAResponse(pFHIRRequest As HS.Message.FHIR.Request, pSDA3XMLResponse As HS.Message.XMLMessage, pSC As %Status, ByRef pFHIRResponse As HS.Message.FHIR.Response) as %Status [ Language = objectscript ]
ProcessSDAResponse evaluates the SDA response message and formulates a FHIR response message.

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.FHIR.DTL.Util.HC.FHIR.SDA3.Process)

^Ens.BusinessProcessD(ID,"Process")
=
TraceOperations
TargetConfigName
CallbackClass
OutputToQuickStream
FeedbackOpens in a new window