-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathconfig.json
66 lines (66 loc) · 3.9 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
{
"name": "Instance Table",
"namespace": "MCRI\\InstanceTable",
"authors": [
{
"name": "Luke Stevens",
"email": "[email protected]",
"institution": "Murdoch Children's Research Institute"
}
],
"description": "Use the action tag <code>@INSTANCETABLE=form_name</code> in a descriptive text field to include a table showing data from repeat instances of that form.<br>If project is longitudinal, use <code>@INSTANCETABLE=event_name:form_name</code> to specify the event and form (can be a repeating form or a form in a repeating event).<br>Other action tags are available for controlling cetain properties of te tables and their contents.",
"framework-version": 15,
"auth-ajax-actions": [ "get-data" ],
"action-tags": [
{
"tag": "@INSTANCETABLE",
"description": "Tag <code>@INSTANCETABLE=form_name</code> in a descriptive text field to include a table showing data from repeat instances of that form."
},
{
"tag": "@INSTANCETABLE_HIDE",
"description": "Ignore this field in instance all tables."
},
{
"tag": "@INSTANCETABLE_LABEL",
"description": "Tag @INSTANCETABLE_LABEL='column header': Provide an alternative column title for the field in all instance tables."
},
{
"tag": "@INSTANCETABLE_HIDEADD",
"description": "Suppress the \"+ Add New\" button on data entry forms."
},
{
"tag": "@INSTANCETABLE_HIDEINSTANCECOL",
"description": "Hide the '#' column containing instance numbers."
},
{
"tag": "@INSTANCETABLE_VARLIST",
"description": "Use, for example, <code>@INSTANCETABLE_VARLIST=rptfrmvar3,rptfrmvar1,rptfrmvar6,rptfrm_complete</code> to include only the variables from the repeating form that appear in the comma-separated list. Also sets the order of columns in the table rather (default is the order of fields from the form)."
},
{
"tag": "@INSTANCETABLE_PAGESIZE",
"description": "Override default choices for page sizing: specify integer default page size, or -1 for 'All'"
},
{
"tag": "@INSTANCETABLE_REF",
"description": "Where you have an instance table on a repeating form that is referencing another repeating form, use <code>@INSTANCETABLE_REF=fieldname</code> to have the instances filtered to show only those where the current instance number is saved in a field on the referenced repeating form. For example, an instance table in a repeating 'Visit' form may be configured to show only instances of the repeating 'Medication' form where the current Visit instance is selected in the visitref field on the Medication form: <code>@INSTANCETABLE @INSTANCETABLE_REF=visitref</code>."
},
{
"tag": "@INSTANCETABLE_FILTER",
"description": "Use <code>@INSTANCETABLE_FILTER='[v]=1'</code> to specify a logic expression to show only instances that match the filter expression."
},
{
"tag": "@INSTANCETABLE_ADDBTNLABEL",
"description": "Use <code>@INSTANCETABLE_ADDBTNLABEL='Button Label'</code> to specify an alternative label for the \"Add New Instance\" button (\"New Medication\", \"Add new instance\" etc.)."
},
{
"tag": "@INSTANCETABLE_HIDECHOICEVALUES",
"description": "Use <code>@INSTANCETABLE_HIDECHOICEVALUES</code> to suppress the display of choice field values and show only choice labels."
},
{
"tag": "@INSTANCETABLE_HIDEFORMSTATUS",
"description": "Use <code>@INSTANCETABLE_HIDEFORMSTATUS</code> to suppress the display of the form status field in data entry view. (The form status field is always suppressed in survey mode.)"
}
],
"system-settings": [ ],
"project-settings": [ ]
}