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 com.ibm.fhir.term.service.FHIRTermServiceservice
-
Constructor Summary
Constructors Constructor Description FHIRPathAbstractTermFunction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Collection<FHIRPathNode>apply(FHIRPathEvaluator.EvaluationContext evaluationContext, Collection<FHIRPathNode> context, List<Collection<FHIRPathNode>> arguments)protected Map<String,Function<String,com.ibm.fhir.model.type.Element>>buildElementFactoryMap()protected com.ibm.fhir.model.type.ElementgetCodedElement(FHIRPathTree tree, FHIRPathElementNode codedElementNode)protected com.ibm.fhir.model.type.CodinggetCoding(FHIRPathTree tree, FHIRPathElementNode codedElementNode)protected com.ibm.fhir.model.type.StringgetDisplay(FHIRPathTree tree, FHIRPathElementNode codedElementNode)abstract intgetMaxArity()abstract intgetMinArity()abstract StringgetName()protected com.ibm.fhir.model.resource.ParametersgetParameters(List<Collection<FHIRPathNode>> arguments)protected <T extends com.ibm.fhir.model.resource.Resource>
TgetResource(List<Collection<FHIRPathNode>> arguments, Class<T> resourceType)protected com.ibm.fhir.model.type.UrigetSystem(FHIRPathTree tree, FHIRPathElementNode codedElementNode)protected com.ibm.fhir.model.type.StringgetVersion(FHIRPathTree tree, FHIRPathElementNode codedElementNode)protected booleanisCodedElementNode(Collection<FHIRPathNode> nodes)protected booleanisCodedElementNode(Collection<FHIRPathNode> nodes, Class<?>... codedElementTypes)protected booleanisTermServiceNode(Collection<FHIRPathNode> nodes)-
Methods inherited from class com.ibm.fhir.path.function.FHIRPathAbstractFunction
equals, generateIssue, hashCode
-
-
-
-
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
-
buildElementFactoryMap
protected Map<String,Function<String,com.ibm.fhir.model.type.Element>> buildElementFactoryMap()
-
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 com.ibm.fhir.model.type.Element getCodedElement(FHIRPathTree tree, FHIRPathElementNode codedElementNode)
-
getCoding
protected com.ibm.fhir.model.type.Coding getCoding(FHIRPathTree tree, FHIRPathElementNode codedElementNode)
-
getDisplay
protected com.ibm.fhir.model.type.String getDisplay(FHIRPathTree tree, FHIRPathElementNode codedElementNode)
-
getParameters
protected com.ibm.fhir.model.resource.Parameters getParameters(List<Collection<FHIRPathNode>> arguments)
-
getResource
protected <T extends com.ibm.fhir.model.resource.Resource> T getResource(List<Collection<FHIRPathNode>> arguments, Class<T> resourceType)
-
getSystem
protected com.ibm.fhir.model.type.Uri getSystem(FHIRPathTree tree, FHIRPathElementNode codedElementNode)
-
getVersion
protected com.ibm.fhir.model.type.String getVersion(FHIRPathTree tree, FHIRPathElementNode codedElementNode)
-
-