Skip to content

Commit

Permalink
[EASI-3685] - Beneficiary removal frequency (#893)
Browse files Browse the repository at this point in the history
* WIP Frequency Types for Plan Payments

* Rename migration

* [EASI-3713] - Part 1 - FrequencyForm Component and anticipatedPaymentFrequency Implementation (#869)

* Added custom form component for frequency type

* Fized issue with readonlysection component

* Added util functions for readonlysection to maintain order with additional info

* Updated snaps

* Updated cypress test

* Rename migration

* Revert "[EASI-3713] - Frequency Updates FE Part 2 (#872)"

This reverts commit d8f4448.

* Renamed migration

* [EASI-3713] - Re-Approve - Frequency updates fe part 2 (#881)

* Added custom form component for frequency type

* Fized issue with readonlysection component

* Added util functions for readonlysection to maintain order with additional info

* Updated snaps

* Updated cypress test

* Init work for P&P frequency updates

* Updatd cypress test

* Rename migration

* Revert "Merge branch 'EASI-3713/frequency-updates-FE' into EASI-3713/frequency-updates-FE-Part-2"

This reverts commit 0680b40, reversing
changes made to a31f9e5.

* Revert "Revert "Merge branch 'EASI-3713/frequency-updates-FE' into EASI-3713/frequency-updates-FE-Part-2""

This reverts commit 17393c9.

* Rename migration

* update snaps

* renamed Update_Frequency_Type.sql migration version from 124 to 126

* Fixed migration merge issue with order

---------

Co-authored-by: Gary Zhao <[email protected]>
Co-authored-by: Gary Zhao <[email protected]>

* [EASI-3713] - Frequency Updates Part 3 (#882)

* Added custom form component for frequency type

* Fized issue with readonlysection component

* Added util functions for readonlysection to maintain order with additional info

* Updated snaps

* Updated cypress test

* Init work for P&P frequency updates

* Updatd cypress test

* Rename migration

* Revert "Merge branch 'EASI-3713/frequency-updates-FE' into EASI-3713/frequency-updates-FE-Part-2"

This reverts commit 0680b40, reversing
changes made to a31f9e5.

* Revert "Revert "Merge branch 'EASI-3713/frequency-updates-FE' into EASI-3713/frequency-updates-FE-Part-2""

This reverts commit 17393c9.

* Rename migration

* update snaps

* renamed Update_Frequency_Type.sql migration version from 124 to 126

* Fixed migration merge issue with order

* Init beneficiary frequency work

* Added backend work for new frequency type

* Added form work for beneficiary frequency type

* Updated tests

---------

Co-authored-by: Gary Zhao <[email protected]>
Co-authored-by: Gary Zhao <[email protected]>

* [EASI-3713] - Frequency Updates Part 4 (#883)

* Added custom form component for frequency type

* Fized issue with readonlysection component

* Added util functions for readonlysection to maintain order with additional info

* Updated snaps

* Updated cypress test

* Init work for P&P frequency updates

* Updatd cypress test

* Rename migration

* Revert "Merge branch 'EASI-3713/frequency-updates-FE' into EASI-3713/frequency-updates-FE-Part-2"

This reverts commit 0680b40, reversing
changes made to a31f9e5.

* Revert "Revert "Merge branch 'EASI-3713/frequency-updates-FE' into EASI-3713/frequency-updates-FE-Part-2""

This reverts commit 17393c9.

* Rename migration

* update snaps

* renamed Update_Frequency_Type.sql migration version from 124 to 126

* Fixed migration merge issue with order

* Init beneficiary frequency work

* Added backend work for new frequency type

* Added form work for beneficiary frequency type

* Updated tests

* Finished BE work for data sharing

* Added form elements for opsevalandlearning

* Added readonly opsavalandlearning frequency

* Updated cypress tests

* Added csv

* Updated translation form types

* Fixed lint error

---------

Co-authored-by: Gary Zhao <[email protected]>
Co-authored-by: Gary Zhao <[email protected]>

* [EASI-3713] - Rename frequency type (#886)

Renamed frequency type minus migrations

* Resolved merge conflicts

* Addressed issues with previsou revert

* Addressed remaining issues with previsou revert

* Fixed typo in update sql

* Added beneficiaryRemovalFrequency to schema and forms

* Added beneficiaryRemovalFrequency to server test and csv

* Added props to FrequencyForm, updated snaps

* Updated postman collection, removed unneeded null migration default

* Removed postman collection link

* Fixed semiannually hyphen and updated snaps

* Updated snaps

* Fixed migration conflicts

---------

Co-authored-by: ClayBenson94 <[email protected]>
Co-authored-by: Gary Zhao <[email protected]>
Co-authored-by: Gary Zhao <[email protected]>
  • Loading branch information
4 people authored Jan 19, 2024
1 parent 1bed05a commit adc0831
Show file tree
Hide file tree
Showing 31 changed files with 846 additions and 17 deletions.
4 changes: 2 additions & 2 deletions MINT.postman_collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"_postman_id": "e23e8f12-f5f3-4ec1-a657-f55753705490",
"name": "MINT",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "20435042"
"_exporter_id": "22120875"
},
"item": [
{
Expand Down Expand Up @@ -298,7 +298,7 @@
"body": {
"mode": "graphql",
"graphql": {
"query": "mutation updatePlanBeneficiaries{\n updatePlanBeneficiaries (id: \"{{beneficiariesID}}\", changes: \n {\n status: READY_FOR_CLEARANCE\n #Page 1\n beneficiaries: [MEDICAID,MEDICARE_PART_D]\n diseaseSpecificGroup: \"centers for diabetes prevention\"\n # beneficiariesOther:\n # beneficiariesNote:\n # treatDualElligibleDifferent:\n # treatDualElligibleDifferentHow:\n # treatDualElligibleDifferentNote:\n # excludeCertainCharacteristics:\n # excludeCertainCharacteristicsCriteria:\n # excludeCertainCharacteristicsNote:\n #Page 2\n numberPeopleImpacted: 22\n # estimateConfidence:\n confidenceNote: \"Confidence hooray!!!!\"\n # beneficiarySelectionMethod:\n # beneficiarySelectionOther:\n\n # beneficiarySelectionNote:\n # #Page 3\n # beneficiarySelectionFrequency:\n # beneficiarySelectionFrequencyOther:\n # beneficiarySelectionFrequencyNote:\n # beneficiaryOverlap:\n # beneficiaryOverlapNote:\n precedenceRules: [YES, NO]\n precedenceRulesYes: \"This is a 'YES' comment\"\n precedenceRulesNo: \"This is a 'NO' comment\"\n precedenceRulesNote: \"This is a precedence rules note\"\n beneficiarySelectionFrequency: CONTINUALLY\n beneficiarySelectionFrequencyContinually: \"This is a continual frequency note\"\n }) {\n id\n modelPlanID\n beneficiaries\n beneficiariesOther\n beneficiariesNote\n diseaseSpecificGroup\n treatDualElligibleDifferent\n treatDualElligibleDifferentHow\n treatDualElligibleDifferentNote\n excludeCertainCharacteristics\n excludeCertainCharacteristicsCriteria\n excludeCertainCharacteristicsNote\n numberPeopleImpacted\n estimateConfidence\n confidenceNote\n beneficiarySelectionMethod\n beneficiarySelectionOther\n beneficiarySelectionNote\n beneficiarySelectionFrequency\n beneficiarySelectionFrequencyContinually\n beneficiarySelectionFrequencyOther\n beneficiarySelectionFrequencyNote\n beneficiaryOverlap\n beneficiaryOverlapNote\n precedenceRules\n precedenceRulesYes\n precedenceRulesNo\n precedenceRulesNote\n createdBy\n createdDts\n modifiedBy\n modifiedDts\n readyForReviewBy\n readyForReviewDts\n readyForClearanceBy\n readyForClearanceDts\n status\n\n createdByUserAccount \n {\n commonName\n } \n modifiedByUserAccount\n {\n commonName\n } \n readyForReviewByUserAccount \n {\n commonName\n }\n readyForClearanceByUserAccount \n {\n commonName\n } \n }\n}",
"query": "mutation updatePlanBeneficiaries{\n updatePlanBeneficiaries (id: \"{{beneficiariesID}}\", changes: \n {\n status: READY_FOR_CLEARANCE\n #Page 1\n beneficiaries: [MEDICAID,MEDICARE_PART_D]\n diseaseSpecificGroup: \"centers for diabetes prevention\"\n # beneficiariesOther:\n # beneficiariesNote:\n # treatDualElligibleDifferent:\n # treatDualElligibleDifferentHow:\n # treatDualElligibleDifferentNote:\n # excludeCertainCharacteristics:\n # excludeCertainCharacteristicsCriteria:\n # excludeCertainCharacteristicsNote:\n #Page 2\n numberPeopleImpacted: 22\n # estimateConfidence:\n confidenceNote: \"Confidence hooray!!!!\"\n # beneficiarySelectionMethod:\n # beneficiarySelectionOther:\n\n # beneficiarySelectionNote:\n # #Page 3\n # beneficiarySelectionFrequency:\n # beneficiarySelectionFrequencyOther:\n # beneficiarySelectionFrequencyNote:\n # beneficiaryOverlap:\n # beneficiaryOverlapNote:\n precedenceRules: [YES, NO]\n precedenceRulesYes: \"This is a 'YES' comment\"\n precedenceRulesNo: \"This is a 'NO' comment\"\n precedenceRulesNote: \"This is a precedence rules note\"\n }) {\n id\n modelPlanID\n beneficiaries\n beneficiariesOther\n beneficiariesNote\n diseaseSpecificGroup\n treatDualElligibleDifferent\n treatDualElligibleDifferentHow\n treatDualElligibleDifferentNote\n excludeCertainCharacteristics\n excludeCertainCharacteristicsCriteria\n excludeCertainCharacteristicsNote\n numberPeopleImpacted\n estimateConfidence\n confidenceNote\n beneficiarySelectionMethod\n beneficiarySelectionOther\n beneficiarySelectionNote\n beneficiarySelectionFrequency\n beneficiarySelectionFrequencyOther\n beneficiarySelectionFrequencyNote\n beneficiaryRemovalFrequency\n beneficiaryRemovalFrequencyContinually\n beneficiaryRemovalFrequencyOther\n beneficiaryRemovalFrequencyNote\n beneficiaryOverlap\n beneficiaryOverlapNote\n precedenceRules\n precedenceRulesYes\n precedenceRulesNo\n precedenceRulesNote\n createdBy\n createdDts\n modifiedBy\n modifiedDts\n readyForReviewBy\n readyForReviewDts\n readyForClearanceBy\n readyForClearanceDts\n status\n\n createdByUserAccount \n {\n commonName\n } \n modifiedByUserAccount\n {\n commonName\n } \n readyForReviewByUserAccount \n {\n commonName\n }\n readyForClearanceByUserAccount \n {\n commonName\n } \n }\n}",
"variables": ""
}
},
Expand Down
5 changes: 5 additions & 0 deletions migrations/V132__Add_Remove_Beneficiary_Frequency.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ALTER TABLE plan_beneficiaries
ADD COLUMN beneficiary_removal_frequency_continually ZERO_STRING,
ADD COLUMN beneficiary_removal_frequency_other ZERO_STRING,
ADD COLUMN beneficiary_removal_frequency_note ZERO_STRING,
ADD COLUMN beneficiary_removal_frequency FREQUENCY_TYPE[];
Loading

0 comments on commit adc0831

Please sign in to comment.