Class: DZero::Segments::CoordOfBenefits

Inherits:
Base
  • Object
show all
Defined in:
lib/dzero/segments/05_coord_of_benefits.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 DZero::Segments::Concerns::Serializer

#to_json, #to_s

Methods included from DZero::Segments::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
17
18
19
20
21
22
23
24
25
# File 'lib/dzero/segments/05_coord_of_benefits.rb', line 5

def self.field_id_to_symbol
  super.merge({
    '4C' => :coordination_of_benefits_other_payments_count,
    '5C' => :other_payer_coverage_type,
    '6C' => :other_payer_id_qualifier,
    '7C' => :other_payer_id,
    'E8' => :other_payer_date,
    'A7' => :internal_control_number,
    'HB' => :other_payer_amount_paid_count,
    'HC' => :other_payer_amount_paid_qualifier,
    'DV' => :other_payer_amount_paid,
    '5E' => :other_payer_reject_count,
    '6E' => :other_payer_reject_code,
    'NR' => :other_payer_patient_responsibility_amount_count,
    'NP' => :other_payer_patient_responsibility_amount_qualifier,
    'NQ' => :other_payer_patient_responsibility_amount,
    'MU' => :benefit_stage_count,
    'MV' => :benefit_stage_qualifier,
    'MW' => :benefit_stage_amount,
  })
end