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 +