class ConceptQL::Operators::VocabularyOperator
Constants
- ConceptCode
Public Instance Methods
code_list(db)
click to toggle source
# File lib/conceptql/operators/vocabulary_operator.rb, line 20 def code_list(db) [self.arguments.map do | code | ConceptCode.new(self.class.name.split('::').last, code, self.describe_code(db, code)) end] end
domain()
click to toggle source
# File lib/conceptql/operators/vocabulary_operator.rb, line 16 def domain table end
Private Instance Methods
code_column()
click to toggle source
# File lib/conceptql/operators/vocabulary_operator.rb, line 28 def code_column table_source_value(table_name) end
table_concept_column()
click to toggle source
# File lib/conceptql/operators/vocabulary_operator.rb, line 40 def table_concept_column "tab__#{concept_column}".to_sym end
table_name()
click to toggle source
# File lib/conceptql/operators/vocabulary_operator.rb, line 36 def table_name @table_name ||= make_table_name(table) end
vocabulary_id_column()
click to toggle source
# File lib/conceptql/operators/vocabulary_operator.rb, line 32 def vocabulary_id_column table_vocabulary_id(table_name) end