Class: PanDomain::Human::BloodGroupName

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/pan_domain/human/blood_group_name.rb

Overview

Store information about blood groups

Constant Summary collapse

GROUP_NAMES =
[
  { system_name: 'ABO', name: 'A', symbol: 'A' },
  { system_name: 'ABO', name: 'B', symbol: 'B' },
  { system_name: 'ABO', name: 'O', symbol: 'O' },
  { system_name: 'ABO', name: 'AB', symbol: 'AB' },
  { system_name: 'Rhesus', name: 'Rhesus +', symbol: 'Rh+' },
  { system_name: 'Rhesus', name: 'Rhesus -', symbol: 'Rh-' }
].freeze