-
Notifications
You must be signed in to change notification settings - Fork 24
/
nacculator_cfg.ini.example
85 lines (75 loc) · 2.64 KB
/
nacculator_cfg.ini.example
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
[DEFAULT]
[pycap]
redcap_server: http://<redcap_server>/api/
# token now supports multiple tokens as a comma-delimeted list without spaces e.g., token1,token2,token3,token4
token: Your REDCAP Token
# [filters] - Each section is named after the corresponding function name
# in filters.py
# Comment out filters that you do not intend to use with # in front of
# the filter name and each line within that section.
# Filters out subjects with PTIDs and visitnums that are already cleared to
# NACC's "Current Database"
[filter_clean_ptid]
filepath: path/to/current-db-subjects.csv
# Automatically adds the "d" prefix for each drug ID in Form A4.
[filter_replace_drug_id]
present: yes
# Corrects REDCap-exported headers that do not match NACC's DEDs.
# Write in format:
# old_header: corrected_header
# [filter_fix_headers]
otherneur: othneur
otherneurx: othneurx
strokedec: strokdec
fu_otherneur: fu_othneur
fu_otherneurx: fu_othneurx
fu_strokedec: fu_strokdec
fukid9agd: fu_kid9agd
fusib17pdx: fu_sib17pdx
tele_strokedec: tele_strokdec
telekid9agd: tele_kid9agd
telesib17pdx: tele_sib17pdx
tele_resphear___1: tele_resphear
tele_respdist___1: tele_respdist
tele_respintr___1: tele_respintr
tele_respdisn___1: tele_respdisn
tele_respfatg___1: tele_respfatg
tele_respemot___1: tele_respemot
tele_respasst___1: tele_respasst
tele_respoth___1: tele_respoth
tip_resphear___1: tip_resphear
tip_respdist___1: tip_respdist
tip_respintr___1: tip_respintr
tip_respdisn___1: tip_respdisn
tip_respfatg___1: tip_respfatg
tip_respemot___1: tip_respemot
tip_respasst___1: tip_respasst
tip_respoth___1: tip_respoth
tip_strokedec: tip_strokdec
tip_momoe: tip_mommoe
tip_otherneur: tip_othneur
tip_otherneurx: tip_othneurx
ivp_z1x_form_checklist_complete: ivp_z1x_complete
# Fills fields that are typically left blank in REDCap:
# adcid, nogds (automatically enters 0 if the field is blank), and formver = 3)
[filter_fill_default]
adcid: Your ADC ID
# Replaces the ADCID if it was previously filled in the REDCap export.
[filter_update_field]
adcid: Your ADC ID
# Ensures that REDCap's 'visitnum' field is always an integer.
[filter_fix_visitnum]
present: yes
# Removes PTIDs that are not in NACC's "Current Database"
# but still should be skipped, such as test PTIDs.
# ptid_format specifies which ptids should be *kept*.
[filter_remove_ptid]
ptid_format: [1-9]\d.*
# bad_ptid notes the exceptions to ptid_format that should still be removed.
# enter ptid in form of ptid,ptid,ptid,ext... (no spaces)
bad_ptid:
# good_ptid notes the exceptions that don't fit ptid_format but should be kept.
good_ptid:
# Removes PTIDs that are missing information in their visit date.
[filter_eliminate_empty_date]
present: yes