diff --git a/scripts/import-programs.ts b/scripts/import-programs.ts index 519ae35c2e..e818a686c1 100644 --- a/scripts/import-programs.ts +++ b/scripts/import-programs.ts @@ -127,6 +127,11 @@ fs.createReadStream(file) } } + if (!data.id) { + console.error('No ID set for program, make sure to set an ID in the spreadsheet', data) + process.exit(1) + } + states[code]!.programs.push({ id: data.id, fullName: data.Program, diff --git a/services/app-web/src/common-code/data/statePrograms.json b/services/app-web/src/common-code/data/statePrograms.json index 531ff56547..0cd5955c39 100644 --- a/services/app-web/src/common-code/data/statePrograms.json +++ b/services/app-web/src/common-code/data/statePrograms.json @@ -751,11 +751,6 @@ "fullName": "Health and Recovery Plans", "name": "HARP" }, - { - "id": "f3dc5e6e-e936-453f-b077-b66c99f88f04", - "fullName": "Medicaid Advantage", - "name": "MA" - }, { "id": "1d9dbd18-9c31-41b8-a287-727e51949908", "fullName": "Medicaid Managed Care", @@ -768,8 +763,8 @@ }, { "id": "6c94f55a-79a7-4e65-97cf-a3f6fdf40455", - "fullName": "Managed Long Term Care", - "name": "MLTC" + "fullName": "Partial Capitation", + "name": "Partial Capitation" }, { "id": "01e1c24b-14aa-40bb-9365-a17271468bd2", @@ -850,6 +845,11 @@ { "name": "Pennsylvania", "programs": [ + { + "id": "2dcfebda-7910-4c3d-a19f-174ee4c75cc0", + "fullName": "Adult Community Autism Program", + "name": "ACAP" + }, { "id": "ef45f326-8b3a-44a9-aac6-8fa73400680a", "fullName": "HealthChoices Physical Health",