Interface IResourceReferenceDAO

    • Method Detail

      • getResourceReferenceCache

        ICommonTokenValuesCache getResourceReferenceCache()
        Get the cache used by the DAO
        Returns:
      • flush

        void flush()
            throws com.ibm.fhir.persistence.exception.FHIRPersistenceException
        Execute any statements with pending batch entries
        Throws:
        com.ibm.fhir.persistence.exception.FHIRPersistenceException
      • readCommonTokenValueId

        CommonTokenValueResult readCommonTokenValueId​(String codeSystem,
                                                      String tokenValue)
        Find the database id for the given token value and system
        Parameters:
        codeSystem -
        tokenValue -
        Returns:
        the matching id from common_token_values.common_token_value_id or null if not found
      • readCommonTokenValueIds

        Set<CommonTokenValueResult> readCommonTokenValueIds​(Collection<CommonTokenValue> tokenValues)
        Find database ids for a set of common token values
        Parameters:
        tokenValues -
        Returns:
        a non-null, possibly-empty set of ids from common_token_values.common_token_value_id; CommonTokenValues with no corresponding record will be omitted from the set
      • readCommonTokenValueIdList

        List<Long> readCommonTokenValueIdList​(String tokenValue)
        Fetch the list of matching common_token_value_id records for the given tokenValue.
        Parameters:
        tokenValue -
        Returns:
      • readCanonicalId

        Integer readCanonicalId​(String canonicalValue)
        Read the database canonical_id for the given value
        Parameters:
        canonicalValue -
        Returns: