Skip to content

Commit c34c3b2

Browse files
authored
(fix) Update default valueSet UUIDs (#140)
Updates default UUIDs for valueSets in the config schema to match UUIDs that exist in the dev3 environment by default.
1 parent 8bacf9a commit c34c3b2

File tree

1 file changed

+3
-23
lines changed

1 file changed

+3
-23
lines changed

src/config-schema.ts

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,5 @@
11
import { Type } from '@openmrs/esm-framework';
22

3-
/**
4-
* This is the config schema. It expects a configuration object which
5-
* looks like this:
6-
*
7-
* ```json
8-
* { "casualGreeting": true, "whoToGreet": ["Mom"] }
9-
* ```
10-
*
11-
* In OpenMRS Microfrontends, all config parameters are optional. Thus,
12-
* all elements must have a reasonable default. A good default is one
13-
* that works well with the reference application.
14-
*
15-
* To understand the schema below, please read the configuration system
16-
* documentation:
17-
* https://openmrs.github.io/openmrs-esm-core/#/main/config
18-
* Note especially the section "How do I make my module configurable?"
19-
* https://openmrs.github.io/openmrs-esm-core/#/main/config?id=im-developing-an-esm-module-how-do-i-make-it-configurable
20-
* and the Schema Reference
21-
* https://openmrs.github.io/openmrs-esm-core/#/main/config?id=schema-reference
22-
*/
233
export const configSchema = {
244
appName: {
255
_type: Type.String,
@@ -99,23 +79,23 @@ export const configSchema = {
9979
_type: Type.UUID,
10080
_description:
10181
"UUID for the Value Set of valid answers to the 'Reason for Pause' question. Defaults to CIEL value set: https://app.openconceptlab.org/#/orgs/CIEL/sources/CIEL/concepts/168099/",
102-
_default: '2dd3e5c0-3d3f-4f3d-9860-19b3f9ab26ff',
82+
_default: '2462a9d7-61fb-4bf5-9359-aedecb8d03cb',
10383
},
10484
},
10585
reasonForClose: {
10686
uuid: {
10787
_type: Type.UUID,
10888
_description:
10989
"UUID for the Value Set of valid answers to the 'Reason for Close' question. Defaults to CIEL value set: https://app.openconceptlab.org/#/orgs/CIEL/sources/CIEL/concepts/168099/",
110-
_default: 'bd6c1fc2-7cfc-4562-94a0-e4765e5e977e',
90+
_default: '2462a9d7-61fb-4bf5-9359-aedecb8d03cb',
11191
},
11292
},
11393
substitutionReason: {
11494
uuid: {
11595
_type: Type.UUID,
11696
_description:
11797
"UUID for the Value Set of valid answers to the 'Reason for Substitution' question. Defaults to CIEL value set: https://app.openconceptlab.org/#/orgs/CIEL/sources/CIEL/concepts/167862/",
118-
_default: 'de8671b8-ed2e-4f7e-a9f8-dcd00878f2eb',
98+
_default: '2de6e1be-f2dd-4ba0-9516-8a611aa2af9b',
11999
},
120100
},
121101
substitutionType: {

0 commit comments

Comments
 (0)