Skip to content

Commit

Permalink
feat: include private health management as valid flow (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
cgarcia-lightit authored Sep 23, 2024
1 parent 6a79253 commit e6f731b
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/eo_web/src/components/FAQs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const flowsWithCOrgFaqs: FlowType[] = [
Flows.friend_family,
Flows.northwell_systems,
Flows.realm_of_caring,
Flows.private_health_management,
];

const flowsWithInovaFaqs: FlowType[] = [Flows.inova, Flows.uva];
Expand Down
2 changes: 2 additions & 0 deletions apps/eo_web/src/layouts/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ const cancer_buddy = resource_center_1;
const realm_of_caring = resource_center_1;
const friend_family = resource_center_1;
const northwell_systems = resource_center_1;
const private_health_management = resource_center_1;

const allData = {
c_org,
Expand All @@ -158,6 +159,7 @@ const allData = {
realm_of_caring,
friend_family,
northwell_systems,
private_health_management,
};

export function Footer({ flow }: FooterProps) {
Expand Down
3 changes: 3 additions & 0 deletions apps/eo_web/src/screens/AccountCreation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export const ReferralOptions: Record<string, FlowType> = {
"Friend / Family": Flows.friend_family,
"Cancer Buddy": Flows.cancer_buddy,
"Realm of Caring": Flows.realm_of_caring,
"Private Health Management": Flows.private_health_management,
} as const;

export type ReferralOptionsType = keyof typeof ReferralOptions;
Expand Down Expand Up @@ -200,6 +201,8 @@ export const AccountCreation = () => {
return "17";
case Flows.northwell_systems:
return "18";
case Flows.private_health_management:
return "19";
}
};

Expand Down
1 change: 1 addition & 0 deletions apps/eo_web/src/screens/Cancer/CancerSurveyThankYou.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const flowsWithSmallFooter: FlowType[] = [
Flows.friend_family,
Flows.northwell_systems,
Flows.realm_of_caring,
Flows.private_health_management,
];

export const CancerSurveyThankYou = () => {
Expand Down
1 change: 1 addition & 0 deletions apps/eo_web/src/screens/ProfilingThankYou.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ const flowsWithSmallFooter: FlowType[] = [
Flows.friend_family,
Flows.northwell_systems,
Flows.realm_of_caring,
Flows.private_health_management,
];

export const ProfilingThankYou = () => {
Expand Down
1 change: 1 addition & 0 deletions apps/eo_web/src/stores/useProfilingStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export const Flows = {
realm_of_caring: "realm_of_caring",
friend_family: "friend_family",
northwell_systems: "northwell_systems",
private_health_management: "private_health_management",
} as const;

export type FlowType = keyof typeof Flows;
Expand Down

0 comments on commit e6f731b

Please sign in to comment.