-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
133 lines (133 loc) · 3.27 KB
/
config.json
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
{
"name": "Extra Calculation Functions",
"namespace": "Nottingham\\ExtraCalcFunctions",
"description": "Provide additional functions for calculated fields and data quality rules.",
"permissions": [
"redcap_every_page_before_render",
"redcap_every_page_top",
"redcap_data_entry_form_top",
"redcap_survey_page_top"
],
"authors": [
{
"name": "Richard Dooley",
"email": "[email protected]",
"institution": "University of Nottingham"
}
],
"framework-version" : 6,
"compatibility": {
"redcap-version-min": "10.6.0"
},
"system-settings" : [
{
"key" : "sysvar-enable",
"name" : "Enable system variables",
"type" : "checkbox"
},
{
"key" : "sysvar",
"name" : "System variable",
"type" : "sub_settings",
"repeatable" : true,
"branchingLogic" : { "field" : "sysvar-enable", "value" : true },
"sub_settings" : [
{
"key" : "sysvar-name",
"name" : "Variable name",
"type" : "text"
},
{
"key" : "sysvar-value",
"name" : "Variable value",
"type" : "text"
}
]
}
],
"project-settings" : [
{
"key" : "calc-values-auto-update",
"name" : "Automatically update calculated values",
"type" : "checkbox"
},
{
"key" : "calc-values-auto-update-ts",
"name" : "",
"type" : "text",
"hidden" : true,
"super-users-only" : true
},
{
"key" : "custom-data-lookup-enable",
"name" : "Enable custom data lookup",
"type" : "checkbox",
"super-users-only" : true
},
{
"key" : "custom-data-lookup",
"name" : "Custom data lookup",
"type" : "sub_settings",
"repeatable" : true,
"super-users-only" : true,
"branchingLogic" : { "field" : "custom-data-lookup-enable", "value" : true },
"sub_settings" : [
{
"key" : "custom-data-lookup-name",
"name" : "Lookup name",
"type" : "text",
"super-users-only" : true
},
{
"key" : "custom-data-lookup-project",
"name" : "Project in which to perform lookup ('none' = current project)",
"type" : "project-id",
"super-users-only" : true
},
{
"key" : "custom-data-lookup-filter",
"name" : "Record filter logic (use ? as placeholder value)",
"type" : "textarea",
"super-users-only" : true
},
{
"key" : "custom-data-lookup-field",
"name" : "Lookup field",
"type" : "text",
"super-users-only" : true
},
{
"key" : "custom-data-lookup-use-label",
"name" : "Return label instead of raw value",
"type" : "checkbox",
"super-users-only" : true
},
{
"key" : "custom-data-lookup-split-checkbox",
"name" : "Splits combined checkbox results",
"type" : "checkbox",
"super-users-only" : true
},
{
"key" : "custom-data-lookup-type",
"name" : "Type of lookup",
"type" : "radio",
"choices" : [
{ "value" : "", "name" : "First item only" },
{ "value" : "list", "name" : "List of items" },
{ "value" : "plus", "name" : "First item + number of other items" },
{ "value" : "count", "name" : "Number of items only" }
],
"super-users-only" : true
},
{
"key" : "custom-data-lookup-list-sep",
"name" : "List separator",
"type" : "text",
"super-users-only" : true
}
]
}
],
"no-auth-pages" : [ "functions_js" ]
}