File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed
Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -27,3 +27,4 @@ VITE_HOOK_TO_SEND = patient-view
2727VITE_URL_FILTER = http://localhost:3000/*
2828VITE_USE_INTERMEDIARY = false
2929VITE_INTERMEDIARY = http://localhost:3003
30+ VITE_DISABLE_MEDICATION_STATUS = false
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ const RequestBuilder = props => {
5555 return Object . keys ( state . request ) . length === 0 ;
5656 } ;
5757
58- const disableGetMedicationStatus = isOrderNotSelected ( ) || state . loading ;
58+ const disableGetMedicationStatus = isOrderNotSelected ( ) || state . loading || globalState . disableMedicationStatus ;
5959 const disableGetEtasu = isOrderNotSelected ( ) || state . loading ;
6060 const getMedicationStatus = ( ) => {
6161 setState ( prevState => ( {
Original file line number Diff line number Diff line change @@ -86,6 +86,11 @@ const headerDefinitions = {
8686 type : 'input' ,
8787 default : env . get ( 'VITE_INTERMEDIARY' ) . asString ( )
8888 } ,
89+ disableMedicationStatus : {
90+ display : 'Disable Medication Status' ,
91+ type : 'check' ,
92+ default : false
93+ } ,
8994
9095 hookToSend : {
9196 display : 'Send hook on patient select' ,
You can’t perform that action at this time.
0 commit comments