-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.json
executable file
·133 lines (125 loc) · 3.5 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": "PubMed Search",
"namespace": "Vanderbilt\\PubmedSearchExternalModule",
"description": "This module takes last_name and first_name fields and downloads all PubMed entries for that name. It puts the PubMed entries into another REDCap field. It also requires one helper text field. It checks PubMed once a day for new entries. Because of inaccuracies of the process, it is recommended that human eyes manually oversee the download process.",
"authors": [
{
"name": "Scott J. Pearson",
"email": "datacore@vumc.org",
"institution": "Vanderbilt University Medical Center"
},
{
"name": "Andy Martin",
"email": "andy123@stanford.edu",
"institution": "Stanford University"
},
{
"name": "Jae Lee",
"email": "jael@stanford.edu",
"institution": "Stanford University"
},
{
"name": "Devin Cowan",
"email": "devin.r.cowan@dartmouth.edu",
"institution": "Dartmouth College"
}
],
"framework-version": 5,
"permissions": [
"redcap_data_entry_form_top",
"hook_survey_page_top"
],
"no-auth-pages":["ajax"],
"system-settings": [
{
"key": "enable-system-debug-logging",
"name": "<b>Enable Debug Logging (system-wide)</b><i>(optional)</i> Requires installation and configuration of emLogger",
"required": false,
"type": "checkbox"
}
],
"project-settings": [
{
"key": "record_id",
"name": "Record ID Field (first field)",
"required": true,
"type": "field-list"
},
{
"key": "first_name",
"name": "First name/initial field",
"required": true,
"type": "field-list"
},
{
"key": "last_name",
"name": "Last name/initial field",
"required": true,
"type": "field-list"
},
{
"key": "citations",
"name": "Citations field (Must be on non-repeatable form/event)",
"required": true,
"type": "field-list"
},
{
"key": "count",
"name": "Citations count field (Must be on non-repeatable form/event)",
"required": true,
"type": "field-list"
},
{
"key": "helper",
"name": "Helper text field (can be @HIDDEN) that stores which PubMed Ids are downloaded. (Must be on non-repeatable form/event.)",
"required": true,
"type": "field-list"
},
{
"key": "institution",
"name": "Institution to search everyone for (use short name like Vanderbilt, not a long name; do not use initials)",
"required": true,
"type": "text"
},
{
"key": "institution_fields",
"name": "Fields which possibly contain institution information for each record",
"required": true,
"repeatable": true,
"type": "field-list"
},
{
"key": "edit-citations",
"name": "<b>Make citations fields editable</b><br>By default, the fields marked as read-only to reduce confusion",
"required": false,
"type": "checkbox"
},
{
"key": "enable-cron",
"name": "<b>Enable CRON</b><br>By default, cron jobs are not enabled. If you enable, pubmed citations will be fetched on the backend at a regular interval and users will not be able to modify them.",
"required": false,
"type": "checkbox"
},
{
"key": "enable-project-debug-logging",
"name": "<b>Enable Debug Logging</b><br><i>(optional)</i> Requires installation and configuration of emLogger",
"required": false,
"type": "checkbox"
},
{
"key": "enable-js-debug",
"name": "<b>Enable javascript debugging</b>",
"required": false,
"type": "checkbox"
}
],
"crons": [
{
"cron_name": "pubmed_cron",
"cron_description": "PubMed Cron",
"method": "pubmed",
"cron_frequency": "604800",
"cron_max_run_time": "14400"
}
]
}