Package com.ibm.fhir.path.function
Class FHIRPathAbstractTermFunction
- java.lang.Object
-
- com.ibm.fhir.path.function.FHIRPathAbstractFunction
-
- com.ibm.fhir.path.function.FHIRPathAbstractTermFunction
-
- All Implemented Interfaces:
FHIRPathFunction
- Direct Known Subclasses:
ExpandFunction,LookupFunction,SubsumedByFunction,SubsumesFunction,TranslateFunction,ValidateCSFunction,ValidateVSFunction
public abstract class FHIRPathAbstractTermFunction extends FHIRPathAbstractFunction
-
-
Field Summary
Fields Modifier and Type Field Description protected FHIRTermServiceservice
-
Constructor Summary
Constructors Constructor Description FHIRPathAbstractTermFunction()
-
Method Summary
-
Methods inherited from class com.ibm.fhir.path.function.FHIRPathAbstractFunction
cacheFunctionResult, equals, generateIssue, getCachedFunctionResult, hasCachedFunctionResult, hashCode
-
-
-
-
Field Detail
-
service
protected final FHIRTermService service
-
-
Method Detail
-
getName
public abstract String getName()
- Specified by:
getNamein interfaceFHIRPathFunction- Specified by:
getNamein classFHIRPathAbstractFunction
-
getMinArity
public abstract int getMinArity()
- Specified by:
getMinArityin interfaceFHIRPathFunction- Specified by:
getMinArityin classFHIRPathAbstractFunction
-
getMaxArity
public abstract int getMaxArity()
- Specified by:
getMaxArityin interfaceFHIRPathFunction- Specified by:
getMaxArityin classFHIRPathAbstractFunction
-
apply
public abstract Collection<FHIRPathNode> apply(FHIRPathEvaluator.EvaluationContext evaluationContext, Collection<FHIRPathNode> context, List<Collection<FHIRPathNode>> arguments)
- Specified by:
applyin interfaceFHIRPathFunction- Overrides:
applyin classFHIRPathAbstractFunction
-
isCodedElementNode
protected boolean isCodedElementNode(Collection<FHIRPathNode> nodes)
-
isCodedElementNode
protected boolean isCodedElementNode(Collection<FHIRPathNode> nodes, Class<?>... codedElementTypes)
-
isTermServiceNode
protected boolean isTermServiceNode(Collection<FHIRPathNode> nodes)
-
getCodedElement
protected Element getCodedElement(FHIRPathTree tree, FHIRPathElementNode codedElementNode)
-
getCoding
protected Coding getCoding(FHIRPathTree tree, FHIRPathElementNode codedElementNode)
-
getParameters
protected Parameters getParameters(List<Collection<FHIRPathNode>> arguments)
-
getResource
protected <T extends Resource> T getResource(List<Collection<FHIRPathNode>> arguments, Class<T> resourceType)
-
-