Module: Tnql::Nodes::SiteGroupNode

Defined in:
lib/tnql/nodes/tumour_type.rb

Constant Summary collapse

SITE_GROUPS =
{
  'brain'          => 1,
  'breast'         => 2,
  'endocrine'      => 3,
  'gynaecological' => 6,
  'haematological' => 7,
  'head and neck'  => 8,
  'lower gi'       => 4,
  'lung'           => 9,
  'other'          => 14,
  'sarcoma'        => 10,
  'skin'           => 11,
  'upper gi'       => 5,
  'urological'     => 12
}.freeze

Instance Method Summary collapse

Instance Method Details

#meta_data_itemObject



35
36
37
# File 'lib/tnql/nodes/tumour_type.rb', line 35

def 
  { 'tumour.site_group' => { Tnql::EQUALS => SITE_GROUPS[text_value] } }
end