Skip to main content

EnsLib.HL7.Operation.StandardInProc

abstract class EnsLib.HL7.Operation.StandardInProc extends EnsLib.HL7.Operation.Standard

Primary super class for all InProc HL7 Business Operations.
An InProc HL7 Business Operation needs to extend both this class and a Queue invoked class.
Preferably, An InProc HL7 Business Operation's name should simply be the secondary superclass's name with "InProc" appended. Example:
  Class EnsLib.HL7.Operation.TCPOperationInProc Extends (EnsLib.HL7.Operation.StandardInProc, EnsLib.HL7.Operation.TCPOperation)
  {
  }
  

Property Inventory

Method Inventory

Parameters

parameter ADAPTER;
ADAPTER defaults to the adapter used by the BO's Queue version, assuming that the class's name is simply the Queue version's name with "InProc" appended. This can be overriden in subclasses.
parameter INVOCATION = InProc;
Inherited description: 2 modes: Queue, InProc
parameter SETTINGS = -SearchTableClass,Interceptor:InProc:dtlSelector;
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 Interceptor as %String;
Set this to a DTL class that will accept the request as Source and the response as Aux in order to obtain and persist data.
This can be used when using non-persistence of the original request. If a source is created and populated it is necessary to invoke the source.%Save() in the transform.
Note, any data that is persisted will not be purged by standard management purge.
Property methods: InterceptorDisplayToLogical(), InterceptorGet(), InterceptorIsValid(), InterceptorLogicalToDisplay(), InterceptorLogicalToOdbc(), InterceptorNormalize(), InterceptorSet()

Methods

method OnInit() as %Status
The OnInit method of any subclass calls the OnInit method of its secondary superclass
method OnMessage(pRequest As EnsLib.HL7.Message, Output pResponse As EnsLib.HL7.Message) as %Status
The OnMessage method of any subclass calls the OnMessage method of its secondary superclass and then uses the Interceptor DTL, if specified, to perform transformations.
method OnValidate(pDoc As EnsLib.EDI.Document, pValSpec As %String, Output pStatus As %Status) as %Boolean
The OnValidate method of any subclass calls the OnValidate method of its secondary superclass

Inherited Members

Inherited Properties

Inherited Methods

Subclasses

FeedbackOpens in a new tab