Class: DZero::Segments::Pricing

Inherits:
Base
  • Object
show all
Defined in:
lib/dzero/segments/11_pricing.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
17
18
19
20
21
22
23
24
# File 'lib/dzero/segments/11_pricing.rb', line 5

def self.field_id_to_symbol
  super.merge({
    'D9' => :ingredient_cost_submitted,
    'DC' => :dispensing_fee_submitted,
    'BE' => :professional_service_fee_submitted,
    'DX' => :patient_paid_amount_submitted,
    'E3' => :incentive_amount_submitted,
    'H7' => :other_amount_claimed_submitted_count,
    'H8' => :other_amount_claimed_submitted_qualifier,
    'H9' => :other_amount_claimed_submitted,
    'HA' => :flat_sales_tax_amount_submitted,
    'GE' => :percentage_sales_tax_amount_submitted,
    'HE' => :percentage_sales_tax_rate_submitted,
    'JE' => :percentage_sales_tax_basis_submitted,
    'DQ' => :usual_and_customary_charge,
    'DU' => :gross_amount_due,
    'DN' => :basis_of_cost_determination,
    'N3' => :medicaid_paid_amount    ,
  })
end