diff --git a/modules/ivc_champva/app/models/ivc_champva/vha_10_7959c.rb b/modules/ivc_champva/app/models/ivc_champva/vha_10_7959c.rb index b1f871e2487..7a06cedb8c5 100644 --- a/modules/ivc_champva/app/models/ivc_champva/vha_10_7959c.rb +++ b/modules/ivc_champva/app/models/ivc_champva/vha_10_7959c.rb @@ -13,6 +13,7 @@ def initialize(data) def metadata { 'veteranFirstName' => @data.dig('applicants', 'full_name', 'first'), + 'veteranMiddleName' => @data.dig('applicants', 'full_name', 'middle'), 'veteranLastName' => @data.dig('applicants', 'full_name', 'last'), 'fileNumber' => @data.dig('applicants', 'ssn_or_tin'), 'zipCode' => @data.dig('applicants', 'address', 'postal_code') || '00000', diff --git a/modules/ivc_champva/app/models/ivc_champva/vha_10_7959f_1.rb b/modules/ivc_champva/app/models/ivc_champva/vha_10_7959f_1.rb index 815171b0cd6..e05845a492f 100644 --- a/modules/ivc_champva/app/models/ivc_champva/vha_10_7959f_1.rb +++ b/modules/ivc_champva/app/models/ivc_champva/vha_10_7959f_1.rb @@ -13,6 +13,7 @@ def initialize(data) def metadata { 'veteranFirstName' => @data.dig('veteran', 'full_name', 'first'), + 'veteranMiddleName' => @data.dig('veteran', 'full_name', 'middle'), 'veteranLastName' => @data.dig('veteran', 'full_name', 'last'), 'fileNumber' => @data.dig('veteran', 'va_claim_number').presence || @data.dig('veteran', 'ssn'), 'zipCode' => @data.dig('veteran', 'mailing_address', 'postal_code') || '00000', diff --git a/modules/ivc_champva/app/models/ivc_champva/vha_10_7959f_2.rb b/modules/ivc_champva/app/models/ivc_champva/vha_10_7959f_2.rb index d4577711855..48671478e5f 100644 --- a/modules/ivc_champva/app/models/ivc_champva/vha_10_7959f_2.rb +++ b/modules/ivc_champva/app/models/ivc_champva/vha_10_7959f_2.rb @@ -13,6 +13,7 @@ def initialize(data) def metadata { 'veteranFirstName' => @data.dig('veteran', 'full_name', 'first'), + 'veteranMiddleName' => @data.dig('veteran', 'full_name', 'middle'), 'veteranLastName' => @data.dig('veteran', 'full_name', 'last'), 'fileNumber' => @data.dig('veteran', 'va_claim_number').presence || @data.dig('veteran', 'ssn'), 'zipCode' => @data.dig('veteran', 'mailing_address', 'postal_code') || '00000',