-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.json
288 lines (274 loc) · 9.97 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
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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
{
"name": "CAT_MH_CHA",
"namespace": "VICTR\\REDCAP\\CAT_MH_CHA",
"description": "Add this module to a project and configure it to allow survey participants to take CAT-MH interviews and store their responses in REDCap.",
"documentation": "README.md",
"authors": [
{
"name": "Carl Reed, Kyle McGuffin",
"email": "[email protected]",
"institution": "Vanderbilt University Medical Center"
}
],
"permissions": [
"redcap_survey_complete"
],
"enable-every-page-hooks-on-system-pages": false,
"links": {
"project": [
{
"name": "CAT-MH Patient Dashboard",
"icon": "report",
"url": "dashboard.php"
},
{
"name": "CAT-MH Sequence Scheduling",
"icon": "report",
"url": "scheduling.php"
},
{
"name": "CAT-MH Interview Results Report",
"icon": "report",
"url": "resultsReport.php"
},
{
"name": "CAT-MH Interview Data Export",
"icon": "report",
"url": "export_interview_data.php"
},
{
"name": "CAT-MH Export and Delete Interviews",
"icon": "report",
"url": "export_and_delete_interviews.php"
}
],
"control-center": [
]
},
"no-auth-pages": [
"interview",
"CAT_MH_CHA",
"php/interview_ajax"
],
"project-settings": [
{
"key": "use_test_api",
"name": "Use ATT's test API for CAT-MH surveys. (If unchecked, the module will use the production CAT-MH API)",
"type": "checkbox"
},
{
"key": "disable_invites",
"name": "Disable automatic interview invitation and reminder emails",
"type": "checkbox"
},
{
"key": "enrollment_field",
"name": "Choose an Enrollment Date/Time field -- participants will start receiving interview invitations after enrollment",
"required": true,
"type": "field-list"
},
{
"key": "email-from",
"name": "Set the 'from' address emails will be sent from",
"required": true,
"type": "text"
},
{
"key": "email-subject",
"name": "Subject line for automated interview invitations",
"type": "text"
},
{
"key": "email-body",
"name": "Body text for automated interview invitations",
"type": "rich-text"
},
{
"key": "participant_email_field",
"name": "Field that holds participant email address to send interview invitations and reminders to",
"type": "field-list"
},
{
"key": "send-provider-emails",
"name": "Automatically send email to patient's provider upon interview completion",
"type": "checkbox"
},
{
"key": "invite-on-survey-complete",
"name": "Invite participant to complete first scheduled sequence upon survey completion",
"type": "form-list",
"repeatable": true
},
{
"key": "filter-fields",
"name": "Withold all invitations and reminders if this field is empty for a participant's record",
"repeatable": true,
"type": "field-list"
},
{
"key": "catmh_options",
"name": "CAT-MH Interview Options",
"type": "sub_settings",
"repeatable":true,
"sub_settings":[
{
"key": "sequence",
"name": "Name for this sequence of CAT-MH tests",
"required": true,
"type": "text"
},
{
"type": "checkbox",
"key": "hide_progress_bar",
"name": "Hide progress bar during interview"
},
{
"key": "language",
"name": "Interview language",
"required": true,
"type": "radio",
"choices": [
{"value": "1", "name": "English"},
{"value": "2", "name": "Spanish"}
]
},
{
"type": "dropdown",
"key": "timeframe",
"name": "Sequence timeframe",
"choices": [
{"value": "1", "name": "Past hour"},
{"value": "2", "name": "Past day"},
{"value": "3", "name": "Past week"},
{"value": "4", "name": "Past 2 weeks"},
{"value": "5", "name": "Past 30 days"},
{"value": "6", "name": "Past 12 months"},
{"value": "7", "name": "Lifetime"}
]
},
{
"type": "checkbox",
"key": "hide_question_number",
"name": "Hide question numbers during interview"
},
{
"key": "expected_complete",
"name": "Expected number of days to complete interview",
"type": "text"
},
{
"key": "tests",
"name": "Tests included in interview",
"type": "descriptive"
},
{"type": "checkbox", "key": "dep", "name": "Depression"},
{"type": "checkbox", "key": "dep_show_results", "name": "Show Results"},
{"type": "text", "key": "dep_label", "name": "Alternate Label"},
{"type": "checkbox", "key": "mdd", "name": "Major Depressive Disorder"},
{"type": "checkbox", "key": "mdd_show_results", "name": "Show Results"},
{"type": "text", "key": "mdd_label", "name": "Alternate Label"},
{"type": "checkbox", "key": "anx", "name": "Anxiety Disorder"},
{"type": "checkbox", "key": "anx_show_results", "name": "Show Results"},
{"type": "text", "key": "anx_label", "name": "Alternate Label"},
{"type": "checkbox", "key": "mhm", "name": "Mania/Hypomania"},
{"type": "checkbox", "key": "mhm_show_results", "name": "Show Results"},
{"type": "text", "key": "mhm_label", "name": "Alternate Label"},
{"type": "checkbox", "key": "pdep", "name": "Depression (Perinatal)"},
{"type": "checkbox", "key": "pdep_show_results", "name": "Show Results"},
{"type": "text", "key": "pdep_label", "name": "Alternate Label"},
{"type": "checkbox", "key": "panx", "name": "Anxiety Disorder (Perinatal)"},
{"type": "checkbox", "key": "panx_show_results", "name": "Show Results"},
{"type": "text", "key": "panx_label", "name": "Alternate Label"},
{"type": "checkbox", "key": "pmhm", "name": "Mania/Hypomania (Perinatal)"},
{"type": "checkbox", "key": "pmhm_show_results", "name": "Show Results"},
{"type": "text", "key": "pmhm_label", "name": "Alternate Label"},
{"type": "checkbox", "key": "sud", "name": "Substance Use Disorder"},
{"type": "checkbox", "key": "sud_show_results", "name": "Show Results"},
{"type": "text", "key": "sud_label", "name": "Alternate Label"},
{"type": "checkbox", "key": "ptsd", "name": "Post-Traumatic Stress Disorder"},
{"type": "checkbox", "key": "ptsd_show_results", "name": "Show Results"},
{"type": "text", "key": "ptsd_label", "name": "Alternate Label"},
{"type": "checkbox", "key": "cssrs", "name": "C-SSRS Suicide Screen"},
{"type": "checkbox", "key": "cssrs_show_results", "name": "Show Results"},
{"type": "text", "key": "cssrs_label", "name": "Alternate Label"},
{"type": "checkbox", "key": "ss", "name": "Suicide Scale"},
{"type": "checkbox", "key": "ss_show_results", "name": "Show Results"},
{"type": "text", "key": "ss_label", "name": "Alternate Label"},
{"type": "checkbox", "key": "phq9", "name": "PHQ-9"},
{"type": "checkbox", "key": "phq9_show_results", "name": "Show Results"},
{"type": "text", "key": "phq9_label", "name": "Alternate Label"},
{"type": "checkbox", "key": "aadhd", "name": "Adult ADHD"},
{"type": "checkbox", "key": "aadhd_show_results", "name": "Show Results"},
{"type": "text", "key": "aadhd_label", "name": "Alternate Label"},
{"type": "checkbox", "key": "psys", "name": "Psychosis - Self-Report"},
{"type": "checkbox", "key": "psys_show_results", "name": "Show Results"},
{"type": "text", "key": "psys_label", "name": "Alternate Label"},
{"type": "checkbox", "key": "sdoh", "name": "Social Determinants of Health"},
{"type": "checkbox", "key": "sdoh_show_results", "name": "Show Results"},
{"type": "text", "key": "sdoh_label", "name": "Alternate Label"}
]
},
{
"key": "kcat_sequences",
"name": "K-CAT Sequences",
"type": "sub_settings",
"repeatable":true,
"sub_settings":[
{
"key": "kcat_sequence",
"name": "Name for this sequence of K-CAT CAT-MH tests",
"type": "text"
},
{
"key": "kcat_expected_complete",
"name": "Expected number of days to complete interview",
"type": "text"
},
{"type": "checkbox", "key": "include_css", "name": "Include optional Child Suicide-Scale test"},
{"type": "text", "key": "c_anx_label", "name": "Child/Anxiety test alternate label"},
{"type": "text", "key": "c_mania_label", "name": "Child/Mania test alternate label"},
{"type": "text", "key": "c_odd_label", "name": "Child/Opp. Defiant Disorder test alternate label"},
{"type": "text", "key": "c_adhd_label", "name": "Child/ADHD test alternate label"},
{"type": "text", "key": "c_dep_label", "name": "Child/Depression test alternate label"},
{"type": "text", "key": "c_cd_label", "name": "Child/Conduct Disorder test alternate label"},
{"type": "text", "key": "c_ss_label", "name": "Child/Suicide Scale test alternate label"},
{"type": "text", "key": "p_anx_label", "name": "Parent/Anxiety test alternate label"},
{"type": "text", "key": "p_mania_label", "name": "Parent/Mania test alternate label"},
{"type": "text", "key": "p_odd_label", "name": "Parent/Opp. Defiant Disorder test alternate label"},
{"type": "text", "key": "p_adhd_label", "name": "Parent/ADHD test alternate label"},
{"type": "text", "key": "p_dep_label", "name": "Parent/Depression test alternate label"},
{"type": "text", "key": "p_cd_label", "name": "Parent/Conduct Disorder test alternate label"}
]
}
],
"system-settings": [
{
"key": "applicationid",
"name": "Application ID received from CAT-MH API registration",
"required": true,
"type": "text"
},
{
"key": "organizationid",
"name": "Organization ID received from CAT-MH API registration",
"required": true,
"type": "text"
}
],
"crons": [
{
"cron_name": "emailer_cron",
"cron_description": "Cron that runs every hour to send automatic interview invites and reminder emails",
"method": "emailer_cron",
"cron_frequency": "3600",
"cron_max_run_time": "3540"
}
],
"compatibility": {
"php-version-min": "",
"php-version-max": "",
"redcap-version-min": "",
"redcap-version-max": ""
},
"framework-version": 5
}