Skip to content

Commit

Permalink
Merge branch 'EDRD-Main' of https://github.com/bcgov/MoH-SAT into EDR…
Browse files Browse the repository at this point in the history
…D-Sprint-9
  • Loading branch information
deepakmulamalla committed Nov 9, 2024
2 parents bc16b28 + f05443d commit 9b674f0
Show file tree
Hide file tree
Showing 13 changed files with 4,398 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
<criteriaItems>
<field>Case.Status</field>
<operation>equals</operation>
<value>Under Review,Approved,Received,More Information Requested</value>
<value>Under Review,Approved,Received,More Information Requested,Not Approved</value>
</criteriaItems>
</ruleEntry>
</assignmentRule>
Expand Down
2 changes: 2 additions & 0 deletions force-app/main/default/classes/ODRIntegration.cls
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,8 @@ public with sharing class ODRIntegration {
practIdCode = '91';
} when 'Nurse Practitioner' {
practIdCode = '96';
} when 'Physician Assistant' {
practIdCode = 'M9';
} when 'Nurse' {
practIdCode = 'R9';
} when 'Dentist' {
Expand Down
2 changes: 2 additions & 0 deletions force-app/main/default/classes/ODRIntegrationTest.cls
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,8 @@ public class ODRIntegrationTest {
System.assertEquals(Physician, '91');
String nursePractitioner = ODRIntegration.getPractitionerCode('Nurse Practitioner');
System.assertEquals(nursePractitioner, '96');
String PhysicianAssistant = ODRIntegration.getPractitionerCode('Physician Assistant');
System.assertEquals(PhysicianAssistant, 'M9');
String Nurse = ODRIntegration.getPractitionerCode('Nurse');
System.assertEquals(Nurse, 'R9');
String Dentist = ODRIntegration.getPractitionerCode('Dentist');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
<field>Termination_Date__c</field>
</layoutItems>
<layoutItems>
<behavior>Readonly</behavior>
<behavior>Edit</behavior>
<field>Max_Days_Supply__c</field>
</layoutItems>
</layoutColumns>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@
<default>false</default>
<label>Nurse Practitioner</label>
</value>
<value>
<fullName>Pharmacist</fullName>
<default>false</default>
<label>Pharmacist</label>
</value>
<value>
<fullName>Physician Assistant</fullName>
<default>false</default>
<label>Physician Assistant</label>
</value>
<value>
<fullName>Nurse</fullName>
<default>false</default>
Expand Down Expand Up @@ -49,11 +59,6 @@
<default>false</default>
<label>Naturopathic Practitioner</label>
</value>
<value>
<fullName>Pharmacist</fullName>
<default>false</default>
<label>Pharmacist</label>
</value>
<value>
<fullName>Optometrist</fullName>
<default>false</default>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,10 @@
<fullName>Physician</fullName>
<default>true</default>
</values>
<values>
<fullName>Physician Assistant</fullName>
<default>false</default>
</values>
<values>
<fullName>Podiatrist</fullName>
<default>false</default>
Expand Down
Loading

0 comments on commit 9b674f0

Please sign in to comment.