-
Notifications
You must be signed in to change notification settings - Fork 0
/
seed.js
57 lines (56 loc) · 2.03 KB
/
seed.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
module.exports = {
field: function() {
return [
{
field: 'source',
name: 'Document Source',
type: 'text',
validationMessage: 'ClarityNLP needs a value for Solr field \'source\'. If you omit this field, the ingestion engine will assign a default value on your behalf.',
requiredType: 'soft',
isCustom: false
},
{
field: 'subject',
name: 'Patient Id',
type: 'select',
validationMessage: 'ClarityNLP needs a value for Solr field \'subject\'. If you omit this field, the ingestion engine will assign a default value on your behalf.',
requiredType: 'soft',
isCustom: false,
inputTypeLocked: true
},
{
field: 'report_date',
name: 'Report Date',
type: 'select',
validationMessage: 'ClarityNLP needs a value for Solr field \'report_date\'. If you omit this field, the ingestion engine will assign a default value on your behalf.',
requiredType: 'soft',
isCustom: false
},
{
field: 'report_id',
name: 'Report Id',
type: 'select',
validationMessage: 'ClarityNLP needs a value for Solr field \'report_id\'. If you omit this field, the ingestion engine will assign a default value on your behalf.',
requiredType: 'soft',
isCustom: false
},
{
field: 'report_type',
name: 'Report Type',
type: 'select',
validationMessage: 'ClarityNLP needs a value for Solr field \'report_type\'. If you omit this field, the ingestion engine will assign a default value on your behalf.',
requiredType: 'soft',
isCustom: false
},
{
field: 'report_text',
name: 'Report Text',
type: 'select',
validationMessage: 'ClarityNLP needs a value for Solr field \'report_text\'. You cannot start the ingestion process until you assign a value to this field.',
requiredType: 'hard',
isCustom: false,
inputTypeLocked: true
}
];
}
}