Class NewQuantityParmBehaviorUtil
- java.lang.Object
-
- com.ibm.fhir.persistence.jdbc.util.type.NewQuantityParmBehaviorUtil
-
public class NewQuantityParmBehaviorUtil extends Object
Quantity parameter handling using the Select model. FHIR Search - Quantity
This utility encapsulates the logic specific to fhir-search related to quantity.
-
-
Constructor Summary
Constructors Constructor Description NewQuantityParmBehaviorUtil(JDBCIdentityCache identityCache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCodeIfPresent(com.ibm.fhir.database.utils.query.WhereFragment whereClauseSegment, String tableAlias, String code)add code if present.voidaddSystemIfPresent(com.ibm.fhir.database.utils.query.WhereFragment whereClauseSegment, String tableAlias, String system)adds the system if present.voidexecuteBehavior(com.ibm.fhir.database.utils.query.WhereFragment whereClauseSegment, com.ibm.fhir.search.parameters.QueryParameter queryParm, String tableAlias)booleanisPresent(String value)
-
-
-
Constructor Detail
-
NewQuantityParmBehaviorUtil
public NewQuantityParmBehaviorUtil(JDBCIdentityCache identityCache)
-
-
Method Detail
-
executeBehavior
public void executeBehavior(com.ibm.fhir.database.utils.query.WhereFragment whereClauseSegment, com.ibm.fhir.search.parameters.QueryParameter queryParm, String tableAlias) throws com.ibm.fhir.persistence.exception.FHIRPersistenceException- Throws:
com.ibm.fhir.persistence.exception.FHIRPersistenceException
-
addSystemIfPresent
public void addSystemIfPresent(com.ibm.fhir.database.utils.query.WhereFragment whereClauseSegment, String tableAlias, String system) throws com.ibm.fhir.persistence.exception.FHIRPersistenceExceptionadds the system if present.- Parameters:
parameterDao-whereClauseSegment-tableAlias-bindVariables-system-- Throws:
com.ibm.fhir.persistence.exception.FHIRPersistenceException
-
addCodeIfPresent
public void addCodeIfPresent(com.ibm.fhir.database.utils.query.WhereFragment whereClauseSegment, String tableAlias, String code)add code if present.- Parameters:
whereClauseSegment-tableAlias-bindVariables-code-
-
isPresent
public boolean isPresent(String value)
-
-