package
1.1.0
Repository: https://github.com/verily-src/fhirpath-go.git
Documentation: pkg.go.dev

# Packages

Package exprtest provides some useful test dummies to make it easier to mock expressions to return a desired result.

# Functions

EvaluateAdd takes in two system types, and calls the appropriate Add method.
EvaluateDiv takes in two system types, and calls the appropriate Div method.
EvaluateFloorDiv takes in two system types, and calls the appropriate FloorDiv method.
EvaluateMod takes in two system types, and calls the appropriate Mod method.
EvaluateMul takes in two system types, and calls the appropriate Mul method.
EvaluateSub takes in two system types, and calls the appropriate Sub method.
InitializeContext returns a base context, initialized with current time and initial constant variables set.

# Constants

Operator constants.
Operator constants.
Operator constants.
Operator constants.
Operator constants.
Operator constants.
Operator constants.
Operator constants.
Operator constants.
Operator constants.
Operator constants.
Operator constants.
Operator constants.
Operator constants.
Operator constants.
Operator constants.
Operator constants.
Operator constants.
Operator constants.
Operator constants.
Operator constants.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

ArithmeticExpression enables mathematical arithmetic operations.
AsExpression enables evaluation of an "as" type expression.
BooleanExpression enables evaluation of boolean expressions, including "and", "or", "xor", and "implies".
No description provided by the author
ConcatExpression enables the evaluation of a string concatenation expression.
Context holds the global time and external constant variable map, to enable deterministic evaluation.
EqualityExpression allows checking equality of the two contained subexpressions.
ExpressionSequence abstracts the flow of evaluation for compound expressions.
ExternalConstantExpression enables evaluation of external constants.
FieldExpression is the expression that accesses the specified FieldName in the input collection.
FunctionExpression enables evaluation of Function Invocation expressions.
IdentityExpression encapsulates the top-level expression, ie.
IndexExpression allows accessing of an input system.Collection's index.
IsExpression enables evaluation of an "is" type expression.
LiteralExpression abstracts FHIRPath system types, that are returned from parsing literals.
NegationExpression enables negation of number values (Integer, Decimal, Quantity).
TypeExpression contains the FHIR Type identifier string, to be able to filter the items in the input collection that have the given type.

# Interfaces

Expression is the abstraction for all FHIRPath expressions, ie.

# Type aliases

Operator represents a valid expression operator.