From 34eb8dd557f0ed7d068d8bf1fc7203b58a862160 Mon Sep 17 00:00:00 2001 From: Josh Mandel Date: Tue, 3 Oct 2023 15:55:18 -0500 Subject: [PATCH] Update sandbox services base url --- README.md | 2 +- src/reducers/cds-services-reducers.js | 2 +- tests/reducers/cds-services-reducers.test.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b82b087..eff320c 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ While users have the option to configure properties of the Sandbox in-app like t - `patientId` - The ID of the Patient in context as it relates to the associated FHIR server (i.e. `patientId=SMART-1288992`) - `screen` - The main screen of the Sandbox to display by default (e.g., `screen=rx-view`) - `hook` - The default hook for the main screen (e.g., `hook=order-select`) - - `serviceDiscoveryURL` - A comma-separated list of URL encoded CDS service discovery endpoints (i.e. `serviceDiscoveryURL=http%3A%2F%2Flocalhost%3A3000%2Fcds-services,https%3A%2F%2Ffhir-org-cds-services.appspot.com%2Fcds-services`) + - `serviceDiscoveryURL` - A comma-separated list of URL encoded CDS service discovery endpoints (i.e. `serviceDiscoveryURL=http%3A%2F%2Flocalhost%3A3000%2Fcds-services,https%3A%2F%2Fsandbox-services.cds-hooks.org%2Fcds-services`) - `prescribedMedication` - Coding code of a medication from the system, `http://www.nlm.nih.gov/research/umls/rxnorm` (i.e. `prescribedMedication=731370`) - `prescribedInstructionNumber` - Dosage number of medication to take (i.e. `prescribedInstructionNumber=2`) - `prescribedInstructionFrequency` - Dosage frequency of medication to take (i.e. `prescribedInstructionFrequency=bid`). Valid values are `daily`, `bid` (bi-daily), `tid` (three times daily), `qid` (four times daily) diff --git a/src/reducers/cds-services-reducers.js b/src/reducers/cds-services-reducers.js index c403d78..a799365 100644 --- a/src/reducers/cds-services-reducers.js +++ b/src/reducers/cds-services-reducers.js @@ -20,7 +20,7 @@ const getPersistedServices = () => { const initialState = { configuredServices: {}, configuredServiceUrls: getPersistedServices(), - defaultUrl: 'https://fhir-org-cds-services.appspot.com/cds-services', + defaultUrl: 'https://sandbox-services.cds-hooks.org/cds-services', testServicesUrl: null, }; diff --git a/tests/reducers/cds-services-reducers.test.js b/tests/reducers/cds-services-reducers.test.js index adb3625..007dcf1 100644 --- a/tests/reducers/cds-services-reducers.test.js +++ b/tests/reducers/cds-services-reducers.test.js @@ -24,7 +24,7 @@ describe('CDS Services Reducer', () => { state = { configuredServices: {}, configuredServiceUrls: [], - defaultUrl: 'https://fhir-org-cds-services.appspot.com/cds-services', + defaultUrl: 'https://sandbox-services.cds-hooks.org/cds-services', testServicesUrl: null, }; });