Class 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 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.FHIRPersistenceException
        adds 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)