Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MCR-3616] update state programs #2036

Merged
merged 5 commits into from
Nov 8, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/technical-design/howto-update-state-programs.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ The source of truth for that file comes from a CSV maintained by product and des

1. Download the latest version of csv from google docs when prompted by product/design.
2. Run the script following the command listed in the `import-programs.ts`.
3. Overwrite existing state programs JSON with the new output. Your usage of the script will likely look something like this: `cd scripts && yarn tsc && node import-programs.js ~/Desktop/State\ programs,\ population,\ and\ nicknames.csv > ../services/app-web/src/common-code/data/statePrograms.json`
3. Overwrite existing state programs JSON with the new output. Your usage of the script will likely look something like this: `cd scripts && yarn tsc && node import-programs.js path/to/data.csv > ../services/app-web/src/common-code/data/statePrograms.json`
4. Double check the diff. It's important not to delete any programs that have already been used for a submission because although programs are not in the database, we still store references to the program ID in postgres as if they are stable. Also, we want to be sure we are only changing programs expected to change.
5. Make a PR to update the statePrograms file in the codebase
5 changes: 4 additions & 1 deletion scripts/import-programs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@
This script is used to generate a list of MC-Review state programs. To read more about this script and why it's used see "How to update state programs" technical design docs.

To run:
yarn tsc && node ./import-programs.js path/to/data.csv
yarn tsc && node ./import-programs.js path/to/data.csv > ../services/app-web/src/common-code/data/statePrograms.json

The input file is expected to be a valid CSV with at least the following columns:
1 State (two-character state code, uppercase)
2 Program (full program name)
3 Nickname (acronym or abbreviation e.g. "CME")

Documentation for this script can be found here:
https://github.com/Enterprise-CMCS/managed-care-review/blob/main/docs/technical-design/howto-update-state-programs.md

Additional columns aren't used and should be ignored.
*/

Expand Down
152 changes: 56 additions & 96 deletions services/app-web/src/common-code/data/statePrograms.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,16 +137,6 @@
"fullName": "AIDS Healthcare Foundation ",
"name": "AHF"
},
{
"id": "53a6a9ce-e2f9-47af-9795-12901e13a986",
"fullName": "Whole Child Model",
"name": "WCM"
},
{
"id": "7cec9b0c-3833-4933-bc05-a9287a76d3ec",
"fullName": "Health Homes",
"name": "HHP"
},
{
"id": "40ca8541-3f42-45e7-8baa-835337c299c6",
"fullName": "Specialty Mental Health Services",
Expand Down Expand Up @@ -237,14 +227,9 @@
"name": "Florida",
"programs": [
{
"id": "c23b4688-b33c-4be8-b7cc-2760efb4932d",
"fullName": "Non-Emergency Medical Transportation - Medical Transportation Management",
"name": "NEMT MTM"
},
{
"id": "79041bc2-a3c7-43bf-b88a-1151cdedbcb1",
"fullName": "Non-Emergency Medical Transportation - LogistiCare",
"name": "NEMT LC"
"id": "",
"fullName": "Non-Emergency Medical Transportation",
"name": "NEMT"
},
{
"id": "037af66b-81eb-4472-8b80-01edf17d12d9",
Expand Down Expand Up @@ -306,7 +291,7 @@
{
"id": "47995323-dd69-4ea5-afeb-eef15d6da27f",
"fullName": "Hawaii QUEST Integration",
"name": "Quest"
"name": "QI"
},
{
"id": "2bf8cc98-2330-4e58-9e2c-96f25daa7b28",
Expand Down Expand Up @@ -353,7 +338,7 @@
{
"id": "9cc424d8-b833-41be-994d-0f7d689b7c82",
"fullName": "Behavioral Health Plan",
"name": "IBHP"
"name": "BHP"
},
{
"id": "e53f0506-84a5-47de-8400-e71f15c8d590",
Expand All @@ -364,11 +349,6 @@
"id": "d0c0f2cb-c295-4c23-a301-24214aa5fa3d",
"fullName": "Healthy Connections",
"name": "Healthy Connections"
},
{
"id": "4412b5cc-885f-4fa4-9f99-0c0f558dec18",
"fullName": "Non-Emergency Medical Transportation",
"name": "NEMT"
}
],
"code": "ID"
Expand Down Expand Up @@ -431,7 +411,7 @@
"programs": [
{
"id": "acb14791-7d88-4c10-a127-68f0a694d62f",
"fullName": "KY Non-Emergency Transportation Program",
"fullName": "Non-Emergency Medical Transportation Program",
"name": "NEMT "
},
{
Expand Down Expand Up @@ -468,7 +448,7 @@
"programs": [
{
"id": "1076bd88-69c7-470f-839c-481c0ad13b97",
"fullName": "MassHealth Managed Care (MassHealth MCO Program)",
"fullName": "MassHealth Managed Care Organization Program",
"name": "MCO"
},
{
Expand All @@ -481,14 +461,9 @@
"fullName": "Primary Care Accountable Care Organizations",
"name": "PCACO"
},
{
"id": "40391715-cde1-4248-b683-e106584ac66c",
"fullName": "Senior Care Options",
"name": "SCO"
},
{
"id": "4e76c974-5741-4272-8c8a-9005d70259b6",
"fullName": "MassHealth BH/SUD PIHP",
"fullName": "Managed Behavioral Health Program",
"name": "MBHP"
}
],
Expand All @@ -501,11 +476,6 @@
"id": "d64e707e-0f42-4c57-88f9-09bc065f3f22",
"fullName": "HealthChoice",
"name": "HealthChoice"
},
{
"id": "663546f5-a8de-4f33-93ae-c506ec48353e",
"fullName": "Hopkins Elder Plus",
"name": "Hopkins Elder Plus"
}
],
"code": "MD"
Expand Down Expand Up @@ -636,13 +606,13 @@
"programs": [
{
"id": "75358ece-92f0-4c89-a45b-817f80d8be37",
"fullName": "1915(b)/(c) Medicaid Waiver for MH/DD/SA Services",
"fullName": "Behavioral Health Medicaid Managed Care Program",
"name": "LME/MCO"
},
{
"id": "b4e8d1e4-0520-4fa6-b472-d3b655d3efdc",
"fullName": "Managed Care PrePaid Health Plan",
"name": "PHP"
"name": "MC PHP"
},
{
"id": "fae74329-159c-42c1-9f7a-eb1e82afd2c5",
Expand Down Expand Up @@ -703,19 +673,19 @@
"name": "New Hampshire",
"programs": [
{
"id": "8469324c-39a3-46f2-88b4-ed5bbb7dbe46",
"fullName": "New Hampshire Medicaid Care Management",
"name": "MCM "
"id": "",
"fullName": "Dental",
"name": "Dental"
},
{
"id": "df14e72a-91e2-4c61-a833-12d38eae3e1b",
"fullName": "New Hampshire Health Protection Program Premium Assistance Demonstration for QHP",
"name": "NHHPPP"
"id": "8469324c-39a3-46f2-88b4-ed5bbb7dbe46",
"fullName": "Medicaid Care Management",
"name": "MCM "
},
{
"id": "e5097a9c-704e-4b20-a5f5-63262559d055",
"fullName": "Heritage Health Adult ",
"name": "HHA"
"id": "",
"fullName": "Granite Advantage Health Plan Program",
"name": "GAHCP"
}
],
"code": "NH"
Expand Down Expand Up @@ -812,15 +782,25 @@
{
"name": "Ohio",
"programs": [
{
"id": "",
"fullName": "Ohio Resilience through Integrated Systems and Excellence",
"name": "OhioRISE"
},
{
"id": "c4ebe21a-5dd1-4308-a851-c31983b3b974",
"fullName": "Ohio Medicaid Managed Care Program",
"name": "MyCare"
"name": "MMC"
},
{
"id": "d9e3bbf5-f3a3-404c-a510-998d603a3673",
"fullName": "MyCare Ohio Opt-Out Program",
"name": "MMC"
"name": "MyCare"
},
{
"id": "",
"fullName": "Single Pharmacy Benefit Manager",
"name": "SPBM"
}
],
"code": "OH"
Expand All @@ -832,6 +812,21 @@
"id": "6d1f77e3-1e97-4f57-9da0-e49358ab97e2",
"fullName": "SoonerCare Choice",
"name": "SoonerCare Choice"
},
{
"id": "",
"fullName": "SoonerSelect Dental",
"name": "SoonerSelect Dental"
},
{
"id": "",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Annoying gotcha here - we need to also manually add the id field when adding new programs to the list. Looks like we forgot to include this in the howto-update-state-programs doc as well, could you add it there please as well?

"fullName": "SoonerSelect Children's Specialty",
"name": "SoonerSelect Children's Specialty"
},
{
"id": "",
"fullName": "SoonerSelect Medical",
"name": "SoonerSelect Medical"
}
],
"code": "OK"
Expand All @@ -841,8 +836,8 @@
"programs": [
{
"id": "7ae073dd-dbff-4bc9-86b8-d27954dd5776",
"fullName": "Oregon Health Plan",
"name": "Oregon Health Plan"
"fullName": "Healthier Oregon Program",
"name": "HOP"
},
{
"id": "46246196-3b63-40be-8db1-c09cec281dae",
Expand All @@ -860,14 +855,9 @@
{
"name": "Pennsylvania",
"programs": [
{
"id": "867b91fa-f470-4553-8e99-5e15afd891b5",
"fullName": "Living Independence for the Elderly",
"name": "LIFE"
},
{
"id": "ef45f326-8b3a-44a9-aac6-8fa73400680a",
"fullName": "HealthChoices - Physical Health",
"fullName": "HealthChoices Physical Health",
"name": "PH"
},
{
Expand All @@ -877,7 +867,7 @@
},
{
"id": "65f965cd-7823-4777-bfb1-688b36bb92b2",
"fullName": "Behavioral Health HealthChoices",
"fullName": "HealthChoices Behavioral Health",
"name": "BH"
}
],
Expand Down Expand Up @@ -948,16 +938,6 @@
"id": "3fe3d26b-175f-4550-92a2-9f86b273c0f0",
"fullName": "TennCare II",
"name": "TennCare"
},
{
"id": "288f4a6c-1772-46bb-bf88-e57d375a91a6",
"fullName": "TennCare CHOICES",
"name": "CHOICES"
},
{
"id": "1bf0f2f9-849d-48e6-a233-601af51fd477",
"fullName": "Non-CHOICES  ",
"name": "Non-CHOICES"
}
],
"code": "TN"
Expand Down Expand Up @@ -1040,11 +1020,6 @@
"id": "2f4bfd6c-c25a-44b1-9010-7367d13e7325",
"fullName": "CHIP Dental",
"name": "CHIP Dental"
},
{
"id": "c20d27e3-ce47-4f6c-911c-e09bcb38e6ff",
"fullName": "Expansion Prepaid Mental Health Planas",
"name": "ExPMHP"
}
],
"code": "UT"
Expand All @@ -1071,12 +1046,7 @@
{
"id": "2dacc6c3-ed0b-4c95-a17c-47f8d3340511",
"fullName": "Global Commitment to Health",
"name": "GCH"
},
{
"id": "e5027571-9a8b-4022-a3a9-5d6f8a0f83b5",
"fullName": "Vermont Medicaid Next Generation Accountable Care Organization (VMNG)",
"name": "ACO"
"name": "GCTH"
}
],
"code": "VT"
Expand All @@ -1087,17 +1057,12 @@
{
"id": "7877a1e5-bdda-4668-b379-e35bde146536",
"fullName": "Apple Health Integrated Managed Care (FIMC)",
"name": "AHIMC"
},
{
"id": "64249023-8194-4ed5-8268-0e3099b83093",
"fullName": "Behavioral Health Services Only",
"name": "BHSO"
"name": "Apple Health"
},
{
"id": "9f5c066a-9e62-4f1a-8f77-090718b11c1a",
"fullName": "Apple Health Integrated Foster Care",
"name": "AHIFC"
"name": "IFC"
},
{
"id": "5601ebf2-5f94-49cb-9994-bc5d4b874bc0",
Expand All @@ -1113,7 +1078,7 @@
{
"id": "03152a0a-0888-4b24-87a8-1a7371e9b8e4",
"fullName": "BadgerCare Plus",
"name": "BCP"
"name": "BadgerCare"
},
{
"id": "9843c1dc-981c-4d2f-a04f-83b2a8ff254d",
Expand All @@ -1123,18 +1088,13 @@
{
"id": "8d289aae-c5f5-4af8-a7a2-8b347273dfee",
"fullName": "Family Care Partnership Program",
"name": "Partnership"
"name": "Family Care Partnership"
},
{
"id": "e00f0ae0-7282-4087-8e1f-232ce967d5c3",
"fullName": "Family Care",
"name": "Family Care"
},
{
"id": "0f55782c-3bd8-4e6b-952e-7b3facfa0d4e",
"fullName": "Children Come First",
"name": "CCF"
},
{
"id": "dc7d4bf5-c2bc-4b36-871b-f0761d040ecd",
"fullName": "WrapAround Milwaukee",
Expand All @@ -1158,7 +1118,7 @@
},
{
"id": "76fd2c76-decd-41c4-924b-82820d8fe3f0",
"fullName": "Specialized Managed Care Plan for Children and Youth Program (Mountain Health Promise )",
"fullName": "Mountain Health Promise",
"name": "MHP"
},
{
Expand Down
Loading