Skip to main content

EnsLib.InteropTools.HL7.MessageAnalyzer.NFA.BranchContext

class EnsLib.InteropTools.HL7.MessageAnalyzer.NFA.BranchContext extends %Library.RegisteredObject [ Final ]

Property Inventory

Method Inventory

Properties

property EnableBacktracking as %Boolean;
Property methods: EnableBacktrackingDisplayToLogical(), EnableBacktrackingGet(), EnableBacktrackingIsValid(), EnableBacktrackingLogicalToDisplay(), EnableBacktrackingNormalize(), EnableBacktrackingSet()
property LastFailingElement as ElementBase;
Property methods: LastFailingElementGet(), LastFailingElementGetSwizzled(), LastFailingElementIsValid(), LastFailingElementNewObject(), LastFailingElementSet()
property LastSucceedingElement as ElementBase;
Property methods: LastSucceedingElementGet(), LastSucceedingElementGetSwizzled(), LastSucceedingElementIsValid(), LastSucceedingElementNewObject(), LastSucceedingElementSet()
property LastSucceedingMessageRemaining as %String;
Property methods: LastSucceedingMessageRemainingDisplayToLogical(), LastSucceedingMessageRemainingGet(), LastSucceedingMessageRemainingIsValid(), LastSucceedingMessageRemainingLogicalToDisplay(), LastSucceedingMessageRemainingLogicalToOdbc(), LastSucceedingMessageRemainingNormalize(), LastSucceedingMessageRemainingSet()
property MSR as MessageSegmentReader;
Property methods: MSRGet(), MSRGetSwizzled(), MSRIsValid(), MSRNewObject(), MSRSet()
property Resyncing as %Integer;
Property methods: ResyncingDisplayToLogical(), ResyncingGet(), ResyncingIsValid(), ResyncingLogicalToDisplay(), ResyncingNormalize(), ResyncingSet()

Methods

method %OnNew(pEnableBacktracking As %Boolean, pMSR As MessageSegmentReader, pResyncing As %Integer, pLastSucceedingElement As ElementBase, pLastSucceedingMessageRemaining As %String, pLastFailingElement As ElementBase) 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 AddLeafToQueue(pLeaf As %String)
method Bind(pMessageOffset As %Integer, pMessageText As %String, pHierarchy As %List, pSourceOffset As %List = "")
method ClearQueue()
method Extent() as %Integer
method Get(pVar As %String) as %String
method MessageSchemaXref() as %List
Returns a $List of entries, each being: $LB(MESSAGEOFFSET,$LB(SCHEMASTARTOFFSET,SCHEMAAFTERENDOFFSET))
method Report() as %List
method Set(pVar As %String, pValue As %String)
method SetLast(pLastSucceedingElement As ElementBase, pLastSucceedingMessageRemaining As %String, pLastFailingElement As ElementBase)
method SetResyncing(pResyncing As %Integer)
method ShowExtraState() as %String
method TakeLeafFromQueueIfMatch(pLeaf As %String) as %Boolean

Inherited Members

Inherited Methods

FeedbackOpens in a new tab