Class: DZero::Segments::DurPps

Inherits:
Base
  • Object
show all
Defined in:
lib/dzero/segments/08_dur_pps.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
# File 'lib/dzero/segments/08_dur_pps.rb', line 5

def self.field_id_to_symbol
  super.merge({
    '7E' => :dur_pps_code_counter,
    'E4' => :reason_for_service_code,
    'E5' => :professional_service_code,
    'E6' => :result_of_service_code,
    '8E' => :dur_pps_level_of_effort,
    'J9' => :dur_co_agent_id_qualifier,
    'H6' => :dur_co_agent_id,
  })
end