-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
71 lines (64 loc) · 1.76 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
{
"name": "Fake Repeatable Surveys",
"namespace": "Vanderbilt\\FakeRepeatableSurveysExternalModule",
"authors": [
{
"name": "Eva Bascompte Moragas",
"email": "[email protected]",
"institution": "Vanderbilt University Medical Center"
}
],
"permissions": ["redcap_survey_page","redcap_module_save_configuration","hook_survey_complete", "hook_save_record"],
"no-auth-pages":["makeInstrumentRepeatable"],
"description": "Given a source survey, it creates a copy that will act as if we had a repeatable survey.",
"project-settings": [
{
"key": "repeatable-survey",
"name": "Repeatable Survey",
"required": true,
"type": "sub_settings",
"repeatable":true,
"sub_settings":[
{
"key":"description",
"name":"If an instrument with <strong>variable_name + suffix</strong> already exists, the new instrument won't be created.",
"type":"descriptive"
},
{
"key": "survey-origin",
"name": "Survey",
"required": true,
"type": "form-list"
},
{
"key": "survey-destination",
"name": "New instrument name",
"required": true,
"type": "text"
},
{
"key": "suffix",
"name": "Suffix appended to variable names",
"required": true,
"type": "text"
},
{
"key": "survey-reset",
"name": "Reset survey?",
"type": "checkbox"
},
{
"key": "reset_desc",
"name": "<ul style='color:red;font-style: italic;'><li>Checking this option will reset all survey values instead of loading saved values.</li><li><b>Readonly</b> variables will keep their value.</li></ul>",
"type": "descriptive"
}
]
}
],
"compatibility": {
"php-version-min": "5.5.0",
"php-version-max": "",
"redcap-version-min": "10.0.0",
"redcap-version-max": ""
}
}