HS.FHIRPath.Node
class HS.FHIRPath.Node extends %Library.RegisteredObject
This object is used during parsing and in the representation of the final parse tree. The property desriptions detail the internal usage. In the final parse tree, the valid types and values are:- type="ID": An identifier. value = The name of a variable or FHIR type
- type="b" A boolean literal. value = true | false
- type="s" A string literal. value = a %String value
- type="n" A numeric literal. value = The %Numeric value
- type="i" An invocation literal. value = ( $this | $index | $total )
- type="{}" A null-object literal.
- type="Expr": An operator. value = the actual operator (e.g. '+'). a special case is a function call which has value="Call" and the actual function name is in the 'functionName' property. Also, the 'isUnary' property may modify certain operators when they are being used as a unary operator.
Property Inventory
Method Inventory
Properties
- type="b" A boolean literal with a value of true or false
- type="s" A string literal.
- type="n" A numeric literal.
- type="o" A null-object literal.
- type="ID": An identifier. value = The name of a variable or FHIR type
- type="OP": An identifier. value = The name of a variable or FHIR type
- type="FN": An identifier. The 'name' property holds the function name. The 'context' property is a Node describing the input context for the function. The 'children' property is a list of Node's providing the arguments for the function
- type="LIT": An identifier. Literal nodes hold the literal value in the 'name' property, and the literal type (boolean, string, number, object) in the 'literalType' property
- type="Expr": An operator. value = the actual operator (e.g. '+').
Methods
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.
Inherited Members
Inherited Methods
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()