Uses of Interface
com.ibm.fhir.path.FHIRPathNode
-
Packages that use FHIRPathNode Package Description com.ibm.fhir.path com.ibm.fhir.path.evaluator com.ibm.fhir.path.function com.ibm.fhir.path.util com.ibm.fhir.path.visitor com.ibm.fhir.search.util com.ibm.fhir.server.resolve -
-
Uses of FHIRPathNode in com.ibm.fhir.path
Subinterfaces of FHIRPathNode in com.ibm.fhir.path Modifier and Type Interface Description interface
FHIRPathNumberValue
An interface that represents aFHIRPathSystemValue
that wraps a number valueinterface
FHIRPathSystemValue
An interface that represents FHIRPath system data typesinterface
FHIRPathTemporalValue
AFHIRPathSystemValue
that wraps a temporal valueFields in com.ibm.fhir.path with type parameters of type FHIRPathNode Modifier and Type Field Description protected Collection<FHIRPathNode>
FHIRPathAbstractNode.Builder. children
protected Collection<FHIRPathNode>
FHIRPathAbstractNode. children
Methods in com.ibm.fhir.path with type parameters of type FHIRPathNode Modifier and Type Method Description <T extends FHIRPathNode>
TFHIRPathAbstractNode. as(Class<T> nodeType)
<T extends FHIRPathNode>
TFHIRPathNode. as(Class<T> nodeType)
Cast this FHIRPathNode to the type specified in the parameter<T extends FHIRPathNode>
booleanFHIRPathAbstractNode. is(Class<T> nodeType)
<T extends FHIRPathNode>
booleanFHIRPathNode. is(Class<T> nodeType)
Indicates whether this FHIRPathNode is type compatible with the parameterMethods in com.ibm.fhir.path that return FHIRPathNode Modifier and Type Method Description abstract FHIRPathNode
FHIRPathAbstractNode.Builder. build()
FHIRPathNode
FHIRPathNode.Builder. build()
Build a FHIRPathNode using this builderFHIRPathNode
FHIRPathTree. getNode(String path)
Get the node at the location given by the path parameterFHIRPathNode
FHIRPathTree. getParent(FHIRPathNode node)
Get the parent of the node parameterFHIRPathNode
FHIRPathTree. getRoot()
The root node of this FHIRPathTreeFHIRPathNode
FHIRPathTree. getSibling(FHIRPathNode node, String name)
Get the first sibling of the node parameter with the given nameMethods in com.ibm.fhir.path that return types with arguments of type FHIRPathNode Modifier and Type Method Description Collection<FHIRPathNode>
FHIRPathAbstractNode. children()
Collection<FHIRPathNode>
FHIRPathAbstractSystemValue. children()
This method always returns an emptyCollection
Collection<FHIRPathNode>
FHIRPathNode. children()
The child nodes of this FHIRPathNodeCollection<FHIRPathNode>
FHIRPathAbstractNode. descendants()
Collection<FHIRPathNode>
FHIRPathAbstractSystemValue. descendants()
This method always returns an emptyCollection
Collection<FHIRPathNode>
FHIRPathNode. descendants()
A collection of descendant nodes of this FHIRPathNodeCollection<FHIRPathNode>
FHIRPathTree. getSiblings(FHIRPathNode node)
Get the siblings of the node parameterCollection<FHIRPathNode>
FHIRPathTree. getSiblings(FHIRPathNode node, String name)
Get the siblings of the node parameter with the given nameStream<FHIRPathNode>
FHIRPathAbstractNode. stream()
Stream<FHIRPathNode>
FHIRPathAbstractSystemValue. stream()
This method always returns an emptyStream
Stream<FHIRPathNode>
FHIRPathNode. stream()
A stream-based view of this FHIRPathNode and all of its descendantsMethods in com.ibm.fhir.path with parameters of type FHIRPathNode Modifier and Type Method Description FHIRPathAbstractNode.Builder
FHIRPathAbstractNode.Builder. children(FHIRPathNode... children)
FHIRPathAbstractSystemValue.Builder
FHIRPathAbstractSystemValue.Builder. children(FHIRPathNode... children)
This builder method is not supported - implementations will never have childrenFHIRPathElementNode.Builder
FHIRPathElementNode.Builder. children(FHIRPathNode... children)
FHIRPathNode.Builder
FHIRPathNode.Builder. children(FHIRPathNode... children)
Child nodes of the FHIRPathNodeFHIRPathQuantityNode.Builder
FHIRPathQuantityNode.Builder. children(FHIRPathNode... children)
FHIRPathResourceNode.Builder
FHIRPathResourceNode.Builder. children(FHIRPathNode... children)
int
FHIRPathAbstractTemporalValue. compareTo(FHIRPathNode other)
int
FHIRPathBooleanValue. compareTo(FHIRPathNode other)
Compare the boolean value wrapped by this FHIRPathBooleanValue node to the parameterint
FHIRPathElementNode. compareTo(FHIRPathNode other)
Compare the element wrapped by this FHIRPathElementNode to the parameterdefault int
FHIRPathNumberValue. compareTo(FHIRPathNode other)
Compare the number value wrapped by this FHIRPathNumberValue node to the parameterint
FHIRPathQuantityNode. compareTo(FHIRPathNode other)
Compare the quantity value wrapped by this FHIRPathQuantityNode to the parameterint
FHIRPathQuantityValue. compareTo(FHIRPathNode other)
Compare the quantity value wrapped by this FHIRPathQuantityValue to the parameterint
FHIRPathResourceNode. compareTo(FHIRPathNode node)
This method is not supported for this FHIRPathResourceNodeint
FHIRPathStringValue. compareTo(FHIRPathNode other)
Compare theString
value wrapped by this FHIRPathStringValue node to the parameterint
FHIRPathTermServiceNode. compareTo(FHIRPathNode o)
int
FHIRPathTypeInfoNode. compareTo(FHIRPathNode o)
The compareTo operation is not supported for this FHIRPathTypeInfoNodeFHIRPathNode
FHIRPathTree. getParent(FHIRPathNode node)
Get the parent of the node parameterFHIRPathNode
FHIRPathTree. getSibling(FHIRPathNode node, String name)
Get the first sibling of the node parameter with the given nameCollection<FHIRPathNode>
FHIRPathTree. getSiblings(FHIRPathNode node)
Get the siblings of the node parameterCollection<FHIRPathNode>
FHIRPathTree. getSiblings(FHIRPathNode node, String name)
Get the siblings of the node parameter with the given nameboolean
FHIRPathAbstractTemporalValue. isComparableTo(FHIRPathNode other)
boolean
FHIRPathBooleanValue. isComparableTo(FHIRPathNode other)
Indicates whether this FHIRPathBooleanValue is comparable to the parameterboolean
FHIRPathElementNode. isComparableTo(FHIRPathNode other)
Indicates whether this FHIRPathElementNode has a primitive value and is comparable to the parameterdefault boolean
FHIRPathNode. isComparableTo(FHIRPathNode other)
Indicates whether this FHIRPathNode is comparable to the parameterdefault boolean
FHIRPathNumberValue. isComparableTo(FHIRPathNode other)
Indicates whether this FHIRPathNumberValue is comparable to the parameterboolean
FHIRPathQuantityNode. isComparableTo(FHIRPathNode other)
Indicates whether this FHIRPathQuantityNode is comparable to the parameterboolean
FHIRPathQuantityValue. isComparableTo(FHIRPathNode other)
Indicates whether this FHIRPathQuantityValue is comparable to the parameterboolean
FHIRPathStringValue. isComparableTo(FHIRPathNode other)
Indicates whether this FHIRPathStringValue is comparable to the parameterMethod parameters in com.ibm.fhir.path with type arguments of type FHIRPathNode Modifier and Type Method Description FHIRPathAbstractNode.Builder
FHIRPathAbstractNode.Builder. children(Collection<FHIRPathNode> children)
FHIRPathAbstractSystemValue.Builder
FHIRPathAbstractSystemValue.Builder. children(Collection<FHIRPathNode> children)
This builder method is not supported - implementations will never have descendantsFHIRPathElementNode.Builder
FHIRPathElementNode.Builder. children(Collection<FHIRPathNode> children)
FHIRPathNode.Builder
FHIRPathNode.Builder. children(Collection<FHIRPathNode> children)
Child nodes of the FHIRPathNodeFHIRPathQuantityNode.Builder
FHIRPathQuantityNode.Builder. children(Collection<FHIRPathNode> children)
FHIRPathResourceNode.Builder
FHIRPathResourceNode.Builder. children(Collection<FHIRPathNode> children)
-
Uses of FHIRPathNode in com.ibm.fhir.path.evaluator
Fields in com.ibm.fhir.path.evaluator with type parameters of type FHIRPathNode Modifier and Type Field Description static Collection<FHIRPathNode>
FHIRPathEvaluator. SINGLETON_FALSE
static Collection<FHIRPathNode>
FHIRPathEvaluator. SINGLETON_TRUE
Methods in com.ibm.fhir.path.evaluator with parameters of type FHIRPathNode Modifier and Type Method Description Collection<FHIRPathNode>
FHIRPathEvaluator. evaluate(FHIRPathEvaluator.EvaluationContext evaluationContext, String expr, FHIRPathNode node)
Evaluate a FHIRPath expression using an existing evaluation context against a FHIRPath nodevoid
FHIRPathEvaluator.EvaluationContext. setExternalConstant(String name, FHIRPathNode node)
Set an external constant using a name and FHIRPath nodeMethod parameters in com.ibm.fhir.path.evaluator with type arguments of type FHIRPathNode Modifier and Type Method Description void
FHIRPathEvaluator.EvaluationListener. afterEvaluation(org.antlr.v4.runtime.ParserRuleContext parserRuleContext, Collection<FHIRPathNode> result)
Called immediately after an expression, term, or literal associated with the given parser rule context is evaluatedvoid
FHIRPathEvaluator.EvaluationListener. beforeEvaluation(org.antlr.v4.runtime.ParserRuleContext parserRuleContext, Collection<FHIRPathNode> context)
Called immediately before an expression, term, or literal associated with the given parser rule context is evaluatedvoid
FHIRPathEvaluator.EvaluationContext. cacheFunctionResult(String functionName, Collection<FHIRPathNode> context, List<Collection<FHIRPathNode>> arguments, Collection<FHIRPathNode> result)
Cache the function result for the given function name, context, and argumentsvoid
FHIRPathEvaluator.EvaluationContext. cacheFunctionResult(String functionName, Collection<FHIRPathNode> context, List<Collection<FHIRPathNode>> arguments, Collection<FHIRPathNode> result)
Cache the function result for the given function name, context, and argumentsCollection<FHIRPathNode>
FHIRPathEvaluator. evaluate(FHIRPathEvaluator.EvaluationContext evaluationContext, String expr, Collection<FHIRPathNode> initialContext)
Evaluate a FHIRPathExpression using an existing EvaluationContext against a collection of FHIRPath nodesCollection<FHIRPathNode>
FHIRPathEvaluator.EvaluationContext. getCachedFunctionResult(String functionName, Collection<FHIRPathNode> context, List<Collection<FHIRPathNode>> arguments)
Get the cached function result for the given function name, context, and arguments.Collection<FHIRPathNode>
FHIRPathEvaluator.EvaluationContext. getCachedFunctionResult(String functionName, Collection<FHIRPathNode> context, List<Collection<FHIRPathNode>> arguments)
Get the cached function result for the given function name, context, and arguments.boolean
FHIRPathEvaluator.EvaluationContext. hasCachedFunctionResult(String functionName, Collection<FHIRPathNode> context, List<Collection<FHIRPathNode>> arguments)
Indicates whether a function result has been cached for the given function name, context, and arguments.boolean
FHIRPathEvaluator.EvaluationContext. hasCachedFunctionResult(String functionName, Collection<FHIRPathNode> context, List<Collection<FHIRPathNode>> arguments)
Indicates whether a function result has been cached for the given function name, context, and arguments.void
FHIRPathEvaluator.EvaluationContext. setExternalConstant(String name, Collection<FHIRPathNode> nodes)
Set an external constant using a name and a collection of FHIRPath node -
Uses of FHIRPathNode in com.ibm.fhir.path.function
Methods in com.ibm.fhir.path.function with parameters of type FHIRPathNode Modifier and Type Method Description protected Resource
ResolveFunction. resolveRelativeReference(FHIRPathEvaluator.EvaluationContext evaluationContext, FHIRPathNode node, String type, String logicalId, String versionId)
-
Uses of FHIRPathNode in com.ibm.fhir.path.util
Methods in com.ibm.fhir.path.util with type parameters of type FHIRPathNode Modifier and Type Method Description static <T extends FHIRPathNode>
TFHIRPathUtil. getSingleton(Collection<FHIRPathNode> nodes, Class<T> nodeType)
static <T extends FHIRPathNode>
booleanFHIRPathUtil. isSingleton(Collection<FHIRPathNode> nodes, Class<T> nodeType)
Methods in com.ibm.fhir.path.util that return FHIRPathNode Modifier and Type Method Description static FHIRPathNode
FHIRPathUtil. getSingleton(Collection<FHIRPathNode> nodes)
Methods in com.ibm.fhir.path.util that return types with arguments of type FHIRPathNode Modifier and Type Method Description static Collection<FHIRPathNode>
FHIRPathUtil. empty()
Collection<FHIRPathNode>
EvaluationResultTree.Node. getContext()
Get the FHIRPath evaluator context associated with this evaluation result tree node.Collection<FHIRPathNode>
EvaluationResultTree.Node. getResult()
Get the FHIRPath evaluation result associated with this evaluation result tree node.Iterator<FHIRPathNode>
FHIRPathUtil.UnorderedCollection. iterator()
static Collection<FHIRPathNode>
FHIRPathUtil. singleton(FHIRPathNode node)
static Collection<FHIRPathNode>
FHIRPathUtil. unordered(Collection<FHIRPathNode> nodes)
Methods in com.ibm.fhir.path.util with parameters of type FHIRPathNode Modifier and Type Method Description static FHIRPathResourceNode
FHIRPathUtil. getResourceNode(FHIRPathTree tree, FHIRPathNode node)
Get the resource node to use as a value for the %resource external constant.static FHIRPathResourceNode
FHIRPathUtil. getRootResourceNode(FHIRPathTree tree, FHIRPathNode node)
Get the resource node to use as a value for the %rootResource external constant.static FHIRPathSystemValue
FHIRPathUtil. getSystemValue(FHIRPathNode node)
static FHIRPathTemporalValue
FHIRPathUtil. getTemporalValue(FHIRPathNode node)
static boolean
FHIRPathUtil. hasSystemValue(FHIRPathNode node)
static boolean
FHIRPathUtil. hasTemporalValue(FHIRPathNode node)
static Collection<FHIRPathNode>
FHIRPathUtil. singleton(FHIRPathNode node)
Method parameters in com.ibm.fhir.path.util with type arguments of type FHIRPathNode Modifier and Type Method Description void
EvaluationResultTree.BuildingEvaluationListener. afterEvaluation(org.antlr.v4.runtime.ParserRuleContext parserRuleContext, Collection<FHIRPathNode> result)
void
EvaluationResultTree.BuildingEvaluationListener. beforeEvaluation(org.antlr.v4.runtime.ParserRuleContext parserRuleContext, Collection<FHIRPathNode> context)
static boolean
FHIRPathUtil. convertsToBoolean(Collection<FHIRPathNode> nodes)
Indicates whether the input collection can be implicitly or explicitly converted to a boolean value per: Boolean Conversion Functionsstatic boolean
FHIRPathUtil. convertsToDate(Collection<FHIRPathNode> nodes)
static boolean
FHIRPathUtil. convertsToDateTime(Collection<FHIRPathNode> nodes)
static boolean
FHIRPathUtil. convertsToTime(Collection<FHIRPathNode> nodes)
static boolean
FHIRPathUtil. evaluatesToBoolean(Collection<FHIRPathNode> nodes)
static boolean
FHIRPathUtil. evaluatesToTrue(Collection<FHIRPathNode> nodes)
Indicates whether the input collection evaluates to a boolean value per: Singleton Evaluation of Collectionsstatic Boolean
FHIRPathUtil. getBoolean(Collection<FHIRPathNode> nodes)
static FHIRPathBooleanValue
FHIRPathUtil. getBooleanValue(Collection<FHIRPathNode> nodes)
static TemporalAccessor
FHIRPathUtil. getDate(Collection<FHIRPathNode> nodes)
static TemporalAccessor
FHIRPathUtil. getDateTime(Collection<FHIRPathNode> nodes)
static FHIRPathDateTimeValue
FHIRPathUtil. getDateTimeValue(Collection<FHIRPathNode> nodes)
static FHIRPathDateValue
FHIRPathUtil. getDateValue(Collection<FHIRPathNode> nodes)
static BigDecimal
FHIRPathUtil. getDecimal(Collection<FHIRPathNode> nodes)
static FHIRPathDecimalValue
FHIRPathUtil. getDecimalValue(Collection<FHIRPathNode> nodes)
static FHIRPathElementNode
FHIRPathUtil. getElementNode(Collection<FHIRPathNode> nodes)
static Integer
FHIRPathUtil. getInteger(Collection<FHIRPathNode> nodes)
static FHIRPathIntegerValue
FHIRPathUtil. getIntegerValue(Collection<FHIRPathNode> nodes)
static FHIRPathNumberValue
FHIRPathUtil. getNumberValue(Collection<FHIRPathNode> nodes)
static FHIRPathQuantityNode
FHIRPathUtil. getQuantityNode(Collection<FHIRPathNode> nodes)
static FHIRPathQuantityValue
FHIRPathUtil. getQuantityValue(Collection<FHIRPathNode> nodes)
static FHIRPathResourceNode
FHIRPathUtil. getResourceNode(Collection<FHIRPathNode> nodes)
static FHIRPathNode
FHIRPathUtil. getSingleton(Collection<FHIRPathNode> nodes)
static <T extends FHIRPathNode>
TFHIRPathUtil. getSingleton(Collection<FHIRPathNode> nodes, Class<T> nodeType)
static String
FHIRPathUtil. getString(Collection<FHIRPathNode> nodes)
static FHIRPathStringValue
FHIRPathUtil. getStringValue(Collection<FHIRPathNode> nodes)
static FHIRPathSystemValue
FHIRPathUtil. getSystemValue(Collection<FHIRPathNode> nodes)
static FHIRPathTemporalValue
FHIRPathUtil. getTemporalValue(Collection<FHIRPathNode> nodes)
static TemporalAccessor
FHIRPathUtil. getTime(Collection<FHIRPathNode> nodes)
static FHIRPathTimeValue
FHIRPathUtil. getTimeValue(Collection<FHIRPathNode> nodes)
static boolean
FHIRPathUtil. hasBooleanValue(Collection<FHIRPathNode> nodes)
static boolean
FHIRPathUtil. hasDateTimeValue(Collection<FHIRPathNode> nodes)
static boolean
FHIRPathUtil. hasDateValue(Collection<FHIRPathNode> nodes)
static boolean
FHIRPathUtil. hasDecimalValue(Collection<FHIRPathNode> nodes)
static boolean
FHIRPathUtil. hasIntegerValue(Collection<FHIRPathNode> nodes)
static boolean
FHIRPathUtil. hasNumberValue(Collection<FHIRPathNode> nodes)
static boolean
FHIRPathUtil. hasQuantityValue(Collection<FHIRPathNode> nodes)
static boolean
FHIRPathUtil. hasStringValue(Collection<FHIRPathNode> nodes)
static boolean
FHIRPathUtil. hasSystemValue(Collection<FHIRPathNode> nodes)
static boolean
FHIRPathUtil. hasTemporalValue(Collection<FHIRPathNode> nodes)
static boolean
FHIRPathUtil. hasTimeValue(Collection<FHIRPathNode> nodes)
static boolean
FHIRPathUtil. isBooleanValue(Collection<FHIRPathNode> nodes)
static boolean
FHIRPathUtil. isCodedElementNode(Collection<FHIRPathNode> nodes)
static boolean
FHIRPathUtil. isDecimalValue(Collection<FHIRPathNode> nodes)
static boolean
FHIRPathUtil. isElementNode(Collection<FHIRPathNode> nodes)
static boolean
FHIRPathUtil. isFalse(Collection<FHIRPathNode> nodes)
Indicates whetherFHIRPathUtil.convertsToBoolean(java.util.Collection<com.ibm.fhir.path.FHIRPathNode>)
returns a false value for the input collectionstatic boolean
FHIRPathUtil. isIntegerValue(Collection<FHIRPathNode> nodes)
static boolean
FHIRPathUtil. isOrdered(Collection<FHIRPathNode> nodes)
static boolean
FHIRPathUtil. isQuantityNode(Collection<FHIRPathNode> nodes)
static boolean
FHIRPathUtil. isResourceNode(Collection<FHIRPathNode> nodes)
static boolean
FHIRPathUtil. isSingleton(Collection<FHIRPathNode> nodes)
static <T extends FHIRPathNode>
booleanFHIRPathUtil. isSingleton(Collection<FHIRPathNode> nodes, Class<T> nodeType)
static boolean
FHIRPathUtil. isStringElementNode(Collection<FHIRPathNode> nodes)
static boolean
FHIRPathUtil. isStringValue(Collection<FHIRPathNode> nodes)
static boolean
FHIRPathUtil. isSystemValue(Collection<FHIRPathNode> nodes)
static boolean
FHIRPathUtil. isTrue(Collection<FHIRPathNode> nodes)
Indicates whetherFHIRPathUtil.convertsToBoolean(java.util.Collection<com.ibm.fhir.path.FHIRPathNode>)
returns a true value for the input collectionstatic boolean
FHIRPathUtil. isUnordered(Collection<FHIRPathNode> nodes)
static boolean
FHIRPathUtil. isUriElementNode(Collection<FHIRPathNode> nodes)
static boolean
FHIRPathUtil. toBoolean(Collection<FHIRPathNode> nodes)
static FHIRPathDateValue
FHIRPathUtil. toDate(Collection<FHIRPathNode> nodes)
static FHIRPathDateTimeValue
FHIRPathUtil. toDateTime(Collection<FHIRPathNode> nodes)
static FHIRPathTimeValue
FHIRPathUtil. toTime(Collection<FHIRPathNode> nodes)
static Collection<FHIRPathNode>
FHIRPathUtil. unordered(Collection<FHIRPathNode> nodes)
Constructor parameters in com.ibm.fhir.path.util with type arguments of type FHIRPathNode Constructor Description UnorderedCollection(Collection<FHIRPathNode> nodes)
-
Uses of FHIRPathNode in com.ibm.fhir.path.visitor
Methods in com.ibm.fhir.path.visitor with parameters of type FHIRPathNode Modifier and Type Method Description protected void
FHIRPathDefaultNodeVisitor. visitChildren(FHIRPathNode node)
-
Uses of FHIRPathNode in com.ibm.fhir.search.util
Methods in com.ibm.fhir.search.util that return types with arguments of type FHIRPathNode Modifier and Type Method Description static Map<SearchParameter,List<FHIRPathNode>>
SearchUtil. extractParameterValues(Resource resource)
skips the empty extracted search parametersstatic Map<SearchParameter,List<FHIRPathNode>>
SearchUtil. extractParameterValues(Resource resource, boolean skipEmpty)
extract parameter values. -
Uses of FHIRPathNode in com.ibm.fhir.server.resolve
Methods in com.ibm.fhir.server.resolve with parameters of type FHIRPathNode Modifier and Type Method Description protected Resource
ServerResolveFunction. resolveRelativeReference(FHIRPathEvaluator.EvaluationContext evaluationContext, FHIRPathNode node, String resourceType, String logicalId, String versionId)
-