Skip to content

Commit

Permalink
Updated concept datatype for the schema validator
Browse files Browse the repository at this point in the history
  • Loading branch information
Art-Ndiema committed Aug 8, 2024
1 parent 43d8af7 commit 25661f5
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion src/config-schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,28 @@ export const configSchema = {
_type: Type.Object,
_default: {
Numeric: ['number', 'fixed-value'],
Coded: ['select', 'checkbox', 'radio', 'toggle', 'content-switcher', 'fixed-value'],
Coded: [
'select',
'checkbox',
'radio',
'content-switcher',
'fixed-value',
'markdown',
'ui-select-extended',
'drug',
'problem',
'encounter-provider',
'encounter-location',
'select-concept-answers',
'encounter-role',
],
Text: ['text', 'textarea', 'fixed-value'],
Date: ['date', 'fixed-value'],
Datetime: ['datetime', 'fixed-value'],
Boolean: ['toggle', 'select', 'radio', 'content-switcher', 'fixed-value'],
Rule: ['repeating', 'group'],
'N/A': [],
Complex: ['file'],
},
},
enableFormValidation: {
Expand Down

0 comments on commit 25661f5

Please sign in to comment.