Class: HCA::EnrollmentEligibility::Constants

Inherits:
Object
  • Object
show all
Defined in:
lib/hca/enrollment_eligibility/constants.rb

Constant Summary collapse

ENUM_STATUS_VALUE_MAPPINGS =
{
  activeduty: 0,
  canceled_declined: 1,
  closed: 2,
  deceased: 3,
  enrolled: 4,
  inelig_champva: 5,
  inelig_character_of_discharge: 6,
  inelig_citizens: 7,
  inelig_filipinoscouts: 8,
  inelig_fugitivefelon: 9,
  inelig_guard_reserve: 10,
  inelig_medicare: 11,
  inelig_not_enough_time: 12,
  inelig_not_verified: 13,
  inelig_other: 14,
  inelig_over65: 15,
  inelig_refusedcopay: 16,
  inelig_training_only: 17,
  login_required: 18,
  none_of_the_above: 19,
  pending_mt: 20,
  pending_other: 21,
  pending_purpleheart: 22,
  pending_unverified: 23,
  rejected_inc_wrongentry: 24,
  rejected_rightentry: 25,
  rejected_sc_wrongentry: 26,
  non_military: 27
}.each_key do |status|
  const_set(status.upcase, status)
end