Skip to content

Commit

Permalink
Update sandbox services base url
Browse files Browse the repository at this point in the history
  • Loading branch information
jmandel committed Oct 3, 2023
1 parent 69bf072 commit 34eb8dd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/reducers/cds-services-reducers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down
2 changes: 1 addition & 1 deletion tests/reducers/cds-services-reducers.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
});
Expand Down

0 comments on commit 34eb8dd

Please sign in to comment.