diff --git a/backend/src/routes/doctorOrders.js b/backend/src/routes/doctorOrders.js index a2e2921..3c8e0a0 100644 --- a/backend/src/routes/doctorOrders.js +++ b/backend/src/routes/doctorOrders.js @@ -257,7 +257,7 @@ const getGuidanceResponse = async order => { // Make the etasu call with the auth number if it exists, if not call with patient and medication let body = {}; - if (order.authNumber !== '') { + if (order.authNumber !== '' && !env.USE_INTERMEDIARY) { body = { resourceType: 'Parameters', parameter: [