-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(abp9): add abp 9 to our webforms (#506)
* add abp 9 logic * mistake cleanup * cleanup * Update v202401.ts
- Loading branch information
Showing
4 changed files
with
100 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from "./v202401"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
import { FormSchema } from "shared-types"; | ||
|
||
export const v202401: FormSchema = { | ||
header: "ABP 9: Employer-sponsored insurance and payment of premiums", | ||
sections: [ | ||
{ | ||
title: "Employer-sponsored insurance and payment of premiums", | ||
form: [ | ||
{ | ||
slots: [ | ||
{ | ||
rhf: "Select", | ||
name: "abp9_employee-sponsored-insur-or-pay_does-state-territory-provided-abp-through-employer-sponsored-insur_select", | ||
label: | ||
"Does the state/territory provide the Alternative Benefit Plan (ABP) through the payment of employer-sponsored insurance for participants with such coverage with additional benefits and services provided through a benchmark or benchmark-equivalent benefit package?", | ||
labelStyling: "font-bold", | ||
rules: { required: "* Required" }, | ||
props: { | ||
className: "w-[150px]", | ||
options: [ | ||
{ label: "Yes", value: "yes" }, | ||
{ label: "No", value: "no" }, | ||
], | ||
}, | ||
}, | ||
{ | ||
rhf: "Textarea", | ||
name: "abp9_employee-sponsored-insurance-or-payment_describe-employee-sponsored-insurance_textarea", | ||
rules: { required: "* Required" }, | ||
formItemStyling: "ml-[0.6rem] px-4 border-l-4 border-l-primary", | ||
label: | ||
"Describe the employer-sponsored insurance, including the population covered, amount of premium assistance by population, and employer-sponsored insurance activities, including required contribution, cost-effectiveness test requirements, and benefit information.", | ||
labelStyling: "font-bold", | ||
dependency: { | ||
conditions: [ | ||
{ | ||
name: "abp9_employee-sponsored-insur-or-pay_does-state-territory-provided-abp-through-employer-sponsored-insur_select", | ||
type: "expectedValue", | ||
expectedValue: "yes", | ||
}, | ||
], | ||
effect: { type: "show" }, | ||
}, | ||
}, | ||
|
||
{ | ||
rhf: "Select", | ||
name: "abp9_employee-sponsored-insurance-or-pay_does-provide-pay-of-premiums_select", | ||
label: | ||
"Does the state/territory otherwise provide for payment of premiums?", | ||
labelStyling: "font-bold", | ||
rules: { required: "* Required" }, | ||
props: { | ||
className: "w-[150px]", | ||
options: [ | ||
{ label: "Yes", value: "yes" }, | ||
{ label: "No", value: "no" }, | ||
], | ||
}, | ||
}, | ||
{ | ||
rhf: "Textarea", | ||
name: "abp9_employee-sponsored-insurance-or-pay_describe-include-pop-covered-assist-contribut_textarea", | ||
rules: { required: "* Required" }, | ||
formItemStyling: "ml-[0.6rem] px-4 border-l-4 border-l-primary", | ||
label: | ||
"Describe, including the population covered, amount of premium assistance by population, required contributions, cost-effectiveness test requirements, and benefit information.", | ||
labelStyling: "font-bold", | ||
dependency: { | ||
conditions: [ | ||
{ | ||
name: "abp9_employee-sponsored-insurance-or-pay_does-provide-pay-of-premiums_select", | ||
type: "expectedValue", | ||
expectedValue: "yes", | ||
}, | ||
], | ||
effect: { type: "show" }, | ||
}, | ||
}, | ||
|
||
{ | ||
rhf: "Textarea", | ||
name: "abp9_employee-sponsored-insurance-or-payment_other-info_textarea", | ||
label: | ||
"Other information about employer-sponsored insurance or payment of premiums (optional)", | ||
labelStyling: "font-bold", | ||
}, | ||
], | ||
}, | ||
], | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters