Home > Class Reference > ENSLIB namespace > EnsLib.HL7.Operation.FileOperation

EnsLib.HL7.Operation.FileOperation

class EnsLib.HL7.Operation.FileOperation extends EnsLib.HL7.Operation.BatchStandard

BusinessOperation class for writing HL7 messages to a file. Supports individual or batched messages.

Property Inventory

Method Inventory

Parameters

parameter ADAPTER = EnsLib.File.OutboundAdapter;
Inherited description: The type of adapter used to communicate with external systems

Properties

property Filename as %String (MAXLEN = 1000, MINLEN = 1) [ InitialExpression = "%f_%Q%!+(_a)" , Required ];
Name of file to output the document(s) to. May include timestamp specifiers. The %f specifier if present will be replaced with the name of the document's original source stream (stripped of characters illegal in filenames).

See the method Ens.Util.File.CreateTimestamp() for documentation of timestamping options.

Property methods: FilenameDisplayToLogical(), FilenameGet(), FilenameIsValid(), FilenameLogicalToDisplay(), FilenameLogicalToOdbc(), FilenameNormalize(), FilenameSet()

Methods

method outputDocument(pFilename As %String, pDocument As EnsLib.HL7.Message, pSeparators As %String, pDoFraming As %Integer) as %Status
method outputSegment(pFilename As %String, pSegObj As EnsLib.HL7.Segment, pSeparators As %String, pCount As %Integer) as %Status

Inherited Members

Inherited Properties

Inherited Methods