forked from susom/tide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deid_config_pedsnet.yaml
199 lines (170 loc) · 5.71 KB
/
deid_config_pedsnet.yaml
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
name: pedsnet_deid_20201207
deidJobs:
- jobName: stanford_deid_v3
version: v3.0
textFields: note_text
textIdFields: note_id
analytic: false
dateJitter: local
dateJitterRange: 0
dateJitterSeedField: pat_id
googleDlpEnabled: false
nerEnabled: true
googleDlpInfoTypes:
# - itemName: age
# infoTypes: AGE
- itemName: date
infoTypes: DATE
actionParam: 10/10/2100
fields: 'JITTER'
- itemName: phi_date
infoTypes: DATE_OF_BIRTH
actionParam: 10/10/2100
fields: 'JITTER'
- itemName: payment_id
infoTypes: CREDIT_CARD_NUMBER,CREDIT_CARD_TRACK_NUMBER,US_BANK_ROUTING_MICR,AMERICAN_BANKERS_CUSIP_ID,IBAN_CODE
actionParam: 999999999999999
- itemName: public_id
infoTypes: US_ADOPTION_TAXPAYER_IDENTIFICATION_NUMBER,US_DRIVERS_LICENSE_NUMBER,US_INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER,US_PREPARER_TAXPAYER_IDENTIFICATION_NUMBER,US_PASSPORT,SWIFT_CODE
actionParam: 999999999
- itemName: patient_ssn
infoTypes: US_SOCIAL_SECURITY_NUMBER
actionParam: 999-99-9999
- itemName: other_id
infoTypes: US_EMPLOYER_IDENTIFICATION_NUMBER,US_VEHICLE_IDENTIFICATION_NUMBER,IMEI_HARDWARE_ID
actionParam: 999999999
- itemName: other_email
infoTypes: EMAIL_ADDRESS
actionParam: [email protected]
- itemName: other_name
infoTypes: PERSON_NAME
- itemName: other_phone
infoTypes: PHONE_NUMBER,US_TOLLFREE_PHONE_NUMBER
actionParam: 999-999-9999
- itemName: care_provider_id
infoTypes: US_HEALTHCARE_NPI,US_DEA_NUMBER
actionParam: 9999999999999
- itemName: other_address
infoTypes: LOCATION,STREET_ADDRESS
- itemName: internet_locator
infoTypes: IP_ADDRESS
actionParam: 000.000.000.000
- itemName: internet_locator
infoTypes: MAC_ADDRESS
actionParam: 00-00-00-00-00-00
- itemName: internet_locator
infoTypes: URL
actionParam: www.example.com
spec:
- itemName: phi_date
action: keep
actionParam:
fields: '*'
# - itemName: age
# action: remove_age
# fields: ''
- itemName: mrn
action: remove_mrn
actionParam: "[MRN]"
fields: ''
- itemName: patient_mrn
action: replace_with
actionParam: "[MRN]"
fields: PAT_MRN_ID
- itemName: other_id
action: replace_with
actionParam: "[OTHER_ID]"
fields: pat_id, birth_wrist_band, epic_pat_id, PRIM_CVG_ID, PRIM_EPP_ID, EMPLOYER_ID
- itemName: general
action: general
actionParam:
actionParamMap: {"general-phone":"[PHONE_NUMBER]","general-email":"[EMAIL]","general-ip":"[IP_ADDRESS]","general-url":"[URL]","general-ssn":"[SSN]"}
fields:
- itemName: general_number
action: general_number
actionParam:
actionParamMap: {"general-account":"[OTHER_ID]","general-order":"[OTHER_ID]","general-accession":"[OTHER_ID]"}
fields:
- itemName: patient_ssn
action: replace_with
actionParam: "[SSN]"
fields: ssn
- itemName: patient_email
action: replace_with
actionParam: "[EMAIL]"
fields: email_address
- itemName: other_email
action: replace_with
actionParam: "[EMAIL]"
fields:
- itemName: public_id
action: replace_with
actionParam: "[OTHER_ID]"
fields: medicare_num, medicaid_num
- itemName: family_id
action: replace_with
actionParam: "[MRN]"
fields: mother_pat_id, father_pat_id
- itemName: patient_name
action: replace_with
actionParam: "[NAME]"
fields: pat_name, PROXY_NAME
- itemName: patient_name
action: replace_with
actionParam: "[NAME]"
fields: PAT_FIRST_NAME, preferred_name
- itemName: patient_name
action: replace_with
actionParam: "[NAME]"
fields: PAT_LAST_NAME, PAT_MIDDLE_NAME
- itemName: other_name
action: replace_with
actionParam: "[NAME]"
fields: GUARDIAN_NAME
- itemName: care_provider_name
action: replace_with
actionParam: "[NAME]"
fields: EMP_NAME
- itemName: emergency_contact
action: replace_with
actionParam: "[NAME]"
fields: father_name, mother_name
- itemName: other_address
action: replace_with
actionParam: "[ADDRESS]"
fields:
- itemName: patient_address
action: replace_with
actionParam: "[ADDRESS]"
fields:
- itemName: patient_address
action: replace_with
actionParam: "[ADDRESS]"
fields:
- itemName: emergency_contact_address
action: replace_minimumlengthword_with
actionParam: "[ADDRESS]"
fields:
- itemName: emergency_contact_address
action: replace_minimumlengthword_with
actionParam: "[ADDRESS]"
fields:
- itemName: patient_phone
action: replace_minimumlengthword_with
actionParam: "[PHONE_NUMBER]"
fields: home_phone, work_phone, tmp_home_phone, PROXY_PHONE,
- itemName: emergency_contact_phone
action: replace_minimumlengthword_with
actionParam: "[PHONE_NUMBER]"
fields: father_cell_phone, mother_cell_phone
- itemName: accession_num
action: replace_minimumlengthword_with
actionParam: "[OTHER_ID]"
fields: accession_num
- itemName: general_name
action: replace_with
actionParam: "[NAME]"
fields:
- itemName: replace_ner_name
action: replace_ner_name
actionParam: '[NAME]'