Class FhirTerminologyServerImpl
- java.lang.Object
-
- org.ehrbase.aql.compiler.tsclient.FhirTerminologyServerImpl
-
- All Implemented Interfaces:
TerminologyServer<String,String>
public class FhirTerminologyServerImpl extends Object implements TerminologyServer<String,String>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ehrbase.aql.compiler.tsclient.TerminologyServer
TerminologyServer.SubsumptionResult
-
-
Constructor Summary
Constructors Constructor Description FhirTerminologyServerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Listexpand(String valueSetId)Expands the value set identified by the provided ID.StringlookUp(String conceptId)Searches all the attributes associated with the concept that corresponds to the provided ID.TerminologyServer.SubsumptionResultsubsumes(String conceptA, String conceptB)Evaluates if the concept B subsumes concept A.Booleanvalidate(String concept, String valueSetId)Evaluates if the concept provided T belongs to the value set identified by the provided ID.
-
-
-
Method Detail
-
expand
public List expand(String valueSetId)
Description copied from interface:TerminologyServerExpands the value set identified by the provided ID.- Specified by:
expandin interfaceTerminologyServer<String,String>- Returns:
- Returns the list of concepts of type T that conform the expansion of the value set.
-
validate
public Boolean validate(String concept, String valueSetId)
Description copied from interface:TerminologyServerEvaluates if the concept provided T belongs to the value set identified by the provided ID.- Specified by:
validatein interfaceTerminologyServer<String,String>- Parameters:
concept- to evaluate.- Returns:
- true if the concept belongs to the specified value set.
-
subsumes
public TerminologyServer.SubsumptionResult subsumes(String conceptA, String conceptB)
Description copied from interface:TerminologyServerEvaluates if the concept B subsumes concept A.- Specified by:
subsumesin interfaceTerminologyServer<String,String>- Returns:
TerminologyServer.SubsumptionResultindicating the result of the subsumption evaluation.
-
lookUp
public String lookUp(String conceptId)
Description copied from interface:TerminologyServerSearches all the attributes associated with the concept that corresponds to the provided ID.- Specified by:
lookUpin interfaceTerminologyServer<String,String>- Returns:
- A complex Object of type T that contains all the attributes directly associated to the concept identified by the provided ID.
-
-