forked from susom/tide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeid_config_omop_genrep.yaml
191 lines (163 loc) · 6.46 KB
/
deid_config_omop_genrep.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
name: note_deid_20190812
deidJobs:
- jobName: stanford_deid_v3
version: v3.0
textFields: note_text
textIdFields: note_id
analytic: false
dateJitter: local
dateJitterRange: 30
dateJitterSeedField: pat_id
googleDlpEnabled: false
annotatorOutputEnabled: true
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: jitter_date_from_field
actionParam: 10/10/2100
fields: 'JITTER'
- itemName: mrn
action: remove_mrn
actionParam: 99999999
fields: ''
- itemName: patient_mrn
action: replace_minimumlengthword_with
actionParam: 99999999 3
fields: PAT_MRN_ID
- itemName: other_id
action: replace_minimumlengthword_with
actionParam: 999999999 3
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":"999-999-9999","general-email":"[email protected]","general-ip":"000.000.000.000","general-url":"www.example.com","general-ssn":"999-99-9999"}
fields:
- itemName: general_number
action: general_number
actionParam:
actionParamMap: {"general-account":"9999999","general-order":"99999","general-accession":"999-999999"}
fields:
- itemName: patient_ssn
action: replace_minimumlengthword_with
actionParam: 999-99-9999 4
fields: ssn
- itemName: patient_email
action: replace_minimumlengthword_with
actionParam: [email protected] 3
fields: email_address
- itemName: other_email
action: replace_minimumlengthword_with
actionParam: [email protected] 3
fields:
- itemName: public_id
action: replace_minimumlengthword_with
actionParam: 9999999999999 3
fields: medicare_num, medicaid_num
- itemName: family_id
action: replace_minimumlengthword_with
actionParam: 000-000-000 3
fields: mother_pat_id, father_pat_id
- itemName: patient_name
action: surrogate_name
actionParamMap: {"format":"L,F","f_zip":"zip","f_gender":"","f_dob":"birth_date"}
fields: pat_name, PROXY_NAME
- itemName: patient_name
action: surrogate_name
actionParamMap: {"format":"F","f_zip":"zip","f_gender":"","f_dob":"birth_date"}
fields: PAT_FIRST_NAME, preferred_name
- itemName: patient_name
action: surrogate_name
actionParamMap: {"format":"L","f_zip":"zip","f_gender":"","f_dob":"birth_date"}
fields: PAT_LAST_NAME, PAT_MIDDLE_NAME
- itemName: other_name
action: surrogate_name
actionParamMap: {"format":"L","f_zip":"zip","f_gender":"","f_dob":"birth_date"}
fields: GUARDIAN_NAME
- itemName: care_provider_name
action: surrogate_name
actionParamMap: {"format":"L","f_zip":null,"f_gender":"","f_dob":null}
fields: EMP_NAME
- itemName: emergency_contact
action: surrogate_name
actionParamMap: {"format":"L","f_zip":null,"f_gender":"","f_dob":null}
fields: father_name, mother_name
- itemName: other_address
action: surrogate_address
fields: ''
- itemName: patient_address
action: surrogate_address
actionParamMap: {"f_address_1":"add_line_1","f_address_2":"add_line_2", "f_city":"city", "f_zip":"zip"}
fields: ''
- itemName: patient_address
action: surrogate_address
actionParamMap: {"f_address_1":"tmp_addr_line_1","f_address_2":"tmp_addr_line_2", "f_city":"tmp_city", "f_zip":"tmp_zip"}
fields: ''
- itemName: emergency_contact_address
action: surrogate_address
actionParamMap: {"f_address_1":"father_addr_ln_1","f_address_2":"father_addr_ln_2", "f_city":"father_city", "f_zip":"father_zip"}
fields: ''
- itemName: emergency_contact_address
action: surrogate_address
actionParamMap: {"f_address_1":"mother_addr_ln_1","f_address_2":"mother_addr_ln_2", "f_city":"mother_city", "f_zip":"mother_zip"}
fields: ''
- itemName: patient_phone
action: replace_minimumlengthword_with
actionParam: 999-999-9999 7
fields: home_phone, work_phone, tmp_home_phone, PROXY_PHONE,
- itemName: emergency_contact_phone
action: replace_minimumlengthword_with
actionParam: 999-999-9999 7
fields: father_cell_phone, mother_cell_phone
- itemName: accession_num
action: replace_minimumlengthword_with
actionParam: 9999-9999 5
fields: accession_num
- itemName: general_name
action: surrogate_name
fields: ''