Skip to content

Commit

Permalink
updated mapping to match what is received from FE (#19878)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelclement authored Dec 13, 2024
1 parent c41f915 commit c77131b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"form1[0].#subform[0].#area[0].OutsdWrkAccdnt[0]": "<%= ['true', true].include?(form.data.dig('claims', 0, 'claim_is_auto_related')) ? 0 : 1 %>",
"form1[0].#subform[0].PtntCverage[0]": "<%= ['true', true].include?(form.data.dig('has_ohi')) ? 0 : 1 %>",
"form1[0].#subform[0].#area[1].RadioButtonList[0]": "<%= form.data.dig('policies', 0, 'type') === 'group' ? 1 :
form.data.dig('policies', 0, 'type') === 'non_group' ? 2 :
form.data.dig('policies', 0, 'type') === 'nonGroup' ? 2 :
form.data.dig('policies', 0, 'type') === 'medicare' ? 3 :
form.data.dig('policies', 0, 'type') === 'other' ? 4 : 0 %>",
"form1[0].#subform[0].#area[1].SpecifyOtherPrimaryHealthInsurance[0]": "<%= form.data.dig('policies', 0, 'other_type') %>",
Expand Down

0 comments on commit c77131b

Please sign in to comment.