EnsLib.InteropTools.HL7.MessageAnalyzer.Lines.LinesSymbols

class EnsLib.InteropTools.HL7.MessageAnalyzer.Lines.LinesSymbols extends %Library.RegisteredObject

Method Inventory

Methods

method %OnNew(pLines As %List) as %Status
Inherited description: This callback method is invoked by the %New() method to provide notification that a new instance of an object is being created.

If this method returns an error then the object will not be created.

It is passed the arguments provided in the %New call. When customizing this method, override the arguments with whatever variables and types you expect to receive from %New(). For example, if you're going to call %New, passing 2 arguments, %OnNew's signature could be:

Method %OnNew(dob as %Date = "", name as %Name = "") as %Status If instead of returning a %Status code this returns an oref and this oref is a subclass of the current class then this oref will be the one returned to the caller of %New method.

method Clone() as LinesSymbols
method DumpSymbols(pLogger As Logger = ##class(Logger).%New())
Dump symbols to the given logger, defaulting to the current output device
method FixupTree(pTree As Tree)
In the given tree, replace all symbol references in plain nodes with the symbol value
method GetLines() as %List
Return the lines in their symbol form, as a $List of $List of message segment types (and symbol names)
classmethod IsSymbolName(pName As %String) as %Boolean
Return whether the given name is a symbol name
classmethod ListHasSymbol(pList As %List) as %Boolean
Return whether the given list includes any symbols
method MakeLinesUnique()
Remove any duplicate lines - do this after all symbol-creating operations for best results
method SetLines(pLines As %List)
Update ..Lines from a $List of $List of message segment types (and symbol names)
method SubstituteSymbolsIn(pPattern As %String) as %String
Return the given pattern string with any symbol references replaced by their values
method SymbolForValue(pValue As %String) as %String
If pValue already has a symbol: return it

Otherwise: add a symbol for pValue and return it

method SymbolicLinesCSV() as %List
Return the lines in their symbol form, as a $List of CSV strings

Inherited Members

Inherited Methods

Feedback