Retrieves a list of concepts that have associated code counts in the results schema. This function provides concept metadata including names, vocabulary IDs, and standard concept flags for concepts that are actively used in the database.

getConceptsWithCodeCounts(CDMdbHandler, codeCountsTable = "code_counts")

Arguments

CDMdbHandler

A CDMdbHandler object that contains database connection details

codeCountsTable

Name of the code counts table in the results schema. Defaults to "code_counts"

Value

A tibble with columns:

  • concept_id - The OMOP concept ID

  • concept_name - The human-readable concept name

  • vocabulary_id - The vocabulary identifier (e.g., SNOMED, ICD10)

  • standard_concept - Logical indicating if this is a standard concept