Class: EMIS::Models::MilitaryOccupation

Inherits:
Object
  • Object
show all
Defined in:
lib/emis/models/military_occupation.rb

Overview

EMIS Military Occupation data

Instance Attribute Summary collapse

Instance Attribute Details

#dod_occupation_typeString

Returns code that represents the Department of Defense’s standard Occupation Code. Length changed from 4 to 6 bytes in September 2013. See github.com/department-of-veterans-affairs/vets.gov-team/blob/master/Products/SiP-Prefill/Prefill/eMIS_Integration/eMIS_Documents/VA-SAT%204.6%20DD_051216.xlsm for details. System name: DOD_OCC_CD.

Returns:



20
21
22
23
24
25
26
27
28
# File 'lib/emis/models/military_occupation.rb', line 20

class MilitaryOccupation
  include Virtus.model

  attribute :segment_identifier, String
  attribute :dod_occupation_type, String
  attribute :occupation_type, String
  attribute :service_specific_occupation_type, String
  attribute :service_occupation_date, Date
end

#segment_identifierString

Returns identifier that is used to ensure a unique key on each occupation record.

Returns:

  • (String)

    identifier that is used to ensure a unique key on each occupation record.



20
21
22
23
24
25
26
27
28
# File 'lib/emis/models/military_occupation.rb', line 20

class MilitaryOccupation
  include Virtus.model

  attribute :segment_identifier, String
  attribute :dod_occupation_type, String
  attribute :occupation_type, String
  attribute :service_specific_occupation_type, String
  attribute :service_occupation_date, Date
end

#service_occupation_dateDate

Returns date when the member’s service occupation was last updated.

Returns:

  • (Date)

    date when the member’s service occupation was last updated.



20
21
22
23
24
25
26
27
28
# File 'lib/emis/models/military_occupation.rb', line 20

class MilitaryOccupation
  include Virtus.model

  attribute :segment_identifier, String
  attribute :dod_occupation_type, String
  attribute :occupation_type, String
  attribute :service_specific_occupation_type, String
  attribute :service_occupation_date, Date
end

#service_specific_occupation_typeString

Returns code, set by each Service, that represents a member’s occupation in that Service. Please refer to Occupational Conversion Index - DoD 1312.1-I. The Service Occupation Codes for the individual services are listed in the Index.

Returns:

  • (String)

    code, set by each Service, that represents a member’s occupation in that Service. Please refer to Occupational Conversion Index - DoD 1312.1-I. The Service Occupation Codes for the individual services are listed in the Index.



20
21
22
23
24
25
26
27
28
# File 'lib/emis/models/military_occupation.rb', line 20

class MilitaryOccupation
  include Virtus.model

  attribute :segment_identifier, String
  attribute :dod_occupation_type, String
  attribute :occupation_type, String
  attribute :service_specific_occupation_type, String
  attribute :service_occupation_date, Date
end