-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.json
More file actions
177 lines (175 loc) · 5.74 KB
/
Copy pathconfig.json
File metadata and controls
177 lines (175 loc) · 5.74 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
{
"name": "Simple Ontology Module",
"namespace": "AEHRC\\SimpleOntologyExternalModule",
"description": "This module provides site wide ontology lookup, and was written to test the ontology provider mechanism.",
"framework-version": 16,
"documentation": "README.md",
"tt_name": "module_name",
"tt_description": "module_description",
"tt_documentation": "doc_path",
"authors": [
{
"name": "David Conlan",
"email": "david.conlan@csiro.au",
"institution": "The Australian E-Heath Research Centre"
},
{
"name": "Daniel Hinostroza, MD",
"email": "dhinostroza@gmail.com",
"institution": "Hospital de Especialidades Carlos Andrade Marín, Quito-Ecuador (Spanish Translation)"
}
],
"enable-every-page-hooks-on-system-pages": false,
"system-settings" : [
{
"key": "site-category-list",
"tt_name": "site_category_list",
"name": "List of Ontologies for the site",
"required": false,
"type": "sub_settings",
"repeatable":true,
"sub_settings":[
{
"key": "site-category",
"tt_name": "site_category",
"name": "Ontology Category",
"required": true,
"type": "text"
},
{
"key": "site-name",
"tt_name": "site_name",
"name": "Ontology Name",
"required": true,
"type": "text"
},
{
"key": "site-search-type",
"tt_name": "site_search_type",
"name": "Search Type",
"required": true,
"type": "dropdown",
"choices": [
{ "value": "word", "tt_name": "search_type_word", "name": "Word Based"},
{ "value": "full", "tt_name": "search_type_full", "name": "Full Match"}
]
},
{
"key": "site-return-no-result",
"tt_name": "site_return_no_result",
"name": "Return 'No Results Found'",
"type": "checkbox"
},
{
"key" : "site-no-result-label",
"tt_name" : "site_no_result_label",
"name" : "No Results Label",
"type" : "text"
},
{
"key" : "site-no-result-code",
"tt_name" : "site_no_result_code",
"name" : "No Results Code",
"type" : "text"
},
{
"key": "site-values-type",
"tt_name": "site_values_type",
"name": "Values Type",
"required": true,
"type": "dropdown",
"choices": [
{ "value": "list", "tt_name": "value_type_list", "name": "list of values"},
{ "value": "bar", "tt_name": "value_type_bar", "name": "Bar separated - value|display"},
{ "value": "json", "tt_name": "value_type_json", "name": "json array of objects with code and display"}
]
},
{
"key": "site-values",
"tt_name": "site_values",
"name": "Values",
"required": true,
"type": "textarea"
}
]
}
],
"project-settings" : [
{
"key": "project-category-list",
"tt_name": "project_category_list",
"name": "List of Ontologies for the project",
"required": false,
"type": "sub_settings",
"repeatable":true,
"sub_settings":[
{
"key": "project-category",
"tt_name": "project_category",
"name": "Ontology Category",
"required": true,
"type": "text"
},
{
"key": "project-name",
"tt_name": "project_name",
"name": "Ontology Name",
"required": true,
"type": "text"
},
{
"key": "project-search-type",
"tt_name": "project_search_type",
"name": "Search Type",
"required": true,
"type": "dropdown",
"choices": [
{ "value": "word", "tt_name": "search_type_word", "name": "Word Based"},
{ "value": "full", "tt_name": "search_type_full", "name": "Full Match"}
]
},
{
"key" : "project-return-no-result",
"tt_name" : "project_return_no_result",
"name" : "Return 'No Results Found'",
"type" : "checkbox"
},
{
"key" : "project-no-result-label",
"tt_name" : "project_no_result_label",
"name" : "No Results Label",
"type" : "text"
},
{
"key" : "project-no-result-code",
"tt_name" : "project_no_result_code",
"name" : "No Results Code",
"type" : "text"
},
{
"key": "project-values-type",
"tt_name": "project_values_type",
"name": "Values Type",
"required": true,
"type": "dropdown",
"choices": [
{ "value": "list", "tt_name": "value_type_list", "name": "list of values"},
{ "value": "bar", "tt_name": "value_type_bar", "name": "Bar separated - value|display"},
{ "value": "json", "tt_name": "value_type_json", "name": "json array of objects with code and display"}
]
},
{
"key": "project-values",
"tt_name": "project_values",
"name": "Values",
"required": true,
"type": "textarea"
}
]
}
],
"compatibility": {
"php-version-min": "8.0.0",
"redcap-version-min": "8.8.1"
}
}