Home > Class Reference > HSLIB namespace > HS.FHIR.FromSDA.DTL.Transaction.Process

HS.FHIR.FromSDA.DTL.Transaction.Process

persistent class HS.FHIR.FromSDA.DTL.Transaction.Process extends Ens.BusinessProcess, HS.FHIR.FromSDA.DTL.Base

SQL Table Name: HS_FHIR_FromSDA_DTL_Transaction.Process

HS.FHIR.FromSDA.DTL.Transaction.Process takes an SDA Container as input, converts it into a FHIR resource Bundle, forwards the Bundle to a specified business host, receives the response from the business host, and returns a success / fail status based on the return from the business host.

Property Inventory

Method Inventory

Parameters

parameter HSDEPLOY = 1;
parameter SETTINGS = TargetConfigName:Basic:selector?context={Ens.ContextSearch/ProductionItems?targets=1&productionName=@productionId},TransmissionMode,FullTransactionResponse;
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 FullTransactionResponse as %Boolean [ InitialExpression = 0 ];
If checked, the FHIR request message that this process sends to the target config will be created with the "PREFER" header value set to "return=representation". Per the FHIR spec, this header indicates to a FHIR server that every created or updated resource should be returned in its entirety as it is saved (ie, with any modifications applied by the server). Whether the server actually does this depends on the server. In general, this setting should be left unchecked except during debugging or if the FHIR client has a specific need to receive back the created/updated resources, as requesting this information is likely to increase response time from the FHIR server.
Property methods: FullTransactionResponseDisplayToLogical(), FullTransactionResponseGet(), FullTransactionResponseGetStored(), FullTransactionResponseIsValid(), FullTransactionResponseLogicalToDisplay(), FullTransactionResponseNormalize(), FullTransactionResponseSet()
property TargetConfigName as Ens.DataType.ConfigName;
Specifies the business host to which to forward the FHIR request message after it is built by the DTL transformation.
Property methods: TargetConfigNameDisplayToLogical(), TargetConfigNameGet(), TargetConfigNameGetStored(), TargetConfigNameIsValid(), TargetConfigNameLogicalToDisplay(), TargetConfigNameLogicalToOdbc(), TargetConfigNameNormalize(), TargetConfigNameParseConfigNameSpec(), TargetConfigNameSet()
property TransmissionMode as %String (DISPLAYLIST = ",batch,transaction,individual", VALUELIST = ",batch,transaction,individual") [ InitialExpression = "transaction" ];
batch = Send all generated FHIR resources in a single transaction interaction in a Bundle of type "batch".
transaction = Send all generated FHIR resources in a single transaction interaction in a Bundle of type "transaction".
individual = Send each generated FHIR resource in its own individual create interaction.
Property methods: TransmissionModeDisplayToLogical(), TransmissionModeGet(), TransmissionModeGetStored(), TransmissionModeIsValid(), TransmissionModeLogicalToDisplay(), TransmissionModeLogicalToOdbc(), TransmissionModeNormalize(), TransmissionModeSet()

Methods

method OnRequest(pRequest As %Library.Persistent, Output pResponse As %Library.Persistent) as %Status [ Language = objectscript ]
Inherited description: Handle a 'Request'
method ProcessFHIRResponse(pFHIRResponse As HS.Message.FHIR.Response, ByRef pFHIRSC As %Status) as %Status [ Language = objectscript ]
ProcessFHIRResponse evaluates the FHIR response message and formulates a return status code.
method ProcessSDARequest(pSDAStream As %Stream.GlobalCharacter, pSessionApplication As %String, pSessionId As %String, pPatientResourceId As %String = "") as %Status [ Language = objectscript ]

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.FromSDA.DTL.Transaction.Process)

^Ens.BusinessProcessD(ID,"Process")
=
TraceOperations
CustomDTLPackage
TargetConfigName
FHIRFormat
UUIDForResourceId
FormatFHIROutput
TransmissionMode
FullTransactionResponse
FeedbackOpens in a new window