Skip to content

Commit

Permalink
Use tx.dev.hl7.org.au as terminology server
Browse files Browse the repository at this point in the history
  • Loading branch information
ir4y committed Dec 12, 2024
1 parent ae3f83e commit 0ec59f6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
5 changes: 2 additions & 3 deletions resources/seeds/Questionnaire/place-order.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ item:
text: Intent
required: true
type: choice
answerValueSet: request-intent
answerValueSet: http://hl7.org/fhir/ValueSet/request-intent
- linkId: priority
required: true
text: Priority
type: choice
answerValueSet: request-priority
answerValueSet: http://hl7.org/fhir/ValueSet/request-priority
- linkId: assigned-organization
text: Assigned organization
type: reference
Expand All @@ -51,7 +51,6 @@ item:
choiceColumn:
- forDisplay: true
path: name
answerValueSet: request-priority
- linkId: patient-id
type: string
text: patientId
Expand Down
9 changes: 7 additions & 2 deletions src/services/valueset-expand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ export type ValueSetOption = {
};

const instanceHealthSamurai = axios.create({
baseURL: 'https://tx.health-samurai.io',
// baseURL: 'https://tx.health-samurai.io',
baseURL: 'https://tx.dev.hl7.org.au',
headers: {
Accept: 'application/json;charset=UTF=8',
},
Expand Down Expand Up @@ -124,7 +125,11 @@ export async function expandValueSet(props: ExpandValueSetProps) {
}

export async function expandEMRValueSet(answerValueSet: string | undefined, searchText: string) {
const predefinedValueSetsList: string[] = ['medicationknowledge-package-type'];
const predefinedValueSetsList: string[] = [
'medicationknowledge-package-type',
'request-priority',
'request-intent',
];

return expandValueSet({
answerValueSet,
Expand Down

0 comments on commit 0ec59f6

Please sign in to comment.