eAPD icon indicating copy to clipboard operation
eAPD copied to clipboard

[Dev] Update backend for create new APD page

Open mirano-darren opened this issue 2 years ago • 0 comments

Describe the task here and link or add dependencies to any applicable issues...

Figma link: https://www.figma.com/file/hJpKHKU6fz5J0Z7fisSwa2/eAPD-MMIS-2022?node-id=0%3A1

The addition of the new Create APD page comes with 2 new fields.

  • Is this APD an update? section
  • Medicaid Business Areas

Update the mongo schema with these fields. Is this APD an update? (no subsection when "No, this is a new project" is selected): image.png

Medicaid Business Areas: image.png

Update the APD model to add something like:

{
    apdType: ['HITECH IAPD', 'MMIS IAPD'],
    isUpdate: ['annual update', 'as-needed update', null],
    medicaidBusinessAreas: {
        waiverSupportSystems: boolean,
        assetVerificationSystem: boolean,
        claimsProcessing: boolean,
        decisionsSupportSystemDataWarehouse: boolean,
        electronicVisitVerification: boolean,
        epsManagedCareSystem: boolean,
        financialManagement: boolean,
        healthInformationExchange: boolean,
        longTermServicesSupports: boolean,
        memberManagement: boolean,
        pbmPOS: boolean,
        programIntegrity: boolean,
        providerManagement: boolean,
        thirdPartyLiability: boolean,
        other: string
    }
}

This task is done when...

  • [ ] mongo schema has been updated
  • [ ] create a mongoose migration
  • [ ] all fields are saved correctly

mirano-darren avatar Jul 19 '22 20:07 mirano-darren