diff --git a/.github/workflows/build-checks.yml b/.github/workflows/build-checks.yml
index bc4b9a53b..b375162f1 100644
--- a/.github/workflows/build-checks.yml
+++ b/.github/workflows/build-checks.yml
@@ -32,6 +32,12 @@ jobs:
- name: Installing SF managed packages
run: sf package install --package "04t4W0000038bemQAA" -o ciorg -w 15 --noprompt
+ - name: Installing Health Cloud managed package
+ run: sf package install --package "04t4W000002V2Ub" -o ciorg -w 15 --noprompt
+
+ - name: Installing the IAM package
+ run: sf package install --package "04tJQ0000014BvZYAU" -o ciorg -w 15 --noprompt
+
- name: Set deployment user standard security
run: |
sf force:user:permsetlicense:assign -u ciorg -n "OmniStudio"
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..2b4d5538c 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
@@ -408,7 +408,7 @@
- updated Changes related to ACR with EDRD Data Migration field.
+ EDRD Staff error message
caseTypeSet
Picklist
@@ -485,15 +485,15 @@
Create_Medication_request_with_New_Case
50
- 3734
+ 3626
MedicationRequestRec
- Sucees
+ Get_New_Case
Case__c
- StoreNewCase.Id
+ New_case_Creation_for_Rec_type_New
@@ -583,7 +583,7 @@
Type
- StoreNewCase.Type
+ New
@@ -592,15 +592,18 @@
Create_Medication_request_with_New_Case_without_indef
314
- 3734
+ 3626
MedicationRequestRec
- Sucees
+ Get_New_Case
+
+ EDRD_Staff
+
Case__c
- StoreNewCase.Id
+ New_case_Creation_for_Rec_type_New_without_indef
@@ -684,7 +687,7 @@
Type
- StoreNewCase.Type
+ New
@@ -692,16 +695,16 @@
Create_Medication_Request_with_New_Renewal_Case
- 578
- 3734
+ 842
+ 3626
MedicationRequestRec
- Success
+ Get_Renewal_Case
Case__c
- StoreRenewalCase.Id
+ New_renewal_case_creation_for_RecType_Renew
@@ -791,7 +794,7 @@
Type
- StoreRenewalCase.Type
+ Renewal
@@ -799,16 +802,19 @@
Create_Medication_Request_with_New_Renewal_Case_without_indef
- 842
- 3734
+ 1106
+ 3626
MedicationRequestRec
- Success
+ Get_Renewal_Case
+
+ Copy_1_of_EDRD_Staff
+
Case__c
- StoreRenewalCase.Id
+ New_renewal_case_creation_for_RecType_Renew_without_indef
@@ -892,7 +898,7 @@
Type
- StoreRenewalCase.Type
+ Renewal
@@ -903,7 +909,7 @@
50
3218
- Get_Newly_created_Case
+ Upload_Document
ContactId
@@ -998,7 +1004,7 @@
314
3218
- Get_Newly_created_Case_without_indef
+ Upload_Document
ContactId
@@ -1084,10 +1090,10 @@
New_renewal_case_creation_for_RecType_Renew
- 578
+ 842
3218
- Get_newly_created_Renewal_Rec
+ UploadDocument
ContactId
@@ -1179,10 +1185,10 @@
New_renewal_case_creation_for_RecType_Renew_without_indef
- 842
+ 1106
3218
- Get_newly_created_Renewal_Rec_without_indef
+ UploadDocument
ContactId
@@ -1268,7 +1274,7 @@
get_ACRRecord
- 908
+ 1238
1430
false
@@ -1330,7 +1336,7 @@
Get_Case_Record_Type_for_renewal
- 710
+ 974
3002
false
@@ -1360,7 +1366,7 @@
Get_EDRD_MR_Record_Type
- 446
+ 578
1862
false
@@ -1388,7 +1394,7 @@
Get_EDRDCPRecord
- 2112
+ 2591
782
false
@@ -1415,7 +1421,7 @@
Get_Medication
- 446
+ 578
1754
true
@@ -1452,42 +1458,15 @@
Renewal_Recommended_Dosage__c
- Get_Newly_created_Case
-
- 50
- 3326
- true
-
- Upload_Document
-
- and
-
- Id
- EqualTo
-
- New_case_Creation_for_Rec_type_New
-
-
-
- StoreNewCase
- Id
- ContactId
- Provider__c
- Type
- Status
- CaseNumber
- Origin
-
-
- Get_Newly_created_Case_without_indef
-
- 314
- 3326
+ Get_New_Case
+
+ 182
+ 4058
true
- Upload_Document
+ Sucees
- and
+ or
Id
EqualTo
@@ -1495,69 +1474,17 @@
New_case_Creation_for_Rec_type_New_without_indef
-
- StoreNewCase
- Id
- ContactId
- Provider__c
- Type
- Status
- CaseNumber
- Origin
-
-
- Get_newly_created_Renewal_Rec
-
- 578
- 3326
- false
-
- UploadDocument
-
- and
Id
EqualTo
- New_renewal_case_creation_for_RecType_Renew
-
-
-
- StoreRenewalCase
- Id
- ContactId
- Provider__c
- Type
- Status
- CaseNumber
- Origin
-
-
- Get_newly_created_Renewal_Rec_without_indef
-
- 842
- 3326
- false
-
- UploadDocument
-
- and
-
- Id
- EqualTo
-
- New_renewal_case_creation_for_RecType_Renew_without_indef
+ New_case_Creation_for_Rec_type_New
- StoreRenewalCase
+ StoreNewCase
Id
- ContactId
- Provider__c
- Type
- Status
CaseNumber
- Origin
Get_Patient_Contact_rec
@@ -1754,6 +1681,35 @@
true
+
+ Get_Renewal_Case
+
+ 974
+ 4058
+ true
+
+ Success
+
+ or
+
+ Id
+ EqualTo
+
+ New_renewal_case_creation_for_RecType_Renew
+
+
+
+ Id
+ EqualTo
+
+ New_renewal_case_creation_for_RecType_Renew_without_indef
+
+
+
+ StoreRenewalCase
+ Id
+ CaseNumber
+
getProviderRecordType
@@ -1800,6 +1756,22 @@
true
true
+
+ Copy_1_of_EDRD_Staff
+
+ 1370
+ 3734
+ false
+ true
+ false
+
+ Copy_1_of_EDRD_Staff_Error
+ <p><span style="color: rgb(28, 27, 27);">You do not have the privilege of renewing a case.</span></p><p><span style="color: rgb(28, 27, 27);">Please contact your Administrator.</span></p>
+ DisplayText
+
+ true
+ true
+
CP_ErrorScreen
@@ -1848,6 +1820,22 @@
true
true
+
+ EDRD_Staff
+
+ 578
+ 3734
+ false
+ true
+ false
+
+ EDRD_Staff_Error
+ <p><span style="color: rgb(27, 26, 26);">You do not have the privilege of creating a new case.</span></p><p><span style="color: rgb(27, 26, 26);">Please contact your Administrator.</span></p>
+ DisplayText
+
+ true
+ true
+
Indication_Screen
@@ -2174,7 +2162,7 @@
New Case
New_Cases
- 2665
+ 3168
350
true
true
@@ -2569,7 +2557,7 @@
Search_Patient
- 2665
+ 3168
458
true
true
@@ -2597,7 +2585,7 @@
Search_Provider_for_New_Case
- 908
+ 1238
1214
true
true
@@ -2624,8 +2612,8 @@
Success
- 710
- 3926
+ 974
+ 4166
false
true
false
@@ -2709,7 +2697,7 @@
Sucees
182
- 3926
+ 4166
false
true
false
@@ -2793,7 +2781,7 @@
Upload_Document
182
- 3518
+ 3410
true
true
false
@@ -2837,8 +2825,8 @@
UploadDocument
- 710
- 3518
+ 974
+ 3410
true
true
false
@@ -2880,7 +2868,7 @@
false
- 2539
+ 3042
0
getProviderRecordType
diff --git a/force-app/main/default/permissionsets/Salesforce_Backup_Administrator.permissionset-meta.xml b/dev-app-post/main/default/permissionsets/Salesforce_Backup_Administrator.permissionset-meta.xml
similarity index 99%
rename from force-app/main/default/permissionsets/Salesforce_Backup_Administrator.permissionset-meta.xml
rename to dev-app-post/main/default/permissionsets/Salesforce_Backup_Administrator.permissionset-meta.xml
index 9a304dcbf..548f6e6cf 100644
--- a/force-app/main/default/permissionsets/Salesforce_Backup_Administrator.permissionset-meta.xml
+++ b/dev-app-post/main/default/permissionsets/Salesforce_Backup_Administrator.permissionset-meta.xml
@@ -3188,24 +3188,6 @@
true
-
- true
- true
- true
- true
- true
-
- true
-
-
- true
- true
- true
- true
- true
-
- true
-
true
true
diff --git a/force-app/main/default/queues/EDRD_Ministry_Queue.queue-meta.xml b/force-app/main/default/queues/EDRD_Ministry_Queue.queue-meta.xml
index 505d32c4c..df3590d96 100644
--- a/force-app/main/default/queues/EDRD_Ministry_Queue.queue-meta.xml
+++ b/force-app/main/default/queues/EDRD_Ministry_Queue.queue-meta.xml
@@ -1,8 +1,14 @@
- true
+ false
nour.sahib@gov.bc.ca
EDRD MOH Queue
+
+
+ EDRD_Admin
+ EDRD_Staff
+
+
Case
diff --git a/force-app/main/default/queues/EDRD_PSP_Queue.queue-meta.xml b/force-app/main/default/queues/EDRD_PSP_Queue.queue-meta.xml
index ec469e2cd..5677d2dbf 100644
--- a/force-app/main/default/queues/EDRD_PSP_Queue.queue-meta.xml
+++ b/force-app/main/default/queues/EDRD_PSP_Queue.queue-meta.xml
@@ -1,8 +1,14 @@
- true
+ false
psp@phsa.ca
EDRD PSP Queue
+
+
+ EDRD_Admin
+ EDRD_Staff
+
+
Case
diff --git a/force-app/main/default/reports/UserSetup.reportFolder-meta.xml b/force-app/main/default/reports/UserSetup.reportFolder-meta.xml
index 667bcf18f..7e8b0c84f 100644
--- a/force-app/main/default/reports/UserSetup.reportFolder-meta.xml
+++ b/force-app/main/default/reports/UserSetup.reportFolder-meta.xml
@@ -5,5 +5,10 @@
sasalesforceadmin@gov.bc.ca
User
+
+ Manage
+ SAT_Admin
+ Group
+
User Setup
diff --git a/sfdx-project.json b/sfdx-project.json
index 5f4d4e03a..abbba8fd1 100644
--- a/sfdx-project.json
+++ b/sfdx-project.json
@@ -541,6 +541,8 @@
"Special Authority App@12.0.9-5": "04tOG000000JtDhYAK",
"Special Authority App@12.0.10-2": "04tOG000000K0GnYAK",
"Special Authority App@12.0.10-9": "04tOG000000LVtdYAG",
- "Special Authority App@12.0.11-1": "04tOG000000LWOHYA4"
+ "Special Authority App@12.0.11-1": "04tOG000000LWOHYA4",
+ "Special Authority App@12.0.11-4": "04tOG000000NRcDYAW",
+ "Special Authority App@12.0.11-6": "04tOG000000NeZRYA0"
}
}
\ No newline at end of file