{createQuestionHeader(page)}
{createAgeQuestion(page)}
+ {page === 1 && displayHealthInsuranceQuestion(page, householdData, setHouseholdData)}
{page !== 1 && createHOfHRelationQuestion()}
+ {page !== 1 && displayHealthInsuranceQuestion(page, householdData, setHouseholdData)}
{createConditionsQuestion(page)}
{createIncomeRadioQuestion(page)}
- {householdData.hasIncome && createPersonIncomeBlock(ageErrorController.submittedCount)}
+ {householdData.hasIncome && createPersonIncomeBlock(submittedCount)}
diff --git a/src/Components/Wrapper/Wrapper.tsx b/src/Components/Wrapper/Wrapper.tsx
index aa7ae43de..a679ab16c 100644
--- a/src/Components/Wrapper/Wrapper.tsx
+++ b/src/Components/Wrapper/Wrapper.tsx
@@ -50,14 +50,6 @@ const initialFormData: FormData = {
upk: false,
wic: false,
},
- healthInsurance: {
- employer: false,
- private: false,
- medicaid: false,
- medicare: false,
- chp: false,
- none: false,
- },
referralSource: undefined,
immutableReferrer: undefined,
otherSource: undefined,
diff --git a/src/Types/FormData.ts b/src/Types/FormData.ts
index 950fcd7ee..f9f3892dd 100644
--- a/src/Types/FormData.ts
+++ b/src/Types/FormData.ts
@@ -19,6 +19,7 @@ export interface HouseholdData {
disabled: boolean;
hasIncome: boolean;
incomeStreams: IncomeStream[];
+ healthInsurance: HealthInsurance;
}
export interface Benefits {
@@ -51,13 +52,17 @@ export interface Benefits {
}
export interface HealthInsurance {
+ none: boolean;
employer: boolean;
private: boolean;
medicaid: boolean;
medicare: boolean;
chp: boolean;
- none: boolean;
+ dont_know: boolean;
+ emergency_medicaid: boolean;
+ family_planning: boolean;
}
+
export interface SignUpInfo {
email: string;
phone: string;
@@ -96,7 +101,6 @@ export interface FormData {
householdAssets: number;
hasBenefits: string;
benefits: Benefits;
- healthInsurance: HealthInsurance;
referralSource?: string;
immutableReferrer?: string;
otherSource?: string;