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 FHIRTermService
service
-
Constructor Summary
Constructors Constructor Description FHIRPathAbstractTermFunction()
-
Method Summary
-
Methods inherited from class com.ibm.fhir.path.function.FHIRPathAbstractFunction
equals, generateIssue, hashCode
-
-
-
-
Field Detail
-
service
protected final FHIRTermService service
-
-
Method Detail
-
getName
public abstract String getName()
- Specified by:
getName
in interfaceFHIRPathFunction
- Specified by:
getName
in classFHIRPathAbstractFunction
-
getMinArity
public abstract int getMinArity()
- Specified by:
getMinArity
in interfaceFHIRPathFunction
- Specified by:
getMinArity
in classFHIRPathAbstractFunction
-
getMaxArity
public abstract int getMaxArity()
- Specified by:
getMaxArity
in interfaceFHIRPathFunction
- Specified by:
getMaxArity
in classFHIRPathAbstractFunction
-
apply
public abstract Collection<FHIRPathNode> apply(FHIRPathEvaluator.EvaluationContext evaluationContext, Collection<FHIRPathNode> context, List<Collection<FHIRPathNode>> arguments)
- Specified by:
apply
in interfaceFHIRPathFunction
- Overrides:
apply
in 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)
-
getDisplay
protected String getDisplay(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)
-
getSystem
protected Uri getSystem(FHIRPathTree tree, FHIRPathElementNode codedElementNode)
-
getVersion
protected String getVersion(FHIRPathTree tree, FHIRPathElementNode codedElementNode)
-
-