Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Evaluate ¶
Evaluate evaluates the FHIR path against the supplied FHIR JSON. Returns a slice of values and an optional error. If the evaluation resulted in nothing, an empty slice is returned. A slice of size 1 or larger is possible depending on whether the evaluation matched multiple values. This function is a generic function, so it takes a type parameter. Upon evaluation, any results that are not the same as the type parameter are filtered out. If you want nothing filtered out, use `any` as the type paramter.
func EvaluateWithContext ¶
Types ¶
This section is empty.
Directories
¶
Path | Synopsis |
---|---|
internal
|
|
engine
Package engine evaluates the grammar.Tree and returns the results.
|
Package engine evaluates the grammar.Tree and returns the results. |
grammar
Package grammar is used to create a `Tree` structure given a FHIR path to be parsed.
|
Package grammar is used to create a `Tree` structure given a FHIR path to be parsed. |
grammar/antlrGen
Package antlrGen contains the generated ANTLR Go code created from the ANTLR .g4 file.
|
Package antlrGen contains the generated ANTLR Go code created from the ANTLR .g4 file. |
Click to show internal directories.
Click to hide internal directories.