forked from ctsit/form_render_skip_logic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
144 lines (144 loc) · 5.25 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
134
135
136
137
138
139
140
141
142
143
144
{
"name": "Form Render Skip Logic",
"namespace": "FormRenderSkipLogic\\ExternalModule",
"description": "This module hides and shows instruments based on the values of REDCap form fields. Multiple control fields can be defined to control the display of non-overlapping sets of forms.",
"permissions": [
"redcap_every_page_before_render",
"redcap_every_page_top",
"redcap_data_entry_form_top",
"redcap_survey_page_top",
"redcap_save_record",
"redcap_module_system_change_version"
],
"authors": [
{
"name": "Philip Chase",
"email": "[email protected]",
"institution": "University of Florida - CTSI"
},
{
"name": "Taryn Stoffs",
"email": "[email protected]",
"institution": "University of Florida - CTSI"
},
{
"name": "Kyle Chesney",
"email": "[email protected]",
"institution": "University of Florida - CTSI"
}
],
"project-settings": [
{
"key": "prevent_hidden_data",
"name": "Prevent hiding of filled forms",
"type": "checkbox"
},
{
"key": "control_fields",
"name": "Control fields",
"type": "sub_settings",
"repeatable": true,
"sub_settings": [
{
"key": "control_mode",
"name": "Control mode",
"type": "radio",
"choices": [
{
"value": "default",
"name": "Default (Control field)"
},
{
"value": "advanced",
"name": "Advanced (Equation with Piping and/or Smart Variables).</br><small style=\"color:red\">Warning: the Advanced Control Field is deprecated. It will be removed in a future version of this module.<small>"
}
]
},
{
"key": "control_field_key",
"name": "Field",
"type": "field-list"
},
{
"key": "control_event_id",
"name": "Field",
"type": "event-list"
},
{
"key": "control_piping",
"name": "Equation / Piping",
"type": "textarea"
},
{
"key": "control_default_value",
"name": "Default/fallback value",
"type": "text"
},
{
"key": "branching_logic",
"name": "Branching logic",
"repeatable": true,
"type": "sub_settings",
"sub_settings": [
{
"key": "condition_operator",
"name": "Condition",
"type": "dropdown",
"choices": [
{
"value": "",
"name": "="
},
{
"value": ">",
"name": ">"
},
{
"value": ">=",
"name": ">="
},
{
"value": "<",
"name": "<"
},
{
"value": "<=",
"name": "<="
},
{
"value": "<>",
"name": "<>"
}
]
},
{
"key": "condition_value",
"name": "Value",
"type": "text"
},
{
"key": "target_forms",
"name": "Target forms",
"repeatable": "true",
"type": "form-list"
},
{
"key": "target_events_select",
"name": "Restrict this rule to specific events",
"type": "checkbox"
},
{
"key": "target_events",
"name": "Events",
"repeatable": "true",
"type": "event-list"
}
]
}
]
}
],
"compatibility": {
"redcap-version-min": "8.7.2"
}
}