Skip to main content


class EnsLib.InteropTools.HL7.MessageAnalyzer.NFA.Extend.Strategies.ScanImpl.ScanBranch extends %Library.RegisteredObject

Method Inventory


method %OnNew(pSchemaSource As %String, ByRef pMessageArray, pDiffCollection As DiffCollection, pConfig As Config, pLogger As Logger) 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 BranchKey() as %String
classmethod ExtendImpl(pConfig As Config, pLogger As Logger, pIgnoreTrailingZ As %Boolean, pBestSchemaName As %String, pBestSchemaSource As %String, ByRef pMessageArray, pMachineCollection As MachineCollection, pRigSchema As RigSchema, pDiffCollection As DiffCollection, Output pMessagesByDiff, ByRef pExtensions As Extend) as %Boolean
Returns whether a match was found


TYPE is one of: 1=>added to diffs, 0=>matched, -1=>not added to diffs but not matching either

method ExtendProgressivelyOne(pIgnoreTrailingZ As %Boolean, Output pSchemaSourceList) as %String
If there was an exact match: returns the matching schema source

If there was NO exact match: returns "" and a list of possible new schema sources in pSchemaSourceList

method GetDiffCollection() as DiffCollection
classmethod GetPattern(pConfig As Config, pLogger As Logger, pLinesSymbols As LinesSymbols, pOriginalRecords As %List, ByRef pAnyWithoutEarliest) as %String
Returns pattern, or "" if none
method GetSchemaSource() as %String
method SizeMetric() as %Integer

Inherited Members

Inherited Methods

FeedbackOpens in a new tab