Skip to content

Commit

Permalink
feat: new list items for doc type
Browse files Browse the repository at this point in the history
  • Loading branch information
Harshil Moradia committed Sep 19, 2024
1 parent 911d7df commit da30a99
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 26 deletions.
32 changes: 19 additions & 13 deletions app/models/evss_claim_document.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,33 +24,39 @@ class EVSSClaimDocument < Common::Base

# rubocop:disable Layout/LineLength
DOCUMENT_TYPES = {
'1489' => 'Hypertension Rapid Ready For Decision Summary PDF',
'L1489' => 'Automated Review Summary Document',
'L014' => 'Birth Certificate',
'L015' => 'Buddy/Lay Statement',
'L018' => 'Civilian Police Reports',
'L023' => 'Other Correspondence',
'L029' => 'Copy of a DD214',
'L034' => 'Military Personnel Record',
'L418' => 'Court papers / documents'
'L033' => 'Death Certificate',

Check failure on line 33 in app/models/evss_claim_document.rb

View workflow job for this annotation

GitHub Actions / Linting and Security

Lint/Syntax: unexpected token tSTRING (Using Ruby 3.3 parser; configure using `TargetRubyVersion` parameter, under `AllCops`)
'L702' => 'Disability Benefits Questionnaire (DBQ)',

Check failure on line 34 in app/models/evss_claim_document.rb

View workflow job for this annotation

GitHub Actions / Linting and Security

Lint/Syntax: unexpected token tSTRING (Using Ruby 3.3 parser; configure using `TargetRubyVersion` parameter, under `AllCops`)
'L037' => 'Divorce Decree',
'' => 'Financial Information',

Check failure on line 36 in app/models/evss_claim_document.rb

View workflow job for this annotation

GitHub Actions / Linting and Security

Lint/Syntax: unexpected token tSTRING (Using Ruby 3.3 parser; configure using `TargetRubyVersion` parameter, under `AllCops`)
'L703' => 'Goldmann Perimetry Chart/Field Of Vision Chart',
'1489' => 'Hypertension Rapid Ready For Decision Summary PDF',

Check failure on line 38 in app/models/evss_claim_document.rb

View workflow job for this annotation

GitHub Actions / Linting and Security

Lint/Syntax: unexpected token tSTRING (Using Ruby 3.3 parser; configure using `TargetRubyVersion` parameter, under `AllCops`)
'L051' => 'Marriage Certificate',
'L478' => 'Medical Treatment Records - Furnished by SSA',

Check failure on line 40 in app/models/evss_claim_document.rb

View workflow job for this annotation

GitHub Actions / Linting and Security

Lint/Syntax: unexpected token tSTRING (Using Ruby 3.3 parser; configure using `TargetRubyVersion` parameter, under `AllCops`)
'L048' => 'Medical Treatment Record - Government Facility',
'L049' => 'Medical Treatment Record - Non-Government Facility',

Check failure on line 42 in app/models/evss_claim_document.rb

View workflow job for this annotation

GitHub Actions / Linting and Security

Lint/Syntax: unexpected token tSTRING (Using Ruby 3.3 parser; configure using `TargetRubyVersion` parameter, under `AllCops`)
'L034' => 'Military Personnel Record',
'L070' => 'Photographs',

Check failure on line 44 in app/models/evss_claim_document.rb

View workflow job for this annotation

GitHub Actions / Linting and Security

Lint/Syntax: unexpected token tSTRING (Using Ruby 3.3 parser; configure using `TargetRubyVersion` parameter, under `AllCops`)
'L102' => 'VA Form 21-2680 - Examination for Housebound Status or Permanent Need for Regular Aid & Attendance',
'L139' => 'VA Form 21-686c - Declaration of Status of Dependents',
'L133' => 'VA Form 21-674 - Request for Approval of School Attendance',

Check failure on line 46 in app/models/evss_claim_document.rb

View workflow job for this annotation

GitHub Actions / Linting and Security

Lint/Syntax: unexpected token tSTRING (Using Ruby 3.3 parser; configure using `TargetRubyVersion` parameter, under `AllCops`)
'L107' => 'VA Form 21-4142 - Authorization To Disclose Information',
'L115' => 'VA Form 21-4192 - Request for Employment Information in Connection with Claim for Disability',
'L827' => 'VA Form 21-4142a - General Release for Medical Provider Information',

Check failure on line 48 in app/models/evss_claim_document.rb

View workflow job for this annotation

GitHub Actions / Linting and Security

Lint/Syntax: unexpected token tSTRING (Using Ruby 3.3 parser; configure using `TargetRubyVersion` parameter, under `AllCops`)
'L117' => 'VA Form 21-4502 - Application for Automobile or Other Conveyance and Adaptive Equipment Under 38 U.S.C. 3901-3904',
'L133' => 'VA Form 21-674 - Request for Approval of School Attendance',
'L139' => 'VA Form 21-686c - Declaration of Status of Dependents',
'L149' => 'VA Form 21-8940 - Veterans Application for Increased Compensation Based on Un-employability',

Check failure on line 50 in app/models/evss_claim_document.rb

View workflow job for this annotation

GitHub Actions / Linting and Security

Lint/Syntax: unexpected token tSTRING (Using Ruby 3.3 parser; configure using `TargetRubyVersion` parameter, under `AllCops`)
'L159' => 'VA Form 26-4555 - Application in Acquiring Specially Adapted Housing or Special Home Adaptation Grant',
'L115' => 'VA Form 21-4192 - Request for Employment Information in Connection with Claim for Disability',
'L222' => 'VA Form 21-0779 - Request for Nursing Home Information in Connection with Claim for Aid & Attendance',
'L102' => 'VA Form 21-2680 - Examination for Housebound Status or Permanent Need for Regular Aid & Attendance',
'L228' => 'VA Form 21-0781 - Statement in Support of Claim for PTSD',
'L229' => 'VA Form 21-0781a - Statement in Support of Claim for PTSD Secondary to Personal Assault',
'L023' => 'Other Correspondence',
'L450' => 'STR - Dental - Photocopy',
'L451' => 'STR - Medical - Photocopy',
'L478' => 'Medical Treatment Records - Furnished by SSA',
'L702' => 'Disability Benefits Questionnaire (DBQ)',
'L703' => 'Goldmann Perimetry Chart/Field Of Vision Chart',
'L827' => 'VA Form 21-4142a - General Release for Medical Provider Information',
'L1489' => 'Automated Review Summary Document'
'L451' => 'STR - Medical - Photocopy'
}.freeze
# rubocop:enable Layout/LineLength

Expand Down
32 changes: 19 additions & 13 deletions app/models/lighthouse_document.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,33 +28,39 @@ class LighthouseDocument < Common::Base

# rubocop:disable Layout/LineLength
DOCUMENT_TYPES = {
'1489' => 'Hypertension Rapid Ready For Decision Summary PDF',
'L1489' => 'Automated Review Summary Document',
'L014' => 'Birth Certificate',
'L015' => 'Buddy/Lay Statement',
'L018' => 'Civilian Police Reports',
'L023' => 'Other Correspondence',
'L029' => 'Copy of a DD214',
'L034' => 'Military Personnel Record',
'L418' => 'Court papers / documents'
'L033' => 'Death Certificate',
'L702' => 'Disability Benefits Questionnaire (DBQ)',
'L037' => 'Divorce Decree',
'' => 'Financial Information',
'L703' => 'Goldmann Perimetry Chart/Field Of Vision Chart',
'1489' => 'Hypertension Rapid Ready For Decision Summary PDF',
'L051' => 'Marriage Certificate',
'L478' => 'Medical Treatment Records - Furnished by SSA',
'L048' => 'Medical Treatment Record - Government Facility',
'L049' => 'Medical Treatment Record - Non-Government Facility',
'L034' => 'Military Personnel Record',
'L070' => 'Photographs',
'L102' => 'VA Form 21-2680 - Examination for Housebound Status or Permanent Need for Regular Aid & Attendance',
'L139' => 'VA Form 21-686c - Declaration of Status of Dependents',
'L133' => 'VA Form 21-674 - Request for Approval of School Attendance',
'L107' => 'VA Form 21-4142 - Authorization To Disclose Information',
'L115' => 'VA Form 21-4192 - Request for Employment Information in Connection with Claim for Disability',
'L827' => 'VA Form 21-4142a - General Release for Medical Provider Information',
'L117' => 'VA Form 21-4502 - Application for Automobile or Other Conveyance and Adaptive Equipment Under 38 U.S.C. 3901-3904',
'L133' => 'VA Form 21-674 - Request for Approval of School Attendance',
'L139' => 'VA Form 21-686c - Declaration of Status of Dependents',
'L149' => 'VA Form 21-8940 - Veterans Application for Increased Compensation Based on Un-employability',
'L159' => 'VA Form 26-4555 - Application in Acquiring Specially Adapted Housing or Special Home Adaptation Grant',
'L115' => 'VA Form 21-4192 - Request for Employment Information in Connection with Claim for Disability',
'L222' => 'VA Form 21-0779 - Request for Nursing Home Information in Connection with Claim for Aid & Attendance',
'L102' => 'VA Form 21-2680 - Examination for Housebound Status or Permanent Need for Regular Aid & Attendance',
'L228' => 'VA Form 21-0781 - Statement in Support of Claim for PTSD',
'L229' => 'VA Form 21-0781a - Statement in Support of Claim for PTSD Secondary to Personal Assault',
'L023' => 'Other Correspondence',
'L450' => 'STR - Dental - Photocopy',
'L451' => 'STR - Medical - Photocopy',
'L478' => 'Medical Treatment Records - Furnished by SSA',
'L702' => 'Disability Benefits Questionnaire (DBQ)',
'L703' => 'Goldmann Perimetry Chart/Field Of Vision Chart',
'L827' => 'VA Form 21-4142a - General Release for Medical Provider Information',
'L1489' => 'Automated Review Summary Document'
'L451' => 'STR - Medical - Photocopy'
}.freeze
# rubocop:enable Layout/LineLength

Expand Down

0 comments on commit da30a99

Please sign in to comment.