Skip to content

Commit

Permalink
Merge pull request #1054 from bcgov/User/EDRD-94
Browse files Browse the repository at this point in the history
Changes to flow and MR Trigger
  • Loading branch information
deepakmulamalla authored Jan 4, 2024
2 parents 17e6e77 + 5d3fb8a commit 6bada24
Show file tree
Hide file tree
Showing 18 changed files with 651 additions and 40 deletions.
10 changes: 10 additions & 0 deletions dev-app-post/main/default/profiles/Admin.profile-meta.xml
Original file line number Diff line number Diff line change
Expand Up @@ -775,6 +775,16 @@
<field>MedicationRequest.Dosage_Units_Name__c</field>
<readable>true</readable>
</fieldPermissions>
<fieldPermissions>
<editable>false</editable>
<field>MedicationRequest.Indication__c</field>
<readable>true</readable>
</fieldPermissions>
<fieldPermissions>
<editable>true</editable>
<field>MedicationRequest.Medical_Diagnosis__c</field>
<readable>true</readable>
</fieldPermissions>
<fieldPermissions>
<editable>true</editable>
<field>Request_Detail__c.Boolean_Value__c</field>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ public with sharing class EDRD_cls_medicationRequestHandler {
days = 30;
}else if(Unit == 'Yearly' || Unit == 'Years'){
days = 364;
}else if(Unit == 'Once'){
days = 1;
}
return days;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1531,6 +1531,32 @@
<type>Facet</type>
</flexiPageRegions>
<flexiPageRegions>
<itemInstances>
<componentInstance>
<componentInstanceProperties>
<name>parentFieldApiName</name>
<value>Case.Id</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>relatedListApiName</name>
<value>Medication_Requests__r</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>relatedListComponentOverride</name>
<value>NONE</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>rowsToDisplay</name>
<value>10</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>showActionBar</name>
<value>true</value>
</componentInstanceProperties>
<componentName>force:relatedListSingleContainer</componentName>
<identifier>force_relatedListSingleContainer</identifier>
</componentInstance>
</itemInstances>
<itemInstances>
<componentInstance>
<componentInstanceProperties>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
<?xml version="1.0" encoding="UTF-8"?>
<FlexiPage xmlns="http://soap.sforce.com/2006/04/metadata">
<flexiPageRegions>
<itemInstances>
<componentInstance>
<componentInstanceProperties>
<name>collapsed</name>
<value>false</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>enableActionsConfiguration</name>
<value>false</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>enableActionsInNative</name>
<value>false</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>hideChatterActions</name>
<value>false</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>numVisibleActions</name>
<value>3</value>
</componentInstanceProperties>
<componentName>force:highlightsPanel</componentName>
<identifier>force_highlightsPanel</identifier>
</componentInstance>
</itemInstances>
<name>header</name>
<type>Region</type>
</flexiPageRegions>
<flexiPageRegions>
<itemInstances>
<componentInstance>
<componentName>force:detailPanel</componentName>
<identifier>force_detailPanel</identifier>
</componentInstance>
</itemInstances>
<name>Facet-09e7fe76-056a-41a9-8c06-61f1c5573774</name>
<type>Facet</type>
</flexiPageRegions>
<flexiPageRegions>
<itemInstances>
<componentInstance>
<componentInstanceProperties>
<name>relatedListComponentOverride</name>
<value>NONE</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>rowsToDisplay</name>
<value>10</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>showActionBar</name>
<value>true</value>
</componentInstanceProperties>
<componentName>force:relatedListContainer</componentName>
<identifier>force_relatedListContainer</identifier>
</componentInstance>
</itemInstances>
<name>Facet-e2640d34-d5ae-48e9-becc-626774d988be</name>
<type>Facet</type>
</flexiPageRegions>
<flexiPageRegions>
<itemInstances>
<componentInstance>
<componentInstanceProperties>
<name>active</name>
<value>true</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>body</name>
<value>Facet-09e7fe76-056a-41a9-8c06-61f1c5573774</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>title</name>
<value>Standard.Tab.detail</value>
</componentInstanceProperties>
<componentName>flexipage:tab</componentName>
<identifier>flexipage_tab2</identifier>
</componentInstance>
</itemInstances>
<itemInstances>
<componentInstance>
<componentInstanceProperties>
<name>active</name>
<value>false</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>body</name>
<value>Facet-e2640d34-d5ae-48e9-becc-626774d988be</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>title</name>
<value>Standard.Tab.relatedLists</value>
</componentInstanceProperties>
<componentName>flexipage:tab</componentName>
<identifier>flexipage_tab</identifier>
</componentInstance>
</itemInstances>
<name>Facet-3f36b829-30e6-433b-af92-9b0b7dd54f5e</name>
<type>Facet</type>
</flexiPageRegions>
<flexiPageRegions>
<itemInstances>
<componentInstance>
<componentInstanceProperties>
<name>tabs</name>
<value>Facet-3f36b829-30e6-433b-af92-9b0b7dd54f5e</value>
</componentInstanceProperties>
<componentName>flexipage:tabset</componentName>
<identifier>flexipage_tabset</identifier>
</componentInstance>
</itemInstances>
<name>main</name>
<type>Region</type>
</flexiPageRegions>
<flexiPageRegions>
<itemInstances>
<componentInstance>
<componentInstanceProperties>
<name>showLegacyActivityComposer</name>
<value>false</value>
</componentInstanceProperties>
<componentName>runtime_sales_activities:activityPanel</componentName>
<identifier>runtime_sales_activities_activityPanel</identifier>
</componentInstance>
</itemInstances>
<name>sidebar</name>
<type>Region</type>
</flexiPageRegions>
<masterLabel>Medical Diagnosis Record Page</masterLabel>
<sobjectType>Medical_Diagnosis__c</sobjectType>
<template>
<name>flexipage:recordHomeTemplateDesktop</name>
<properties>
<name>enablePageActionConfig</name>
<value>false</value>
</properties>
</template>
<type>RecordPage</type>
</FlexiPage>
Loading

0 comments on commit 6bada24

Please sign in to comment.