-
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(abp 10): create abp 10 general assurances webform (#333)
* testing out 3.1 logic * adjust * Update v1.ts * Update v1.ts * add section 1937 * finished 1937 coverage * assurances * continue logic * add conditional logic * adjust logic * add adjusted feedback logic * Update v1.ts * cleanup and feedback logic * Update checkbox.tsx * add dependency wrapper to checkbox * clean up styling logic * add logic to clear checkbox if hidden * cleanup * Update validator.ts * add comments * Update validator.ts * add logic abp10 * add no logic * add input styling
- Loading branch information
Showing
2 changed files
with
108 additions
and
0 deletions.
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,102 @@ | ||
import { FormSchema } from "shared-types"; | ||
|
||
const ABP10: FormSchema = { | ||
header: "ABP 10: General assurances", | ||
sections: [ | ||
{ | ||
title: "Economy and efficiency of plans", | ||
form: [ | ||
{ | ||
slots: [ | ||
{ | ||
rhf: "Checkbox", | ||
name: "economy_and_efficiency_of_plans", | ||
rules: { required: "* Required" }, | ||
props: { | ||
options: [ | ||
{ | ||
label: | ||
"The state or territory assures that Alternative Benefit Plan coverage is provided in accordance with federal upper payment limit requirements and other economy and efficiency principles that would otherwise be applicable to the services or delivery system through which the coverage and benefits are obtained.", | ||
value: "assures_alternative_benefit_plan_in_accordance", | ||
}, | ||
], | ||
}, | ||
}, | ||
{ | ||
rhf: "Select", | ||
name: "economy_and_efficeiency_same_approach_as_medicaid_state_plan", | ||
label: | ||
"Will economy and efficiency be achieved using the same approach as used for Medicaid state plan services?", | ||
labelStyling: "font-bold", | ||
rules: { required: "* Required" }, | ||
props: { | ||
className: "w-[150px]", | ||
options: [ | ||
{ label: "Yes", value: "yes" }, | ||
{ | ||
label: "No", | ||
value: "no", | ||
}, | ||
], | ||
}, | ||
}, | ||
{ | ||
rhf: "Textarea", | ||
label: "Describe the approach", | ||
labelStyling: "font-bold", | ||
name: "describe_approach", | ||
formItemStyling: "ml-[0.6rem] px-4 border-l-4 border-l-primary", | ||
rules: { required: "* Required" }, | ||
dependency: { | ||
conditions: [ | ||
{ | ||
name: "economy_and_efficeiency_same_approach_as_medicaid_state_plan", | ||
type: "expectedValue", | ||
expectedValue: "no", | ||
}, | ||
], | ||
effect: { type: "show" }, | ||
}, | ||
}, | ||
], | ||
}, | ||
], | ||
}, | ||
{ | ||
title: "Compliance with the law", | ||
form: [ | ||
{ | ||
slots: [ | ||
{ | ||
rhf: "Checkbox", | ||
name: "compliance_with_the_law", | ||
rules: { required: "* Required" }, | ||
props: { | ||
options: [ | ||
{ | ||
label: | ||
"The state or territory will continue to comply with all other provisions of the Social Security Act in the administration of the state or territory plan under this title.", | ||
value: "comply_with_social_security_act", | ||
}, | ||
{ | ||
label: | ||
"The state or territory assures that Alternative Benefit Plan benefits designs shall conform to the non-discrimination requirements at 42 CFR 430.2 and 42 CFR 440.347(e).", | ||
value: "assures_alternative_benefit_plan_shall_conform", | ||
}, | ||
{ | ||
label: | ||
"The state or territory assures that all providers of Alternative Benefit Plan benefits shall meet the provider qualification requirements of the base benchmark plan and/or the Medicaid state plan.", | ||
value: | ||
"providers_of_alternative_benefit_plan_meets_provider_qualifications", | ||
}, | ||
], | ||
}, | ||
}, | ||
], | ||
}, | ||
], | ||
}, | ||
], | ||
}; | ||
|
||
export const form = ABP10; |
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