From 5ce4ac696e673cb874e8c96e35000e861f4e9392 Mon Sep 17 00:00:00 2001 From: ANLKMRK Date: Wed, 30 Oct 2024 14:49:26 +0530 Subject: [PATCH 01/12] EDRD-1009,1013.1038.967,767 --- ...tchRelatedMedicationRequest_1.rpt-meta.xml | 17 ++++++++++++++++ ...General_Case_Assignment_Notification.email | 6 +++++- ...ase_Assignment_Notification.email-meta.xml | 2 +- ...sonAccount-Provider Layout.layout-meta.xml | 16 +++++++++++++++ .../EDRD_Case_Fits_Criteria__c.field-meta.xml | 4 ++-- .../listViews/AC_Review.listView-meta.xml | 7 +++++-- .../All_EDRD_Cases.listView-meta.xml | 3 ++- .../EDRD_AC_Cases_Historic.listView-meta.xml | 9 ++++++--- .../EDRD_AC_Cases_Upcoming.listView-meta.xml | 9 ++++++--- ...EDRD_Ministry_Queue_Case.listView-meta.xml | 9 ++++++--- .../EDRD_PSP_Closed_Queue.listView-meta.xml | 9 ++++++--- .../EDRD_PSP_Queue_Case.listView-meta.xml | 9 ++++++--- .../EDRD_SC_Cases_Historic.listView-meta.xml | 9 ++++++--- .../EDRD_SC_Cases_Upcoming.listView-meta.xml | 9 ++++++--- .../listViews/MOH_Review.listView-meta.xml | 9 ++++++--- .../My_EDRD_Close_Cases.listView-meta.xml | 7 ++++--- ...EDRD_Closed_Cases_Portal.listView-meta.xml | 6 +++--- .../My_EDRD_Open_Cases.listView-meta.xml | 8 +++++--- ...y_EDRD_Open_Cases_Portal.listView-meta.xml | 7 ++++--- .../listViews/SC_Review.listView-meta.xml | 7 +++++-- .../fields/OtherEmail__c.field-meta.xml | 13 ++++++++++++ .../Patient_is_Deceased__c.field-meta.xml | 6 ++++-- .../EDRD_PS_MOH_Staff.permissionset-meta.xml | 20 +++++++++++++++++++ ...D_PS_PHSA_PSP_Staff.permissionset-meta.xml | 20 +++++++++++++++++++ .../EDRD_Super_User.permissionset-meta.xml | 20 +++++++++++++++++++ 25 files changed, 194 insertions(+), 47 deletions(-) create mode 100644 force-app/main/default/objects/Contact/fields/OtherEmail__c.field-meta.xml diff --git a/OmniStudio-Components/main/default/omniDataTransforms/FetchRelatedMedicationRequest_1.rpt-meta.xml b/OmniStudio-Components/main/default/omniDataTransforms/FetchRelatedMedicationRequest_1.rpt-meta.xml index 877e46fa9..06ddf368c 100644 --- a/OmniStudio-Components/main/default/omniDataTransforms/FetchRelatedMedicationRequest_1.rpt-meta.xml +++ b/OmniStudio-Components/main/default/omniDataTransforms/FetchRelatedMedicationRequest_1.rpt-meta.xml @@ -50,6 +50,23 @@ false false + + false + 0.0 + = + 'false' + FetchRelatedMedicationRequestCustom4086 + Medication.One_time_Dose__c + MedicationRequest + 1.0 + 0.0 + FetchRelatedMedicationRequest + 0.0 + MedicationRequests + json + false + false + false 0.0 diff --git a/dev-app-post/main/default/email/unfiled$public/General_Case_Assignment_Notification.email b/dev-app-post/main/default/email/unfiled$public/General_Case_Assignment_Notification.email index fd8385927..feaab2d70 100644 --- a/dev-app-post/main/default/email/unfiled$public/General_Case_Assignment_Notification.email +++ b/dev-app-post/main/default/email/unfiled$public/General_Case_Assignment_Notification.email @@ -1,11 +1,15 @@ *** CASE ASSIGNMENT NOTIFICATION *** -Hello, +Hello {!Case.OwnerFullName}, A case has been assigned to you. Below are the details: Case #: {!Case.CaseNumber} + Case Type: {!Case.Type} + +Status: {!Case.Status} + Date/Time Opened: {!Case.CreatedDate} Click on the link to access the case: {!Case.Link} diff --git a/dev-app-post/main/default/email/unfiled$public/General_Case_Assignment_Notification.email-meta.xml b/dev-app-post/main/default/email/unfiled$public/General_Case_Assignment_Notification.email-meta.xml index f86406e0a..bf4e91e19 100644 --- a/dev-app-post/main/default/email/unfiled$public/General_Case_Assignment_Notification.email-meta.xml +++ b/dev-app-post/main/default/email/unfiled$public/General_Case_Assignment_Notification.email-meta.xml @@ -5,7 +5,7 @@ UTF-8 General Case Assignment Notification - Case # {!Case.CaseNumber} has been assigned to you. + Case # {!Case.CaseNumber} in {!Case.Status} has been assigned to you. text Aloha diff --git a/force-app/main/default/layouts/PersonAccount-Provider Layout.layout-meta.xml b/force-app/main/default/layouts/PersonAccount-Provider Layout.layout-meta.xml index ff5f0c687..897197b31 100644 --- a/force-app/main/default/layouts/PersonAccount-Provider Layout.layout-meta.xml +++ b/force-app/main/default/layouts/PersonAccount-Provider Layout.layout-meta.xml @@ -36,6 +36,18 @@ Edit Person_Full_Name__c + + Edit + PersonOtherPhone + + + Edit + PersonHomePhone + + + Edit + OtherEmail__pc + @@ -58,6 +70,10 @@ Edit Committee_Name__pc + + Edit + PersonEmail + diff --git a/force-app/main/default/objects/Case/fields/EDRD_Case_Fits_Criteria__c.field-meta.xml b/force-app/main/default/objects/Case/fields/EDRD_Case_Fits_Criteria__c.field-meta.xml index 81ffa58b8..414a46c8e 100644 --- a/force-app/main/default/objects/Case/fields/EDRD_Case_Fits_Criteria__c.field-meta.xml +++ b/force-app/main/default/objects/Case/fields/EDRD_Case_Fits_Criteria__c.field-meta.xml @@ -3,9 +3,9 @@ EDRD_Case_Fits_Criteria__c false false - + false false - false +false Checkbox diff --git a/force-app/main/default/objects/Case/listViews/AC_Review.listView-meta.xml b/force-app/main/default/objects/Case/listViews/AC_Review.listView-meta.xml index 0fe1f7b8f..308a7efcb 100644 --- a/force-app/main/default/objects/Case/listViews/AC_Review.listView-meta.xml +++ b/force-app/main/default/objects/Case/listViews/AC_Review.listView-meta.xml @@ -2,12 +2,15 @@ AC_Review CASES.CASE_NUMBER + CASES.TYPE + Patient_Identifier__c EDRD_Ref_No__c - CASES.STATUS NAME - Patient_Identifier__c Provider__c Medication_Name__c + CASES.STATUS + CASES.SUBJECT + CASES.CREATED_DATE Everything CASES.STATUS diff --git a/force-app/main/default/objects/Case/listViews/All_EDRD_Cases.listView-meta.xml b/force-app/main/default/objects/Case/listViews/All_EDRD_Cases.listView-meta.xml index 911c34ceb..5ba301c87 100644 --- a/force-app/main/default/objects/Case/listViews/All_EDRD_Cases.listView-meta.xml +++ b/force-app/main/default/objects/Case/listViews/All_EDRD_Cases.listView-meta.xml @@ -2,14 +2,15 @@ All_EDRD_Cases CASES.CASE_NUMBER + CASES.TYPE Patient_Identifier__c EDRD_Ref_No__c NAME Provider__c Medication_Name__c CASES.STATUS + CASES.SUBJECT CASES.CREATED_DATE - CASES.TYPE Everything CASES.RECORDTYPE diff --git a/force-app/main/default/objects/Case/listViews/EDRD_AC_Cases_Historic.listView-meta.xml b/force-app/main/default/objects/Case/listViews/EDRD_AC_Cases_Historic.listView-meta.xml index 5534c70a7..8438688e2 100644 --- a/force-app/main/default/objects/Case/listViews/EDRD_AC_Cases_Historic.listView-meta.xml +++ b/force-app/main/default/objects/Case/listViews/EDRD_AC_Cases_Historic.listView-meta.xml @@ -2,12 +2,15 @@ EDRD_AC_Cases_Historic CASES.CASE_NUMBER + CASES.TYPE + Patient_Identifier__c EDRD_Ref_No__c - CASES.STATUS + NAME Provider__c Medication_Name__c - NAME - Patient_Identifier__c + CASES.STATUS + CASES.SUBJECT + CASES.CREATED_DATE Everything CASES.STATUS diff --git a/force-app/main/default/objects/Case/listViews/EDRD_AC_Cases_Upcoming.listView-meta.xml b/force-app/main/default/objects/Case/listViews/EDRD_AC_Cases_Upcoming.listView-meta.xml index a680142b0..e5672f7da 100644 --- a/force-app/main/default/objects/Case/listViews/EDRD_AC_Cases_Upcoming.listView-meta.xml +++ b/force-app/main/default/objects/Case/listViews/EDRD_AC_Cases_Upcoming.listView-meta.xml @@ -2,12 +2,15 @@ EDRD_AC_Cases_Upcoming CASES.CASE_NUMBER + CASES.TYPE + Patient_Identifier__c EDRD_Ref_No__c - CASES.STATUS + NAME Provider__c Medication_Name__c - NAME - Patient_Identifier__c + CASES.STATUS + CASES.SUBJECT + CASES.CREATED_DATE Everything EDRD_Advisory_Committee__c diff --git a/force-app/main/default/objects/Case/listViews/EDRD_Ministry_Queue_Case.listView-meta.xml b/force-app/main/default/objects/Case/listViews/EDRD_Ministry_Queue_Case.listView-meta.xml index 8d87c703c..25524d19d 100644 --- a/force-app/main/default/objects/Case/listViews/EDRD_Ministry_Queue_Case.listView-meta.xml +++ b/force-app/main/default/objects/Case/listViews/EDRD_Ministry_Queue_Case.listView-meta.xml @@ -2,12 +2,15 @@ EDRD_Ministry_Queue_Case CASES.CASE_NUMBER + CASES.TYPE + Patient_Identifier__c + EDRD_Ref_No__c NAME - CASES.SUBJECT + Provider__c + Medication_Name__c CASES.STATUS - CASES.PRIORITY + CASES.SUBJECT CASES.CREATED_DATE - CORE.USERS.ALIAS Queue CASES.RECORDTYPE diff --git a/force-app/main/default/objects/Case/listViews/EDRD_PSP_Closed_Queue.listView-meta.xml b/force-app/main/default/objects/Case/listViews/EDRD_PSP_Closed_Queue.listView-meta.xml index d52b2f5f7..d40d0872d 100644 --- a/force-app/main/default/objects/Case/listViews/EDRD_PSP_Closed_Queue.listView-meta.xml +++ b/force-app/main/default/objects/Case/listViews/EDRD_PSP_Closed_Queue.listView-meta.xml @@ -2,12 +2,15 @@ EDRD_PSP_Closed_Queue CASES.CASE_NUMBER + CASES.TYPE + Patient_Identifier__c + EDRD_Ref_No__c NAME - CASES.SUBJECT + Provider__c + Medication_Name__c CASES.STATUS - CASES.PRIORITY + CASES.SUBJECT CASES.CREATED_DATE - CORE.USERS.ALIAS Queue CASES.RECORDTYPE diff --git a/force-app/main/default/objects/Case/listViews/EDRD_PSP_Queue_Case.listView-meta.xml b/force-app/main/default/objects/Case/listViews/EDRD_PSP_Queue_Case.listView-meta.xml index fd96e9282..40646ed1d 100644 --- a/force-app/main/default/objects/Case/listViews/EDRD_PSP_Queue_Case.listView-meta.xml +++ b/force-app/main/default/objects/Case/listViews/EDRD_PSP_Queue_Case.listView-meta.xml @@ -2,12 +2,15 @@ EDRD_PSP_Queue_Case CASES.CASE_NUMBER + CASES.TYPE + Patient_Identifier__c + EDRD_Ref_No__c NAME - CASES.SUBJECT + Provider__c + Medication_Name__c CASES.STATUS - CASES.PRIORITY + CASES.SUBJECT CASES.CREATED_DATE - CORE.USERS.ALIAS Queue CASES.RECORDTYPE diff --git a/force-app/main/default/objects/Case/listViews/EDRD_SC_Cases_Historic.listView-meta.xml b/force-app/main/default/objects/Case/listViews/EDRD_SC_Cases_Historic.listView-meta.xml index e1b177dbe..59f2236a6 100644 --- a/force-app/main/default/objects/Case/listViews/EDRD_SC_Cases_Historic.listView-meta.xml +++ b/force-app/main/default/objects/Case/listViews/EDRD_SC_Cases_Historic.listView-meta.xml @@ -2,12 +2,15 @@ EDRD_SC_Cases_Historic CASES.CASE_NUMBER + CASES.TYPE + Patient_Identifier__c EDRD_Ref_No__c - CASES.STATUS + NAME Provider__c Medication_Name__c - NAME - Patient_Identifier__c + CASES.STATUS + CASES.SUBJECT + CASES.CREATED_DATE Everything EDRD_SubCommittee_Name__c diff --git a/force-app/main/default/objects/Case/listViews/EDRD_SC_Cases_Upcoming.listView-meta.xml b/force-app/main/default/objects/Case/listViews/EDRD_SC_Cases_Upcoming.listView-meta.xml index 0f1462786..e39f4408c 100644 --- a/force-app/main/default/objects/Case/listViews/EDRD_SC_Cases_Upcoming.listView-meta.xml +++ b/force-app/main/default/objects/Case/listViews/EDRD_SC_Cases_Upcoming.listView-meta.xml @@ -3,12 +3,15 @@ EDRD_SC_Cases_Upcoming 1 AND 2 CASES.CASE_NUMBER + CASES.TYPE + Patient_Identifier__c EDRD_Ref_No__c - CASES.STATUS + NAME Provider__c Medication_Name__c - NAME - Patient_Identifier__c + CASES.STATUS + CASES.SUBJECT + CASES.CREATED_DATE Everything EDRD_SubCommittee_Name__c diff --git a/force-app/main/default/objects/Case/listViews/MOH_Review.listView-meta.xml b/force-app/main/default/objects/Case/listViews/MOH_Review.listView-meta.xml index 6b64d6401..402c00ec0 100644 --- a/force-app/main/default/objects/Case/listViews/MOH_Review.listView-meta.xml +++ b/force-app/main/default/objects/Case/listViews/MOH_Review.listView-meta.xml @@ -2,12 +2,15 @@ MOH_Review CASES.CASE_NUMBER + CASES.TYPE + Patient_Identifier__c EDRD_Ref_No__c - CASES.STATUS NAME - Patient_Identifier__c - Provider__c Medication_Name__c + Provider__c + CASES.STATUS + CASES.SUBJECT + CASES.CREATED_DATE Everything CASES.STATUS diff --git a/force-app/main/default/objects/Case/listViews/My_EDRD_Close_Cases.listView-meta.xml b/force-app/main/default/objects/Case/listViews/My_EDRD_Close_Cases.listView-meta.xml index ea3314167..6a0acfe71 100644 --- a/force-app/main/default/objects/Case/listViews/My_EDRD_Close_Cases.listView-meta.xml +++ b/force-app/main/default/objects/Case/listViews/My_EDRD_Close_Cases.listView-meta.xml @@ -3,14 +3,15 @@ My_EDRD_Close_Cases 1 AND 2 CASES.CASE_NUMBER + CASES.TYPE + Patient_Identifier__c EDRD_Ref_No__c - CASES.STATUS NAME - Patient_Identifier__c Provider__c Medication_Name__c + CASES.STATUS + CASES.SUBJECT CASES.CREATED_DATE - CASES.CLOSED_DATE Mine CASES.RECORDTYPE diff --git a/force-app/main/default/objects/Case/listViews/My_EDRD_Closed_Cases_Portal.listView-meta.xml b/force-app/main/default/objects/Case/listViews/My_EDRD_Closed_Cases_Portal.listView-meta.xml index a92e0ac3e..bf4b83119 100644 --- a/force-app/main/default/objects/Case/listViews/My_EDRD_Closed_Cases_Portal.listView-meta.xml +++ b/force-app/main/default/objects/Case/listViews/My_EDRD_Closed_Cases_Portal.listView-meta.xml @@ -3,14 +3,14 @@ My_EDRD_Closed_Cases_Portal CASES.CASE_NUMBER CASES.TYPE + Patient_Identifier__c EDRD_Ref_No__c - CASES.STATUS NAME - Patient_Identifier__c Provider__c Medication_Name__c + CASES.STATUS + CASES.SUBJECT CASES.CREATED_DATE - CASES.CLOSED_DATE Everything CASES.RECORDTYPE diff --git a/force-app/main/default/objects/Case/listViews/My_EDRD_Open_Cases.listView-meta.xml b/force-app/main/default/objects/Case/listViews/My_EDRD_Open_Cases.listView-meta.xml index 06a740cb6..282db3d30 100644 --- a/force-app/main/default/objects/Case/listViews/My_EDRD_Open_Cases.listView-meta.xml +++ b/force-app/main/default/objects/Case/listViews/My_EDRD_Open_Cases.listView-meta.xml @@ -2,12 +2,14 @@ My_EDRD_Open_Cases CASES.CASE_NUMBER + CASES.TYPE + Patient_Identifier__c EDRD_Ref_No__c - CASES.STATUS - Provider__c NAME - Patient_Identifier__c + Provider__c Medication_Name__c + CASES.STATUS + CASES.SUBJECT CASES.CREATED_DATE Mine diff --git a/force-app/main/default/objects/Case/listViews/My_EDRD_Open_Cases_Portal.listView-meta.xml b/force-app/main/default/objects/Case/listViews/My_EDRD_Open_Cases_Portal.listView-meta.xml index 783097f3f..fe9cc9e03 100644 --- a/force-app/main/default/objects/Case/listViews/My_EDRD_Open_Cases_Portal.listView-meta.xml +++ b/force-app/main/default/objects/Case/listViews/My_EDRD_Open_Cases_Portal.listView-meta.xml @@ -3,12 +3,13 @@ My_EDRD_Open_Cases_Portal CASES.CASE_NUMBER CASES.TYPE + Patient_Identifier__c EDRD_Ref_No__c - CASES.STATUS - Provider__c NAME - Patient_Identifier__c + Provider__c Medication_Name__c + CASES.STATUS + CASES.SUBJECT CASES.CREATED_DATE Everything diff --git a/force-app/main/default/objects/Case/listViews/SC_Review.listView-meta.xml b/force-app/main/default/objects/Case/listViews/SC_Review.listView-meta.xml index cd1743b74..fd6d45b2d 100644 --- a/force-app/main/default/objects/Case/listViews/SC_Review.listView-meta.xml +++ b/force-app/main/default/objects/Case/listViews/SC_Review.listView-meta.xml @@ -2,12 +2,15 @@ SC_Review CASES.CASE_NUMBER + CASES.TYPE + Patient_Identifier__c EDRD_Ref_No__c - CASES.STATUS NAME - Patient_Identifier__c Provider__c Medication_Name__c + CASES.STATUS + CASES.SUBJECT + CASES.CREATED_DATE Everything CASES.STATUS diff --git a/force-app/main/default/objects/Contact/fields/OtherEmail__c.field-meta.xml b/force-app/main/default/objects/Contact/fields/OtherEmail__c.field-meta.xml new file mode 100644 index 000000000..557f23548 --- /dev/null +++ b/force-app/main/default/objects/Contact/fields/OtherEmail__c.field-meta.xml @@ -0,0 +1,13 @@ + + + OtherEmail__c + This field is use to store, if persona have alterative email-id also. Main email-id store at standard Email field. + None + false + + false + false + false + Email + false + diff --git a/force-app/main/default/objects/Contact/fields/Patient_is_Deceased__c.field-meta.xml b/force-app/main/default/objects/Contact/fields/Patient_is_Deceased__c.field-meta.xml index 0d33ae041..5f47b0ce8 100644 --- a/force-app/main/default/objects/Contact/fields/Patient_is_Deceased__c.field-meta.xml +++ b/force-app/main/default/objects/Contact/fields/Patient_is_Deceased__c.field-meta.xml @@ -2,8 +2,10 @@ Patient_is_Deceased__c false - false + false + This will affect open case records. +This will affect the case expiry and forecast date. false - Checkbox + Checkbox diff --git a/force-app/main/default/permissionsets/EDRD_PS_MOH_Staff.permissionset-meta.xml b/force-app/main/default/permissionsets/EDRD_PS_MOH_Staff.permissionset-meta.xml index 8eedf7df7..d518e50b2 100644 --- a/force-app/main/default/permissionsets/EDRD_PS_MOH_Staff.permissionset-meta.xml +++ b/force-app/main/default/permissionsets/EDRD_PS_MOH_Staff.permissionset-meta.xml @@ -489,11 +489,21 @@ Contact.ESA_Provider_Specialty__c true + + true + Contact.Email + true + true Contact.Fax true + + true + Contact.HomePhone + true + true Contact.Is_EDRD_Provider__c @@ -514,6 +524,16 @@ Contact.OtherAddress true + + true + Contact.OtherEmail__c + true + + + true + Contact.OtherPhone + true + true Contact.Patient_Identifier__c diff --git a/force-app/main/default/permissionsets/EDRD_PS_PHSA_PSP_Staff.permissionset-meta.xml b/force-app/main/default/permissionsets/EDRD_PS_PHSA_PSP_Staff.permissionset-meta.xml index 2f8261332..2a6c58c98 100644 --- a/force-app/main/default/permissionsets/EDRD_PS_PHSA_PSP_Staff.permissionset-meta.xml +++ b/force-app/main/default/permissionsets/EDRD_PS_PHSA_PSP_Staff.permissionset-meta.xml @@ -489,11 +489,21 @@ Contact.ESA_Provider_Specialty__c true + + true + Contact.Email + true + true Contact.Fax true + + true + Contact.HomePhone + true + true Contact.Is_EDRD_Provider__c @@ -514,6 +524,16 @@ Contact.OtherAddress true + + true + Contact.OtherEmail__c + true + + + true + Contact.OtherPhone + true + true Contact.Patient_Identifier__c diff --git a/force-app/main/default/permissionsets/EDRD_Super_User.permissionset-meta.xml b/force-app/main/default/permissionsets/EDRD_Super_User.permissionset-meta.xml index b8e9d63b6..ddabb096d 100644 --- a/force-app/main/default/permissionsets/EDRD_Super_User.permissionset-meta.xml +++ b/force-app/main/default/permissionsets/EDRD_Super_User.permissionset-meta.xml @@ -586,11 +586,21 @@ Contact.ESA_Provider_Specialty__c true + + true + Contact.Email + true + true Contact.Fax true + + true + Contact.HomePhone + true + true Contact.Is_EDRD_Provider__c @@ -611,6 +621,16 @@ Contact.OtherAddress true + + true + Contact.OtherEmail__c + true + + + true + Contact.OtherPhone + true + true Contact.Patient_Identifier__c From 2978e5400c17f7106f521f5f9038449f515e4c38 Mon Sep 17 00:00:00 2001 From: deepakmulamalla Date: Sat, 2 Nov 2024 14:06:41 -0400 Subject: [PATCH 02/12] Changes Related To EDRD-1055 --- .../flows/Create_EDRD_Case.flow-meta.xml | 301 ++++++++++++------ 1 file changed, 212 insertions(+), 89 deletions(-) diff --git a/dev-app-post/main/default/flows/Create_EDRD_Case.flow-meta.xml b/dev-app-post/main/default/flows/Create_EDRD_Case.flow-meta.xml index 0e3708938..4be390bc5 100644 --- a/dev-app-post/main/default/flows/Create_EDRD_Case.flow-meta.xml +++ b/dev-app-post/main/default/flows/Create_EDRD_Case.flow-meta.xml @@ -1,6 +1,66 @@ - 59.0 + 60.0 + + Update_CD_with_Entity_Id + + 798 + 4034 + + CDL_Record.ContentDocumentId + Assign + + Iterate_CD_Records + + + + CDL_Record.LinkedEntityId + Assign + + StoreRenewalCase.Id + + + + Insert_CDL_Records + Add + + CDL_Record + + + + Iterate_CD_Records + + + + Update_CD_with_Entity_Id_NewCaseType + + 270 + 4034 + + CDL_Record.ContentDocumentId + Assign + + Iterate_CD_Records + + + + CDL_Record.LinkedEntityId + Assign + + StoreNewCase.Id + + + + Insert_CDL_Records + Add + + CDL_Record + + + + Iterate_CD_Records_NewCaseType + + AC_Review AC Review @@ -54,11 +114,61 @@ Renewal String + + check_Insert_CDL_list_is_not_empty + + 710 + 4226 + + Success + + Default Outcome + + CDL_List_is_not_Empty + and + + Insert_CDL_Records + IsNull + + false + + + + Create_RelatedCDLfor_RenewalCase + + + + + + check_Insert_CDL_list_is_not_empty_NewCaseType + + 182 + 4226 + + Sucees + + Default Outcome + + CDL_List_is_not_Empty_NewCaseType + and + + Insert_CDL_Records + IsNull + + false + + + + Create_RelatedCDLfor_RenewalCase_NewCaseType + + + + Choose_case_option 446 - 2894 + 3002 Get_Case_Record_Type_for_renewal @@ -108,7 +218,7 @@ Decision_10 710 - 3110 + 3218 New_renewal_case_creation_for_RecType_Renew_without_indef @@ -158,7 +268,7 @@ New_Indefinite_Funding_check 182 - 3110 + 3218 New_case_Creation_for_Rec_type_New_without_indef @@ -408,7 +518,7 @@ - updated Changes related to ACR with EDRD Data Migration field. + Changes Related EDRD-1055 caseTypeSet Picklist @@ -462,6 +572,34 @@ Default Create EDRD Case {!$Flow.CurrentDateTime} + + Iterate_CD_Records + + 710 + 3926 + UploadScreenDocument.contentDocIds + Asc + + Update_CD_with_Entity_Id + + + check_Insert_CDL_list_is_not_empty + + + + Iterate_CD_Records_NewCaseType + + 182 + 3926 + UploadScreenDocument.contentDocIds + Asc + + Update_CD_with_Entity_Id_NewCaseType + + + check_Insert_CDL_list_is_not_empty_NewCaseType + + BuilderType @@ -488,7 +626,7 @@ 3734 MedicationRequestRec - Sucees + Iterate_CD_Records_NewCaseType Case__c @@ -595,7 +733,7 @@ 3734 MedicationRequestRec - Sucees + Iterate_CD_Records_NewCaseType Case__c @@ -696,7 +834,7 @@ 3734 MedicationRequestRec - Success + Iterate_CD_Records Case__c @@ -803,7 +941,7 @@ 3734 MedicationRequestRec - Success + Iterate_CD_Records Case__c @@ -897,11 +1035,31 @@ MedicationRequest + + Create_RelatedCDLfor_RenewalCase + + 578 + 4334 + + Success + + Insert_CDL_Records + + + Create_RelatedCDLfor_RenewalCase_NewCaseType + + 50 + 4334 + + Sucees + + Insert_CDL_Records + New_case_Creation_for_Rec_type_New 50 - 3218 + 3326 Get_Newly_created_Case @@ -996,7 +1154,7 @@ New_case_Creation_for_Rec_type_New_without_indef 314 - 3218 + 3326 Get_Newly_created_Case_without_indef @@ -1085,7 +1243,7 @@ New_renewal_case_creation_for_RecType_Renew 578 - 3218 + 3326 Get_newly_created_Renewal_Rec @@ -1180,7 +1338,7 @@ New_renewal_case_creation_for_RecType_Renew_without_indef 842 - 3218 + 3326 Get_newly_created_Renewal_Rec_without_indef @@ -1301,7 +1459,7 @@ Get_Case_Record_Type 182 - 3002 + 3110 false New_Indefinite_Funding_check @@ -1331,7 +1489,7 @@ Get_Case_Record_Type_for_renewal 710 - 3002 + 3110 false Decision_10 @@ -1455,10 +1613,10 @@ Get_Newly_created_Case 50 - 3326 + 3434 true - Upload_Document + New_Indefinite_Funding_check2 and @@ -1482,10 +1640,10 @@ Get_Newly_created_Case_without_indef 314 - 3326 + 3434 true - Upload_Document + New_Indefinite_Funding_check2 and @@ -1509,10 +1667,10 @@ Get_newly_created_Renewal_Rec 578 - 3326 + 3434 false - UploadDocument + Copy_1_of_Renewal_Indefinite_Funding_check2 and @@ -1536,10 +1694,10 @@ Get_newly_created_Renewal_Rec_without_indef 842 - 3326 + 3434 false - UploadDocument + Copy_1_of_Renewal_Indefinite_Funding_check2 and @@ -1563,7 +1721,7 @@ Get_Patient_Contact_rec 446 - 2678 + 2786 false Get_Provider_Contact_Rec @@ -1649,7 +1807,7 @@ Get_Provider_Contact_Rec 446 - 2786 + 2894 false Choose_case_option @@ -1698,7 +1856,7 @@ Get_PSP_Queue 446 - 2570 + 2678 false Get_Patient_Contact_rec @@ -1962,7 +2120,7 @@ true false - Get_PSP_Queue + Upload_Supporting_Documents MedicationInformation @@ -2318,7 +2476,7 @@ true false - Get_PSP_Queue + Upload_Supporting_Documents Other_MedicationInformation @@ -2358,7 +2516,7 @@ true false - Get_PSP_Queue + Upload_Supporting_Documents Copy_1_of_MedicationInformation @@ -2625,7 +2783,7 @@ Success 710 - 3926 + 4526 false true false @@ -2709,7 +2867,7 @@ Sucees 182 - 3926 + 4526 false true false @@ -2790,68 +2948,23 @@ false - Upload_Document - - 182 - 3518 - true - true - false - - New_Indefinite_Funding_check2 - - - Upload2 - <p><strong>Upload Supporting Documents</strong></p> - DisplayText - - - FileUpload - forceContent:fileUpload - ComponentInstance - - label - - Upload File - - - - recordId - - New_case_Creation_for_Rec_type_New - - - - multiple - - true - - - UseStoredValues - true - true - - true - false - - - UploadDocument - - 710 - 3518 + Upload_Supporting_Documents + + 446 + 2570 true true false - Copy_1_of_Renewal_Indefinite_Funding_check2 + Get_PSP_Queue - Upload + Upload_SupportingDocuments <p><strong>Upload Supporting Documents</strong></p> DisplayText - File_Upload + UploadScreenDocument forceContent:fileUpload ComponentInstance @@ -2860,12 +2973,6 @@ Upload File - - recordId - - New_renewal_case_creation_for_RecType_Renew - - multiple @@ -2894,6 +3001,14 @@ true false + + CDL_Record + SObject + false + false + false + ContentDocumentLink + EDRD_careProgramRecordId String @@ -2924,6 +3039,14 @@ false Account + + Insert_CDL_Records + SObject + true + false + false + ContentDocumentLink + MedicationRequestRec String From ed7e5df0a4ad4eae2227487621bd5693fab3c0d4 Mon Sep 17 00:00:00 2001 From: deepakmulamalla Date: Sun, 3 Nov 2024 18:30:34 -0500 Subject: [PATCH 03/12] Changes related to EDRD-1010 --- .../Account/listViews/All_EDRD_Patients.listView-meta.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/force-app/main/default/objects/Account/listViews/All_EDRD_Patients.listView-meta.xml b/force-app/main/default/objects/Account/listViews/All_EDRD_Patients.listView-meta.xml index db5b48028..aec7373a3 100644 --- a/force-app/main/default/objects/Account/listViews/All_EDRD_Patients.listView-meta.xml +++ b/force-app/main/default/objects/Account/listViews/All_EDRD_Patients.listView-meta.xml @@ -14,6 +14,11 @@ equals PersonAccount.Patient + + Patient_is_Deceased__pc + equals + 0 + Developer From 36ae4f996b5ec8ef01b68e900423568a5a8c3f54 Mon Sep 17 00:00:00 2001 From: ANLKMRK Date: Mon, 4 Nov 2024 17:14:19 +0530 Subject: [PATCH 04/12] Edrd-1014 --- .../EDRD_Case_record_page.flexipage-meta.xml | 44 +++++++++++++++++++ ...RD Layout for Portal Users.layout-meta.xml | 16 ++++++- .../layouts/Case-EDRD Layout.layout-meta.xml | 28 +++++++----- .../EDRD_Adherence_Issues__c.field-meta.xml | 11 +++++ ...son_for_adherence_issues__c.field-meta.xml | 14 ++++++ ...Type_of_adherence_issues__c.field-meta.xml | 38 ++++++++++++++++ ...e_adherence_issues.validationRule-meta.xml | 13 ++++++ .../Patient_is_Deceased__c.field-meta.xml | 9 ++-- .../EDRD_PS_MOH_Staff.permissionset-meta.xml | 15 +++++++ ...Operational_Support.permissionset-meta.xml | 15 +++++++ ...D_PS_PHSA_PSP_Staff.permissionset-meta.xml | 15 +++++++ .../EDRD_PS_Reviewer.permissionset-meta.xml | 29 +++++++++++- 12 files changed, 229 insertions(+), 18 deletions(-) create mode 100644 force-app/main/default/objects/Case/fields/EDRD_Adherence_Issues__c.field-meta.xml create mode 100644 force-app/main/default/objects/Case/fields/EDRD_Reason_for_adherence_issues__c.field-meta.xml create mode 100644 force-app/main/default/objects/Case/fields/EDRD_Type_of_adherence_issues__c.field-meta.xml create mode 100644 force-app/main/default/objects/Case/validationRules/EDRD_Type_adherence_issues.validationRule-meta.xml diff --git a/force-app/main/default/flexipages/EDRD_Case_record_page.flexipage-meta.xml b/force-app/main/default/flexipages/EDRD_Case_record_page.flexipage-meta.xml index 34f37af2a..7ff19825c 100644 --- a/force-app/main/default/flexipages/EDRD_Case_record_page.flexipage-meta.xml +++ b/force-app/main/default/flexipages/EDRD_Case_record_page.flexipage-meta.xml @@ -139,6 +139,33 @@ RecordEDRD_Case_Reason_does_not_meet_criteria_cField + + + + uiBehavior + none + + Record.EDRD_Adherence_Issues__c + RecordEDRD_Adherence_Issues_cField + + + + + + uiBehavior + none + + Record.EDRD_Type_of_adherence_issues__c + RecordEDRD_Type_of_adherence_issues_cField + + + {!Record.EDRD_Adherence_Issues__c} + EQUAL + true + + + + Facet-1dc87897-7d8b-4050-becc-f3b40cbbdc7d Facet @@ -229,6 +256,23 @@ + + + + uiBehavior + none + + Record.EDRD_Reason_for_adherence_issues__c + RecordEDRD_Reason_for_adherence_issues_cField + + + {!Record.EDRD_Adherence_Issues__c} + EQUAL + true + + + + Facet-068d369b-6502-4416-bcfd-d73a7a0cdfd9 Facet diff --git a/force-app/main/default/layouts/Case-EDRD Layout for Portal Users.layout-meta.xml b/force-app/main/default/layouts/Case-EDRD Layout for Portal Users.layout-meta.xml index 92a7b3ced..cd764b224 100644 --- a/force-app/main/default/layouts/Case-EDRD Layout for Portal Users.layout-meta.xml +++ b/force-app/main/default/layouts/Case-EDRD Layout for Portal Users.layout-meta.xml @@ -7,7 +7,7 @@ Edit IsotopeSubscription MergeCase - Share + Share StartOutboundConversation Submit @@ -40,6 +40,18 @@ Edit Subject + + Edit + EDRD_Adherence_Issues__c + + + Edit + EDRD_Type_of_adherence_issues__c + + + Edit + EDRD_Reason_for_adherence_issues__c + @@ -132,7 +144,7 @@ Required ContactId - + Readonly Patient_Identifier__c diff --git a/force-app/main/default/layouts/Case-EDRD Layout.layout-meta.xml b/force-app/main/default/layouts/Case-EDRD Layout.layout-meta.xml index 8353623eb..05ad7b14c 100644 --- a/force-app/main/default/layouts/Case-EDRD Layout.layout-meta.xml +++ b/force-app/main/default/layouts/Case-EDRD Layout.layout-meta.xml @@ -3,8 +3,8 @@ CaseHierarchy ChangeRecordType Clone - IsotopeSubscription - MergeCase + IsotopeSubscription + MergeCase PrintableView Share StartOutboundConversation @@ -39,7 +39,7 @@ Edit Subject - + Edit EDRD_Case_Fits_Criteria__c @@ -47,7 +47,7 @@ Edit EDRD_Case_Reason_Does_Not_Meet_Criteria__c - + Edit @@ -75,7 +75,15 @@ Edit - EDRD_Eligibility_Form_Signed_Date__c + EDRD_Adherence_Issues__c + + + Edit + EDRD_Type_of_adherence_issues__c + + + Edit + EDRD_Reason_for_adherence_issues__c @@ -135,7 +143,7 @@ - + Required ContactId @@ -207,7 +215,7 @@ Edit EDRD_SC_Review_Pathway__c - + Edit @@ -410,7 +418,7 @@ QuickAction 3 - + Case.Provider_Validated @@ -436,7 +444,7 @@ - + RelatedFileList @@ -446,7 +454,7 @@ Name Medication Indication__c - Type + Type MedicationRequest.Case__c diff --git a/force-app/main/default/objects/Case/fields/EDRD_Adherence_Issues__c.field-meta.xml b/force-app/main/default/objects/Case/fields/EDRD_Adherence_Issues__c.field-meta.xml new file mode 100644 index 000000000..c05a5c8fb --- /dev/null +++ b/force-app/main/default/objects/Case/fields/EDRD_Adherence_Issues__c.field-meta.xml @@ -0,0 +1,11 @@ + + + EDRD_Adherence_Issues__c + false + Capture safety or compliance called adherence issues + false + + false + false + Checkbox + diff --git a/force-app/main/default/objects/Case/fields/EDRD_Reason_for_adherence_issues__c.field-meta.xml b/force-app/main/default/objects/Case/fields/EDRD_Reason_for_adherence_issues__c.field-meta.xml new file mode 100644 index 000000000..131d997b1 --- /dev/null +++ b/force-app/main/default/objects/Case/fields/EDRD_Reason_for_adherence_issues__c.field-meta.xml @@ -0,0 +1,14 @@ + + + EDRD_Reason_for_adherence_issues__c + If we select others than we need give reason. + None + false + + 255 + false + false + false + Text + false + diff --git a/force-app/main/default/objects/Case/fields/EDRD_Type_of_adherence_issues__c.field-meta.xml b/force-app/main/default/objects/Case/fields/EDRD_Type_of_adherence_issues__c.field-meta.xml new file mode 100644 index 000000000..d38d068b0 --- /dev/null +++ b/force-app/main/default/objects/Case/fields/EDRD_Type_of_adherence_issues__c.field-meta.xml @@ -0,0 +1,38 @@ + + + EDRD_Type_of_adherence_issues__c + This field use for show the multiple issues. + false + + false + false + false + MultiselectPicklist + + true + + false + + Medication dispensation issues + false + + + + Follow up care issues - Missing clinic visits + false + + + + Follow up care issues - Missing labs + false + + + + Other + false + + + + + 4 + diff --git a/force-app/main/default/objects/Case/validationRules/EDRD_Type_adherence_issues.validationRule-meta.xml b/force-app/main/default/objects/Case/validationRules/EDRD_Type_adherence_issues.validationRule-meta.xml new file mode 100644 index 000000000..1f0f5a3ec --- /dev/null +++ b/force-app/main/default/objects/Case/validationRules/EDRD_Type_adherence_issues.validationRule-meta.xml @@ -0,0 +1,13 @@ + + + EDRD_Type_adherence_issues + true + AND +( +Record_Type_Name__c = 'EDRD', +ISBLANK(EDRD_Reason_for_adherence_issues__c), +INCLUDES( EDRD_Type_of_adherence_issues__c ,'other') +) + EDRD_Reason_for_adherence_issues__c + Please fill this field. + diff --git a/force-app/main/default/objects/Contact/fields/Patient_is_Deceased__c.field-meta.xml b/force-app/main/default/objects/Contact/fields/Patient_is_Deceased__c.field-meta.xml index 5f47b0ce8..dd5e24c84 100644 --- a/force-app/main/default/objects/Contact/fields/Patient_is_Deceased__c.field-meta.xml +++ b/force-app/main/default/objects/Contact/fields/Patient_is_Deceased__c.field-meta.xml @@ -2,10 +2,11 @@ Patient_is_Deceased__c false - false - This will affect open case records. -This will affect the case expiry and forecast date. + false + false + This will affect the case expiry and forecast date. false - Checkbox + false + Checkbox diff --git a/force-app/main/default/permissionsets/EDRD_PS_MOH_Staff.permissionset-meta.xml b/force-app/main/default/permissionsets/EDRD_PS_MOH_Staff.permissionset-meta.xml index d518e50b2..eea2214e5 100644 --- a/force-app/main/default/permissionsets/EDRD_PS_MOH_Staff.permissionset-meta.xml +++ b/force-app/main/default/permissionsets/EDRD_PS_MOH_Staff.permissionset-meta.xml @@ -169,6 +169,11 @@ Case.EDRD_Additional_information__c true + + true + Case.EDRD_Adherence_Issues__c + true + true Case.EDRD_Advisory_Committee__c @@ -349,6 +354,11 @@ Case.EDRD_RPH_Simplified_Review__c true + + true + Case.EDRD_Reason_for_adherence_issues__c + true + false Case.EDRD_Ref_No__c @@ -394,6 +404,11 @@ Case.EDRD_SubCommittee_Name__c true + + true + Case.EDRD_Type_of_adherence_issues__c + true + true Case.EDRD_of_Coverage__c diff --git a/force-app/main/default/permissionsets/EDRD_PS_Operational_Support.permissionset-meta.xml b/force-app/main/default/permissionsets/EDRD_PS_Operational_Support.permissionset-meta.xml index 6a0c11c2f..f81860a00 100644 --- a/force-app/main/default/permissionsets/EDRD_PS_Operational_Support.permissionset-meta.xml +++ b/force-app/main/default/permissionsets/EDRD_PS_Operational_Support.permissionset-meta.xml @@ -257,6 +257,11 @@ Case.EDRD_Additional_information__c true + + true + Case.EDRD_Adherence_Issues__c + true + true Case.EDRD_Advisory_Committee__c @@ -442,6 +447,11 @@ Case.EDRD_RPH_Simplified_Review__c true + + true + Case.EDRD_Reason_for_adherence_issues__c + true + true Case.EDRD_Ref_No__c @@ -487,6 +497,11 @@ Case.EDRD_SubCommittee_Name__c true + + true + Case.EDRD_Type_of_adherence_issues__c + true + true Case.EDRD_of_Coverage__c diff --git a/force-app/main/default/permissionsets/EDRD_PS_PHSA_PSP_Staff.permissionset-meta.xml b/force-app/main/default/permissionsets/EDRD_PS_PHSA_PSP_Staff.permissionset-meta.xml index 2a6c58c98..e92bf5c2c 100644 --- a/force-app/main/default/permissionsets/EDRD_PS_PHSA_PSP_Staff.permissionset-meta.xml +++ b/force-app/main/default/permissionsets/EDRD_PS_PHSA_PSP_Staff.permissionset-meta.xml @@ -169,6 +169,11 @@ Case.EDRD_Additional_information__c true + + true + Case.EDRD_Adherence_Issues__c + true + true Case.EDRD_Advisory_Committee__c @@ -349,6 +354,11 @@ Case.EDRD_RPH_Simplified_Review__c true + + true + Case.EDRD_Reason_for_adherence_issues__c + true + false Case.EDRD_Ref_No__c @@ -394,6 +404,11 @@ Case.EDRD_SubCommittee_Name__c true + + true + Case.EDRD_Type_of_adherence_issues__c + true + true Case.EDRD_of_Coverage__c diff --git a/force-app/main/default/permissionsets/EDRD_PS_Reviewer.permissionset-meta.xml b/force-app/main/default/permissionsets/EDRD_PS_Reviewer.permissionset-meta.xml index 01d4b423b..a9b4defb5 100644 --- a/force-app/main/default/permissionsets/EDRD_PS_Reviewer.permissionset-meta.xml +++ b/force-app/main/default/permissionsets/EDRD_PS_Reviewer.permissionset-meta.xml @@ -79,6 +79,11 @@ Case.EDRD_Additional_information__c true + + true + Case.EDRD_Adherence_Issues__c + true + false Case.EDRD_Advisory_Committee__c @@ -214,7 +219,12 @@ Case.EDRD_Please_specify_other__c true - + + false + Case.EDRD_Prescriber__c + true + + false Case.EDRD_RPH_Patient_Not_Meet_Criteria__c true @@ -244,6 +254,11 @@ Case.EDRD_RPH_Simplified_Review__c true + + true + Case.EDRD_Reason_for_adherence_issues__c + true + false Case.EDRD_Ref_No__c @@ -289,6 +304,11 @@ Case.EDRD_SubCommittee_Name__c true + + true + Case.EDRD_Type_of_adherence_issues__c + true + false Case.EDRD_of_Coverage__c @@ -311,7 +331,12 @@ false - Case.Prescriber_Identifier_Template__c + Case.Patient_Name_Template__c + true + + + false + Case.Prescriber_Name_Template__c true From 216606b50fbca3d02f918a7dfb0af37f0b628b8f Mon Sep 17 00:00:00 2001 From: ANLKMRK Date: Mon, 4 Nov 2024 17:16:49 +0530 Subject: [PATCH 05/12] edrd-1014 --- .../EDRD_PS_Reviewer.permissionset-meta.xml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/force-app/main/default/permissionsets/EDRD_PS_Reviewer.permissionset-meta.xml b/force-app/main/default/permissionsets/EDRD_PS_Reviewer.permissionset-meta.xml index a9b4defb5..5dace52b8 100644 --- a/force-app/main/default/permissionsets/EDRD_PS_Reviewer.permissionset-meta.xml +++ b/force-app/main/default/permissionsets/EDRD_PS_Reviewer.permissionset-meta.xml @@ -219,12 +219,7 @@ Case.EDRD_Please_specify_other__c true - - false - Case.EDRD_Prescriber__c - true - - + false Case.EDRD_RPH_Patient_Not_Meet_Criteria__c true @@ -331,12 +326,7 @@ false - Case.Patient_Name_Template__c - true - - - false - Case.Prescriber_Name_Template__c + Case.Prescriber_Identifier_Template__c true From 226738068accc71009e7c938012b16d7da5f2b17 Mon Sep 17 00:00:00 2001 From: deepakmulamalla Date: Mon, 4 Nov 2024 17:19:16 -0500 Subject: [PATCH 06/12] Chnages related to EDRD-931 --- .../EDRD_PS_MOH_Staff.permissionset-meta.xml | 84 +++++++++++++++++++ ...D_PS_PHSA_PSP_Staff.permissionset-meta.xml | 84 +++++++++++++++++++ 2 files changed, 168 insertions(+) diff --git a/force-app/main/default/permissionsets/EDRD_PS_MOH_Staff.permissionset-meta.xml b/force-app/main/default/permissionsets/EDRD_PS_MOH_Staff.permissionset-meta.xml index eea2214e5..70460d944 100644 --- a/force-app/main/default/permissionsets/EDRD_PS_MOH_Staff.permissionset-meta.xml +++ b/force-app/main/default/permissionsets/EDRD_PS_MOH_Staff.permissionset-meta.xml @@ -1214,6 +1214,90 @@ Medical_Diagnosis__c Visible + + true + CanUseNewDashboardBuilder + + + true + ChangeDashboardColors + + + true + CreateCustomizeDashboards + + + true + CreateCustomizeReports + + + true + CreateDashboardFolders + + + true + CreateReportFolders + + + true + CreateReportInLightning + + + true + EditMyDashboards + + + true + EditMyReports + + + true + ExportReport + + + true + NewReportBuilder + + + true + RunReports + + + true + ScheduleJob + + + true + ScheduleReports + + + true + SubscribeDashboardRolesGrps + + + true + SubscribeDashboardToOtherUsers + + + true + SubscribeReportRolesGrps + + + true + SubscribeReportToOtherUsers + + + true + SubscribeReportsRunAsUser + + + true + SubscribeToLightningDashboards + + + true + SubscribeToLightningReports + true TransferAnyCase diff --git a/force-app/main/default/permissionsets/EDRD_PS_PHSA_PSP_Staff.permissionset-meta.xml b/force-app/main/default/permissionsets/EDRD_PS_PHSA_PSP_Staff.permissionset-meta.xml index e92bf5c2c..06d4d99e6 100644 --- a/force-app/main/default/permissionsets/EDRD_PS_PHSA_PSP_Staff.permissionset-meta.xml +++ b/force-app/main/default/permissionsets/EDRD_PS_PHSA_PSP_Staff.permissionset-meta.xml @@ -1214,6 +1214,90 @@ Medical_Diagnosis__c Visible + + true + CanUseNewDashboardBuilder + + + true + ChangeDashboardColors + + + true + CreateCustomizeDashboards + + + true + CreateCustomizeReports + + + true + CreateDashboardFolders + + + true + CreateReportFolders + + + true + CreateReportInLightning + + + true + EditMyDashboards + + + true + EditMyReports + + + true + ExportReport + + + true + NewReportBuilder + + + true + RunReports + + + true + ScheduleJob + + + true + ScheduleReports + + + true + SubscribeDashboardRolesGrps + + + true + SubscribeDashboardToOtherUsers + + + true + SubscribeReportRolesGrps + + + true + SubscribeReportToOtherUsers + + + true + SubscribeReportsRunAsUser + + + true + SubscribeToLightningDashboards + + + true + SubscribeToLightningReports + true TransferAnyCase From a06416adbe017abd6841a795eb0a87c52c898cf1 Mon Sep 17 00:00:00 2001 From: deepakmulamalla Date: Tue, 5 Nov 2024 09:58:35 -0500 Subject: [PATCH 07/12] Changes related to EDRD-737 --- .../objects/Medication/fields/One_time_Dose__c.field-meta.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/force-app/main/default/objects/Medication/fields/One_time_Dose__c.field-meta.xml b/force-app/main/default/objects/Medication/fields/One_time_Dose__c.field-meta.xml index 2a523fd4b..37fa4ddb2 100644 --- a/force-app/main/default/objects/Medication/fields/One_time_Dose__c.field-meta.xml +++ b/force-app/main/default/objects/Medication/fields/One_time_Dose__c.field-meta.xml @@ -4,7 +4,7 @@ false This field defines the medication as a one-time dose not allowed for renewal false - + false Checkbox From f07497b15ff488228b702c3845ad9fbc89f56abe Mon Sep 17 00:00:00 2001 From: ANLKMRK Date: Tue, 5 Nov 2024 20:36:49 +0530 Subject: [PATCH 08/12] EDRD-967 --- ...DNewForm_EDRDNewForm_English_1.os-meta.xml | 8 +++++++ .../EDRD_RenewForm_English_1.os-meta.xml | 4 ++++ ...ase_Assignment_Notification.email-meta.xml | 2 +- ...ssignment_Notification_1730797296296.email | 23 +++++++++++++++++++ ..._Notification_1730797296296.email-meta.xml | 11 +++++++++ 5 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 dev-app-post/main/default/email/unfiled$public/General_Case_Assignment_Notification_1730797296296.email create mode 100644 dev-app-post/main/default/email/unfiled$public/General_Case_Assignment_Notification_1730797296296.email-meta.xml diff --git a/OmniStudio-Components/main/default/omniScripts/EDRDNewForm_EDRDNewForm_English_1.os-meta.xml b/OmniStudio-Components/main/default/omniScripts/EDRDNewForm_EDRDNewForm_English_1.os-meta.xml index 4d74f94c9..13e3ccd20 100644 --- a/OmniStudio-Components/main/default/omniScripts/EDRDNewForm_EDRDNewForm_English_1.os-meta.xml +++ b/OmniStudio-Components/main/default/omniScripts/EDRDNewForm_EDRDNewForm_English_1.os-meta.xml @@ -1970,6 +1970,10 @@ "field" : "PatientDeceasedCheck", "condition" : "<>", "data" : "true" + }, { + "field" : "PhnCount", + "condition" : "<>", + "data" : "0" } ] } }, @@ -2264,6 +2268,10 @@ "data" : "null", "condition" : "<>", "field" : "CareProgramCheck" + }, { + "field" : "PhnCount", + "condition" : "<>", + "data" : "0" } ] } }, diff --git a/OmniStudio-Components/main/default/omniScripts/EDRD_RenewForm_English_1.os-meta.xml b/OmniStudio-Components/main/default/omniScripts/EDRD_RenewForm_English_1.os-meta.xml index 1b4e0aa54..35bd8d638 100644 --- a/OmniStudio-Components/main/default/omniScripts/EDRD_RenewForm_English_1.os-meta.xml +++ b/OmniStudio-Components/main/default/omniScripts/EDRD_RenewForm_English_1.os-meta.xml @@ -1728,6 +1728,10 @@ "field" : "PatientDeceasedCheck", "condition" : "<>", "data" : "true" + }, { + "field" : "PhnCount", + "condition" : "<>", + "data" : "0" } ] } }, diff --git a/dev-app-post/main/default/email/unfiled$public/General_Case_Assignment_Notification.email-meta.xml b/dev-app-post/main/default/email/unfiled$public/General_Case_Assignment_Notification.email-meta.xml index bf4e91e19..d63f2ea0f 100644 --- a/dev-app-post/main/default/email/unfiled$public/General_Case_Assignment_Notification.email-meta.xml +++ b/dev-app-post/main/default/email/unfiled$public/General_Case_Assignment_Notification.email-meta.xml @@ -1,6 +1,6 @@ - true + false Internal notification to case owner when case is assigned. UTF-8 General Case Assignment Notification diff --git a/dev-app-post/main/default/email/unfiled$public/General_Case_Assignment_Notification_1730797296296.email b/dev-app-post/main/default/email/unfiled$public/General_Case_Assignment_Notification_1730797296296.email new file mode 100644 index 000000000..7655a0d62 --- /dev/null +++ b/dev-app-post/main/default/email/unfiled$public/General_Case_Assignment_Notification_1730797296296.email @@ -0,0 +1,23 @@ + + + + +*** CASE ASSIGNMENT NOTIFICATION ***
+
+Hello {{{Case.OwnerFullName}}},
+
+A case has been assigned to you. Below are the details:
+
+Case #: {{{Case.CaseNumber}}}
+
+Case Type: {{{Case.Type}}}
+
+Status:  {{{Case.Status}}}
+
+Date Opened: {{{Case.CreatedDate}}}
+
+Click on the link to access the case: {{{Case.Link}}}
+
+Thank you,
+BC Ministry of Health + \ No newline at end of file diff --git a/dev-app-post/main/default/email/unfiled$public/General_Case_Assignment_Notification_1730797296296.email-meta.xml b/dev-app-post/main/default/email/unfiled$public/General_Case_Assignment_Notification_1730797296296.email-meta.xml new file mode 100644 index 000000000..9007cc651 --- /dev/null +++ b/dev-app-post/main/default/email/unfiled$public/General_Case_Assignment_Notification_1730797296296.email-meta.xml @@ -0,0 +1,11 @@ + + + true + UTF-8 + General_Case_Assignment_Notification + Case + + Case # {{{Case.CaseNumber}}} in {{{Case.Status}}} has been assigned to you. + custom + SFX + From b7eabe8673a1b99971631d77e0b166845557991b Mon Sep 17 00:00:00 2001 From: ANLKMRK Date: Tue, 5 Nov 2024 21:46:04 +0530 Subject: [PATCH 09/12] updated Emails --- .../General_Case_Assignment_Notification.email-meta.xml | 2 +- ...al_Case_Assignment_Notification_1730797296296.email-meta.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-app-post/main/default/email/unfiled$public/General_Case_Assignment_Notification.email-meta.xml b/dev-app-post/main/default/email/unfiled$public/General_Case_Assignment_Notification.email-meta.xml index d63f2ea0f..bf4e91e19 100644 --- a/dev-app-post/main/default/email/unfiled$public/General_Case_Assignment_Notification.email-meta.xml +++ b/dev-app-post/main/default/email/unfiled$public/General_Case_Assignment_Notification.email-meta.xml @@ -1,6 +1,6 @@ - false + true Internal notification to case owner when case is assigned. UTF-8 General Case Assignment Notification diff --git a/dev-app-post/main/default/email/unfiled$public/General_Case_Assignment_Notification_1730797296296.email-meta.xml b/dev-app-post/main/default/email/unfiled$public/General_Case_Assignment_Notification_1730797296296.email-meta.xml index 9007cc651..792e87519 100644 --- a/dev-app-post/main/default/email/unfiled$public/General_Case_Assignment_Notification_1730797296296.email-meta.xml +++ b/dev-app-post/main/default/email/unfiled$public/General_Case_Assignment_Notification_1730797296296.email-meta.xml @@ -2,7 +2,7 @@ true UTF-8 - General_Case_Assignment_Notification + Case_Assignment_Notification Case Case # {{{Case.CaseNumber}}} in {{{Case.Status}}} has been assigned to you. From 1e9d90ac30d96fb5abc7879f9e6f126d390489c1 Mon Sep 17 00:00:00 2001 From: deepakmulamalla Date: Tue, 5 Nov 2024 18:34:40 -0500 Subject: [PATCH 10/12] Changes related EDRD-988 --- force-app/main/default/classes/AccountTriggerHelper.cls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/force-app/main/default/classes/AccountTriggerHelper.cls b/force-app/main/default/classes/AccountTriggerHelper.cls index 44f6335c6..b79a5a568 100644 --- a/force-app/main/default/classes/AccountTriggerHelper.cls +++ b/force-app/main/default/classes/AccountTriggerHelper.cls @@ -75,7 +75,7 @@ public without sharing class AccountTriggerHelper { String existingValue = String.isEmpty(caseObj.EDRD_Notes__c) ? '' : caseObj.EDRD_Notes__c; if (!caseObj.IsClosed) { - caseObj.EDRD_MOHFunding_Decision__c = ESA_cls_constants.EDRD_FUNDING_DECISION_DENIED; + caseObj.EDRD_MOHFunding_Decision__c = (caseObj.Status == 'MOH Review') ? ESA_cls_constants.EDRD_FUNDING_DECISION_DENIED : NULL; caseObj.Status = ESA_cls_constants.EDRD_CASE_STATUS_CANCELLED; caseObj.EDRD_Case_Closure_Reasons__c = ESA_cls_constants.EDRD_CASE_CLOSER_REASON_PATIENT_DECEASED; caseObj.EDRD_Notes__c = existingValue + '\n' + Label.EDRD_label_Patient_deceased; From e1cc7b8b91d2a6734afb84fb8628bf7596124aff Mon Sep 17 00:00:00 2001 From: deepakmulamalla Date: Wed, 6 Nov 2024 14:20:59 -0500 Subject: [PATCH 11/12] Changes Related to EDRD-1010 & 1009 --- .../listViews/EDRD_Enrolled_Patients.listView-meta.xml | 5 +++++ ...EDRD_PhoneNumber_Validation.validationRule-meta.xml | 10 ++++++++++ 2 files changed, 15 insertions(+) create mode 100644 force-app/main/default/objects/Account/validationRules/EDRD_PhoneNumber_Validation.validationRule-meta.xml diff --git a/force-app/main/default/objects/Account/listViews/EDRD_Enrolled_Patients.listView-meta.xml b/force-app/main/default/objects/Account/listViews/EDRD_Enrolled_Patients.listView-meta.xml index 9d7c3fccf..09de635ef 100644 --- a/force-app/main/default/objects/Account/listViews/EDRD_Enrolled_Patients.listView-meta.xml +++ b/force-app/main/default/objects/Account/listViews/EDRD_Enrolled_Patients.listView-meta.xml @@ -18,6 +18,11 @@ EDRD_Ref_No__pc notEqual
+ + Patient_is_Deceased__pc + equals + 0 + Developer diff --git a/force-app/main/default/objects/Account/validationRules/EDRD_PhoneNumber_Validation.validationRule-meta.xml b/force-app/main/default/objects/Account/validationRules/EDRD_PhoneNumber_Validation.validationRule-meta.xml new file mode 100644 index 000000000..d50ba8012 --- /dev/null +++ b/force-app/main/default/objects/Account/validationRules/EDRD_PhoneNumber_Validation.validationRule-meta.xml @@ -0,0 +1,10 @@ + + + EDRD_PhoneNumber_Validation + true + OR( + NOT(ISBLANK(PersonOtherPhone)) && NOT(ISNUMBER(PersonOtherPhone)), + NOT(ISBLANK(PersonHomePhone)) && NOT(ISNUMBER(PersonHomePhone)) +) + Please enter the digit only for Other Phone and Home Phone. + From bc16b28f858c288f198a028055e67b0db44be1d5 Mon Sep 17 00:00:00 2001 From: deepakmulamalla Date: Thu, 7 Nov 2024 15:55:12 -0500 Subject: [PATCH 12/12] Updates to EDRD_PhoneNumber_Validation Validation rule --- ...honeNumber_Validation.validationRule-meta.xml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/force-app/main/default/objects/Account/validationRules/EDRD_PhoneNumber_Validation.validationRule-meta.xml b/force-app/main/default/objects/Account/validationRules/EDRD_PhoneNumber_Validation.validationRule-meta.xml index d50ba8012..03003637c 100644 --- a/force-app/main/default/objects/Account/validationRules/EDRD_PhoneNumber_Validation.validationRule-meta.xml +++ b/force-app/main/default/objects/Account/validationRules/EDRD_PhoneNumber_Validation.validationRule-meta.xml @@ -2,9 +2,19 @@ EDRD_PhoneNumber_Validation true - OR( - NOT(ISBLANK(PersonOtherPhone)) && NOT(ISNUMBER(PersonOtherPhone)), - NOT(ISBLANK(PersonHomePhone)) && NOT(ISNUMBER(PersonHomePhone)) + AND( + RecordType.Name = 'Provider', + CONTAINS($UserRole.Name, "EDRD"), + OR( + AND( + NOT(ISBLANK(PersonOtherPhone)), + NOT(ISNUMBER(PersonOtherPhone)) + ), + AND( + NOT(ISBLANK(PersonHomePhone)), + NOT(ISNUMBER(PersonHomePhone)) + ) + ) ) Please enter the digit only for Other Phone and Home Phone.