From 9558c827d75731f11614f2374561b45bda737110 Mon Sep 17 00:00:00 2001 From: Kevin Suarez Date: Tue, 16 Apr 2024 11:33:32 -0400 Subject: [PATCH] 78475 adjust fsr calculators (#16343) * address 1st round of expense calulator issues * address 1st round of income calulator issues * address 1st round of asset calulator issues * improve sanitized params for income form * fix calculations based on integer value * add specs for 78475 * add calculator fixture * 78475 adding missing permitted params to assets calculator * change the response type of all calculator endpoints to hash --- ..._status_reports_calculations_controller.rb | 147 +- .../v0/fsr_form_transform/asset_calculator.rb | 16 +- .../enhanced_expense_calculator.rb | 6 +- .../fsr_form_transform/expense_calculator.rb | 5 +- .../fsr_form_transform/income_calculator.rb | 66 +- .../old_expense_calculator.rb | 2 +- .../pre_submission_fsr/andrew_fsr_2.json | 363 +++ .../pre_submission_fsr/andrew_fsr_3.json | 349 +++ .../andrew_fsr_expenses.json | 711 +++++ .../pre_submission_fsr/andrew_maximal.json | 1268 ++++++++ .../enhanced_fsr_expenses.json | 56 +- .../pre_submission_fsr/fsr_assets_form.json | 73 +- .../fsr_maximal_calculations_form.json | 2635 ++++++++--------- .../non_enhanced_fsr_expenses.json | 56 +- .../asset_calculator_spec.rb | 2 +- .../expense_calculator_spec.rb | 2 +- .../income_calculator_spec.rb | 2 +- ...us_reports_calculations_controller_spec.rb | 56 + 18 files changed, 4282 insertions(+), 1533 deletions(-) create mode 100644 modules/debts_api/spec/fixtures/pre_submission_fsr/andrew_fsr_2.json create mode 100644 modules/debts_api/spec/fixtures/pre_submission_fsr/andrew_fsr_3.json create mode 100644 modules/debts_api/spec/fixtures/pre_submission_fsr/andrew_fsr_expenses.json create mode 100644 modules/debts_api/spec/fixtures/pre_submission_fsr/andrew_maximal.json diff --git a/modules/debts_api/app/controllers/debts_api/v0/financial_status_reports_calculations_controller.rb b/modules/debts_api/app/controllers/debts_api/v0/financial_status_reports_calculations_controller.rb index 0833d111c60..bcc8cb20c2a 100644 --- a/modules/debts_api/app/controllers/debts_api/v0/financial_status_reports_calculations_controller.rb +++ b/modules/debts_api/app/controllers/debts_api/v0/financial_status_reports_calculations_controller.rb @@ -10,7 +10,9 @@ class FinancialStatusReportsCalculationsController < ApplicationController service_tag 'financial-report' def total_assets - render json: asset_calculator.get_total_assets + render json: { + calculatedTotalAssets: asset_calculator.get_total_assets + } end def monthly_income @@ -18,7 +20,9 @@ def monthly_income end def monthly_expenses - render json: expense_calculator.get_monthly_expenses + render json: { + calculatedMonthlyExpenses: expense_calculator.get_monthly_expenses + } end def all_expenses @@ -29,56 +33,61 @@ def all_expenses # rubocop:disable Metrics/MethodLength def asset_form - params.require(:data).permit( - :cashInBank, - :cashOnHand, - :recVehicleAmount, - :usSavingsBonds, - :stocksAndOtherBonds, - :'view:enhancedFinancialStatusReport', - questions: [:hasVehicle], - realEstateRecords: %i[ - realEstateType - realEstateAmount + params.permit( + :cash_in_bank, + :cash_on_hand, + :rec_vehicle_amount, + :us_savings_bonds, + :stocks_and_other_bonds, + :'view:enhanced_financial_status_report', + questions: [:has_vehicle], + real_estate_records: %i[ + real_estate_type + real_estate_amount ], assets: [ - :realEstateValue, + :resale_value, { - otherAssets: %i[ + other_assets: %i[ name amount ] }, - :recVehicleAmount, - { automobiles: [:resaleValue] } + { monetary_assets: %i[name amount] }, + :rec_vehicle_amount, + :real_estate_value, + { automobiles: [:resale_value] } ] ) end def income_form - params.require(:data).permit( - :'view:enhancedFinancialStatusReport', - additionalIncome: [ + params.permit( + :'view:enhanced_financial_status_report', + additional_income: [ { - addlIncRecords: %i[ + addl_inc_records: %i[ name amount ] }, { - spouse: %i[ - spAddlIncome + spouse: [ + sp_addl_income: %i[ + name + amount + ] ] } ], benefits: { - spouseBenefits: %i[ - compensationAndPension + spouse_benefits: %i[ + compensation_and_pension education ] }, - currEmployment: [ - :veteranGrossSalary, + curr_employment: [ + :veteran_gross_salary, { deductions: %i[ name @@ -90,37 +99,37 @@ def income_form :type, :from, :to, - :isCurrent, - :employerName + :is_current, + :employer_name ], income: %i[ - veteranOrSpouse - compensationAndPension + veteran_or_spouse + compensation_and_pension education ], - personalData: { - employmentHistory: { + personal_data: { + employment_history: { veteran: { - employmentRecords: [ + employment_records: [ :type, :from, :to, - :isCurrent, - :employerName, - :grossMonthlyIncome, + :is_current, + :employer_name, + :gross_monthly_income, { deductions: %i[name amount] } ] }, spouse: { - spEmploymentRecords: [ + sp_employment_records: [ :type, :from, :to, - :isCurrent, - :employerName, - :grossMonthlyIncome, + :is_current, + :employer_name, + :gross_monthly_income, { deductions: %i[name amount] } @@ -128,8 +137,8 @@ def income_form } } }, - spCurrEmployment: [ - :spouseGrossSalary, + sp_curr_employment: [ + :spouse_gross_salary, { deductions: %i[ name @@ -141,13 +150,13 @@ def income_form :type, :from, :to, - :isCurrent, - :employerName + :is_current, + :employer_name ], - socialSecurity: [ - :socialSecAmt, + social_security: [ + :social_sec_amt, { spouse: [ - :socialSecAmt + :social_sec_amt ] } ] ).to_hash @@ -155,41 +164,41 @@ def income_form def expense_form params.permit( - :'view:enhancedFinancialStatusReport', + :'view:enhanced_financial_status_report', expenses: [ :food, - :rentOrMortgage, - { expenseRecords: %i[ + :rent_or_mortgage, + { expense_records: %i[ name amount ], - creditCardBills: %i[ + credit_card_bills: %i[ purpose - creditorName - originalAmount - unpaidBalance - amountDueMonthly - dateStarted - amountPastDue + creditor_name + original_amount + unpaid_balance + amount_due_monthly + date_started + amount_past_due ] } ], - otherExpenses: %i[ + other_expenses: %i[ name amount ], - installmentContracts: %i[ - creditorName - dateStarted + installment_contracts: %i[ + creditor_name + date_started purpose - originalAmount + original_amount unpaid_balance - amountDueMonthly - amountPastDue + amount_due_monthly + amount_past_due ], - utilityRecords: %i[ - utilityType + utility_records: %i[ + utility_type amount - monthlyUtilityAmount + monthly_utility_amount ] ).to_hash end @@ -204,7 +213,7 @@ def income_calculator end def expense_calculator - DebtsApi::V0::FsrFormTransform::ExpenceCalculator.build(expense_form) + DebtsApi::V0::FsrFormTransform::ExpenseCalculator.build(expense_form) end end end diff --git a/modules/debts_api/lib/debts_api/v0/fsr_form_transform/asset_calculator.rb b/modules/debts_api/lib/debts_api/v0/fsr_form_transform/asset_calculator.rb index 3970db28228..51d4e349d54 100644 --- a/modules/debts_api/lib/debts_api/v0/fsr_form_transform/asset_calculator.rb +++ b/modules/debts_api/lib/debts_api/v0/fsr_form_transform/asset_calculator.rb @@ -6,25 +6,25 @@ module FsrFormTransform class AssetCalculator def initialize(form) @form = form - @enhanced_fsr_active = @form['view:enhancedFinancialStatusReport'] + @enhanced_fsr_active = @form['view:enhanced_financial_status_report'] @assets = @form['assets'] - @real_estate_records = @form['realEstateRecords'] + @real_estate_records = @form['real_estate_records'] @questions = @form['questions'] end def get_total_assets - formatted_re_value = @assets['realEstateValue']&.gsub(/[^0-9.-]/, '')&.to_f || 0 - tot_other_assets = sum_values(@assets['otherAssets'], 'amount') - tot_rec_vehicles = @enhanced_fsr_active ? @assets['recVehicleAmount']&.gsub(/[^0-9.-]/, '')&.to_f || 0 : 0 - tot_vehicles = @questions['hasVehicle'] ? sum_values(@assets['automobiles'], 'resaleValue') : 0 + formatted_re_value = @assets['real_estate_value']&.gsub(/[^0-9.-]/, '')&.to_f || 0 + tot_other_assets = sum_values(@assets['other_assets'], 'amount') + tot_rec_vehicles = @enhanced_fsr_active ? @assets['rec_vehicle_amount']&.gsub(/[^0-9.-]/, '')&.to_f || 0 : 0 + tot_vehicles = @questions['has_vehicle'] ? sum_values(@assets['automobiles'], 'resale_value') : 0 real_estate = if @enhanced_fsr_active formatted_re_value else sum_values(@real_estate_records, - 'realEstateAmount') + 'real_estate_amount') end tot_assets = if @enhanced_fsr_active - sum_values(@assets['monetaryAssets'], 'amount') + sum_values(@assets['monetary_assets'], 'amount') else @assets.values.reject { |item| item && !item.is_a?(Array) } .reduce(0) { |acc, amount| (acc + amount&.gsub(/[^0-9.-]/, '')&.to_f) || 0 } diff --git a/modules/debts_api/lib/debts_api/v0/fsr_form_transform/enhanced_expense_calculator.rb b/modules/debts_api/lib/debts_api/v0/fsr_form_transform/enhanced_expense_calculator.rb index 8d08997e6c8..b27ea53e84c 100644 --- a/modules/debts_api/lib/debts_api/v0/fsr_form_transform/enhanced_expense_calculator.rb +++ b/modules/debts_api/lib/debts_api/v0/fsr_form_transform/enhanced_expense_calculator.rb @@ -5,7 +5,7 @@ module DebtsApi module V0 module FsrFormTransform - class EnhancedExpenceCalculator + class EnhancedExpenseCalculator RENT = 'Rent' MORTGAGE_PAYMENT = 'Mortgage payment' FOOD = 'Food' @@ -18,8 +18,8 @@ def initialize(form) @old_food_attr = @form.dig('expenses', 'food') @credit_card_bills = @form.dig('expenses', 'creditCardBills') || [] @other_expenses = @form['otherExpenses'].deep_dup || [] - @installment_contracts = @form['installmentContracts'] - @utility_records = @form['utilityRecords'] + @installment_contracts = @form['installmentContracts'] || [] + @utility_records = @form['utilityRecords'] || [] @filtered_expenses = [].concat( exclude_by(@other_expenses, [FOOD]), diff --git a/modules/debts_api/lib/debts_api/v0/fsr_form_transform/expense_calculator.rb b/modules/debts_api/lib/debts_api/v0/fsr_form_transform/expense_calculator.rb index 15ffd040699..ace0c4904db 100644 --- a/modules/debts_api/lib/debts_api/v0/fsr_form_transform/expense_calculator.rb +++ b/modules/debts_api/lib/debts_api/v0/fsr_form_transform/expense_calculator.rb @@ -6,10 +6,11 @@ module DebtsApi module V0 module FsrFormTransform - class ExpenceCalculator + class ExpenseCalculator def self.build(form) + form.deep_transform_keys! { |key| key.to_s.camelize(:lower) } enhanced = form['view:enhancedFinancialStatusReport'] || false - enhanced ? EnhancedExpenceCalculator.new(form) : OldExpenceCalculator.new(form) + enhanced ? EnhancedExpenseCalculator.new(form) : OldExpenseCalculator.new(form) end end end diff --git a/modules/debts_api/lib/debts_api/v0/fsr_form_transform/income_calculator.rb b/modules/debts_api/lib/debts_api/v0/fsr_form_transform/income_calculator.rb index 9fd99e999b9..86e02a1f3f0 100644 --- a/modules/debts_api/lib/debts_api/v0/fsr_form_transform/income_calculator.rb +++ b/modules/debts_api/lib/debts_api/v0/fsr_form_transform/income_calculator.rb @@ -20,27 +20,26 @@ def initialize(form) # rubocop:disable Metrics/MethodLength def get_monthly_income - if @form['additionalIncome']['spouse']['spAddlIncome'].blank? - @form['additionalIncome']['spouse']['spAddlIncome'] = [] - end - @form['additionalIncome']['addlIncRecords'] = [] if @form['additionalIncome']['addlIncRecords'].blank? - if @form['personalData']['employmentHistory']['veteran']['employmentRecords'].blank? - @form['personalData']['employmentHistory']['veteran']['employmentRecords'] = [] - end - if @form['personalData']['employmentHistory']['spouse']['spEmploymentRecords'].blank? - @form['personalData']['employmentHistory']['spouse']['spEmploymentRecords'] = [] - end - - sp_addl_income = @form['additionalIncome']['spouse']['spAddlIncome'] - addl_inc_records = @form['additionalIncome']['addlIncRecords'] - vet_employment_records = @form['personalData']['employmentHistory']['veteran']['employmentRecords'] - sp_employment_records = @form['personalData']['employmentHistory']['spouse']['spEmploymentRecords'] - social_security = @form['socialSecurity'] - benefits = @form['benefits'] - curr_employment = @form['currEmployment'] || [] - sp_curr_employment = @form['spCurrEmployment'] || [] - income = @form['income'] - enhanced_fsr_active = @form['view:enhancedFinancialStatusReport'] + sp_addl_income = @form.dig('additional_income', 'spouse', 'sp_addl_income') || [] + addl_inc_records = @form.dig('additional_income', 'addl_inc_records') || [] + vet_employment_records = @form.dig( + 'personal_data', + 'employment_history', + 'veteran', + 'employment_records' + ) || [] + sp_employment_records = @form.dig( + 'personal_data', + 'employment_history', + 'spouse', + 'sp_employment_records' + ) || [] + social_security = @form['social_security'] || {} + benefits = @form['benefits'] || {} + curr_employment = @form['curr_employment'] || [] + sp_curr_employment = @form['sp_curr_employment'] || [] + income = @form['income'] || [] + enhanced_fsr_active = @form['view:enhanced_financial_status_report'] vet_income = calculate_income( enhanced_fsr_active, 'veteran', @@ -102,10 +101,9 @@ def other_deductions_amt(deductions, filters) def name_str(social_security, compensation, education, addl_inc) benefit_types = [] - - benefit_types.push('Social Security') if social_security - benefit_types.push('Disability Compensation') if compensation - benefit_types.push('Education') if education + benefit_types.push('Social Security') if social_security.positive? + benefit_types.push('Disability Compensation') if compensation.positive? + benefit_types.push('Education') if education.positive? vet_addl_names = addl_inc&.pluck('name') || [] other_inc_names = [*benefit_types, *vet_addl_names] @@ -118,15 +116,15 @@ def calculate_income(enhanced_fsr_active, beneficiary_type, employment_records = addl_inc_records = [], social_security = {}, income = [], benefits = {}) gross_salary = if enhanced_fsr_active employment_records.map do |emp| - if emp['grossMonthlyIncome'].nil? + if emp['gross_monthly_income'].nil? 0 else - emp['grossMonthlyIncome'].to_f + emp['gross_monthly_income'].to_f end end.sum else curr_employment.sum do |emp| - emp["#{beneficiary_type}GrossSalary"].to_f + emp["#{beneficiary_type}_gross_salary"].to_f end end @@ -135,19 +133,19 @@ def calculate_income(enhanced_fsr_active, beneficiary_type, employment_records = soc_sec_amt = if enhanced_fsr_active 0 elsif beneficiary_type == 'spouse' - social_security.dig('spouse', 'socialSecAmt').to_f || 0 + social_security.dig('spouse', 'social_sec_amt').to_f || 0 else - social_security['socialSecAmt'].to_f || 0 + social_security['social_sec_amt'].to_f || 0 end comp = if beneficiary_type == 'spouse' - benefits.dig('spouseBenefits', 'compensationAndPension').to_f || 0 + benefits.dig('spouse_benefits', 'compensation_and_pension').to_f || 0 else - income.sum { |item| item['compensationAndPension'].to_f } + income.sum { |item| item['compensation_and_pension'].to_f } end edu = if beneficiary_type == 'spouse' - benefits.dig('spouseBenefits', 'education').to_f || 0 + benefits.dig('spouse_benefits', 'education').to_f || 0 else income.sum { |item| item['education'].to_f } end @@ -156,7 +154,7 @@ def calculate_income(enhanced_fsr_active, beneficiary_type, employment_records = deductions = if enhanced_fsr_active employment_records - .select { |emp| emp['isCurrent'] } + .select { |emp| emp['is_current'] } .map do |emp| if emp['deductions'].nil? 0 diff --git a/modules/debts_api/lib/debts_api/v0/fsr_form_transform/old_expense_calculator.rb b/modules/debts_api/lib/debts_api/v0/fsr_form_transform/old_expense_calculator.rb index 3008ea50688..a8dfd5e6053 100644 --- a/modules/debts_api/lib/debts_api/v0/fsr_form_transform/old_expense_calculator.rb +++ b/modules/debts_api/lib/debts_api/v0/fsr_form_transform/old_expense_calculator.rb @@ -5,7 +5,7 @@ module DebtsApi module V0 module FsrFormTransform - class OldExpenceCalculator + class OldExpenseCalculator RENT = 'Rent' MORTGAGE_PAYMENT = 'Mortgage payment' FOOD = 'Food' diff --git a/modules/debts_api/spec/fixtures/pre_submission_fsr/andrew_fsr_2.json b/modules/debts_api/spec/fixtures/pre_submission_fsr/andrew_fsr_2.json new file mode 100644 index 00000000000..79f06d7e7ed --- /dev/null +++ b/modules/debts_api/spec/fixtures/pre_submission_fsr/andrew_fsr_2.json @@ -0,0 +1,363 @@ +{ + "benefits": { + "spouse_benefits": { + "compensation_and_pension": "250", + "education": "250" + } + }, + "questions": { + "spouse_has_benefits": true, + "is_married": true, + "has_dependents": "1", + "vet_is_employed": true, + "spouse_is_employed": true + }, + "personal_data": { + "spouse_full_name": { + "first": "rosemary", + "last": "woodhouse" + }, + "veteran_full_name": { + "first": "Travis", + "last": "Jones", + "middle": "D" + }, + "date_of_birth": "1950-09-06", + "veteran_contact_information": { + "email": "test@user.com", + "mobile_phone": { + "area_code": "510", + "country_code": "1", + "created_at": "2020-06-12T16:56:37.000+00:00", + "extension": "", + "effective_end_date": null, + "effective_start_date": "2020-07-14T19:07:45.000+00:00", + "id": 146766, + "is_international": false, + "is_textable": null, + "is_text_permitted": null, + "is_tty": null, + "is_voicemailable": null, + "phone_number": "9224444", + "phone_type": "HOME", + "source_date": "2020-07-14T19:07:45.000+00:00", + "source_system_user": null, + "transaction_id": "92c49d39-22b2-4bd6-92b4-0b7e7c63c6a9", + "updated_at": "2020-07-14T19:07:46.000+00:00", + "vet360_id": "1273780" + }, + "address": { + "address_line1": "1200 Park Ave", + "address_line2": "c/o Pixar", + "address_pou": "CORRESPONDENCE", + "address_type": "DOMESTIC", + "city": "Emeryville", + "country_name": "United States", + "country_code_iso2": "US", + "country_code_iso3": "USA", + "country_code_fips": null, + "county_code": null, + "county_name": null, + "created_at": "2020-05-30T03:57:20.000+00:00", + "effective_end_date": null, + "effective_start_date": "2020-07-10T20:10:45.000+00:00", + "id": 173917, + "province": null, + "source_date": "2020-07-10T20:10:45.000+00:00", + "source_system_user": null, + "state_code": "CA", + "transaction_id": "7139aa82-fd06-45ea-a217-9654869924bd", + "updated_at": "2020-07-10T20:10:46.000+00:00", + "validation_key": null, + "vet360_id": "1273780", + "zip_code": "94608", + "zip_code_suffix": null + } + }, + "dependents": [ + { + "dependent_age": "12" + } + ], + "employment_history": { + "new_record": { + "type": "", + "from": "", + "to": "", + "is_current": false, + "employer_name": "", + "gross_monthly_income": "", + "deductions": [] + }, + "veteran": { + "employment_records": [ + { + "type": "Part time", + "from": "2020-01-XX", + "to": "", + "is_current": true, + "employer_name": "Vet emp 1", + "gross_monthly_income": "1200", + "deductions": [ + { + "name": "State tax", + "amount": "100" + }, + { + "name": "Retirement accounts (401k, IRAs, 403b, TSP)", + "amount": "100" + } + ] + } + ] + }, + "spouse": { + "sp_employment_records": [ + { + "type": "Full time", + "from": "2021-01-XX", + "to": "", + "is_current": true, + "employer_name": "spo emp 1", + "gross_monthly_income": "1300", + "deductions": [ + { + "name": "Federal tax", + "amount": "150" + }, + { + "name": "FICA (Social Security and Medicare)", + "amount": "150" + } + ] + } + ] + } + } + }, + "view:components": { + "view:marital_status": {}, + "view:veteran_info": {}, + "view:dependents_additional_info": {}, + "view:va_benefits_on_file": {}, + "view:real_estate_additional_info": {}, + "view:rec_vehicle_info": {}, + "view:contracts_additional_info": {} + }, + "personal_identification": { + "ssn": "3018", + "file_number": "3018" + }, + "selected_debts_and_copays": [ + { + "id": "f4385298-08a6-42f8-a86f-50e97033fb85", + "p_s_seq_num": 506, + "p_s_tot_seq_num": 588, + "p_s_facility_num": "534", + "p_s_fac_phone_num": null, + "p_s_tot_statement": 27, + "p_s_statement_val": "0000018255H", + "p_s_statement_date": "11152019", + "p_s_statement_date_output": "11/15/2019", + "p_s_process_date": "11112019", + "p_s_process_date_output": "11/11/2019", + "p_h_patient_lst_nme": "JONES", + "p_h_patient_fst_nme": "TRAVIS", + "p_h_patient_mid_nme": "D", + "p_h_address1": "1885 SHORE DR S APT 327", + "p_h_address2": null, + "p_h_address3": null, + "p_h_city": "SAVANNAH", + "p_h_state": "FL", + "p_h_zip_cde": "314104413", + "p_h_zip_cde_output": "31410-4413", + "p_h_ctry_nme": null, + "p_h_amt_due": 15, + "p_h_amt_due_output": "15.00  ", + "p_h_prev_bal": 135, + "p_h_prev_bal_output": "135.00  ", + "p_h_tot_charges": 15, + "p_h_tot_charges_output": "15.00  ", + "p_h_tot_credits": -135, + "p_h_tot_credits_output": "135.00- ", + "p_h_new_balance": 15, + "p_h_new_balance_output": "15.00  ", + "p_h_special_notes": "To pay your statement online, go to www.pay.gov or call 1-888-827-4817.", + "p_hro_para_cdes": "304050556065708085", + "p_h_num_of_lines": 10, + "p_h_dfn_number": 346310, + "p_h_cerner_statement_number": 1005154223, + "p_h_cerner_patient_id": "1005154223", + "p_h_cerner_account_number": "1005154223", + "p_h_icn_number": "1012845638V677813", + "p_h_account_number": 0, + "p_h_large_font_indcator": 0, + "details": [ + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10152019", + "p_d_date_posted_output": "10/15/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC) VISIT DATE: 09/07/2018", + "p_d_trans_desc_output": "OUTPATIENT CARE VISIT DATE: 09/07/2018", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "534-K009FK8" + } + ], + "station": { + "facilit_y_num": "534", + "vis_n_num": "07", + "facilit_y_desc": "RALPH H. JOHNSON VA MEDICAL CENTER (534)", + "cycl_e_num": "012", + "remi_t_to_flag": "L", + "mai_l_insert_flag": "0", + "sta_t_address1": "ACCOUNTS RECEIVABLE (04AR)", + "sta_t_address2": "109 BEE ST", + "sta_t_address3": null, + "city": "Charleston", + "state": "SC", + "zi_p_cde": "294015703", + "zi_p_cde_output": "29401-5703", + "ba_r_cde": "*294015703090*", + "te_l_num_flag": "P", + "te_l_num": "1-866-258-2772", + "te_l_num2": null, + "contac_t_info": null, + "d_m2_tel_num": null, + "contac_t_info2": null, + "to_p_tel_num": null, + "lb_x_fedex_address1": null, + "lb_x_fedex_address2": null, + "lb_x_fedex_address3": null, + "lb_x_fedex_city": null, + "lb_x_fedex_state": null, + "lb_x_fedex_zip_cde": null, + "lb_x_fedex_bar_cde": null, + "lb_x_fedex_contact": null, + "lb_x_fedex_contact_tel_num": null, + "facility_name": "Ralph H. Johnson Department of Veterans Affairs Medical Center" + }, + "debt_type": "COPAY" + } + ], + "additional_income": { + "addl_inc_records": [ + { + "name": "Social Security", + "amount": "500" + } + ], + "spouse": { + "sp_addl_income": [ + { + "name": "Caretaker income", + "amount": "100" + } + ] + } + }, + "assets": {}, + "expenses": {}, + "additional_data": { + "bankruptcy": {} + }, + "view:enhanced_financial_status_report": true, + "view:streamlined_waiver": true, + "view:streamlined_waiver_asset_update": true, + "view:review_page_navigation_toggle": true, + "income": [ + { + "veteran_or_spouse": "VETERAN" + } + ], + "gmt_data": { + "is_eligible_for_streamlined": true, + "gmt_threshold": 78300, + "error": null, + "income_upper_threshold": 117450, + "asset_threshold": 5089.5, + "discretionary_income_threshold": 978.75, + "income_below_gmt": true, + "income_below_one_fifty_gmt": true + } +} \ No newline at end of file diff --git a/modules/debts_api/spec/fixtures/pre_submission_fsr/andrew_fsr_3.json b/modules/debts_api/spec/fixtures/pre_submission_fsr/andrew_fsr_3.json new file mode 100644 index 00000000000..4a47677bae2 --- /dev/null +++ b/modules/debts_api/spec/fixtures/pre_submission_fsr/andrew_fsr_3.json @@ -0,0 +1,349 @@ +{ + "questions": { + "has_repayments": false, + "has_credit_card_bills": false, + "has_recreational_vehicle": true, + "has_vehicle": true, + "has_real_estate": true, + "is_married": false, + "has_dependents": "0", + "has_been_adjudicated_bankrupt": false + }, + "view:components": { + "view:contracts_additional_info": {}, + "view:rec_vehicle_info": {}, + "view:real_estate_additional_info": {}, + "view:marital_status": {}, + "view:veteran_info": {}, + "view:dependents_additional_info": {}, + "view:va_benefits_on_file": {} + }, + "assets": { + "rec_vehicle_amount": "2000", + "real_estate_value": "400.10", + "monetary_assets": [ + { + "name": "Cash", + "amount": "10" + }, + { + "name": "Checking accounts", + "amount": "10.01" + }, + { + "name": "Savings accounts", + "amount": "10.02" + }, + { + "name": "Retirement accounts (401k, IRAs, 403b, TSP)", + "amount": "10.02" + } + ], + "other_assets": [ + { + "name": "Antiques", + "amount": "20" + }, + { + "name": "Collectibles, or collection(s)", + "amount": "20" + } + ], + "automobiles": [ + { + "make": "Make", + "model": "mod", + "resale_value": "100.10" + }, + { + "make": "dfsa", + "model": "fdas", + "resale_value": "200.10" + } + ] + }, + "personal_data": { + "veteran_full_name": { + "first": "Travis", + "last": "Jones", + "middle": "D" + }, + "date_of_birth": "1950-09-06", + "veteran_contact_information": { + "email": "test@user.com", + "mobile_phone": { + "area_code": "510", + "country_code": "1", + "created_at": "2020-06-12T16:56:37.000+00:00", + "extension": "", + "effective_end_date": null, + "effective_start_date": "2020-07-14T19:07:45.000+00:00", + "id": 146766, + "is_international": false, + "is_textable": null, + "is_text_permitted": null, + "is_tty": null, + "is_voicemailable": null, + "phone_number": "9224444", + "phone_type": "HOME", + "source_date": "2020-07-14T19:07:45.000+00:00", + "source_system_user": null, + "transaction_id": "92c49d39-22b2-4bd6-92b4-0b7e7c63c6a9", + "updated_at": "2020-07-14T19:07:46.000+00:00", + "vet360_id": "1273780" + }, + "address": { + "address_line1": "1200 Park Ave", + "address_line2": "c/o Pixar", + "address_pou": "CORRESPONDENCE", + "address_type": "DOMESTIC", + "city": "Emeryville", + "country_name": "United States", + "country_code_iso2": "US", + "country_code_iso3": "USA", + "country_code_fips": null, + "county_code": null, + "county_name": null, + "created_at": "2020-05-30T03:57:20.000+00:00", + "effective_end_date": null, + "effective_start_date": "2020-07-10T20:10:45.000+00:00", + "id": 173917, + "province": null, + "source_date": "2020-07-10T20:10:45.000+00:00", + "source_system_user": null, + "state_code": "CA", + "transaction_id": "7139aa82-fd06-45ea-a217-9654869924bd", + "updated_at": "2020-07-10T20:10:46.000+00:00", + "validation_key": null, + "vet360_id": "1273780", + "zip_code": "94608", + "zip_code_suffix": null + } + }, + "spouse_full_name": {}, + "dependents": [] + }, + "personal_identification": { + "ssn": "3018", + "file_number": "3018" + }, + "selected_debts_and_copays": [ + { + "resolution_waiver_check": true, + "resolution_option": "waiver", + "id": "f4385298-08a6-42f8-a86f-50e97033fb85", + "p_s_seq_num": 506, + "p_s_tot_seq_num": 588, + "p_s_facility_num": "534", + "p_s_fac_phone_num": null, + "p_s_tot_statement": 27, + "p_s_statement_val": "0000018255H", + "p_s_statement_date": "11152019", + "p_s_statement_date_output": "11/15/2019", + "p_s_process_date": "11112019", + "p_s_process_date_output": "11/11/2019", + "p_h_patient_lst_nme": "JONES", + "p_h_patient_fst_nme": "TRAVIS", + "p_h_patient_mid_nme": "D", + "p_h_address1": "1885 SHORE DR S APT 327", + "p_h_address2": null, + "p_h_address3": null, + "p_h_city": "SAVANNAH", + "p_h_state": "FL", + "p_h_zip_cde": "314104413", + "p_h_zip_cde_output": "31410-4413", + "p_h_ctry_nme": null, + "p_h_amt_due": 15, + "p_h_amt_due_output": "15.00  ", + "p_h_prev_bal": 135, + "p_h_prev_bal_output": "135.00  ", + "p_h_tot_charges": 15, + "p_h_tot_charges_output": "15.00  ", + "p_h_tot_credits": -135, + "p_h_tot_credits_output": "135.00- ", + "p_h_new_balance": 15, + "p_h_new_balance_output": "15.00  ", + "p_h_special_notes": "To pay your statement online, go to www.pay.gov or call 1-888-827-4817.", + "p_hro_para_cdes": "304050556065708085", + "p_h_num_of_lines": 10, + "p_h_dfn_number": 346310, + "p_h_cerner_statement_number": 1005154223, + "p_h_cerner_patient_id": "1005154223", + "p_h_cerner_account_number": "1005154223", + "p_h_icn_number": "1012845638V677813", + "p_h_account_number": 0, + "p_h_large_font_indcator": 0, + "details": [ + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10152019", + "p_d_date_posted_output": "10/15/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC) VISIT DATE: 09/07/2018", + "p_d_trans_desc_output": "OUTPATIENT CARE VISIT DATE: 09/07/2018", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "534-K009FK8" + } + ], + "station": { + "facilit_y_num": "534", + "vis_n_num": "07", + "facilit_y_desc": "RALPH H. JOHNSON VA MEDICAL CENTER (534)", + "cycl_e_num": "012", + "remi_t_to_flag": "L", + "mai_l_insert_flag": "0", + "sta_t_address1": "ACCOUNTS RECEIVABLE (04AR)", + "sta_t_address2": "109 BEE ST", + "sta_t_address3": null, + "city": "Charleston", + "state": "SC", + "zi_p_cde": "294015703", + "zi_p_cde_output": "29401-5703", + "ba_r_cde": "*294015703090*", + "te_l_num_flag": "P", + "te_l_num": "1-866-258-2772", + "te_l_num2": null, + "contac_t_info": null, + "d_m2_tel_num": null, + "contac_t_info2": null, + "to_p_tel_num": null, + "lb_x_fedex_address1": null, + "lb_x_fedex_address2": null, + "lb_x_fedex_address3": null, + "lb_x_fedex_city": null, + "lb_x_fedex_state": null, + "lb_x_fedex_zip_cde": null, + "lb_x_fedex_bar_cde": null, + "lb_x_fedex_contact": null, + "lb_x_fedex_contact_tel_num": null, + "facility_name": "Ralph H. Johnson Department of Veterans Affairs Medical Center" + }, + "debt_type": "COPAY", + "resolution_comment": "" + } + ], + "additional_income": { + "addl_inc_records": [ + { + "name": "Social Security", + "amount": "12000" + } + ], + "spouse": {} + }, + "benefits": { + "spouse_benefits": {} + }, + "expenses": {}, + "additional_data": { + "bankruptcy": {}, + "additional_comments": "blah blah" + }, + "view:enhanced_financial_status_report": true, + "view:streamlined_waiver": true, + "view:streamlined_waiver_asset_update": true, + "view:review_page_navigation_toggle": true, + "income": [ + { + "veteran_or_spouse": "VETERAN" + } + ], + "gmt_data": { + "is_eligible_for_streamlined": true, + "gmt_threshold": 100000, + "error": null, + "income_upper_threshold": 150000, + "asset_threshold": 6500, + "discretionary_income_threshold": 1250, + "income_below_gmt": false, + "income_below_one_fifty_gmt": false, + "discretionary_below": false + }, + "social_security": { + "spouse": {} + }, + "employment_history": { + "spouse": {} + } + +} \ No newline at end of file diff --git a/modules/debts_api/spec/fixtures/pre_submission_fsr/andrew_fsr_expenses.json b/modules/debts_api/spec/fixtures/pre_submission_fsr/andrew_fsr_expenses.json new file mode 100644 index 00000000000..451f754a058 --- /dev/null +++ b/modules/debts_api/spec/fixtures/pre_submission_fsr/andrew_fsr_expenses.json @@ -0,0 +1,711 @@ +{ + "questions": { + "has_repayments": false, + "has_credit_card_bills": false, + "has_recreational_vehicle": false, + "has_vehicle": false, + "has_real_estate": false, + "is_married": false, + "has_dependents": "0" + }, + "view:components": { + "view:contracts_additional_info": {}, + "view:real_estate_additional_info": {}, + "view:marital_status": {}, + "view:veteran_info": {}, + "view:dependents_additional_info": {}, + "view:va_benefits_on_file": {}, + "view:vehicle_info": {}, + "view:rec_vehicle_info": {}, + "view:asset_info": {} + }, + "personal_data": { + "veteran_full_name": { + "first": "Travis", + "last": "Jones", + "middle": "D" + }, + "date_of_birth": "1950-09-06", + "address": { + "lives_on_military_base_info": {}, + "country": "", + "street": "", + "city": "", + "state": "", + "postal_code": "" + }, + "telephone_number": "", + "email_address": "", + "veteran_contact_information": { + "email": "test@user.com", + "mobile_phone": { + "area_code": "510", + "country_code": "1", + "created_at": "2020-06-12T16:56:37.000+00:00", + "extension": "", + "effective_end_date": null, + "effective_start_date": "2020-07-14T19:07:45.000+00:00", + "id": 146766, + "is_international": false, + "is_textable": null, + "is_text_permitted": null, + "is_tty": null, + "is_voicemailable": null, + "phone_number": "9224444", + "phone_type": "HOME", + "source_date": "2020-07-14T19:07:45.000+00:00", + "source_system_user": null, + "transaction_id": "92c49d39-22b2-4bd6-92b4-0b7e7c63c6a9", + "updated_at": "2020-07-14T19:07:46.000+00:00", + "vet360_id": "1273780" + }, + "address": { + "address_line1": "1200 Park Ave", + "address_line2": "c/o Pixar", + "address_pou": "CORRESPONDENCE", + "address_type": "DOMESTIC", + "city": "Emeryville", + "country_name": "United States", + "country_code_iso2": "US", + "country_code_iso3": "USA", + "country_code_fips": null, + "county_code": null, + "county_name": null, + "created_at": "2020-05-30T03:57:20.000+00:00", + "effective_end_date": null, + "effective_start_date": "2020-07-10T20:10:45.000+00:00", + "id": 173917, + "province": null, + "source_date": "2020-07-10T20:10:45.000+00:00", + "source_system_user": null, + "state_code": "CA", + "transaction_id": "7139aa82-fd06-45ea-a217-9654869924bd", + "updated_at": "2020-07-10T20:10:46.000+00:00", + "validation_key": null, + "vet360_id": "1273780", + "zip_code": "94608", + "zip_code_suffix": null + } + }, + "spouse_full_name": {}, + "dependents": [], + "employment_history": { + "veteran": {}, + "spouse": {} + } + }, + "personal_identification": { + "ssn": "3018", + "file_number": "3018" + }, + "selected_debts_and_copays": [ + { + "id": "f4385298-08a6-42f8-a86f-50e97033fb85", + "p_s_seq_num": 506, + "p_s_tot_seq_num": 588, + "p_s_facility_num": "534", + "p_s_fac_phone_num": null, + "p_s_tot_statement": 27, + "p_s_statement_val": "0000018255H", + "p_s_statement_date": "11152019", + "p_s_statement_date_output": "11/15/2019", + "p_s_process_date": "11112019", + "p_s_process_date_output": "11/11/2019", + "p_h_patient_lst_nme": "JONES", + "p_h_patient_fst_nme": "TRAVIS", + "p_h_patient_mid_nme": "D", + "p_h_address1": "1885 SHORE DR S APT 327", + "p_h_address2": null, + "p_h_address3": null, + "p_h_city": "SAVANNAH", + "p_h_state": "FL", + "p_h_zip_cde": "314104413", + "p_h_zip_cde_output": "31410-4413", + "p_h_ctry_nme": null, + "p_h_amt_due": 15, + "p_h_amt_due_output": "15.00  ", + "p_h_prev_bal": 135, + "p_h_prev_bal_output": "135.00  ", + "p_h_tot_charges": 15, + "p_h_tot_charges_output": "15.00  ", + "p_h_tot_credits": -135, + "p_h_tot_credits_output": "135.00- ", + "p_h_new_balance": 15, + "p_h_new_balance_output": "15.00  ", + "p_h_special_notes": "To pay your statement online, go to www.pay.gov or call 1-888-827-4817.", + "p_hro_para_cdes": "304050556065708085", + "p_h_num_of_lines": 10, + "p_h_dfn_number": 346310, + "p_h_cerner_statement_number": 1005154223, + "p_h_cerner_patient_id": "1005154223", + "p_h_cerner_account_number": "1005154223", + "p_h_icn_number": "1012845638V677813", + "p_h_account_number": 0, + "p_h_large_font_indcator": 0, + "details": [ + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10152019", + "p_d_date_posted_output": "10/15/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC) VISIT DATE: 09/07/2018", + "p_d_trans_desc_output": "OUTPATIENT CARE VISIT DATE: 09/07/2018", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "534-K009FK8" + } + ], + "station": { + "facilit_y_num": "534", + "vis_n_num": "07", + "facilit_y_desc": "RALPH H. JOHNSON VA MEDICAL CENTER (534)", + "cycl_e_num": "012", + "remi_t_to_flag": "L", + "mai_l_insert_flag": "0", + "sta_t_address1": "ACCOUNTS RECEIVABLE (04AR)", + "sta_t_address2": "109 BEE ST", + "sta_t_address3": null, + "city": "Charleston", + "state": "SC", + "zi_p_cde": "294015703", + "zi_p_cde_output": "29401-5703", + "ba_r_cde": "*294015703090*", + "te_l_num_flag": "P", + "te_l_num": "1-866-258-2772", + "te_l_num2": null, + "contac_t_info": null, + "d_m2_tel_num": null, + "contac_t_info2": null, + "to_p_tel_num": null, + "lb_x_fedex_address1": null, + "lb_x_fedex_address2": null, + "lb_x_fedex_address3": null, + "lb_x_fedex_city": null, + "lb_x_fedex_state": null, + "lb_x_fedex_zip_cde": null, + "lb_x_fedex_bar_cde": null, + "lb_x_fedex_contact": null, + "lb_x_fedex_contact_tel_num": null, + "facility_name": "Ralph H. Johnson Department of Veterans Affairs Medical Center" + }, + "debt_type": "COPAY" + } + ], + "social_security": { + "spouse": {} + }, + "additional_income": { + "addl_inc_records": [ + { + "name": "Social Security", + "amount": "6666" + } + ], + "spouse": {} + }, + "benefits": { + "spouse_benefits": {} + }, + "assets": { + "monetary_assets": [ + { + "name": "Cash on hand (not in bank)", + "amount": "12" + }, + { + "name": "Cash in a bank (savings and checkings)", + "amount": "12" + } + ] + }, + "expenses": { + "expense_records": [ + { + "name": "Rent", + "amount": "11" + }, + { + "name": "Renter's or home insurance", + "amount": "1" + } + ] + }, + "additional_data": { + "bankruptcy": {} + }, + "view:enhanced_financial_status_report": true, + "view:streamlined_waiver": true, + "view:streamlined_waiver_asset_update": true, + "view:review_page_navigation_toggle": true, + "income": [ + { + "veteran_or_spouse": "VETERAN" + } + ], + "gmt_data": { + "is_eligible_for_streamlined": true, + "gmt_threshold": 78300, + "error": null, + "income_upper_threshold": 117450, + "asset_threshold": 5089.5, + "discretionary_income_threshold": 978.75, + "income_below_gmt": false, + "income_below_one_fifty_gmt": true, + "liquid_assets_below_gmt": true + }, + "employment_history": { + "spouse": {} + }, + "utility_records": [ + { + "name": "Electricity", + "amount": "21" + } + ], + "other_expenses": [ + { + "name": "Food", + "amount": "31" + }, + { + "name": "Clothing", + "amount": "2" + } + ], + "format": "json", + "controller": "debts_api/v0/financial_status_reports_calculations", + "action": "monthly_expenses", + "financial_status_reports_calculation": { + "questions": { + "has_repayments": false, + "has_credit_card_bills": false, + "has_recreational_vehicle": false, + "has_vehicle": false, + "has_real_estate": false, + "is_married": false, + "has_dependents": "0" + }, + "view:components": { + "view:contracts_additional_info": {}, + "view:real_estate_additional_info": {}, + "view:marital_status": {}, + "view:veteran_info": {}, + "view:dependents_additional_info": {}, + "view:va_benefits_on_file": {}, + "view:vehicle_info": {}, + "view:rec_vehicle_info": {}, + "view:asset_info": {} + }, + "personal_data": { + "veteran_full_name": { + "first": "Travis", + "last": "Jones", + "middle": "D" + }, + "date_of_birth": "1950-09-06", + "address": { + "lives_on_military_base_info": {}, + "country": "", + "street": "", + "city": "", + "state": "", + "postal_code": "" + }, + "telephone_number": "", + "email_address": "", + "veteran_contact_information": { + "email": "test@user.com", + "mobile_phone": { + "area_code": "510", + "country_code": "1", + "created_at": "2020-06-12T16:56:37.000+00:00", + "extension": "", + "effective_end_date": null, + "effective_start_date": "2020-07-14T19:07:45.000+00:00", + "id": 146766, + "is_international": false, + "is_textable": null, + "is_text_permitted": null, + "is_tty": null, + "is_voicemailable": null, + "phone_number": "9224444", + "phone_type": "HOME", + "source_date": "2020-07-14T19:07:45.000+00:00", + "source_system_user": null, + "transaction_id": "92c49d39-22b2-4bd6-92b4-0b7e7c63c6a9", + "updated_at": "2020-07-14T19:07:46.000+00:00", + "vet360_id": "1273780" + }, + "address": { + "address_line1": "1200 Park Ave", + "address_line2": "c/o Pixar", + "address_pou": "CORRESPONDENCE", + "address_type": "DOMESTIC", + "city": "Emeryville", + "country_name": "United States", + "country_code_iso2": "US", + "country_code_iso3": "USA", + "country_code_fips": null, + "county_code": null, + "county_name": null, + "created_at": "2020-05-30T03:57:20.000+00:00", + "effective_end_date": null, + "effective_start_date": "2020-07-10T20:10:45.000+00:00", + "id": 173917, + "province": null, + "source_date": "2020-07-10T20:10:45.000+00:00", + "source_system_user": null, + "state_code": "CA", + "transaction_id": "7139aa82-fd06-45ea-a217-9654869924bd", + "updated_at": "2020-07-10T20:10:46.000+00:00", + "validation_key": null, + "vet360_id": "1273780", + "zip_code": "94608", + "zip_code_suffix": null + } + }, + "spouse_full_name": {}, + "dependents": [], + "employment_history": { + "veteran": {}, + "spouse": {} + } + }, + "personal_identification": { + "ssn": "3018", + "file_number": "3018" + }, + "selected_debts_and_copays": [ + { + "id": "f4385298-08a6-42f8-a86f-50e97033fb85", + "p_s_seq_num": 506, + "p_s_tot_seq_num": 588, + "p_s_facility_num": "534", + "p_s_fac_phone_num": null, + "p_s_tot_statement": 27, + "p_s_statement_val": "0000018255H", + "p_s_statement_date": "11152019", + "p_s_statement_date_output": "11/15/2019", + "p_s_process_date": "11112019", + "p_s_process_date_output": "11/11/2019", + "p_h_patient_lst_nme": "JONES", + "p_h_patient_fst_nme": "TRAVIS", + "p_h_patient_mid_nme": "D", + "p_h_address1": "1885 SHORE DR S APT 327", + "p_h_address2": null, + "p_h_address3": null, + "p_h_city": "SAVANNAH", + "p_h_state": "FL", + "p_h_zip_cde": "314104413", + "p_h_zip_cde_output": "31410-4413", + "p_h_ctry_nme": null, + "p_h_amt_due": 15, + "p_h_amt_due_output": "15.00  ", + "p_h_prev_bal": 135, + "p_h_prev_bal_output": "135.00  ", + "p_h_tot_charges": 15, + "p_h_tot_charges_output": "15.00  ", + "p_h_tot_credits": -135, + "p_h_tot_credits_output": "135.00- ", + "p_h_new_balance": 15, + "p_h_new_balance_output": "15.00  ", + "p_h_special_notes": "To pay your statement online, go to www.pay.gov or call 1-888-827-4817.", + "p_hro_para_cdes": "304050556065708085", + "p_h_num_of_lines": 10, + "p_h_dfn_number": 346310, + "p_h_cerner_statement_number": 1005154223, + "p_h_cerner_patient_id": "1005154223", + "p_h_cerner_account_number": "1005154223", + "p_h_icn_number": "1012845638V677813", + "p_h_account_number": 0, + "p_h_large_font_indcator": 0, + "details": [ + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10152019", + "p_d_date_posted_output": "10/15/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC) VISIT DATE: 09/07/2018", + "p_d_trans_desc_output": "OUTPATIENT CARE VISIT DATE: 09/07/2018", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "534-K009FK8" + } + ], + "station": { + "facilit_y_num": "534", + "vis_n_num": "07", + "facilit_y_desc": "RALPH H. JOHNSON VA MEDICAL CENTER (534)", + "cycl_e_num": "012", + "remi_t_to_flag": "L", + "mai_l_insert_flag": "0", + "sta_t_address1": "ACCOUNTS RECEIVABLE (04AR)", + "sta_t_address2": "109 BEE ST", + "sta_t_address3": null, + "city": "Charleston", + "state": "SC", + "zi_p_cde": "294015703", + "zi_p_cde_output": "29401-5703", + "ba_r_cde": "*294015703090*", + "te_l_num_flag": "P", + "te_l_num": "1-866-258-2772", + "te_l_num2": null, + "contac_t_info": null, + "d_m2_tel_num": null, + "contac_t_info2": null, + "to_p_tel_num": null, + "lb_x_fedex_address1": null, + "lb_x_fedex_address2": null, + "lb_x_fedex_address3": null, + "lb_x_fedex_city": null, + "lb_x_fedex_state": null, + "lb_x_fedex_zip_cde": null, + "lb_x_fedex_bar_cde": null, + "lb_x_fedex_contact": null, + "lb_x_fedex_contact_tel_num": null, + "facility_name": "Ralph H. Johnson Department of Veterans Affairs Medical Center" + }, + "debt_type": "COPAY" + } + ], + "social_security": { + "spouse": {} + }, + "additional_income": { + "addl_inc_records": [ + { + "name": "Social Security", + "amount": "6666" + } + ], + "spouse": {} + }, + "benefits": { + "spouse_benefits": {} + }, + "assets": { + "monetary_assets": [ + { + "name": "Cash on hand (not in bank)", + "amount": "12" + }, + { + "name": "Cash in a bank (savings and checkings)", + "amount": "12" + } + ] + }, + "expenses": { + "expense_records": [ + { + "name": "Rent", + "amount": "11" + }, + { + "name": "Renter's or home insurance", + "amount": "1" + } + ] + }, + "additional_data": { + "bankruptcy": {} + }, + "view:enhanced_financial_status_report": true, + "view:streamlined_waiver": true, + "view:streamlined_waiver_asset_update": true, + "view:review_page_navigation_toggle": true, + "income": [ + { + "veteran_or_spouse": "VETERAN" + } + ], + "gmt_data": { + "is_eligible_for_streamlined": true, + "gmt_threshold": 78300, + "error": null, + "income_upper_threshold": 117450, + "asset_threshold": 5089.5, + "discretionary_income_threshold": 978.75, + "income_below_gmt": false, + "income_below_one_fifty_gmt": true, + "liquid_assets_below_gmt": true + }, + "employment_history": { + "spouse": {} + }, + "utility_records": [ + { + "name": "Electricity", + "amount": "21" + } + ], + "other_expenses": [ + { + "name": "Food", + "amount": "31" + }, + { + "name": "Clothing", + "amount": "2" + } + ] + } +} \ No newline at end of file diff --git a/modules/debts_api/spec/fixtures/pre_submission_fsr/andrew_maximal.json b/modules/debts_api/spec/fixtures/pre_submission_fsr/andrew_maximal.json new file mode 100644 index 00000000000..f551be6c3ff --- /dev/null +++ b/modules/debts_api/spec/fixtures/pre_submission_fsr/andrew_maximal.json @@ -0,0 +1,1268 @@ +{ + "view:enhanced_financial_status_report": true, + "view:streamlined_waiver": true, + "other_expenses": [ + { + "name": "Clothing", + "amount": "10" + }, + { + "name": "Food", + "amount": "1000.54" + }, + { + "name": "Veteran added", + "amount": "100" + } + ], + "view:components": { + "view:asset_info": {}, + "view:rec_vehicle_info": {}, + "view:vehicle_info": {}, + "view:marital_status": {}, + "view:veteran_info": {}, + "view:va_benefits_on_file": {} + }, + "expenses": { + "expense_records": [ + { + "name": "Rent", + "amount": "1200.53" + } + ], + "credit_card_bills": [ + { + "purpose": "Credit card payment", + "creditor_name": "", + "original_amount": "", + "unpaid_balance": "300000", + "amount_due_monthly": "10000", + "date_started": "", + "amount_past_due": "7000" + } + ] + }, + "assets": { + "real_estate_value": "800000.81", + "other_assets": [ + { + "name": "Collectibles, or collection(s)", + "amount": "12344" + }, + { + "name": "Antiques", + "amount": "44" + }, + { + "name": "Fine art", + "amount": "122" + } + ], + "cash_in_bank": "3000.45", + "cash_on_hand": "10000.67", + "rec_vehicle_amount": "15000.23", + "us_savings_bonds": "25000.65", + "stocks_and_other_bonds": "50000.84", + "automobiles": [ + { + "make": "Dodge", + "model": "RAM", + "year": "2020", + "resale_value": "75000.45" + }, + { + "make": "Dodge", + "model": "Charger", + "year": "2020", + "resale_value": "40000.54" + } + ], + "monetary_assets": [ + { + "name": "Cash", + "amount": "100" + }, + { + "name": "Checking accounts", + "amount": "100" + }, + { + "name": "Savings accounts", + "amount": "100" + }, + { + "name": "U.S. Savings Bonds", + "amount": "100" + }, + { + "name": "Retirement accounts (401k, IRAs, 403b, TSP)", + "amount": "100" + }, + { + "name": "Other stocks and bonds (not in your retirement accounts)", + "amount": "100" + }, + { + "name": "Pension", + "amount": "100" + }, + { + "name": "Cryptocurrency", + "amount": "100" + } + ] + }, + "additional_income": { + "spouse": { + "sp_addl_income": [ + { + "name": "Child care income", + "amount": "800.54" + }, + { + "name": "Alimony payment", + "amount": "1000.23" + } + ] + }, + "addl_inc_records": [ + { + "name": "Social Security", + "amount": "150.67" + }, + { + "name": "Alimony", + "amount": "210.43" + } + ] + }, + "social_security": { + "spouse": { + "social_sec_amt": "1400.45" + }, + "social_sec_amt": "1200.65" + }, + "benefits": { + "spouse_benefits": { + "compensation_and_pension": "1000.09", + "education": "500.46" + } + }, + "additional_data": { + "bankruptcy": { + "date_discharged": "2004-10-22", + "court_location": "Tampa, FL", + "docket_number": "123456" + }, + "additional_comments": "Supporting personal statement..." + }, + "questions": { + "has_been_adjudicated_bankrupt": true, + "has_credit_card_bills": true, + "has_other_expenses": true, + "has_repayments": true, + "has_utilities": true, + "has_recreational_vehicle": true, + "has_vehicle": true, + "has_real_estate": true, + "has_dependents": "2", + "spouse_has_additional_income": true, + "spouse_has_social_security": true, + "spouse_has_benefits": true, + "spouse_is_employed": true, + "is_married": true, + "has_additional_income": true, + "has_social_security": true, + "vet_is_employed": true + }, + "installment_contracts": [ + { + "purpose": "Credit card payments", + "creditor_name": "Creditor One", + "original_amount": "50000.54", + "unpaid_balance": "15000.56", + "amount_due_monthly": "800.10", + "date_started": "2017-03-XX", + "amount_past_due": "125.43" + }, + { + "purpose": "Car payment/lease", + "creditor_name": "Creditor Two", + "original_amount": "100000.43", + "unpaid_balance": "50000.26", + "amount_due_monthly": "1200.54", + "date_started": "2019-05-XX", + "amount_past_due": "0" + } + ], + "utility_records": [ + { + "name": "Electricity", + "amount": "402.35" + }, + { + "name": "Gas", + "amount": "85.16" + }, + { + "name": "Cable", + "amount": "175.47" + } + ], + "personal_data": { + "dependents": [ + { + "dependent_age": "12" + }, + { + "dependent_age": "17" + } + ], + "employment_history": { + "spouse": { + "sp_employment_records": [ + { + "type": "Full time", + "from": "2018-6-XX", + "to": "", + "is_current": true, + "employer_name": "Spouse Current", + "gross_monthly_income": "100", + "deductions": [ + { + "name": "State tax", + "amount": "10" + } + ] + }, + { + "type": "Full time", + "from": "2015-3-XX", + "to": "2018-6-XX", + "employer_name": "Spouse Previous", + "is_current": false + } + ] + }, + "veteran": { + "employment_records": [ + { + "type": "Full time", + "from": "2021-01-XX", + "to": "", + "is_current": true, + "employer_name": "Test", + "gross_monthly_income": "123", + "deductions": [ + { + "name": "State tax", + "amount": "1" + } + ] + }, + { + "type": "Full time", + "from": "2021-01-XX", + "to": "2021-12-XX", + "is_current": false, + "employer_name": "I quit" + } + ] + } + }, + "spouse_full_name": { + "first": "Angela", + "last": "Mitchell" + }, + "address": { + "lives_on_military_base_info": {}, + "country": "USA", + "street": "123 Fake Street", + "city": "Tampa", + "state": "FL", + "postal_code": "33543" + }, + "telephone_number": "4445551212", + "email_address": "test2@test1.net", + "veteran_contact_information": { + "email": "test@user.com", + "address": { + "address_line1": "1200 Park Ave", + "address_line2": "c/o Pixar", + "address_line3": null, + "address_pou": "CORRESPONDENCE", + "address_type": "DOMESTIC", + "city": "Emeryville", + "country_name": "United States", + "country_code_iso2": "US", + "country_code_iso3": "USA", + "country_code_fips": null, + "county_code": null, + "county_name": null, + "created_at": "2020-05-30T03:57:20.000+00:00", + "effective_end_date": null, + "effective_start_date": "2020-07-10T20:10:45.000+00:00", + "id": 173917, + "international_postal_code": null, + "province": null, + "source_date": "2020-07-10T20:10:45.000+00:00", + "source_system_user": null, + "state_code": "CA", + "transaction_id": "7139aa82-fd06-45ea-a217-9654869924bd", + "updated_at": "2020-07-10T20:10:46.000+00:00", + "validation_key": null, + "vet360_id": "1273780", + "zip_code": "94608", + "zip_code_suffix": null + }, + "mobile_phone": { + "area_code": "510", + "country_code": "1", + "created_at": "2020-06-12T16:56:37.000+00:00", + "extension": "", + "effective_end_date": null, + "effective_start_date": "2020-07-14T19:07:45.000+00:00", + "id": 146766, + "is_international": false, + "is_textable": null, + "is_text_permitted": null, + "is_tty": null, + "is_voicemailable": null, + "phone_number": "9224444", + "phone_type": "HOME", + "source_date": "2020-07-14T19:07:45.000+00:00", + "source_system_user": null, + "transaction_id": "92c49d39-22b2-4bd6-92b4-0b7e7c63c6a9", + "updated_at": "2020-07-14T19:07:46.000+00:00", + "vet360_id": "1273780" + } + }, + "veteran_full_name": { + "first": "Greg", + "last": "Anderson", + "middle": "A" + }, + "date_of_birth": "1933-04-05" + }, + "personal_identification": { + "ssn": "1234", + "file_number": "5678" + }, + "selected_debts_and_copays": [ + { + "file_number": "796121200", + "payee_number": "00", + "person_entitled": "AJHONS", + "deduction_code": "30", + "benefit_type": "Comp & Pen", + "diary_code": "080", + "diary_code_description": "Referred to the Department of the Treasury", + "amount_overpaid": 0, + "amount_withheld": 0, + "original_ar": 136.24, + "current_ar": 100, + "debt_history": [ + { + "date": "02/25/2009", + "letter_code": "914", + "description": "Paid In Full - Account balance cleared via offset, not including TOP." + }, + { + "date": "02/07/2009", + "letter_code": "905", + "description": "Administrative Write Off" + }, + { + "date": "12/03/2008", + "letter_code": "487", + "description": "Death Case Pending Action" + } + ], + "id": 0, + "debt_type": "DEBT", + "resolution_option": "waiver", + "resolution_comment": "", + "resolution_waiver_check": true + }, + { + "file_number": "796121200", + "payee_number": "00", + "person_entitled": "AJOHNS", + "deduction_code": "74", + "benefit_type": "CH33 Student Tuition EDU", + "diary_code": "117", + "diary_code_description": "Pending payment", + "amount_overpaid": 0, + "amount_withheld": 475, + "original_ar": 2210.9, + "current_ar": 1000, + "debt_history": [ + { + "date": "04/01/2017", + "letter_code": 608, + "description": "Full C&P Benefit Offset Notifi" + }, + { + "date": "11/18/2015", + "letter_code": 130, + "description": "Debt Increase - Due P" + }, + { + "date": "04/08/2015", + "letter_code": 608, + "description": "Full C&P Benefit Offset Notifi" + }, + { + "date": "03/26/2015", + "letter_code": 100, + "description": "First Demand Letter - Inactive Benefits - Due Process" + } + ], + "id": 3, + "debt_type": "DEBT", + "resolution_option": "monthly", + "resolution_comment": "50.51" + }, + { + "id": "f4385298-08a6-42f8-a86f-50e97033fb85", + "p_s_seq_num": 506, + "p_s_tot_seq_num": 588, + "p_s_facility_num": "534", + "p_s_fac_phone_num": null, + "p_s_tot_statement": 27, + "p_s_statement_val": "0000018255H", + "p_s_statement_date": "11152019", + "p_s_statement_date_output": "11/15/2019", + "p_s_process_date": "11112019", + "p_s_process_date_output": "11/11/2019", + "p_h_patient_lst_nme": "JONES", + "p_h_patient_fst_nme": "TRAVIS", + "p_h_patient_mid_nme": "D", + "p_h_address1": "1885 SHORE DR S APT 327", + "p_h_address2": null, + "p_h_address3": null, + "p_h_city": "SAVANNAH", + "p_h_state": "FL", + "p_h_zip_cde": "314104413", + "p_h_zip_cde_output": "31410-4413", + "p_h_ctry_nme": null, + "p_h_amt_due": 15, + "p_h_amt_due_output": "15.00  ", + "p_h_prev_bal": 135, + "p_h_prev_bal_output": "135.00  ", + "p_h_tot_charges": 15, + "p_h_tot_charges_output": "15.00  ", + "p_h_tot_credits": -135, + "p_h_tot_credits_output": "135.00- ", + "p_h_new_balance": 15, + "p_h_new_balance_output": "15.00  ", + "p_h_special_notes": "To pay your statement online, go to www.pay.gov or call 1-888-827-4817.", + "p_hro_para_cdes": "304050556065708085", + "p_h_num_of_lines": 10, + "p_h_dfn_number": 346310, + "p_h_cerner_statement_number": 1005154223, + "p_h_cerner_patient_id": "1005154223", + "p_h_cerner_account_number": "1005154223", + "p_h_icn_number": "1012845638V677813", + "p_h_account_number": 0, + "p_h_large_font_indcator": 0, + "details": [ + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10152019", + "p_d_date_posted_output": "10/15/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC) VISIT DATE: 09/07/2018", + "p_d_trans_desc_output": "OUTPATIENT CARE VISIT DATE: 09/07/2018", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "534-K009FK8" + } + ], + "station": { + "facilit_y_num": "534", + "vis_n_num": "07", + "facilit_y_desc": "RALPH H. JOHNSON VA MEDICAL CENTER (534)", + "cycl_e_num": "012", + "remi_t_to_flag": "L", + "mai_l_insert_flag": "0", + "sta_t_address1": "ACCOUNTS RECEIVABLE (04AR)", + "sta_t_address2": "109 BEE ST", + "sta_t_address3": null, + "city": "CHARLESTON", + "state": "SC", + "zi_p_cde": "294015703", + "zi_p_cde_output": "29401-5703", + "ba_r_cde": "*294015703090*", + "te_l_num_flag": "P", + "te_l_num": "1-866-258-2772", + "te_l_num2": null, + "contac_t_info": null, + "d_m2_tel_num": null, + "contac_t_info2": null, + "to_p_tel_num": null, + "lb_x_fedex_address1": null, + "lb_x_fedex_address2": null, + "lb_x_fedex_address3": null, + "lb_x_fedex_city": null, + "lb_x_fedex_state": null, + "lb_x_fedex_zip_cde": null, + "lb_x_fedex_bar_cde": null, + "lb_x_fedex_contact": null, + "lb_x_fedex_contact_tel_num": null, + "facility_name": "Bob Stump Department of Veterans Affairs Medical Center" + }, + "debt_type": "COPAY", + "resolution_option": "compromise", + "resolution_comment": "10.51" + }, + { + "id": "b381cc7b-ea3a-49dc-a982-7146416ed373", + "p_s_seq_num": 1162, + "p_s_tot_seq_num": 1, + "p_s_facility_num": "757", + "p_s_fac_phone_num": null, + "p_s_tot_statement": 11, + "p_s_statement_val": "0000040520F", + "p_s_statement_date": "06052021", + "p_s_statement_date_output": "06/05/2021", + "p_s_process_date": "06092021", + "p_s_process_date_output": "06/09/2021", + "p_h_patient_lst_nme": "JONES", + "p_h_patient_fst_nme": "TRAVIS", + "p_h_patient_mid_nme": "D", + "p_h_address1": "1885 SHORE DR S APT 327", + "p_h_address2": null, + "p_h_address3": null, + "p_h_city": "SOUTH PASADENA", + "p_h_state": "FL", + "p_h_zip_cde": "337074743", + "p_h_zip_cde_output": "33707-4743", + "p_h_ctry_nme": "US", + "p_h_amt_due": 46, + "p_h_amt_due_output": "46.00  ", + "p_h_prev_bal": 30, + "p_h_prev_bal_output": "30.00  ", + "p_h_tot_charges": 46, + "p_h_tot_charges_output": "46.00  ", + "p_h_tot_credits": -30, + "p_h_tot_credits_output": "30.00- ", + "p_h_new_balance": 46, + "p_h_new_balance_output": "46.00  ", + "p_h_special_notes": null, + "p_hro_para_cdes": "254050556065708085", + "p_h_num_of_lines": 7, + "p_h_dfn_number": 0, + "p_h_cerner_statement_number": 1005154223, + "p_h_cerner_patient_id": "1005154223", + "p_h_cerner_account_number": "1005154223", + "p_h_icn_number": "1012845638V677813", + "p_h_account_number": 0, + "p_h_large_font_indcator": 0, + "details": [ + { + "p_d_date_posted": "03092020", + "p_d_date_posted_output": "03/09/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC) VISIT DATE: 01/14/2020", + "p_d_trans_desc_output": "OUTPATIENT CARE VISIT DATE: 01/14/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K00R4FL" + }, + { + "p_d_date_posted": "03092020", + "p_d_date_posted_output": "03/09/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "516-K00R4FL" + }, + { + "p_d_date_posted": "03242020", + "p_d_date_posted_output": "03/24/2020", + "p_d_trans_desc": "COPAY RX:100020337B FD:01/23/2020", + "p_d_trans_desc_output": "COPAY RX#100020337B FILL DATE: 01/23/2020", + "p_d_trans_amt": 5, + "p_d_trans_amt_output": "5.00  ", + "p_d_ref_no": "516-K00RSNZ" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:LISINOPRIL 5MG TAB DAYS:30 QTY:30", + "p_d_trans_desc_output": "   DRUG:LISINOPRIL 5MG TAB DAYS:30 QTY:30", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "PHY:SANTOS,LOUISE CHG:$5.00", + "p_d_trans_desc_output": "   PHY:SANTOS,LOUISE CHG:$5.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "03242020", + "p_d_date_posted_output": "03/24/2020", + "p_d_trans_desc": "RX CO-PAYMENT/NSC VET", + "p_d_trans_desc_output": "PAYMENT POSTED ON 03/24/2020", + "p_d_trans_amt": -5, + "p_d_trans_amt_output": "5.00- ", + "p_d_ref_no": "516-K00RSNZ" + }, + { + "p_d_date_posted": "04032020", + "p_d_date_posted_output": "04/03/2020", + "p_d_trans_desc": "COPAY RX:100030241 FD:03/30/2020", + "p_d_trans_desc_output": "COPAY RX#100030241 FILL DATE: 03/30/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K00S829" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", + "p_d_trans_desc_output": "   DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_desc_output": "   PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "04272020", + "p_d_date_posted_output": "04/27/2020", + "p_d_trans_desc": "COPAY RX:100020336 FD:04/23/2020", + "p_d_trans_desc_output": "COPAY RX#100020336 FILL DATE: 04/23/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K00SZBK" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:AMLODIPINE BESYLATE 10MG TAB DAYS:90", + "p_d_trans_desc_output": "   DRUG:AMLODIPINE BESYLATE 10MG TAB DAYS:90", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "QTY:90 PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_desc_output": "   QTY:90 PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "04282020", + "p_d_date_posted_output": "04/28/2020", + "p_d_trans_desc": "COPAY RX:100011847 FD:04/23/2020", + "p_d_trans_desc_output": "COPAY RX#100011847 FILL DATE: 04/23/2020", + "p_d_trans_amt": 8, + "p_d_trans_amt_output": "8.00  ", + "p_d_ref_no": "516-K00SZBK" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:MICONAZOLE NITRATE 2% TOP TINCTURE DAYS:30", + "p_d_trans_desc_output": "   DRUG:MICONAZOLE NITRATE 2% TOP TINCTURE DAYS:30", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "QTY:60 PHY:GUTHRIE,BROOKE L CHG:$8.00", + "p_d_trans_desc_output": "   QTY:60 PHY:GUTHRIE,BROOKE L CHG:$8.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "05262020", + "p_d_date_posted_output": "05/26/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC) VISIT DATE: 04/15/2020", + "p_d_trans_desc_output": "OUTPATIENT CARE VISIT DATE: 04/15/2020", + "p_d_trans_amt": 50, + "p_d_trans_amt_output": "50.00  ", + "p_d_ref_no": "516-K00TXGK" + }, + { + "p_d_date_posted": "05262020", + "p_d_date_posted_output": "05/26/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -50, + "p_d_trans_amt_output": "50.00- ", + "p_d_ref_no": "516-K00TXGK" + }, + { + "p_d_date_posted": "06302020", + "p_d_date_posted_output": "06/30/2020", + "p_d_trans_desc": "COPAY RX:100030241 FD:06/30/2020", + "p_d_trans_desc_output": "COPAY RX#100030241 FILL DATE: 06/30/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K00UY3W" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", + "p_d_trans_desc_output": "   DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_desc_output": "   PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "07092020", + "p_d_date_posted_output": "07/09/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC) VISIT DATE: 06/08/2020", + "p_d_trans_desc_output": "OUTPATIENT CARE VISIT DATE: 06/08/2020", + "p_d_trans_amt": 50, + "p_d_trans_amt_output": "50.00  ", + "p_d_ref_no": "516-K00V8T8" + }, + { + "p_d_date_posted": "07092020", + "p_d_date_posted_output": "07/09/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -50, + "p_d_trans_amt_output": "50.00- ", + "p_d_ref_no": "516-K00V8T8" + }, + { + "p_d_date_posted": "07092020", + "p_d_date_posted_output": "07/09/2020", + "p_d_trans_desc": "COMMENT: K00ULWR PD $50.00 DOS 060820", + "p_d_trans_desc_output": "   COMMENT: K00ULWR PD $50.00 DOS 060820", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": "516-K00V8T8" + }, + { + "p_d_date_posted": "08132020", + "p_d_date_posted_output": "08/13/2020", + "p_d_trans_desc": "COPAY RX:100020336 FD:08/11/2020", + "p_d_trans_desc_output": "COPAY RX#100020336 FILL DATE: 08/11/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K00WDZQ" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:AMLODIPINE BESYLATE 10MG TAB DAYS:90", + "p_d_trans_desc_output": "   DRUG:AMLODIPINE BESYLATE 10MG TAB DAYS:90", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "QTY:90 PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_desc_output": "   QTY:90 PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "09222020", + "p_d_date_posted_output": "09/22/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC) VISIT DATE: 08/20/2020", + "p_d_trans_desc_output": "OUTPATIENT CARE VISIT DATE: 08/20/2020", + "p_d_trans_amt": 50, + "p_d_trans_amt_output": "50.00  ", + "p_d_ref_no": "516-K00XUY2" + }, + { + "p_d_date_posted": "09222020", + "p_d_date_posted_output": "09/22/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -50, + "p_d_trans_amt_output": "50.00- ", + "p_d_ref_no": "516-K00XUY2" + }, + { + "p_d_date_posted": "09222020", + "p_d_date_posted_output": "09/22/2020", + "p_d_trans_desc": "COMMENT: K00X41A PD $50.00 DOS 082020", + "p_d_trans_desc_output": "   COMMENT: K00X41A PD $50.00 DOS 082020", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": "516-K00XUY2" + }, + { + "p_d_date_posted": "10072020", + "p_d_date_posted_output": "10/07/2020", + "p_d_trans_desc": "COPAY RX:100030241 FD:10/05/2020", + "p_d_trans_desc_output": "COPAY RX#100030241 FILL DATE: 10/05/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K10J56V" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", + "p_d_trans_desc_output": "   DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_desc_output": "   PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "10292020", + "p_d_date_posted_output": "10/29/2020", + "p_d_trans_desc": "COPAY RX:100045030 FD:10/27/2020", + "p_d_trans_desc_output": "COPAY RX#100045030 FILL DATE: 10/27/2020", + "p_d_trans_amt": 24, + "p_d_trans_amt_output": "24.00  ", + "p_d_ref_no": "516-K10J56V" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:NIACIN (SLO-NIACIN) 250MG TAB,SA DAYS:90", + "p_d_trans_desc_output": "   DRUG:NIACIN (SLO-NIACIN) 250MG TAB,SA DAYS:90", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "QTY:90 PHY:VELAZQUEZ SANCHEZ,VANESSA", + "p_d_trans_desc_output": "   QTY:90 PHY:VELAZQUEZ SANCHEZ,VANESSA", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "CHG:$24.00", + "p_d_trans_desc_output": "   CHG:$24.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "10292020", + "p_d_date_posted_output": "10/29/2020", + "p_d_trans_desc": "COPAY RX:100045028 FD:10/27/2020", + "p_d_trans_desc_output": "COPAY RX#100045028 FILL DATE: 10/27/2020", + "p_d_trans_amt": 8, + "p_d_trans_amt_output": "8.00  ", + "p_d_ref_no": "516-K10J56V" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:CARBAMIDE PEROXIDE 6.5% OTIC SOLN DAYS:14", + "p_d_trans_desc_output": "   DRUG:CARBAMIDE PEROXIDE 6.5% OTIC SOLN DAYS:14", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "QTY:45 PHY:VELAZQUEZ SANCHEZ,VANESSA CHG:$8.00", + "p_d_trans_desc_output": "   QTY:45 PHY:VELAZQUEZ SANCHEZ,VANESSA CHG:$8.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "10292020", + "p_d_date_posted_output": "10/29/2020", + "p_d_trans_desc": "COPAY RX:100045029 FD:10/27/2020", + "p_d_trans_desc_output": "COPAY RX#100045029 FILL DATE: 10/27/2020", + "p_d_trans_amt": 8, + "p_d_trans_amt_output": "8.00  ", + "p_d_ref_no": "516-K10J56V" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:MICONAZOLE NITRATE 2% TOP TINCTURE DAYS:30", + "p_d_trans_desc_output": "   DRUG:MICONAZOLE NITRATE 2% TOP TINCTURE DAYS:30", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "QTY:90 PHY:VELAZQUEZ SANCHEZ,VANESSA CHG:$8.00", + "p_d_trans_desc_output": "   QTY:90 PHY:VELAZQUEZ SANCHEZ,VANESSA CHG:$8.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "11192020", + "p_d_date_posted_output": "11/19/2020", + "p_d_trans_desc": "PAYMENT (Int:0.12 Adm:1.64)", + "p_d_trans_desc_output": "PAYMENT POSTED ON 11/19/2020", + "p_d_trans_amt": -16.76, + "p_d_trans_amt_output": "16.76- ", + "p_d_ref_no": "516-K00JZPJ" + }, + { + "p_d_date_posted": "11192020", + "p_d_date_posted_output": "11/19/2020", + "p_d_trans_desc": "PAYMENT (Int:0.26 Adm:0.00)", + "p_d_trans_desc_output": "PAYMENT POSTED ON 11/19/2020", + "p_d_trans_amt": -15.26, + "p_d_trans_amt_output": "15.26- ", + "p_d_ref_no": "516-K00N8XA" + }, + { + "p_d_date_posted": "11192020", + "p_d_date_posted_output": "11/19/2020", + "p_d_trans_desc": "PAYMENT", + "p_d_trans_desc_output": "PAYMENT POSTED ON 11/19/2020", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "516-K00QKJJ" + }, + { + "p_d_date_posted": "11192020", + "p_d_date_posted_output": "11/19/2020", + "p_d_trans_desc": "PAYMENT", + "p_d_trans_desc_output": "PAYMENT POSTED ON 11/19/2020", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "516-K00S829" + }, + { + "p_d_date_posted": "11192020", + "p_d_date_posted_output": "11/19/2020", + "p_d_trans_desc": "PAYMENT", + "p_d_trans_desc_output": "PAYMENT POSTED ON 11/19/2020", + "p_d_trans_amt": -23, + "p_d_trans_amt_output": "23.00- ", + "p_d_ref_no": "516-K00SZBK" + }, + { + "p_d_date_posted": "11192020", + "p_d_date_posted_output": "11/19/2020", + "p_d_trans_desc": "PAYMENT", + "p_d_trans_desc_output": "PAYMENT POSTED ON 11/19/2020", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "516-K00UY3W" + }, + { + "p_d_date_posted": "11192020", + "p_d_date_posted_output": "11/19/2020", + "p_d_trans_desc": "PAYMENT", + "p_d_trans_desc_output": "PAYMENT POSTED ON 11/19/2020", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "516-K00WDZQ" + }, + { + "p_d_date_posted": "11192020", + "p_d_date_posted_output": "11/19/2020", + "p_d_trans_desc": "PAYMENT", + "p_d_trans_desc_output": "PAYMENT POSTED ON 11/19/2020", + "p_d_trans_amt": -55, + "p_d_trans_amt_output": "55.00- ", + "p_d_ref_no": "516-K10J56V" + }, + { + "p_d_date_posted": "11232020", + "p_d_date_posted_output": "11/23/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC) VISIT DATE: 10/27/2020", + "p_d_trans_desc_output": "OUTPATIENT CARE VISIT DATE: 10/27/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K10LD3I" + }, + { + "p_d_date_posted": "11232020", + "p_d_date_posted_output": "11/23/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "516-K10LD3I" + }, + { + "p_d_date_posted": "11232020", + "p_d_date_posted_output": "11/23/2020", + "p_d_trans_desc": "COMMENT: K10KM1P PD $15.00 DOS:10/27/20", + "p_d_trans_desc_output": "   COMMENT: K10KM1P PD $15.00 DOS:10/27/20", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": "516-K10LD3I" + }, + { + "p_d_date_posted": "12012020", + "p_d_date_posted_output": "12/01/2020", + "p_d_trans_desc": "COPAY RX:100046632 FD:11/18/2020", + "p_d_trans_desc_output": "COPAY RX#100046632 FILL DATE: 11/18/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K10LT59" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:AMLODIPINE BESYLATE 10MG TAB DAYS:90", + "p_d_trans_desc_output": "   DRUG:AMLODIPINE BESYLATE 10MG TAB DAYS:90", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "QTY:90 PHY:VELAZQUEZ SANCHEZ,VANESSA", + "p_d_trans_desc_output": "   QTY:90 PHY:VELAZQUEZ SANCHEZ,VANESSA", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "CHG:$15.00", + "p_d_trans_desc_output": "   CHG:$15.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "12162020", + "p_d_date_posted_output": "12/16/2020", + "p_d_trans_desc": "COPAY RX:100030241A FD:12/12/2020", + "p_d_trans_desc_output": "COPAY RX#100030241A FILL DATE: 12/12/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K10MUDV" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", + "p_d_trans_desc_output": "   DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "PHY:VELAZQUEZ SANCHEZ,VANESSA CHG:$15.00", + "p_d_trans_desc_output": "   PHY:VELAZQUEZ SANCHEZ,VANESSA CHG:$15.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "12212020", + "p_d_date_posted_output": "12/21/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC) VISIT DATE: 11/13/2020", + "p_d_trans_desc_output": "OUTPATIENT CARE VISIT DATE: 11/13/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K10N4AR" + }, + { + "p_d_date_posted": "12212020", + "p_d_date_posted_output": "12/21/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "516-K10N4AR" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "INTEREST/ADM. CHARGE (Int:0.32 Adm:1.64 Other:0.00", + "p_d_trans_desc_output": "INTEREST/ADM. CHARGE (Int:0.32 Adm:1.64 Other:0.00", + "p_d_trans_amt": 1.96, + "p_d_trans_amt_output": "1.96  ", + "p_d_ref_no": null + } + ], + "station": { + "facilit_y_num": "649", + "vis_n_num": "22", + "facilit_y_desc": "PRESCOTT VA MEDICAL CENTER (649)", + "cycl_e_num": "016", + "remi_t_to_flag": "L", + "mai_l_insert_flag": "0", + "sta_t_address1": "500 N US HIGHWAY 89", + "sta_t_address2": "AGENT CASHIER (04C)", + "sta_t_address3": null, + "city": "PRESCOTT", + "state": "AZ", + "zi_p_cde": "863135001", + "zi_p_cde_output": "86313-5001", + "ba_r_cde": "*863135001003*", + "te_l_num_flag": "S", + "te_l_num": "1-866-802-6819", + "te_l_num2": null, + "contac_t_info": null, + "d_m2_tel_num": null, + "contac_t_info2": null, + "to_p_tel_num": null, + "lb_x_fedex_address1": null, + "lb_x_fedex_address2": null, + "lb_x_fedex_address3": null, + "lb_x_fedex_city": null, + "lb_x_fedex_state": null, + "lb_x_fedex_zip_cde": null, + "lb_x_fedex_bar_cde": null, + "lb_x_fedex_contact": null, + "lb_x_fedex_contact_tel_num": null, + "facility_name": "Ralph H. Johnson Department of Veterans Affairs Medical Center" + }, + "debt_type": "COPAY", + "resolution_option": "waiver", + "resolution_comment": "", + "resolution_waiver_check": true + } + ], + "debt": { + "current_ar": 0, + "debt_history": [ + { + "date": "" + } + ], + "deduction_code": "", + "original_ar": 0 + }, + "financial_overview": {}, + "available_options": {}, + "income": [ + { + "veteran_or_spouse": "VETERAN", + "compensation_and_pension": "3261.1", + "education": "50" + } + ] +} \ No newline at end of file diff --git a/modules/debts_api/spec/fixtures/pre_submission_fsr/enhanced_fsr_expenses.json b/modules/debts_api/spec/fixtures/pre_submission_fsr/enhanced_fsr_expenses.json index b21e9a8d070..75a36adb285 100644 --- a/modules/debts_api/spec/fixtures/pre_submission_fsr/enhanced_fsr_expenses.json +++ b/modules/debts_api/spec/fixtures/pre_submission_fsr/enhanced_fsr_expenses.json @@ -1,8 +1,8 @@ -{ - "view:enhancedFinancialStatusReport": true, +{ + "view:enhanced_financial_status_report": true, "expenses": { "food": "4000.38", - "expenseRecords": [ + "expense_records": [ { "name": "Rent", "amount": "1200.53" @@ -16,19 +16,19 @@ "amount": "100" } ], - "creditCardBills": [ + "credit_card_bills": [ { "purpose": "Credit card payment", - "creditorName": "", - "originalAmount": "", - "unpaidBalance": "300000", - "amountDueMonthly": "10000", - "dateStarted": "", - "amountPastDue": "7000" + "creditor_name": "", + "original_amount": "", + "unpaid_balance": "300000", + "amount_due_monthly": "10000", + "date_started": "", + "amount_past_due": "7000" } ] }, - "otherExpenses": [ + "other_expenses": [ { "name": "Pool service", "amount": "200" @@ -42,37 +42,37 @@ "amount": "300" } ], - "installmentContracts": [ + "installment_contracts": [ { "purpose": "Credit card payments", - "creditorName": "Creditor One", - "originalAmount": "50000.54", - "unpaidBalance": "15000.56", - "amountDueMonthly": "800.10", - "dateStarted": "2017-03-XX", - "amountPastDue": "125.43" + "creditor_name": "Creditor One", + "original_amount": "50000.54", + "unpaid_balance": "15000.56", + "amount_due_monthly": "800.10", + "date_started": "2017_03_xx", + "amount_past_due": "125.43" }, { "purpose": "Car payment/lease", - "creditorName": "Creditor Two", - "originalAmount": "100000.43", - "unpaidBalance": "50000.26", - "amountDueMonthly": "1200.54", - "dateStarted": "2019-05-XX", - "amountPastDue": "0" + "creditor_name": "Creditor Two", + "original_amount": "100000.43", + "unpaid_balance": "50000.26", + "amount_due_monthly": "1200.54", + "date_started": "2019_05_xx", + "amount_past_due": "0" } ], - "utilityRecords": [ + "utility_records": [ { - "utilityType": "Electricity", + "utility_type": "Electricity", "amount": "350.45" }, { - "utilityType": "Water", + "utility_type": "Water", "amount": "75.43" }, { - "utilityType": "Cable", + "utility_type": "Cable", "amount": "275.47" } ] diff --git a/modules/debts_api/spec/fixtures/pre_submission_fsr/fsr_assets_form.json b/modules/debts_api/spec/fixtures/pre_submission_fsr/fsr_assets_form.json index 9384378f68f..f625cf6bcf9 100644 --- a/modules/debts_api/spec/fixtures/pre_submission_fsr/fsr_assets_form.json +++ b/modules/debts_api/spec/fixtures/pre_submission_fsr/fsr_assets_form.json @@ -1,44 +1,41 @@ { - "data": { - "view:enhancedFinancialStatusReport": true, - "questions": { - "hasVehicle": false - }, - "cashInBank": "200", - "cashOnHand": "100", - "recVehicleAmount": "1000", - "usSavingsBonds": "0", - "stocksAndOtherBonds": "0", - "assets": { - "realEstateValue": "2000", - "otherAssets": [ - { - "amount": "10" - }, - { - "amount": "10" - } - ], - "recVehicleAmount": "100", - "automobiles": [ - { - "resaleValue": "100" - }, - { - "resaleValue": "100" - } - ] - }, - "realEstateRecords": [ + "view:enhanced_financial_status_report": true, + "questions": { + "has_vehicle": false + }, + "cash_in_bank": "200", + "cash_on_hand": "100", + "rec_vehicle_amount": "1000", + "us_savings_bonds": "0", + "stocks_and_other_bonds": "0", + "assets": { + "real_estate_value": "2000", + "other_assets": [ { - "realEstateType": "Vacation property", - "realEstateAmount": "350000.47" + "amount": "10" }, { - "realEstateType": "Single-family home", - "realEstateAmount": "450000.34" + "amount": "10" + } + ], + "rec_vehicle_amount": "100", + "automobiles": [ + { + "resale_value": "100" + }, + { + "resale_value": "100" } ] - } -} - + }, + "real_estate_records": [ + { + "real_estate_type": "Vacation property", + "real_estate_amount": "350000.47" + }, + { + "real_estate_type": "Single-family home", + "real_estate_amount": "450000.34" + } + ] +} \ No newline at end of file diff --git a/modules/debts_api/spec/fixtures/pre_submission_fsr/fsr_maximal_calculations_form.json b/modules/debts_api/spec/fixtures/pre_submission_fsr/fsr_maximal_calculations_form.json index 625273e8f27..82ccdcf36bf 100644 --- a/modules/debts_api/spec/fixtures/pre_submission_fsr/fsr_maximal_calculations_form.json +++ b/modules/debts_api/spec/fixtures/pre_submission_fsr/fsr_maximal_calculations_form.json @@ -1,1379 +1,1376 @@ { - "data": { - "view:enhancedFinancialStatusReport": true, - "otherExpenses": [ + "view:enhanced_financial_status_report": true, + "other_expenses": [ + { + "name": "Clothing", + "amount": "10" + }, + { + "name": "Food", + "amount": "1000.54" + }, + { + "name": "Veteran added", + "amount": "100" + } + ], + "view:components": { + "view:asset_info": {}, + "view:rec_vehicle_info": {}, + "view:vehicle_info": {}, + "view:marital_status": {}, + "view:veteran_info": {}, + "view:va_benefits_on_file": {} + }, + "expenses": { + "expense_records": [ { - "name": "Clothing", - "amount": "10" + "name": "Rent", + "amount": "1200.53" }, { - "name": "Food", - "amount": "1000.54" + "name": "Mortgage payment", + "amount": "800.00" }, { - "name": "Veteran added", - "amount": "100" + "name": "Property tax", + "amount": "85.25" + } + ] + }, + "assets": { + "real_estate_value": "800000.81", + "other_assets": [ + { + "name": "Gambling earning", + "amount": "16000.34" } ], - "view:components": { - "view:assetInfo": {}, - "view:recVehicleInfo": {}, - "view:vehicleInfo": {}, - "view:maritalStatus": {}, - "view:veteranInfo": {}, - "view:vaBenefitsOnFile": {} - }, - "expenses": { - "expenseRecords": [ + "rec_vehicle_amount": "15000.23", + "automobiles": [ + { + "make": "Dodge", + "model": "RAM", + "year": "2020", + "resale_value": "75000.45" + }, + { + "make": "Dodge", + "model": "Charger", + "year": "2020", + "resale_value": "40000.54" + } + ], + "monetary_assets": [ + { + "name": "Cash", + "amount": "10000.67" + }, + { + "name": "Checking accounts", + "amount": "1000.40" + }, + { + "name": "Savings accounts", + "amount": "2000.05" + }, + { + "name": "U.S. Savings Bonds", + "amount": "25000.65" + }, + { + "name": "Retirement accounts (401k, IRAs, 403b, TSP)", + "amount": "10000.04" + }, + { + "name": "Other stocks and bonds (not in your retirement accounts)", + "amount": "20000.10" + }, + { + "name": "Pension", + "amount": "15000.25" + }, + { + "name": "Cryptocurrency", + "amount": "5000.45" + } + ] + }, + "additional_income": { + "spouse": { + "sp_addl_income": [ { - "name": "Rent", - "amount": "1200.53" + "name": "Child support", + "amount": "800.54" }, { - "name": "Mortgage payment", - "amount": "800.00" + "name": "Alimony", + "amount": "1000.23" }, { - "name": "Property tax", - "amount": "85.25" + "name": "Social Security", + "amount": "1400.45" } ] }, - "assets": { - "realEstateValue": "800000.81", - "otherAssets": [ + "addl_inc_records": [ + { + "name": "Social Security", + "amount": "1200.65" + }, + { + "name": "Employment bonus", + "amount": "1500.67" + }, + { + "name": "Alimony", + "amount": "1000.43" + } + ] + }, + "social_security": { + "spouse": { + "social_sec_amt": "0" + }, + "social_sec_amt": "0" + }, + "benefits": { + "spouse_benefits": { + "compensation_and_pension": "1000.09", + "education": "500.46" + } + }, + "additional_data": { + "bankruptcy": { + "date_discharged": "2004-10-XX", + "court_location": "Tampa, FL", + "docket_number": "123456" + }, + "additional_comments": "Supporting personal statement..." + }, + "questions": { + "has_been_adjudicated_bankrupt": true, + "has_other_expenses": true, + "has_repayments": true, + "has_utilities": true, + "has_other_assets": true, + "has_recreational_vehicle": true, + "has_vehicle": true, + "has_real_estate": true, + "has_dependents": "2", + "spouse_has_additional_income": true, + "spouse_has_benefits": true, + "spouse_is_employed": true, + "is_married": true, + "has_additional_income": true, + "vet_is_employed": true + }, + "installment_contracts": [ + { + "purpose": "Credit card payments", + "creditor_name": "Creditor One", + "original_amount": "50000.54", + "unpaid_balance": "15000.56", + "amount_due_monthly": "800.10", + "date_started": "2017-03-XX", + "amount_past_due": "125.43" + }, + { + "purpose": "Car payment/lease", + "creditor_name": "Creditor Two", + "original_amount": "100000.43", + "unpaid_balance": "50000.26", + "amount_due_monthly": "1200.54", + "date_started": "2019-05-XX", + "amount_past_due": "0" + } + ], + "utility_records": [ + { + "name": "Electricity", + "amount": "350.45" + }, + { + "name": "Water", + "amount": "75.43" + }, + { + "name": "Cable", + "amount": "275.47" + } + ], + "personal_data": { + "dependents": [ + { + "dependent_age": "12" + }, + { + "dependent_age": "17" + } + ], + "employment_history": { + "spouse": { + "sp_employment_records": [ + { + "type": "Full time", + "from": "2018-6-XX", + "to": "", + "is_current": true, + "employer_name": "Spouse Current", + "gross_monthly_income": "5000.54", + "deductions": [ + { + "name": "Federal tax", + "amount": "350.56" + }, + { + "name": "State tax", + "amount": "230.45" + }, + { + "name": "Pension", + "amount": "100" + }, + { + "name": "Health insurance", + "amount": "254.45" + } + ] + }, + { + "type": "Full time", + "from": "2015-3-XX", + "to": "2018-6-XX", + "employer_name": "Spouse Previous", + "is_current": false + } + ] + }, + "veteran": { + "employment_records": [ + { + "type": "Full time", + "from": "2017-1-XX", + "to": "", + "is_current": true, + "employer_name": "Veteran Current One", + "gross_monthly_income": "5000.54", + "deductions": [ + { + "name": "Federal tax", + "amount": "350.56" + }, + { + "name": "State tax", + "amount": "230.45" + }, + { + "name": "Pension", + "amount": "100" + }, + { + "name": "Health insurance", + "amount": "254.45" + } + ] + }, + { + "type": "Part time", + "from": "2019-7-XX", + "to": "", + "is_current": true, + "employer_name": "Veteran Current Two", + "gross_monthly_income": "2000.56", + "deductions": [ + { + "name": "Federal tax", + "amount": "200.02" + }, + { + "name": "Allotment", + "amount": "134.56" + }, + { + "name": "FICA (Social Security and Medicare)", + "amount": "122.4" + } + ] + }, + { + "type": "Full time", + "from": "2021-01-XX", + "to": "2021-12-XX", + "is_current": false, + "employer_name": "I quit" + } + ] + } + }, + "spouse_full_name": { + "first": "Angela", + "last": "Mitchell" + }, + "address": { + "lives_on_military_base_info": {}, + "country": "USA", + "street": "123 Fake Street", + "city": "Tampa", + "state": "FL", + "postal_code": "33543" + }, + "telephone_number": "4445551212", + "email_address": "test2@test1.net", + "veteran_contact_information": { + "email": "test@user.com", + "address": { + "address_line1": "1200 Park Ave", + "address_line2": "c/o Pixar", + "address_line3": null, + "address_pou": "CORRESPONDENCE", + "address_type": "DOMESTIC", + "city": "Emeryville", + "country_name": "United States", + "country_code_iso2": "US", + "country_code_iso3": "USA", + "country_code_fips": null, + "county_code": null, + "county_name": null, + "created_at": "2020-05-30T03:57:20.000+00:00", + "effective_end_date": null, + "effective_start_date": "2020-07-10T20:10:45.000+00:00", + "id": 173917, + "international_postal_code": null, + "province": null, + "source_date": "2020-07-10T20:10:45.000+00:00", + "source_system_user": null, + "state_code": "CA", + "transaction_id": "7139aa82-fd06-45ea-a217-9654869924bd", + "updated_at": "2020-07-10T20:10:46.000+00:00", + "validation_key": null, + "vet360_id": "1273780", + "zip_code": "94608", + "zip_code_suffix": null + }, + "mobile_phone": { + "area_code": "510", + "country_code": "1", + "created_at": "2020-06-12T16:56:37.000+00:00", + "extension": "", + "effective_end_date": null, + "effective_start_date": "2020-07-14T19:07:45.000+00:00", + "id": 146766, + "is_international": false, + "is_textable": null, + "is_text_permitted": null, + "is_tty": null, + "is_voicemailable": null, + "phone_number": "9224444", + "phone_type": "HOME", + "source_date": "2020-07-14T19:07:45.000+00:00", + "source_system_user": null, + "transaction_id": "92c49d39-22b2-4bd6-92b4-0b7e7c63c6a9", + "updated_at": "2020-07-14T19:07:46.000+00:00", + "vet360_id": "1273780" + } + }, + "veteran_full_name": { + "first": "Greg", + "last": "Anderson", + "middle": "A" + }, + "date_of_birth": "1933-04-05" + }, + "personal_identification": { + "ssn": "1234", + "file_number": "5678" + }, + "selected_debts_and_copays": [ + { + "file_number": "796121200", + "payee_number": "00", + "person_entitled": "AJHONS", + "deduction_code": "30", + "benefit_type": "Comp & Pen", + "diary_code": "080", + "diary_code_description": "Referred to the Department of the Treasury", + "amount_overpaid": 0, + "amount_withheld": 0, + "original_ar": 136.24, + "current_ar": 100, + "debt_history": [ + { + "date": "02/25/2009", + "letter_code": "914", + "description": "Paid In Full - Account balance cleared via offset, not including TOP." + }, + { + "date": "02/07/2009", + "letter_code": "905", + "description": "Administrative Write Off" + }, { - "name": "Gambling earning", - "amount": "16000.34" + "date": "12/03/2008", + "letter_code": "487", + "description": "Death Case Pending Action" } ], - "recVehicleAmount": "15000.23", - "automobiles": [ + "id": 0, + "debt_type": "DEBT", + "resolution_option": "waiver", + "resolution_waiver_check": true + }, + { + "file_number": "796121200", + "payee_number": "00", + "person_entitled": "AJOHNS", + "deduction_code": "74", + "benefit_type": "CH33 Student Tuition EDU", + "diary_code": "117", + "diary_code_description": "Pending payment", + "amount_overpaid": 0, + "amount_withheld": 475, + "original_ar": 2210.9, + "current_ar": 1000, + "debt_history": [ + { + "date": "04/01/2017", + "letter_code": 608, + "description": "Full C&P Benefit Offset Notifi" + }, { - "make": "Dodge", - "model": "RAM", - "year": "2020", - "resaleValue": "75000.45" + "date": "11/18/2015", + "letter_code": 130, + "description": "Debt Increase - Due P" }, { - "make": "Dodge", - "model": "Charger", - "year": "2020", - "resaleValue": "40000.54" + "date": "04/08/2015", + "letter_code": 608, + "description": "Full C&P Benefit Offset Notifi" + }, + { + "date": "03/26/2015", + "letter_code": 100, + "description": "First Demand Letter - Inactive Benefits - Due Process" } ], - "monetaryAssets": [ + "id": 3, + "debt_type": "DEBT", + "resolution_option": "monthly", + "resolution_comment": "50.51" + }, + { + "id": "f4385298-08a6-42f8-a86f-50e97033fb85", + "p_s_seq_num": 506, + "p_s_tot_seq_num": 588, + "p_s_facility_num": "534", + "p_s_fac_phone_num": null, + "p_s_tot_statement": 27, + "p_s_statement_val": "0000018255H", + "p_s_statement_date": "11152019", + "p_s_statement_date_output": "11/15/2019", + "p_s_process_date": "11112019", + "p_s_process_date_output": "11/11/2019", + "p_h_patient_lst_nme": "JONES", + "p_h_patient_fst_nme": "TRAVIS", + "p_h_patient_mid_nme": "D", + "p_h_address1": "1885 SHORE DR S APT 327", + "p_h_address2": null, + "p_h_address3": null, + "p_h_city": "SAVANNAH", + "p_h_state": "FL", + "p_h_zip_cde": "314104413", + "p_h_zip_cde_output": "31410-4413", + "p_h_ctry_nme": null, + "p_h_amt_due": 15, + "p_h_amt_due_output": "15.00  ", + "p_h_prev_bal": 135, + "p_h_prev_bal_output": "135.00  ", + "p_h_tot_charges": 15, + "p_h_tot_charges_output": "15.00  ", + "p_h_tot_credits": -135, + "p_h_tot_credits_output": "135.00- ", + "p_h_new_balance": 15, + "p_h_new_balance_output": "15.00  ", + "p_h_special_notes": "To pay your statement online, go to www.pay.gov or call 1-888-827-4817.", + "p_hro_para_cdes": "304050556065708085", + "p_h_num_of_lines": 10, + "p_h_dfn_number": 346310, + "p_h_cerner_statement_number": 1005154223, + "p_h_cerner_patient_id": "1005154223", + "p_h_cerner_account_number": "1005154223", + "p_h_icn_number": "1012845638V677813", + "p_h_account_number": 0, + "p_h_large_font_indcator": 0, + "details": [ { - "name": "Cash", - "amount": "10000.67" + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" }, { - "name": "Checking accounts", - "amount": "1000.40" + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" }, { - "name": "Savings accounts", - "amount": "2000.05" + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" }, { - "name": "U.S. Savings Bonds", - "amount": "25000.65" + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" }, { - "name": "Retirement accounts (401k, IRAs, 403b, TSP)", - "amount": "10000.04" + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" }, { - "name": "Other stocks and bonds (not in your retirement accounts)", - "amount": "20000.10" + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" }, { - "name": "Pension", - "amount": "15000.25" + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" }, { - "name": "Cryptocurrency", - "amount": "5000.45" + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10152019", + "p_d_date_posted_output": "10/15/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC) VISIT DATE: 09/07/2018", + "p_d_trans_desc_output": "OUTPATIENT CARE VISIT DATE: 09/07/2018", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "534-K009FK8" } - ] - }, - "additionalIncome": { - "spouse": { - "spAddlIncome": [ - { - "name": "Child support", - "amount": "800.54" - }, - { - "name": "Alimony", - "amount": "1000.23" - }, - { - "name": "Social Security", - "amount": "1400.45" - } - ] + ], + "station": { + "facilit_y_num": "534", + "vis_n_num": "07", + "facilit_y_desc": "RALPH H. JOHNSON VA MEDICAL CENTER (534)", + "cycl_e_num": "012", + "remi_t_to_flag": "L", + "mai_l_insert_flag": "0", + "sta_t_address1": "ACCOUNTS RECEIVABLE (04AR)", + "sta_t_address2": "109 BEE ST", + "sta_t_address3": null, + "city": "CHARLESTON", + "state": "SC", + "zi_p_cde": "294015703", + "zi_p_cde_output": "29401-5703", + "ba_r_cde": "*294015703090*", + "te_l_num_flag": "P", + "te_l_num": "1-866-258-2772", + "te_l_num2": null, + "contac_t_info": null, + "d_m2_tel_num": null, + "contac_t_info2": null, + "to_p_tel_num": null, + "lb_x_fedex_address1": null, + "lb_x_fedex_address2": null, + "lb_x_fedex_address3": null, + "lb_x_fedex_city": null, + "lb_x_fedex_state": null, + "lb_x_fedex_zip_cde": null, + "lb_x_fedex_bar_cde": null, + "lb_x_fedex_contact": null, + "lb_x_fedex_contact_tel_num": null, + "facility_name": "Bob Stump Department of Veterans Affairs Medical Center" }, - "addlIncRecords": [ + "debt_type": "COPAY", + "resolution_option": "compromise", + "resolution_comment": "10.51" + }, + { + "id": "b381cc7b-ea3a-49dc-a982-7146416ed373", + "p_s_seq_num": 1162, + "p_s_tot_seq_num": 1, + "p_s_facility_num": "757", + "p_s_fac_phone_num": null, + "p_s_tot_statement": 11, + "p_s_statement_val": "0000040520F", + "p_s_statement_date": "06052021", + "p_s_statement_date_output": "06/05/2021", + "p_s_process_date": "06092021", + "p_s_process_date_output": "06/09/2021", + "p_h_patient_lst_nme": "JONES", + "p_h_patient_fst_nme": "TRAVIS", + "p_h_patient_mid_nme": "D", + "p_h_address1": "1885 SHORE DR S APT 327", + "p_h_address2": null, + "p_h_address3": null, + "p_h_city": "SOUTH PASADENA", + "p_h_state": "FL", + "p_h_zip_cde": "337074743", + "p_h_zip_cde_output": "33707-4743", + "p_h_ctry_nme": "US", + "p_h_amt_due": 46, + "p_h_amt_due_output": "46.00  ", + "p_h_prev_bal": 30, + "p_h_prev_bal_output": "30.00  ", + "p_h_tot_charges": 46, + "p_h_tot_charges_output": "46.00  ", + "p_h_tot_credits": -30, + "p_h_tot_credits_output": "30.00- ", + "p_h_new_balance": 46, + "p_h_new_balance_output": "46.00  ", + "p_h_special_notes": null, + "p_hro_para_cdes": "254050556065708085", + "p_h_num_of_lines": 7, + "p_h_dfn_number": 0, + "p_h_cerner_statement_number": 1005154223, + "p_h_cerner_patient_id": "1005154223", + "p_h_cerner_account_number": "1005154223", + "p_h_icn_number": "1012845638V677813", + "p_h_account_number": 0, + "p_h_large_font_indcator": 0, + "details": [ { - "name": "Social Security", - "amount": "1200.65" + "p_d_date_posted": "03092020", + "p_d_date_posted_output": "03/09/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC) VISIT DATE: 01/14/2020", + "p_d_trans_desc_output": "OUTPATIENT CARE VISIT DATE: 01/14/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K00R4FL" }, { - "name": "Employment bonus", - "amount": "1500.67" + "p_d_date_posted": "03092020", + "p_d_date_posted_output": "03/09/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "516-K00R4FL" }, { - "name": "Alimony", - "amount": "1000.43" + "p_d_date_posted": "03242020", + "p_d_date_posted_output": "03/24/2020", + "p_d_trans_desc": "COPAY RX:100020337B FD:01/23/2020", + "p_d_trans_desc_output": "COPAY RX#100020337B FILL DATE: 01/23/2020", + "p_d_trans_amt": 5, + "p_d_trans_amt_output": "5.00  ", + "p_d_ref_no": "516-K00RSNZ" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:LISINOPRIL 5MG TAB DAYS:30 QTY:30", + "p_d_trans_desc_output": "   DRUG:LISINOPRIL 5MG TAB DAYS:30 QTY:30", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "PHY:SANTOS,LOUISE CHG:$5.00", + "p_d_trans_desc_output": "   PHY:SANTOS,LOUISE CHG:$5.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "03242020", + "p_d_date_posted_output": "03/24/2020", + "p_d_trans_desc": "RX CO-PAYMENT/NSC VET", + "p_d_trans_desc_output": "PAYMENT POSTED ON 03/24/2020", + "p_d_trans_amt": -5, + "p_d_trans_amt_output": "5.00- ", + "p_d_ref_no": "516-K00RSNZ" + }, + { + "p_d_date_posted": "04032020", + "p_d_date_posted_output": "04/03/2020", + "p_d_trans_desc": "COPAY RX:100030241 FD:03/30/2020", + "p_d_trans_desc_output": "COPAY RX#100030241 FILL DATE: 03/30/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K00S829" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", + "p_d_trans_desc_output": "   DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_desc_output": "   PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "04272020", + "p_d_date_posted_output": "04/27/2020", + "p_d_trans_desc": "COPAY RX:100020336 FD:04/23/2020", + "p_d_trans_desc_output": "COPAY RX#100020336 FILL DATE: 04/23/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K00SZBK" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:AMLODIPINE BESYLATE 10MG TAB DAYS:90", + "p_d_trans_desc_output": "   DRUG:AMLODIPINE BESYLATE 10MG TAB DAYS:90", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "QTY:90 PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_desc_output": "   QTY:90 PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "04282020", + "p_d_date_posted_output": "04/28/2020", + "p_d_trans_desc": "COPAY RX:100011847 FD:04/23/2020", + "p_d_trans_desc_output": "COPAY RX#100011847 FILL DATE: 04/23/2020", + "p_d_trans_amt": 8, + "p_d_trans_amt_output": "8.00  ", + "p_d_ref_no": "516-K00SZBK" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:MICONAZOLE NITRATE 2% TOP TINCTURE DAYS:30", + "p_d_trans_desc_output": "   DRUG:MICONAZOLE NITRATE 2% TOP TINCTURE DAYS:30", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "QTY:60 PHY:GUTHRIE,BROOKE L CHG:$8.00", + "p_d_trans_desc_output": "   QTY:60 PHY:GUTHRIE,BROOKE L CHG:$8.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "05262020", + "p_d_date_posted_output": "05/26/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC) VISIT DATE: 04/15/2020", + "p_d_trans_desc_output": "OUTPATIENT CARE VISIT DATE: 04/15/2020", + "p_d_trans_amt": 50, + "p_d_trans_amt_output": "50.00  ", + "p_d_ref_no": "516-K00TXGK" + }, + { + "p_d_date_posted": "05262020", + "p_d_date_posted_output": "05/26/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -50, + "p_d_trans_amt_output": "50.00- ", + "p_d_ref_no": "516-K00TXGK" + }, + { + "p_d_date_posted": "06302020", + "p_d_date_posted_output": "06/30/2020", + "p_d_trans_desc": "COPAY RX:100030241 FD:06/30/2020", + "p_d_trans_desc_output": "COPAY RX#100030241 FILL DATE: 06/30/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K00UY3W" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", + "p_d_trans_desc_output": "   DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_desc_output": "   PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "07092020", + "p_d_date_posted_output": "07/09/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC) VISIT DATE: 06/08/2020", + "p_d_trans_desc_output": "OUTPATIENT CARE VISIT DATE: 06/08/2020", + "p_d_trans_amt": 50, + "p_d_trans_amt_output": "50.00  ", + "p_d_ref_no": "516-K00V8T8" + }, + { + "p_d_date_posted": "07092020", + "p_d_date_posted_output": "07/09/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -50, + "p_d_trans_amt_output": "50.00- ", + "p_d_ref_no": "516-K00V8T8" + }, + { + "p_d_date_posted": "07092020", + "p_d_date_posted_output": "07/09/2020", + "p_d_trans_desc": "COMMENT: K00ULWR PD $50.00 DOS 060820", + "p_d_trans_desc_output": "   COMMENT: K00ULWR PD $50.00 DOS 060820", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": "516-K00V8T8" + }, + { + "p_d_date_posted": "08132020", + "p_d_date_posted_output": "08/13/2020", + "p_d_trans_desc": "COPAY RX:100020336 FD:08/11/2020", + "p_d_trans_desc_output": "COPAY RX#100020336 FILL DATE: 08/11/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K00WDZQ" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:AMLODIPINE BESYLATE 10MG TAB DAYS:90", + "p_d_trans_desc_output": "   DRUG:AMLODIPINE BESYLATE 10MG TAB DAYS:90", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "QTY:90 PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_desc_output": "   QTY:90 PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "09222020", + "p_d_date_posted_output": "09/22/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC) VISIT DATE: 08/20/2020", + "p_d_trans_desc_output": "OUTPATIENT CARE VISIT DATE: 08/20/2020", + "p_d_trans_amt": 50, + "p_d_trans_amt_output": "50.00  ", + "p_d_ref_no": "516-K00XUY2" + }, + { + "p_d_date_posted": "09222020", + "p_d_date_posted_output": "09/22/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -50, + "p_d_trans_amt_output": "50.00- ", + "p_d_ref_no": "516-K00XUY2" + }, + { + "p_d_date_posted": "09222020", + "p_d_date_posted_output": "09/22/2020", + "p_d_trans_desc": "COMMENT: K00X41A PD $50.00 DOS 082020", + "p_d_trans_desc_output": "   COMMENT: K00X41A PD $50.00 DOS 082020", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": "516-K00XUY2" + }, + { + "p_d_date_posted": "10072020", + "p_d_date_posted_output": "10/07/2020", + "p_d_trans_desc": "COPAY RX:100030241 FD:10/05/2020", + "p_d_trans_desc_output": "COPAY RX#100030241 FILL DATE: 10/05/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K10J56V" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", + "p_d_trans_desc_output": "   DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_desc_output": "   PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "10292020", + "p_d_date_posted_output": "10/29/2020", + "p_d_trans_desc": "COPAY RX:100045030 FD:10/27/2020", + "p_d_trans_desc_output": "COPAY RX#100045030 FILL DATE: 10/27/2020", + "p_d_trans_amt": 24, + "p_d_trans_amt_output": "24.00  ", + "p_d_ref_no": "516-K10J56V" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:NIACIN (SLO-NIACIN) 250MG TAB,SA DAYS:90", + "p_d_trans_desc_output": "   DRUG:NIACIN (SLO-NIACIN) 250MG TAB,SA DAYS:90", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "QTY:90 PHY:VELAZQUEZ SANCHEZ,VANESSA", + "p_d_trans_desc_output": "   QTY:90 PHY:VELAZQUEZ SANCHEZ,VANESSA", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "CHG:$24.00", + "p_d_trans_desc_output": "   CHG:$24.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "10292020", + "p_d_date_posted_output": "10/29/2020", + "p_d_trans_desc": "COPAY RX:100045028 FD:10/27/2020", + "p_d_trans_desc_output": "COPAY RX#100045028 FILL DATE: 10/27/2020", + "p_d_trans_amt": 8, + "p_d_trans_amt_output": "8.00  ", + "p_d_ref_no": "516-K10J56V" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:CARBAMIDE PEROXIDE 6.5% OTIC SOLN DAYS:14", + "p_d_trans_desc_output": "   DRUG:CARBAMIDE PEROXIDE 6.5% OTIC SOLN DAYS:14", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "QTY:45 PHY:VELAZQUEZ SANCHEZ,VANESSA CHG:$8.00", + "p_d_trans_desc_output": "   QTY:45 PHY:VELAZQUEZ SANCHEZ,VANESSA CHG:$8.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "10292020", + "p_d_date_posted_output": "10/29/2020", + "p_d_trans_desc": "COPAY RX:100045029 FD:10/27/2020", + "p_d_trans_desc_output": "COPAY RX#100045029 FILL DATE: 10/27/2020", + "p_d_trans_amt": 8, + "p_d_trans_amt_output": "8.00  ", + "p_d_ref_no": "516-K10J56V" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:MICONAZOLE NITRATE 2% TOP TINCTURE DAYS:30", + "p_d_trans_desc_output": "   DRUG:MICONAZOLE NITRATE 2% TOP TINCTURE DAYS:30", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "QTY:90 PHY:VELAZQUEZ SANCHEZ,VANESSA CHG:$8.00", + "p_d_trans_desc_output": "   QTY:90 PHY:VELAZQUEZ SANCHEZ,VANESSA CHG:$8.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "11192020", + "p_d_date_posted_output": "11/19/2020", + "p_d_trans_desc": "PAYMENT (Int:0.12 Adm:1.64)", + "p_d_trans_desc_output": "PAYMENT POSTED ON 11/19/2020", + "p_d_trans_amt": -16.76, + "p_d_trans_amt_output": "16.76- ", + "p_d_ref_no": "516-K00JZPJ" + }, + { + "p_d_date_posted": "11192020", + "p_d_date_posted_output": "11/19/2020", + "p_d_trans_desc": "PAYMENT (Int:0.26 Adm:0.00)", + "p_d_trans_desc_output": "PAYMENT POSTED ON 11/19/2020", + "p_d_trans_amt": -15.26, + "p_d_trans_amt_output": "15.26- ", + "p_d_ref_no": "516-K00N8XA" + }, + { + "p_d_date_posted": "11192020", + "p_d_date_posted_output": "11/19/2020", + "p_d_trans_desc": "PAYMENT", + "p_d_trans_desc_output": "PAYMENT POSTED ON 11/19/2020", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "516-K00QKJJ" + }, + { + "p_d_date_posted": "11192020", + "p_d_date_posted_output": "11/19/2020", + "p_d_trans_desc": "PAYMENT", + "p_d_trans_desc_output": "PAYMENT POSTED ON 11/19/2020", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "516-K00S829" + }, + { + "p_d_date_posted": "11192020", + "p_d_date_posted_output": "11/19/2020", + "p_d_trans_desc": "PAYMENT", + "p_d_trans_desc_output": "PAYMENT POSTED ON 11/19/2020", + "p_d_trans_amt": -23, + "p_d_trans_amt_output": "23.00- ", + "p_d_ref_no": "516-K00SZBK" + }, + { + "p_d_date_posted": "11192020", + "p_d_date_posted_output": "11/19/2020", + "p_d_trans_desc": "PAYMENT", + "p_d_trans_desc_output": "PAYMENT POSTED ON 11/19/2020", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "516-K00UY3W" + }, + { + "p_d_date_posted": "11192020", + "p_d_date_posted_output": "11/19/2020", + "p_d_trans_desc": "PAYMENT", + "p_d_trans_desc_output": "PAYMENT POSTED ON 11/19/2020", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "516-K00WDZQ" + }, + { + "p_d_date_posted": "11192020", + "p_d_date_posted_output": "11/19/2020", + "p_d_trans_desc": "PAYMENT", + "p_d_trans_desc_output": "PAYMENT POSTED ON 11/19/2020", + "p_d_trans_amt": -55, + "p_d_trans_amt_output": "55.00- ", + "p_d_ref_no": "516-K10J56V" + }, + { + "p_d_date_posted": "11232020", + "p_d_date_posted_output": "11/23/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC) VISIT DATE: 10/27/2020", + "p_d_trans_desc_output": "OUTPATIENT CARE VISIT DATE: 10/27/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K10LD3I" + }, + { + "p_d_date_posted": "11232020", + "p_d_date_posted_output": "11/23/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "516-K10LD3I" + }, + { + "p_d_date_posted": "11232020", + "p_d_date_posted_output": "11/23/2020", + "p_d_trans_desc": "COMMENT: K10KM1P PD $15.00 DOS:10/27/20", + "p_d_trans_desc_output": "   COMMENT: K10KM1P PD $15.00 DOS:10/27/20", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": "516-K10LD3I" + }, + { + "p_d_date_posted": "12012020", + "p_d_date_posted_output": "12/01/2020", + "p_d_trans_desc": "COPAY RX:100046632 FD:11/18/2020", + "p_d_trans_desc_output": "COPAY RX#100046632 FILL DATE: 11/18/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K10LT59" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:AMLODIPINE BESYLATE 10MG TAB DAYS:90", + "p_d_trans_desc_output": "   DRUG:AMLODIPINE BESYLATE 10MG TAB DAYS:90", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "QTY:90 PHY:VELAZQUEZ SANCHEZ,VANESSA", + "p_d_trans_desc_output": "   QTY:90 PHY:VELAZQUEZ SANCHEZ,VANESSA", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "CHG:$15.00", + "p_d_trans_desc_output": "   CHG:$15.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "12162020", + "p_d_date_posted_output": "12/16/2020", + "p_d_trans_desc": "COPAY RX:100030241A FD:12/12/2020", + "p_d_trans_desc_output": "COPAY RX#100030241A FILL DATE: 12/12/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K10MUDV" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", + "p_d_trans_desc_output": "   DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "PHY:VELAZQUEZ SANCHEZ,VANESSA CHG:$15.00", + "p_d_trans_desc_output": "   PHY:VELAZQUEZ SANCHEZ,VANESSA CHG:$15.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "12212020", + "p_d_date_posted_output": "12/21/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC) VISIT DATE: 11/13/2020", + "p_d_trans_desc_output": "OUTPATIENT CARE VISIT DATE: 11/13/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K10N4AR" + }, + { + "p_d_date_posted": "12212020", + "p_d_date_posted_output": "12/21/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "516-K10N4AR" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "INTEREST/ADM. CHARGE (Int:0.32 Adm:1.64 Other:0.00", + "p_d_trans_desc_output": "INTEREST/ADM. CHARGE (Int:0.32 Adm:1.64 Other:0.00", + "p_d_trans_amt": 1.96, + "p_d_trans_amt_output": "1.96  ", + "p_d_ref_no": null } - ] - }, - "socialSecurity": { - "spouse": { - "socialSecAmt": "0" - }, - "socialSecAmt": "0" - }, - "benefits": { - "spouseBenefits": { - "compensationAndPension": "1000.09", - "education": "500.46" - } - }, - "additionalData": { - "bankruptcy": { - "dateDischarged": "2004-10-XX", - "courtLocation": "Tampa, FL", - "docketNumber": "123456" - }, - "additionalComments": "Supporting personal statement..." - }, - "questions": { - "hasBeenAdjudicatedBankrupt": true, - "hasOtherExpenses": true, - "hasRepayments": true, - "hasUtilities": true, - "hasOtherAssets": true, - "hasRecreationalVehicle": true, - "hasVehicle": true, - "hasRealEstate": true, - "hasDependents": "2", - "spouseHasAdditionalIncome": true, - "spouseHasBenefits": true, - "spouseIsEmployed": true, - "isMarried": true, - "hasAdditionalIncome": true, - "vetIsEmployed": true - }, - "installmentContracts": [ - { - "purpose": "Credit card payments", - "creditorName": "Creditor One", - "originalAmount": "50000.54", - "unpaidBalance": "15000.56", - "amountDueMonthly": "800.10", - "dateStarted": "2017-03-XX", - "amountPastDue": "125.43" - }, - { - "purpose": "Car payment/lease", - "creditorName": "Creditor Two", - "originalAmount": "100000.43", - "unpaidBalance": "50000.26", - "amountDueMonthly": "1200.54", - "dateStarted": "2019-05-XX", - "amountPastDue": "0" - } - ], - "utilityRecords": [ - { - "name": "Electricity", - "amount": "350.45" - }, - { - "name": "Water", - "amount": "75.43" + ], + "station": { + "facilit_y_num": "649", + "vis_n_num": "22", + "facilit_y_desc": "PRESCOTT VA MEDICAL CENTER (649)", + "cycl_e_num": "016", + "remi_t_to_flag": "L", + "mai_l_insert_flag": "0", + "sta_t_address1": "500 N US HIGHWAY 89", + "sta_t_address2": "AGENT CASHIER (04C)", + "sta_t_address3": null, + "city": "PRESCOTT", + "state": "AZ", + "zi_p_cde": "863135001", + "zi_p_cde_output": "86313-5001", + "ba_r_cde": "*863135001003*", + "te_l_num_flag": "S", + "te_l_num": "1-866-802-6819", + "te_l_num2": null, + "contac_t_info": null, + "d_m2_tel_num": null, + "contac_t_info2": null, + "to_p_tel_num": null, + "lb_x_fedex_address1": null, + "lb_x_fedex_address2": null, + "lb_x_fedex_address3": null, + "lb_x_fedex_city": null, + "lb_x_fedex_state": null, + "lb_x_fedex_zip_cde": null, + "lb_x_fedex_bar_cde": null, + "lb_x_fedex_contact": null, + "lb_x_fedex_contact_tel_num": null, + "facility_name": "Ralph H. Johnson Department of Veterans Affairs Medical Center" }, + "debt_type": "COPAY", + "resolution_option": "waiver", + "resolution_waiver_check": true + } + ], + "debt": { + "current_ar": 0, + "debt_history": [ { - "name": "Cable", - "amount": "275.47" + "date": "" } ], - "personalData": { - "dependents": [ + "deduction_code": "", + "original_ar": 0 + }, + "curr_employment": [ + { + "veteran_gross_salary": "0", + "deductions": [ + { + "name": "Federal tax", + "amount": "0" + }, + { + "name": "State tax", + "amount": "0" + }, { - "dependentAge": "12" + "name": "Pension", + "amount": "0" }, { - "dependentAge": "17" + "name": "Health insurance", + "amount": "0" } ], - "employmentHistory": { - "spouse": { - "spEmploymentRecords": [ - { - "type": "Full time", - "from": "2018-6-XX", - "to": "", - "isCurrent": true, - "employerName": "Spouse Current", - "grossMonthlyIncome": "5000.54", - "deductions": [ - { - "name": "Federal tax", - "amount": "350.56" - }, - { - "name": "State tax", - "amount": "230.45" - }, - { - "name": "Pension", - "amount": "100" - }, - { - "name": "Health insurance", - "amount": "254.45" - } - ] - }, - { - "type": "Full time", - "from": "2015-3-XX", - "to": "2018-6-XX", - "employerName": "Spouse Previous", - "isCurrent": false - } - ] - }, - "veteran": { - "employmentRecords": [ - { - "type": "Full time", - "from": "2017-1-XX", - "to": "", - "isCurrent": true, - "employerName": "Veteran Current One", - "grossMonthlyIncome": "5000.54", - "deductions": [ - { - "name": "Federal tax", - "amount": "350.56" - }, - { - "name": "State tax", - "amount": "230.45" - }, - { - "name": "Pension", - "amount": "100" - }, - { - "name": "Health insurance", - "amount": "254.45" - } - ] - }, - { - "type": "Part time", - "from": "2019-7-XX", - "to": "", - "isCurrent": true, - "employerName": "Veteran Current Two", - "grossMonthlyIncome": "2000.56", - "deductions": [ - { - "name": "Federal tax", - "amount": "200.02" - }, - { - "name": "Allotment", - "amount": "134.56" - }, - { - "name": "FICA (Social Security and Medicare)", - "amount": "122.4" - } - ] - }, - { - "type": "Full time", - "from": "2021-01-XX", - "to": "2021-12-XX", - "isCurrent": false, - "employerName": "I quit" - } - ] - } - }, - "spouseFullName": { - "first": "Angela", - "last": "Mitchell" - }, - "address": { - "livesOnMilitaryBaseInfo": {}, - "country": "USA", - "street": "123 Fake Street", - "city": "Tampa", - "state": "FL", - "postalCode": "33543" - }, - "telephoneNumber": "4445551212", - "emailAddress": "test2@test1.net", - "veteranContactInformation": { - "email": "test@user.com", - "address": { - "addressLine1": "1200 Park Ave", - "addressLine2": "c/o Pixar", - "addressLine3": null, - "addressPou": "CORRESPONDENCE", - "addressType": "DOMESTIC", - "city": "Emeryville", - "countryName": "United States", - "countryCodeIso2": "US", - "countryCodeIso3": "USA", - "countryCodeFips": null, - "countyCode": null, - "countyName": null, - "createdAt": "2020-05-30T03:57:20.000+00:00", - "effectiveEndDate": null, - "effectiveStartDate": "2020-07-10T20:10:45.000+00:00", - "id": 173917, - "internationalPostalCode": null, - "province": null, - "sourceDate": "2020-07-10T20:10:45.000+00:00", - "sourceSystemUser": null, - "stateCode": "CA", - "transactionId": "7139aa82-fd06-45ea-a217-9654869924bd", - "updatedAt": "2020-07-10T20:10:46.000+00:00", - "validationKey": null, - "vet360Id": "1273780", - "zipCode": "94608", - "zipCodeSuffix": null - }, - "mobilePhone": { - "areaCode": "510", - "countryCode": "1", - "createdAt": "2020-06-12T16:56:37.000+00:00", - "extension": "", - "effectiveEndDate": null, - "effectiveStartDate": "2020-07-14T19:07:45.000+00:00", - "id": 146766, - "isInternational": false, - "isTextable": null, - "isTextPermitted": null, - "isTty": null, - "isVoicemailable": null, - "phoneNumber": "9224444", - "phoneType": "HOME", - "sourceDate": "2020-07-14T19:07:45.000+00:00", - "sourceSystemUser": null, - "transactionId": "92c49d39-22b2-4bd6-92b4-0b7e7c63c6a9", - "updatedAt": "2020-07-14T19:07:46.000+00:00", - "vet360Id": "1273780" - } - }, - "veteranFullName": { - "first": "Greg", - "last": "Anderson", - "middle": "A" - }, - "dateOfBirth": "1933-04-05" + "type": "Full time", + "from": "2017-1-XX", + "to": "", + "is_current": true, + "employer_name": "Veteran Current One" }, - "personalIdentification": { - "ssn": "1234", - "fileNumber": "5678" - }, - "selectedDebtsAndCopays": [ - { - "fileNumber": "796121200", - "payeeNumber": "00", - "personEntitled": "AJHONS", - "deductionCode": "30", - "benefitType": "Comp & Pen", - "diaryCode": "080", - "diaryCodeDescription": "Referred to the Department of the Treasury", - "amountOverpaid": 0, - "amountWithheld": 0, - "originalAr": 136.24, - "currentAr": 100, - "debtHistory": [ - { - "date": "02/25/2009", - "letterCode": "914", - "description": "Paid In Full - Account balance cleared via offset, not including TOP." - }, - { - "date": "02/07/2009", - "letterCode": "905", - "description": "Administrative Write Off" - }, - { - "date": "12/03/2008", - "letterCode": "487", - "description": "Death Case Pending Action" - } - ], - "id": 0, - "debtType": "DEBT", - "resolutionOption": "waiver", - "resolutionWaiverCheck": true - }, - { - "fileNumber": "796121200", - "payeeNumber": "00", - "personEntitled": "AJOHNS", - "deductionCode": "74", - "benefitType": "CH33 Student Tuition EDU", - "diaryCode": "117", - "diaryCodeDescription": "Pending payment", - "amountOverpaid": 0, - "amountWithheld": 475, - "originalAr": 2210.9, - "currentAr": 1000, - "debtHistory": [ - { - "date": "04/01/2017", - "letterCode": 608, - "description": "Full C&P Benefit Offset Notifi" - }, - { - "date": "11/18/2015", - "letterCode": 130, - "description": "Debt Increase - Due P" - }, - { - "date": "04/08/2015", - "letterCode": 608, - "description": "Full C&P Benefit Offset Notifi" - }, - { - "date": "03/26/2015", - "letterCode": 100, - "description": "First Demand Letter - Inactive Benefits - Due Process" - } - ], - "id": 3, - "debtType": "DEBT", - "resolutionOption": "monthly", - "resolutionComment": "50.51" - }, - { - "id": "f4385298-08a6-42f8-a86f-50e97033fb85", - "pSSeqNum": 506, - "pSTotSeqNum": 588, - "pSFacilityNum": "534", - "pSFacPhoneNum": null, - "pSTotStatement": 27, - "pSStatementVal": "0000018255H", - "pSStatementDate": "11152019", - "pSStatementDateOutput": "11/15/2019", - "pSProcessDate": "11112019", - "pSProcessDateOutput": "11/11/2019", - "pHPatientLstNme": "JONES", - "pHPatientFstNme": "TRAVIS", - "pHPatientMidNme": "D", - "pHAddress1": "1885 SHORE DR S APT 327", - "pHAddress2": null, - "pHAddress3": null, - "pHCity": "SAVANNAH", - "pHState": "FL", - "pHZipCde": "314104413", - "pHZipCdeOutput": "31410-4413", - "pHCtryNme": null, - "pHAmtDue": 15, - "pHAmtDueOutput": "15.00  ", - "pHPrevBal": 135, - "pHPrevBalOutput": "135.00  ", - "pHTotCharges": 15, - "pHTotChargesOutput": "15.00  ", - "pHTotCredits": -135, - "pHTotCreditsOutput": "135.00- ", - "pHNewBalance": 15, - "pHNewBalanceOutput": "15.00  ", - "pHSpecialNotes": "To pay your statement online, go to www.pay.gov or call 1-888-827-4817.", - "pHroParaCdes": "304050556065708085", - "pHNumOfLines": 10, - "pHDfnNumber": 346310, - "pHCernerStatementNumber": 1005154223, - "pHCernerPatientId": "1005154223", - "pHCernerAccountNumber": "1005154223", - "pHIcnNumber": "1012845638V677813", - "pHAccountNumber": 0, - "pHLargeFontIndcator": 0, - "details": [ - { - "pDDatePosted": "10072019", - "pDDatePostedOutput": "10/07/2019", - "pDTransDesc": "OUTPATIENT CARE(NSC)", - "pDTransDescOutput": "OUTPATIENT CARE", - "pDTransAmt": -15, - "pDTransAmtOutput": "15.00- ", - "pDRefNo": "534-K90HEWN" - }, - { - "pDDatePosted": "10072019", - "pDDatePostedOutput": "10/07/2019", - "pDTransDesc": "OUTPATIENT CARE(NSC)", - "pDTransDescOutput": "OUTPATIENT CARE", - "pDTransAmt": -15, - "pDTransAmtOutput": "15.00- ", - "pDRefNo": "534-K90HEWN" - }, - { - "pDDatePosted": "10072019", - "pDDatePostedOutput": "10/07/2019", - "pDTransDesc": "OUTPATIENT CARE(NSC)", - "pDTransDescOutput": "OUTPATIENT CARE", - "pDTransAmt": -15, - "pDTransAmtOutput": "15.00- ", - "pDRefNo": "534-K90HEWN" - }, - { - "pDDatePosted": "10072019", - "pDDatePostedOutput": "10/07/2019", - "pDTransDesc": "OUTPATIENT CARE(NSC)", - "pDTransDescOutput": "OUTPATIENT CARE", - "pDTransAmt": -15, - "pDTransAmtOutput": "15.00- ", - "pDRefNo": "534-K90HEWN" - }, - { - "pDDatePosted": "10072019", - "pDDatePostedOutput": "10/07/2019", - "pDTransDesc": "OUTPATIENT CARE(NSC)", - "pDTransDescOutput": "OUTPATIENT CARE", - "pDTransAmt": -15, - "pDTransAmtOutput": "15.00- ", - "pDRefNo": "534-K90HEWN" - }, - { - "pDDatePosted": "10072019", - "pDDatePostedOutput": "10/07/2019", - "pDTransDesc": "OUTPATIENT CARE(NSC)", - "pDTransDescOutput": "OUTPATIENT CARE", - "pDTransAmt": -15, - "pDTransAmtOutput": "15.00- ", - "pDRefNo": "534-K90HEWN" - }, - { - "pDDatePosted": "10072019", - "pDDatePostedOutput": "10/07/2019", - "pDTransDesc": "OUTPATIENT CARE(NSC)", - "pDTransDescOutput": "OUTPATIENT CARE", - "pDTransAmt": -15, - "pDTransAmtOutput": "15.00- ", - "pDRefNo": "534-K90HEWN" - }, - { - "pDDatePosted": "10072019", - "pDDatePostedOutput": "10/07/2019", - "pDTransDesc": "OUTPATIENT CARE(NSC)", - "pDTransDescOutput": "OUTPATIENT CARE", - "pDTransAmt": -15, - "pDTransAmtOutput": "15.00- ", - "pDRefNo": "534-K90HEWN" - }, - { - "pDDatePosted": "10072019", - "pDDatePostedOutput": "10/07/2019", - "pDTransDesc": "OUTPATIENT CARE(NSC)", - "pDTransDescOutput": "OUTPATIENT CARE", - "pDTransAmt": -15, - "pDTransAmtOutput": "15.00- ", - "pDRefNo": "534-K90HEWN" - }, - { - "pDDatePosted": "10152019", - "pDDatePostedOutput": "10/15/2019", - "pDTransDesc": "OUTPATIENT CARE(NSC) VISIT DATE: 09/07/2018", - "pDTransDescOutput": "OUTPATIENT CARE VISIT DATE: 09/07/2018", - "pDTransAmt": 15, - "pDTransAmtOutput": "15.00  ", - "pDRefNo": "534-K009FK8" - } - ], - "station": { - "facilitYNum": "534", - "visNNum": "07", - "facilitYDesc": "RALPH H. JOHNSON VA MEDICAL CENTER (534)", - "cyclENum": "012", - "remiTToFlag": "L", - "maiLInsertFlag": "0", - "staTAddress1": "ACCOUNTS RECEIVABLE (04AR)", - "staTAddress2": "109 BEE ST", - "staTAddress3": null, - "city": "CHARLESTON", - "state": "SC", - "ziPCde": "294015703", - "ziPCdeOutput": "29401-5703", - "baRCde": "*294015703090*", - "teLNumFlag": "P", - "teLNum": "1-866-258-2772", - "teLNum2": null, - "contacTInfo": null, - "dM2TelNum": null, - "contacTInfo2": null, - "toPTelNum": null, - "lbXFedexAddress1": null, - "lbXFedexAddress2": null, - "lbXFedexAddress3": null, - "lbXFedexCity": null, - "lbXFedexState": null, - "lbXFedexZipCde": null, - "lbXFedexBarCde": null, - "lbXFedexContact": null, - "lbXFedexContactTelNum": null, - "facilityName": "Bob Stump Department of Veterans Affairs Medical Center" - }, - "debtType": "COPAY", - "resolutionOption": "compromise", - "resolutionComment": "10.51" - }, - { - "id": "b381cc7b-ea3a-49dc-a982-7146416ed373", - "pSSeqNum": 1162, - "pSTotSeqNum": 1, - "pSFacilityNum": "757", - "pSFacPhoneNum": null, - "pSTotStatement": 11, - "pSStatementVal": "0000040520F", - "pSStatementDate": "06052021", - "pSStatementDateOutput": "06/05/2021", - "pSProcessDate": "06092021", - "pSProcessDateOutput": "06/09/2021", - "pHPatientLstNme": "JONES", - "pHPatientFstNme": "TRAVIS", - "pHPatientMidNme": "D", - "pHAddress1": "1885 SHORE DR S APT 327", - "pHAddress2": null, - "pHAddress3": null, - "pHCity": "SOUTH PASADENA", - "pHState": "FL", - "pHZipCde": "337074743", - "pHZipCdeOutput": "33707-4743", - "pHCtryNme": "US", - "pHAmtDue": 46, - "pHAmtDueOutput": "46.00  ", - "pHPrevBal": 30, - "pHPrevBalOutput": "30.00  ", - "pHTotCharges": 46, - "pHTotChargesOutput": "46.00  ", - "pHTotCredits": -30, - "pHTotCreditsOutput": "30.00- ", - "pHNewBalance": 46, - "pHNewBalanceOutput": "46.00  ", - "pHSpecialNotes": null, - "pHroParaCdes": "254050556065708085", - "pHNumOfLines": 7, - "pHDfnNumber": 0, - "pHCernerStatementNumber": 1005154223, - "pHCernerPatientId": "1005154223", - "pHCernerAccountNumber": "1005154223", - "pHIcnNumber": "1012845638V677813", - "pHAccountNumber": 0, - "pHLargeFontIndcator": 0, - "details": [ - { - "pDDatePosted": "03092020", - "pDDatePostedOutput": "03/09/2020", - "pDTransDesc": "OUTPATIENT CARE(NSC) VISIT DATE: 01/14/2020", - "pDTransDescOutput": "OUTPATIENT CARE VISIT DATE: 01/14/2020", - "pDTransAmt": 15, - "pDTransAmtOutput": "15.00  ", - "pDRefNo": "516-K00R4FL" - }, - { - "pDDatePosted": "03092020", - "pDDatePostedOutput": "03/09/2020", - "pDTransDesc": "OUTPATIENT CARE(NSC)", - "pDTransDescOutput": "OUTPATIENT CARE", - "pDTransAmt": -15, - "pDTransAmtOutput": "15.00- ", - "pDRefNo": "516-K00R4FL" - }, - { - "pDDatePosted": "03242020", - "pDDatePostedOutput": "03/24/2020", - "pDTransDesc": "COPAY RX:100020337B FD:01/23/2020", - "pDTransDescOutput": "COPAY RX#100020337B FILL DATE: 01/23/2020", - "pDTransAmt": 5, - "pDTransAmtOutput": "5.00  ", - "pDRefNo": "516-K00RSNZ" - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "DRUG:LISINOPRIL 5MG TAB DAYS:30 QTY:30", - "pDTransDescOutput": "   DRUG:LISINOPRIL 5MG TAB DAYS:30 QTY:30", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "PHY:SANTOS,LOUISE CHG:$5.00", - "pDTransDescOutput": "   PHY:SANTOS,LOUISE CHG:$5.00", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": "03242020", - "pDDatePostedOutput": "03/24/2020", - "pDTransDesc": "RX CO-PAYMENT/NSC VET", - "pDTransDescOutput": "PAYMENT POSTED ON 03/24/2020", - "pDTransAmt": -5, - "pDTransAmtOutput": "5.00- ", - "pDRefNo": "516-K00RSNZ" - }, - { - "pDDatePosted": "04032020", - "pDDatePostedOutput": "04/03/2020", - "pDTransDesc": "COPAY RX:100030241 FD:03/30/2020", - "pDTransDescOutput": "COPAY RX#100030241 FILL DATE: 03/30/2020", - "pDTransAmt": 15, - "pDTransAmtOutput": "15.00  ", - "pDRefNo": "516-K00S829" - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", - "pDTransDescOutput": "   DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "PHY:GUTHRIE,BROOKE L CHG:$15.00", - "pDTransDescOutput": "   PHY:GUTHRIE,BROOKE L CHG:$15.00", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": "04272020", - "pDDatePostedOutput": "04/27/2020", - "pDTransDesc": "COPAY RX:100020336 FD:04/23/2020", - "pDTransDescOutput": "COPAY RX#100020336 FILL DATE: 04/23/2020", - "pDTransAmt": 15, - "pDTransAmtOutput": "15.00  ", - "pDRefNo": "516-K00SZBK" - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "DRUG:AMLODIPINE BESYLATE 10MG TAB DAYS:90", - "pDTransDescOutput": "   DRUG:AMLODIPINE BESYLATE 10MG TAB DAYS:90", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "QTY:90 PHY:GUTHRIE,BROOKE L CHG:$15.00", - "pDTransDescOutput": "   QTY:90 PHY:GUTHRIE,BROOKE L CHG:$15.00", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": "04282020", - "pDDatePostedOutput": "04/28/2020", - "pDTransDesc": "COPAY RX:100011847 FD:04/23/2020", - "pDTransDescOutput": "COPAY RX#100011847 FILL DATE: 04/23/2020", - "pDTransAmt": 8, - "pDTransAmtOutput": "8.00  ", - "pDRefNo": "516-K00SZBK" - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "DRUG:MICONAZOLE NITRATE 2% TOP TINCTURE DAYS:30", - "pDTransDescOutput": "   DRUG:MICONAZOLE NITRATE 2% TOP TINCTURE DAYS:30", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "QTY:60 PHY:GUTHRIE,BROOKE L CHG:$8.00", - "pDTransDescOutput": "   QTY:60 PHY:GUTHRIE,BROOKE L CHG:$8.00", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": "05262020", - "pDDatePostedOutput": "05/26/2020", - "pDTransDesc": "OUTPATIENT CARE(NSC) VISIT DATE: 04/15/2020", - "pDTransDescOutput": "OUTPATIENT CARE VISIT DATE: 04/15/2020", - "pDTransAmt": 50, - "pDTransAmtOutput": "50.00  ", - "pDRefNo": "516-K00TXGK" - }, - { - "pDDatePosted": "05262020", - "pDDatePostedOutput": "05/26/2020", - "pDTransDesc": "OUTPATIENT CARE(NSC)", - "pDTransDescOutput": "OUTPATIENT CARE", - "pDTransAmt": -50, - "pDTransAmtOutput": "50.00- ", - "pDRefNo": "516-K00TXGK" - }, - { - "pDDatePosted": "06302020", - "pDDatePostedOutput": "06/30/2020", - "pDTransDesc": "COPAY RX:100030241 FD:06/30/2020", - "pDTransDescOutput": "COPAY RX#100030241 FILL DATE: 06/30/2020", - "pDTransAmt": 15, - "pDTransAmtOutput": "15.00  ", - "pDRefNo": "516-K00UY3W" - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", - "pDTransDescOutput": "   DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "PHY:GUTHRIE,BROOKE L CHG:$15.00", - "pDTransDescOutput": "   PHY:GUTHRIE,BROOKE L CHG:$15.00", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": "07092020", - "pDDatePostedOutput": "07/09/2020", - "pDTransDesc": "OUTPATIENT CARE(NSC) VISIT DATE: 06/08/2020", - "pDTransDescOutput": "OUTPATIENT CARE VISIT DATE: 06/08/2020", - "pDTransAmt": 50, - "pDTransAmtOutput": "50.00  ", - "pDRefNo": "516-K00V8T8" - }, - { - "pDDatePosted": "07092020", - "pDDatePostedOutput": "07/09/2020", - "pDTransDesc": "OUTPATIENT CARE(NSC)", - "pDTransDescOutput": "OUTPATIENT CARE", - "pDTransAmt": -50, - "pDTransAmtOutput": "50.00- ", - "pDRefNo": "516-K00V8T8" - }, - { - "pDDatePosted": "07092020", - "pDDatePostedOutput": "07/09/2020", - "pDTransDesc": "COMMENT: K00ULWR PD $50.00 DOS 060820", - "pDTransDescOutput": "   COMMENT: K00ULWR PD $50.00 DOS 060820", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": "516-K00V8T8" - }, - { - "pDDatePosted": "08132020", - "pDDatePostedOutput": "08/13/2020", - "pDTransDesc": "COPAY RX:100020336 FD:08/11/2020", - "pDTransDescOutput": "COPAY RX#100020336 FILL DATE: 08/11/2020", - "pDTransAmt": 15, - "pDTransAmtOutput": "15.00  ", - "pDRefNo": "516-K00WDZQ" - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "DRUG:AMLODIPINE BESYLATE 10MG TAB DAYS:90", - "pDTransDescOutput": "   DRUG:AMLODIPINE BESYLATE 10MG TAB DAYS:90", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "QTY:90 PHY:GUTHRIE,BROOKE L CHG:$15.00", - "pDTransDescOutput": "   QTY:90 PHY:GUTHRIE,BROOKE L CHG:$15.00", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": "09222020", - "pDDatePostedOutput": "09/22/2020", - "pDTransDesc": "OUTPATIENT CARE(NSC) VISIT DATE: 08/20/2020", - "pDTransDescOutput": "OUTPATIENT CARE VISIT DATE: 08/20/2020", - "pDTransAmt": 50, - "pDTransAmtOutput": "50.00  ", - "pDRefNo": "516-K00XUY2" - }, - { - "pDDatePosted": "09222020", - "pDDatePostedOutput": "09/22/2020", - "pDTransDesc": "OUTPATIENT CARE(NSC)", - "pDTransDescOutput": "OUTPATIENT CARE", - "pDTransAmt": -50, - "pDTransAmtOutput": "50.00- ", - "pDRefNo": "516-K00XUY2" - }, - { - "pDDatePosted": "09222020", - "pDDatePostedOutput": "09/22/2020", - "pDTransDesc": "COMMENT: K00X41A PD $50.00 DOS 082020", - "pDTransDescOutput": "   COMMENT: K00X41A PD $50.00 DOS 082020", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": "516-K00XUY2" - }, - { - "pDDatePosted": "10072020", - "pDDatePostedOutput": "10/07/2020", - "pDTransDesc": "COPAY RX:100030241 FD:10/05/2020", - "pDTransDescOutput": "COPAY RX#100030241 FILL DATE: 10/05/2020", - "pDTransAmt": 15, - "pDTransAmtOutput": "15.00  ", - "pDRefNo": "516-K10J56V" - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", - "pDTransDescOutput": "   DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "PHY:GUTHRIE,BROOKE L CHG:$15.00", - "pDTransDescOutput": "   PHY:GUTHRIE,BROOKE L CHG:$15.00", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": "10292020", - "pDDatePostedOutput": "10/29/2020", - "pDTransDesc": "COPAY RX:100045030 FD:10/27/2020", - "pDTransDescOutput": "COPAY RX#100045030 FILL DATE: 10/27/2020", - "pDTransAmt": 24, - "pDTransAmtOutput": "24.00  ", - "pDRefNo": "516-K10J56V" - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "DRUG:NIACIN (SLO-NIACIN) 250MG TAB,SA DAYS:90", - "pDTransDescOutput": "   DRUG:NIACIN (SLO-NIACIN) 250MG TAB,SA DAYS:90", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "QTY:90 PHY:VELAZQUEZ SANCHEZ,VANESSA", - "pDTransDescOutput": "   QTY:90 PHY:VELAZQUEZ SANCHEZ,VANESSA", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "CHG:$24.00", - "pDTransDescOutput": "   CHG:$24.00", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": "10292020", - "pDDatePostedOutput": "10/29/2020", - "pDTransDesc": "COPAY RX:100045028 FD:10/27/2020", - "pDTransDescOutput": "COPAY RX#100045028 FILL DATE: 10/27/2020", - "pDTransAmt": 8, - "pDTransAmtOutput": "8.00  ", - "pDRefNo": "516-K10J56V" - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "DRUG:CARBAMIDE PEROXIDE 6.5% OTIC SOLN DAYS:14", - "pDTransDescOutput": "   DRUG:CARBAMIDE PEROXIDE 6.5% OTIC SOLN DAYS:14", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "QTY:45 PHY:VELAZQUEZ SANCHEZ,VANESSA CHG:$8.00", - "pDTransDescOutput": "   QTY:45 PHY:VELAZQUEZ SANCHEZ,VANESSA CHG:$8.00", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": "10292020", - "pDDatePostedOutput": "10/29/2020", - "pDTransDesc": "COPAY RX:100045029 FD:10/27/2020", - "pDTransDescOutput": "COPAY RX#100045029 FILL DATE: 10/27/2020", - "pDTransAmt": 8, - "pDTransAmtOutput": "8.00  ", - "pDRefNo": "516-K10J56V" - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "DRUG:MICONAZOLE NITRATE 2% TOP TINCTURE DAYS:30", - "pDTransDescOutput": "   DRUG:MICONAZOLE NITRATE 2% TOP TINCTURE DAYS:30", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "QTY:90 PHY:VELAZQUEZ SANCHEZ,VANESSA CHG:$8.00", - "pDTransDescOutput": "   QTY:90 PHY:VELAZQUEZ SANCHEZ,VANESSA CHG:$8.00", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": "11192020", - "pDDatePostedOutput": "11/19/2020", - "pDTransDesc": "PAYMENT (Int:0.12 Adm:1.64)", - "pDTransDescOutput": "PAYMENT POSTED ON 11/19/2020", - "pDTransAmt": -16.76, - "pDTransAmtOutput": "16.76- ", - "pDRefNo": "516-K00JZPJ" - }, - { - "pDDatePosted": "11192020", - "pDDatePostedOutput": "11/19/2020", - "pDTransDesc": "PAYMENT (Int:0.26 Adm:0.00)", - "pDTransDescOutput": "PAYMENT POSTED ON 11/19/2020", - "pDTransAmt": -15.26, - "pDTransAmtOutput": "15.26- ", - "pDRefNo": "516-K00N8XA" - }, - { - "pDDatePosted": "11192020", - "pDDatePostedOutput": "11/19/2020", - "pDTransDesc": "PAYMENT", - "pDTransDescOutput": "PAYMENT POSTED ON 11/19/2020", - "pDTransAmt": -15, - "pDTransAmtOutput": "15.00- ", - "pDRefNo": "516-K00QKJJ" - }, - { - "pDDatePosted": "11192020", - "pDDatePostedOutput": "11/19/2020", - "pDTransDesc": "PAYMENT", - "pDTransDescOutput": "PAYMENT POSTED ON 11/19/2020", - "pDTransAmt": -15, - "pDTransAmtOutput": "15.00- ", - "pDRefNo": "516-K00S829" - }, - { - "pDDatePosted": "11192020", - "pDDatePostedOutput": "11/19/2020", - "pDTransDesc": "PAYMENT", - "pDTransDescOutput": "PAYMENT POSTED ON 11/19/2020", - "pDTransAmt": -23, - "pDTransAmtOutput": "23.00- ", - "pDRefNo": "516-K00SZBK" - }, - { - "pDDatePosted": "11192020", - "pDDatePostedOutput": "11/19/2020", - "pDTransDesc": "PAYMENT", - "pDTransDescOutput": "PAYMENT POSTED ON 11/19/2020", - "pDTransAmt": -15, - "pDTransAmtOutput": "15.00- ", - "pDRefNo": "516-K00UY3W" - }, - { - "pDDatePosted": "11192020", - "pDDatePostedOutput": "11/19/2020", - "pDTransDesc": "PAYMENT", - "pDTransDescOutput": "PAYMENT POSTED ON 11/19/2020", - "pDTransAmt": -15, - "pDTransAmtOutput": "15.00- ", - "pDRefNo": "516-K00WDZQ" - }, - { - "pDDatePosted": "11192020", - "pDDatePostedOutput": "11/19/2020", - "pDTransDesc": "PAYMENT", - "pDTransDescOutput": "PAYMENT POSTED ON 11/19/2020", - "pDTransAmt": -55, - "pDTransAmtOutput": "55.00- ", - "pDRefNo": "516-K10J56V" - }, - { - "pDDatePosted": "11232020", - "pDDatePostedOutput": "11/23/2020", - "pDTransDesc": "OUTPATIENT CARE(NSC) VISIT DATE: 10/27/2020", - "pDTransDescOutput": "OUTPATIENT CARE VISIT DATE: 10/27/2020", - "pDTransAmt": 15, - "pDTransAmtOutput": "15.00  ", - "pDRefNo": "516-K10LD3I" - }, - { - "pDDatePosted": "11232020", - "pDDatePostedOutput": "11/23/2020", - "pDTransDesc": "OUTPATIENT CARE(NSC)", - "pDTransDescOutput": "OUTPATIENT CARE", - "pDTransAmt": -15, - "pDTransAmtOutput": "15.00- ", - "pDRefNo": "516-K10LD3I" - }, - { - "pDDatePosted": "11232020", - "pDDatePostedOutput": "11/23/2020", - "pDTransDesc": "COMMENT: K10KM1P PD $15.00 DOS:10/27/20", - "pDTransDescOutput": "   COMMENT: K10KM1P PD $15.00 DOS:10/27/20", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": "516-K10LD3I" - }, - { - "pDDatePosted": "12012020", - "pDDatePostedOutput": "12/01/2020", - "pDTransDesc": "COPAY RX:100046632 FD:11/18/2020", - "pDTransDescOutput": "COPAY RX#100046632 FILL DATE: 11/18/2020", - "pDTransAmt": 15, - "pDTransAmtOutput": "15.00  ", - "pDRefNo": "516-K10LT59" - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "DRUG:AMLODIPINE BESYLATE 10MG TAB DAYS:90", - "pDTransDescOutput": "   DRUG:AMLODIPINE BESYLATE 10MG TAB DAYS:90", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "QTY:90 PHY:VELAZQUEZ SANCHEZ,VANESSA", - "pDTransDescOutput": "   QTY:90 PHY:VELAZQUEZ SANCHEZ,VANESSA", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "CHG:$15.00", - "pDTransDescOutput": "   CHG:$15.00", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": "12162020", - "pDDatePostedOutput": "12/16/2020", - "pDTransDesc": "COPAY RX:100030241A FD:12/12/2020", - "pDTransDescOutput": "COPAY RX#100030241A FILL DATE: 12/12/2020", - "pDTransAmt": 15, - "pDTransAmtOutput": "15.00  ", - "pDRefNo": "516-K10MUDV" - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", - "pDTransDescOutput": "   DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "PHY:VELAZQUEZ SANCHEZ,VANESSA CHG:$15.00", - "pDTransDescOutput": "   PHY:VELAZQUEZ SANCHEZ,VANESSA CHG:$15.00", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": "12212020", - "pDDatePostedOutput": "12/21/2020", - "pDTransDesc": "OUTPATIENT CARE(NSC) VISIT DATE: 11/13/2020", - "pDTransDescOutput": "OUTPATIENT CARE VISIT DATE: 11/13/2020", - "pDTransAmt": 15, - "pDTransAmtOutput": "15.00  ", - "pDRefNo": "516-K10N4AR" - }, - { - "pDDatePosted": "12212020", - "pDDatePostedOutput": "12/21/2020", - "pDTransDesc": "OUTPATIENT CARE(NSC)", - "pDTransDescOutput": "OUTPATIENT CARE", - "pDTransAmt": -15, - "pDTransAmtOutput": "15.00- ", - "pDRefNo": "516-K10N4AR" - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "INTEREST/ADM. CHARGE (Int:0.32 Adm:1.64 Other:0.00", - "pDTransDescOutput": "INTEREST/ADM. CHARGE (Int:0.32 Adm:1.64 Other:0.00", - "pDTransAmt": 1.96, - "pDTransAmtOutput": "1.96  ", - "pDRefNo": null - } - ], - "station": { - "facilitYNum": "649", - "visNNum": "22", - "facilitYDesc": "PRESCOTT VA MEDICAL CENTER (649)", - "cyclENum": "016", - "remiTToFlag": "L", - "maiLInsertFlag": "0", - "staTAddress1": "500 N US HIGHWAY 89", - "staTAddress2": "AGENT CASHIER (04C)", - "staTAddress3": null, - "city": "PRESCOTT", - "state": "AZ", - "ziPCde": "863135001", - "ziPCdeOutput": "86313-5001", - "baRCde": "*863135001003*", - "teLNumFlag": "S", - "teLNum": "1-866-802-6819", - "teLNum2": null, - "contacTInfo": null, - "dM2TelNum": null, - "contacTInfo2": null, - "toPTelNum": null, - "lbXFedexAddress1": null, - "lbXFedexAddress2": null, - "lbXFedexAddress3": null, - "lbXFedexCity": null, - "lbXFedexState": null, - "lbXFedexZipCde": null, - "lbXFedexBarCde": null, - "lbXFedexContact": null, - "lbXFedexContactTelNum": null, - "facilityName": "Ralph H. Johnson Department of Veterans Affairs Medical Center" - }, - "debtType": "COPAY", - "resolutionOption": "waiver", - "resolutionWaiverCheck": true - } - ], - "debt": { - "currentAr": 0, - "debtHistory": [ + { + "veteran_gross_salary": "0", + "deductions": [ { - "date": "" + "name": "Federal tax", + "amount": "0" + }, + { + "name": "Allotment", + "amount": "0" + }, + { + "name": "FICA (Social Security and Medicare)", + "amount": "0" } ], - "deductionCode": "", - "originalAr": 0 - }, - "currEmployment": [ - { - "veteranGrossSalary": "0", - "deductions": [ - { - "name": "Federal tax", - "amount": "0" - }, - { - "name": "State tax", - "amount": "0" - }, - { - "name": "Pension", - "amount": "0" - }, - { - "name": "Health insurance", - "amount": "0" - } - ], - "type": "Full time", - "from": "2017-1-XX", - "to": "", - "isCurrent": true, - "employerName": "Veteran Current One" - }, - { - "veteranGrossSalary": "0", - "deductions": [ - { - "name": "Federal tax", - "amount": "0" - }, - { - "name": "Allotment", - "amount": "0" - }, - { - "name": "FICA (Social Security and Medicare)", - "amount": "0" - } - ], - "type": "Part time", - "from": "2019-7-XX", - "to": "", - "isCurrent": true, - "employerName": "Veteran Current Two" - } - ], - "spCurrEmployment": [ - { - "spouseGrossSalary": "4000.45", - "deductions": [ - { - "name": "Federal tax", - "amount": "325.54" - }, - { - "name": "Health insurance", - "amount": "250.34" - }, - { - "name": "Garnishment", - "amount": "150" - } - ], - "type": "Full time", - "from": "2018-6-XX", - "to": "", - "isCurrent": true, - "employerName": "Spouse Current" - } - ], - "financialOverview": {}, - "availableOptions": {}, - "income": [ - { - "veteranOrSpouse": "VETERAN", - "compensationAndPension": "3261.1", - "education": "50" - } - ] - } - -} + "type": "Part time", + "from": "2019-7-XX", + "to": "", + "is_current": true, + "employer_name": "Veteran Current Two" + } + ], + "sp_curr_employment": [ + { + "spouse_gross_salary": "4000.45", + "deductions": [ + { + "name": "Federal tax", + "amount": "325.54" + }, + { + "name": "Health insurance", + "amount": "250.34" + }, + { + "name": "Garnishment", + "amount": "150" + } + ], + "type": "Full time", + "from": "2018-6-XX", + "to": "", + "is_current": true, + "employer_name": "Spouse Current" + } + ], + "financial_overview": {}, + "available_options": {}, + "income": [ + { + "veteran_or_spouse": "VETERAN", + "compensation_and_pension": "3261.1", + "education": "50" + } + ] +} \ No newline at end of file diff --git a/modules/debts_api/spec/fixtures/pre_submission_fsr/non_enhanced_fsr_expenses.json b/modules/debts_api/spec/fixtures/pre_submission_fsr/non_enhanced_fsr_expenses.json index 3d24761e3e7..828cf2d1acd 100644 --- a/modules/debts_api/spec/fixtures/pre_submission_fsr/non_enhanced_fsr_expenses.json +++ b/modules/debts_api/spec/fixtures/pre_submission_fsr/non_enhanced_fsr_expenses.json @@ -1,21 +1,21 @@ -{ - "view:enhancedFinancialStatusReport": false, +{ + "view:enhanced_financial_status_report": false, "expenses": { - "rentOrMortgage": "1200.25", + "rent_or_mortgage": "1200.25", "food": "4000.38", - "creditCardBills": [ + "credit_card_bills": [ { "purpose": "Credit card payment", - "creditorName": "", - "originalAmount": "", - "unpaidBalance": "300000", - "amountDueMonthly": "10000", - "dateStarted": "", - "amountPastDue": "7000" + "creditor_name": "", + "original_amount": "", + "unpaid_balance": "300000", + "amount_due_monthly": "10000", + "date_started": "", + "amount_past_due": "7000" } ] }, - "otherExpenses": [ + "other_expenses": [ { "name": "Pool service", "amount": "200" @@ -29,38 +29,38 @@ "amount": "300" } ], - "installmentContracts": [ + "installment_contracts": [ { "purpose": "Credit card payments", - "creditorName": "Creditor One", - "originalAmount": "50000.54", - "unpaidBalance": "15000.56", - "amountDueMonthly": "800.10", - "dateStarted": "2017-03-XX", - "amountPastDue": "125.43" + "creditor_name": "Creditor One", + "original_amount": "50000.54", + "unpaid_balance": "15000.56", + "amount_due_monthly": "800.10", + "date_started": "2017_03_xx", + "amount_past_due": "125.43" }, { "purpose": "Car payment/lease", - "creditorName": "Creditor Two", - "originalAmount": "100000.43", - "unpaidBalance": "50000.26", - "amountDueMonthly": "1200.54", - "dateStarted": "2019-05-XX", - "amountPastDue": "0" + "creditor_name": "Creditor Two", + "original_amount": "100000.43", + "unpaid_balance": "50000.26", + "amount_due_monthly": "1200.54", + "date_started": "2019_05_xx", + "amount_past_due": "0" } ], - "utilityRecords": [ + "utility_records": [ { "name": "Electricity", - "monthlyUtilityAmount": "402.35" + "monthly_utility_amount": "402.35" }, { "name": "Gas", - "monthlyUtilityAmount": "85.16" + "monthly_utility_amount": "85.16" }, { "name": "Cable", - "monthlyUtilityAmount": "175.47" + "monthly_utility_amount": "175.47" } ] } \ No newline at end of file diff --git a/modules/debts_api/spec/lib/debt_api/v0/fsr_form_transform/asset_calculator_spec.rb b/modules/debts_api/spec/lib/debt_api/v0/fsr_form_transform/asset_calculator_spec.rb index c32d40346f1..d60aa9bc916 100644 --- a/modules/debts_api/spec/lib/debt_api/v0/fsr_form_transform/asset_calculator_spec.rb +++ b/modules/debts_api/spec/lib/debt_api/v0/fsr_form_transform/asset_calculator_spec.rb @@ -13,7 +13,7 @@ end def calculate_total_assets - calculations_controller = described_class.new(maximal_fsr_form_data['data']) + calculations_controller = described_class.new(maximal_fsr_form_data) @total_assets = calculations_controller.get_total_assets end diff --git a/modules/debts_api/spec/lib/debt_api/v0/fsr_form_transform/expense_calculator_spec.rb b/modules/debts_api/spec/lib/debt_api/v0/fsr_form_transform/expense_calculator_spec.rb index 616251e53dd..1c0fa6c610e 100644 --- a/modules/debts_api/spec/lib/debt_api/v0/fsr_form_transform/expense_calculator_spec.rb +++ b/modules/debts_api/spec/lib/debt_api/v0/fsr_form_transform/expense_calculator_spec.rb @@ -3,7 +3,7 @@ require 'rails_helper' require 'debts_api/v0/fsr_form_transform/expense_calculator' -RSpec.describe DebtsApi::V0::FsrFormTransform::ExpenceCalculator, type: :service do +RSpec.describe DebtsApi::V0::FsrFormTransform::ExpenseCalculator, type: :service do describe '#get_monthly_expenses' do let(:enhanced_expenses) do get_fixture_absolute('modules/debts_api/spec/fixtures/pre_submission_fsr/enhanced_fsr_expenses') diff --git a/modules/debts_api/spec/lib/debt_api/v0/fsr_form_transform/income_calculator_spec.rb b/modules/debts_api/spec/lib/debt_api/v0/fsr_form_transform/income_calculator_spec.rb index e4ece18eb4a..7cc9bb3d267 100644 --- a/modules/debts_api/spec/lib/debt_api/v0/fsr_form_transform/income_calculator_spec.rb +++ b/modules/debts_api/spec/lib/debt_api/v0/fsr_form_transform/income_calculator_spec.rb @@ -13,7 +13,7 @@ end def populate_monthly_income - calculations_controller = described_class.new(maximal_fsr_form_data['data']) + calculations_controller = described_class.new(maximal_fsr_form_data) @monthly_income = calculations_controller.get_monthly_income end diff --git a/modules/debts_api/spec/request/debts_api/v0/financial_status_reports_calculations_controller_spec.rb b/modules/debts_api/spec/request/debts_api/v0/financial_status_reports_calculations_controller_spec.rb index d4366e9e4bd..5680d75993d 100644 --- a/modules/debts_api/spec/request/debts_api/v0/financial_status_reports_calculations_controller_spec.rb +++ b/modules/debts_api/spec/request/debts_api/v0/financial_status_reports_calculations_controller_spec.rb @@ -16,6 +16,18 @@ let(:enhanced_expenses) do get_fixture_absolute('modules/debts_api/spec/fixtures/pre_submission_fsr/enhanced_fsr_expenses') end + let(:andrew_expenses) do + get_fixture_absolute('modules/debts_api/spec/fixtures/pre_submission_fsr/andrew_fsr_expenses') + end + let(:andrew_two) do + get_fixture_absolute('modules/debts_api/spec/fixtures/pre_submission_fsr/andrew_fsr_2') + end + let(:andrew_three) do + get_fixture_absolute('modules/debts_api/spec/fixtures/pre_submission_fsr/andrew_fsr_3') + end + let(:andrew_to_the_max) do + get_fixture_absolute('modules/debts_api/spec/fixtures/pre_submission_fsr/andrew_maximal') + end let(:old_expenses) do get_fixture_absolute('modules/debts_api/spec/fixtures/pre_submission_fsr/non_enhanced_fsr_expenses') end @@ -31,6 +43,29 @@ expect(response).to have_http_status(:ok) end end + + context 'with andrew fsr form data' do + it 'returns monthly income' do + post('/debts_api/v0/calculate_monthly_income', params: andrew_expenses.to_h, as: :json) + expect(response).to have_http_status(:ok) + end + + it 'behaves like the FE' do + post('/debts_api/v0/calculate_monthly_income', params: andrew_two.to_h, as: :json) + expect(response).to have_http_status(:ok) + + vet_other_income = JSON.parse(response.body)['vetIncome']['otherIncome'] + expect(vet_other_income['name']).to eq('Social Security') + expect(vet_other_income['amount']).to eq(500) + + spouse_other_income = JSON.parse(response.body)['spIncome']['otherIncome'] + expect(spouse_other_income['name']).to eq('Disability Compensation, Education, Caretaker income') + expect(spouse_other_income['amount']).to eq(600) + + expect(JSON.parse(response.body)['spIncome']['totalMonthlyNetIncome']).to eq(1600) + expect(JSON.parse(response.body)['totalMonthlyNetIncome']).to eq(3100) + end + end end describe '#total_assets' do @@ -40,6 +75,20 @@ expect(response).to have_http_status(:ok) end end + + context 'with andrew fsr form data' do + it 'calculates and returns total asset value' do + post('/debts_api/v0/calculate_total_assets', params: andrew_expenses.to_h, as: :json) + expect(response).to have_http_status(:ok) + end + + it 'behaves like FE' do + post('/debts_api/v0/calculate_total_assets', params: andrew_three.to_h, as: :json) + expect(response).to have_http_status(:ok) + body = JSON.parse(response.body) + expect(body).to eq({ 'calculatedTotalAssets' => 2780.35 }) + end + end end describe '#all_expenses' do @@ -48,6 +97,11 @@ post('/debts_api/v0/calculate_all_expenses', params: enhanced_expenses.to_h, as: :json) expect(response).to have_http_status(:ok) end + + it 'takes andrews params' do + post('/debts_api/v0/calculate_all_expenses', params: andrew_expenses.to_h, as: :json) + expect(response).to have_http_status(:ok) + end end context 'with old form params' do @@ -63,6 +117,8 @@ it 'returns all expenses' do post('/debts_api/v0/calculate_monthly_expenses', params: enhanced_expenses.to_h, as: :json) expect(response).to have_http_status(:ok) + body = JSON.parse(response.body) + expect(body).to eq({ 'calculatedMonthlyExpenses' => 19_603.44 }) end end