From 3b6aeb4deee85235db7fe30fb5283a4bb084a329 Mon Sep 17 00:00:00 2001 From: sumancdey Date: Thu, 25 Jan 2024 15:29:34 +0530 Subject: [PATCH] SIT Defect of EDRD-446 and UAT Defect Story EDRD-597 --- .../main/default/classes/EDRDAccountLookupController.cls | 2 +- ...tionRequest-EDRD_Medication_Request_Layout.layout-meta.xml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/force-app/main/default/classes/EDRDAccountLookupController.cls b/force-app/main/default/classes/EDRDAccountLookupController.cls index b65752dd3..e25949dbf 100644 --- a/force-app/main/default/classes/EDRDAccountLookupController.cls +++ b/force-app/main/default/classes/EDRDAccountLookupController.cls @@ -31,7 +31,7 @@ public with sharing class EDRDAccountLookupController{ List accountList = new List(); if (!String.isBlank(providerAct)){ string providerPHNumber = providerAct; - accountList = [SELECT Id, Name,LastName, Provider_Identifier__pc, PersonContact.Provider_Identifier__c, Provider_Type__pc from Account Where PersonContact.Provider_Identifier__c LIKE :providerPHNumber ORDER BY createdDate DESC LIMIT 5]; + accountList = [SELECT Id, Name,LastName, Provider_Identifier__pc, PersonContact.Provider_Identifier__c, PersonContact.Provider_Type__c, Provider_Type__pc from Account Where PersonContact.Provider_Type__c = 'Physician' AND PersonContact.Provider_Identifier__c LIKE :providerPHNumber ORDER BY createdDate DESC LIMIT 5]; } return accountList; } diff --git a/force-app/main/default/layouts/MedicationRequest-EDRD_Medication_Request_Layout.layout-meta.xml b/force-app/main/default/layouts/MedicationRequest-EDRD_Medication_Request_Layout.layout-meta.xml index 548dba642..ac54e5550 100644 --- a/force-app/main/default/layouts/MedicationRequest-EDRD_Medication_Request_Layout.layout-meta.xml +++ b/force-app/main/default/layouts/MedicationRequest-EDRD_Medication_Request_Layout.layout-meta.xml @@ -22,6 +22,10 @@ Required Case__c + + Edit + Other_Medication_Detail__c +