Class: EMIS::Models::EligibilityDeployment
- Inherits:
-
Object
- Object
- EMIS::Models::EligibilityDeployment
- Defined in:
- lib/emis/models/eligibility_deployment.rb
Overview
EMIS Eligibility Deployment data
Instance Attribute Summary collapse
-
#begin_date ⇒ Date
Date on which a Service member’s deployment began.
-
#end_date ⇒ Date
Date on which a Service member’s deployment ended.
-
#locations ⇒ Array<EligibilityDeploymentLocation>
Locations of the deployments.
-
#project_code ⇒ String
This data element provides the granularity to differentiate between the various contingencies.
-
#segment_identifier ⇒ String
Identifier that is used to ensure a unique key on each deployment record.
Instance Attribute Details
#begin_date ⇒ Date
Returns date on which a Service member’s deployment began. This is a generated field. It is the date of the first location event in a series of location events in which the amount of time between events is 21 days or less. However, for the Navy these events must also be of 14 days or greater in length. Example for the Navy: A member deploys for 7 days and then deploys three days later for 15 days, then this would create two separate deployment dates. However, if both deployments lasted 15 days, then it would be considered one long deployment.
32 33 34 35 36 37 38 39 40 |
# File 'lib/emis/models/eligibility_deployment.rb', line 32 class EligibilityDeployment include Virtus.model attribute :segment_identifier, String attribute :begin_date, Date attribute :end_date, Date attribute :project_code, String attribute :locations, Array[EligibilityDeploymentLocation] end |
#end_date ⇒ Date
Returns date on which a Service member’s deployment ended. This is a generated field. It is the date of the final location event in a series of location events in which the amount of time between events is 21 days or less. However, for the Navy these events must also be of 14 days or greater in length. Example for the Navy: A member deploys for 7 days and then deploys three days later for 15 days, then this would create two separate deployment dates. However, if both deployments lasted 15 days, then it would be considered one long deployment.
32 33 34 35 36 37 38 39 40 |
# File 'lib/emis/models/eligibility_deployment.rb', line 32 class EligibilityDeployment include Virtus.model attribute :segment_identifier, String attribute :begin_date, Date attribute :end_date, Date attribute :project_code, String attribute :locations, Array[EligibilityDeploymentLocation] end |
#locations ⇒ Array<EligibilityDeploymentLocation>
Returns locations of the deployments.
32 33 34 35 36 37 38 39 40 |
# File 'lib/emis/models/eligibility_deployment.rb', line 32 class EligibilityDeployment include Virtus.model attribute :segment_identifier, String attribute :begin_date, Date attribute :end_date, Date attribute :project_code, String attribute :locations, Array[EligibilityDeploymentLocation] end |
#project_code ⇒ String
Returns this data element provides the granularity to differentiate between the various contingencies. Currently that granularity is not available, so it is defaulted to 9GF for OCO contingencies.
3GC => Deepwater Horizon
3JH => Mexico Wildland Firefighting
3JO => Border Patrol (Jump Start)
3JT => Unified Response
9BU => Southern Watch/Desert Thunder
9EC => Uphold Democracy
9EV => Joint Endeavor/Guard
9FF => Joint Forge
9FS => Allied Force
9FV => Joint Guardian
9GF => Overseas Contingency Operation (OCO)
9GY => Hurricane Katrina (Aug 31, 2005)
9HA => Hurricane Ophelia (Wilma Sep 14, 2005)
9HB => Hurricane Rita (Sep 21, 2005)
9HC => Pakistan
A20 => AD - ADT - IADT
A21 => AD - ADT - AT
A22 => AD - ADT - OTD
A25 => AD - ADOT - ADOS
A26 => AD - ADOT - AGR
A27 => AD - ADOT - Involuntary
A28 => AD - Other
A99 => AD - Unknown (derived period)
B21 => FTNG - AT
B22 => FTNGD - OTD
B25 => FTNGD - OS
B26 => FTNGD - AGR
B27 => FTNGD - Involuntary
B99 => FTNGD - Unknown (derived period).
32 33 34 35 36 37 38 39 40 |
# File 'lib/emis/models/eligibility_deployment.rb', line 32 class EligibilityDeployment include Virtus.model attribute :segment_identifier, String attribute :begin_date, Date attribute :end_date, Date attribute :project_code, String attribute :locations, Array[EligibilityDeploymentLocation] end |
#segment_identifier ⇒ String
Returns identifier that is used to ensure a unique key on each deployment record.
32 33 34 35 36 37 38 39 40 |
# File 'lib/emis/models/eligibility_deployment.rb', line 32 class EligibilityDeployment include Virtus.model attribute :segment_identifier, String attribute :begin_date, Date attribute :end_date, Date attribute :project_code, String attribute :locations, Array[EligibilityDeploymentLocation] end |