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

Otherwise: add a symbol for pValue and return it

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

Inherited Members

Inherited Methods

Feedback