Class: EMIS::Models::MilitaryOccupation
- Inherits:
-
Object
- Object
- EMIS::Models::MilitaryOccupation
- Defined in:
- lib/emis/models/military_occupation.rb
Overview
EMIS Military Occupation data
Instance Attribute Summary collapse
-
#dod_occupation_type ⇒ String
Code that represents the Department of Defense’s standard Occupation Code.
-
#segment_identifier ⇒ String
Identifier that is used to ensure a unique key on each occupation record.
-
#service_occupation_date ⇒ Date
Date when the member’s service occupation was last updated.
-
#service_specific_occupation_type ⇒ String
Code, set by each Service, that represents a member’s occupation in that Service.
Instance Attribute Details
#dod_occupation_type ⇒ String
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.
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_identifier ⇒ String
Returns 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_date ⇒ Date
Returns 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_type ⇒ String
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.
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 |