Class: DZero::Segments::PriorAuth

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

def self.field_id_to_symbol
  super.merge({
    'PA' => :request_type,
    'PB' => :request_period_date_begin,
    'PC' => :request_period_date_end,
    'PD' => :basis_of_request,
    'PE' => :authorized_representative_first_name,
    'PF' => :authorized_rep_last_name,
    'PG' => :authorized_rep_street_address,
    'PH' => :authorized_rep_city,
    'PJ' => :authorized_rep_state_province,
    'PK' => :authorized_rep_zip_postal_code,
    'PY' => :prior_authorization_number_assigned,
    'F3' => :authorization_number,
    'PP' => :prior_authorization_supporting_documentation,
  })
end