Class: DZero::Segments::ResponseInsurance

Inherits:
Base
  • Object
show all
Defined in:
lib/dzero/segments/25_response_insurance.rb

Instance Attribute Summary

Attributes inherited from Base

#hash

Class Method Summary collapse

Methods inherited from Base

#[], #[]=, build, get_field_by_symbol, get_klass_by_identifier, get_klass_by_symbol, get_symbol_by_field, inherited, #initialize, #merge, register_segment

Methods included from Concerns::Serializer

#to_json, #to_s

Methods included from Concerns::Parser

included

Constructor Details

This class inherits a constructor from DZero::Segments::Base

Class Method Details

.field_id_to_symbolObject



5
6
7
8
9
10
11
12
13
14
15
16
# File 'lib/dzero/segments/25_response_insurance.rb', line 5

def self.field_id_to_symbol
  super.merge({
    'C1' => :group_id,
    'FO' => :plan_id,
    '2F' => :network_reimbursement_id,
    'J7' => :payer_id_qualifier,
    'J8' => :payer_id,
    'N5' => :medicaid_id_number,
    'N6' => :medicaid_agency_number,
    'C2' => :cardholder_id,
  })
end