require_relative 'standard_vocabulary_operator' module ConceptQL module Operators class SnomedCondition < StandardVocabularyOperator preferred_name 'SNOMED' desc 'Find all condition_occurrences by SNOMED codes' argument :snomeds, type: :codelist, vocab: 'SNOMED' predominant_types :condition_occurrence def table :condition_occurrence end def vocabulary_id 1 end def concept_column :condition_concept_id end end end end