forked from microsoft/Tools-for-Health-Data-Anonymization
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfiguration-sample.json
228 lines (223 loc) · 13.1 KB
/
configuration-sample.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
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
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
{
"fhirVersion": "R4",
"fhirPathRules": [
{"path": "nodesByType('Extension')", "method": "redact"},
{"path": "Organization.identifier", "method": "keep"},
{"path": "Organization.telecom", "method": "keep"},
{"path": "Organization.address", "method": "keep"},
{"path": "OrganizationAffiliation.identifier", "method": "keep"},
{"path": "OrganizationAffiliation.telecom", "method": "keep"},
{"path": "nodesByType('HumanName').use", "method": "keep"},
{"path": "nodesByType('Address').country", "method": "keep"},
{"path": "nodesByType('Address').state", "method": "keep"},
{"path": "Resource.id", "method": "cryptoHash"},
{"path": "Bundle.entry.fullUrl", "method": "redact"},
{"path": "Bundle.entry.request.url", "method": "redact"},
{"path": "Bundle.entry.response.location", "method":"redact"},
{"path": "PractitionerRole.notAvailable.description", "method": "redact"},
{"path": "PractitionerRole.availabilityExceptions", "method": "redact"},
{"path": "Group.name", "method": "redact"},
{"path": "Group.characteristic.value", "method": "redact"},
{"path": "HealthcareService.name", "method": "redact"},
{"path": "HealthcareService.comment", "method": "redact"},
{"path": "HealthcareService.availabilityExceptions", "method": "redact"},
{"path": "HealthcareService.extraDetails", "method": "redact"},
{"path": "HealthcareService.eligibility.comment", "method": "redact"},
{"path": "HealthcareService.notAvaliable.description", "method": "redact"},
{"path": "Endpoint.name", "method": "redact"},
{"path": "Endpoint.address", "method": "redact"},
{"path": "Location.name", "method": "redact"},
{"path": "Location.alias", "method": "redact"},
{"path": "Location.description", "method": "redact"},
{"path": "Location.position", "method": "redact"},
{"path": "Location.availabilityExceptions", "method": "redact"},
{"path": "Substance.description", "method": "redact"},
{"path": "Device.udiCarrier", "method": "redact"},
{"path": "Device.distinctIdentifier", "method": "redact"},
{"path": "Device.serialNumber", "method": "redact"},
{"path": "Device.deviceName", "method": "redact"},
{"path": "Task.description", "method": "redact"},
{"path": "Task.input.value", "method": "redact"},
{"path": "Task.output.value", "method": "redact"},
{"path": "Appointment.description", "method": "redact"},
{"path": "Appointment.comment", "method": "redact"},
{"path": "Appointment.patientInstruction", "method": "redact"},
{"path": "AppointmentResponse.comment", "method": "redact"},
{"path": "Schedule.comment", "method": "redact"},
{"path": "Slot.comment", "method": "redact"},
{"path": "VerificationResult.attestation.sourceIdentityCertificate", "method": "redact"},
{"path": "VerificationResult.attestation.proxyIdentityCertificate", "method": "redact"},
{"path": "List.title", "method": "redact"},
{"path": "Library.publisher", "method": "redact"},
{"path": "Library.usage", "method": "redact"},
{"path": "AllergyIntolerance.onset", "method": "redact"},
{"path": "AllergyIntolerance.reaction.description", "method": "redact"},
{"path": "AdverseEvent.suspectEntity.causality.productRelatedness", "method": "redact"},
{"path": "Condition.onset", "method": "redact"},
{"path": "Condition.abatement", "method": "redact"},
{"path": "Procedure.performed", "method": "redact"},
{"path": "FamilyMemberHistory.name", "method": "redact"},
{"path": "FamilyMemberHistory.born", "method": "redact"},
{"path": "FamilyMemberHistory.age", "method": "redact"},
{"path": "FamilyMemberHistory.deceased", "method": "redact"},
{"path": "FamilyMemberHistory.condition.onset as Age", "method": "perturb", "span": 0.1, "rangeType": "proportional", "roundTo": 0},
{"path": "FamilyMemberHistory.condition.onset", "method": "redact"},
{"path": "ClinicalImpression.description", "method": "redact"},
{"path": "ClinicalImpression.summary", "method": "redact"},
{"path": "ClinicalImpression.finding.basis", "method": "redact"},
{"path": "DetectedIssue.detail", "method": "redact"},
{"path": "Observation.value", "method": "redact"},
{"path": "Observation.referenceRange", "method": "redact"},
{"path": "Observation.component.value", "method": "redact"},
{"path": "Media.deviceName", "method": "redact"},
{"path": "DiagnosticReport.media.comment", "method": "redact"},
{"path": "DiagnosticReport.conclusion", "method": "redact"},
{"path": "Specimen.processing.description", "method": "redact"},
{"path": "Specimen.container.description", "method": "redact"},
{"path": "BodyStructure.description", "method": "redact"},
{"path": "ImagingStudy.description", "method": "redact"},
{"path": "ImagingStudy.series.description", "method": "redact"},
{"path": "ImagingStudy.series.instance.title", "method": "redact"},
{"path": "QuestionnaireResponse.item.text", "method": "redact"},
{"path": "QuestionnaireResponse.item.answer", "method": "redact"},
{"path": "QuestionnaireResponse.item.item", "method": "redact"},
{"path": "MedicationAdministration.dosage.text", "method": "redact"},
{"path": "Immunization.occurrence", "method": "redact"},
{"path": "ImmunizationEvaluation.description", "method": "redact"},
{"path": "ImmunizationRecommendation.recommendation.description", "method": "redact"},
{"path": "CarePlan.title", "method": "redact"},
{"path": "CarePlan.description", "method": "redact"},
{"path": "CarePlan.activity.detail.description", "method": "redact"},
{"path": "CarePlan.activity.detail.scheduled", "method": "redact"},
{"path": "CareTeam.name", "method": "redact"},
{"path": "Goal.statusReason", "method": "redact"},
{"path": "Goal.target.detail", "method": "redact"},
{"path": "ServiceRequest.patientInstruction", "method": "redact"},
{"path": "NutritionOrder.oralDiet.instruction", "method": "redact"},
{"path": "NutritionOrder.supplement.instruction", "method": "redact"},
{"path": "NutritionOrder.enteralFormula.administrationInstruction", "method": "redact"},
{"path": "RiskAssessment.prediction.rationale", "method": "redact"},
{"path": "RiskAssessment.mitigation", "method": "redact"},
{"path": "RequestGroup.action.prefix", "method": "redact"},
{"path": "RequestGroup.action.title", "method": "redact"},
{"path": "RequestGroup.action.description", "method": "redact"},
{"path": "RequestGroup.action.textEquivalent", "method": "redact"},
{"path": "RequestGroup.action.timing", "method": "redact"},
{"path": "RequestGroup.action.action", "method": "redact"},
{"path": "Communication.payload", "method": "redact"},
{"path": "CommunicationRequest.payload", "method": "redact"},
{"path": "Coverage.subscriberId", "method": "redact"},
{"path": "Coverage.dependent", "method": "redact"},
{"path": "Coverage.class.value", "method": "redact"},
{"path": "Coverage.class.name", "method": "redact"},
{"path": "Coverage.network", "method": "redact"},
{"path": "CoverageEligibilityRequest.insurance.businessArrangement", "method": "redact"},
{"path": "CoverageEligibilityResponse.disposition", "method": "redact"},
{"path": "CoverageEligibilityResponse.insurance.item.name", "method": "redact"},
{"path": "CoverageEligibilityResponse.insurance.item.description", "method": "redact"},
{"path": "CoverageEligibilityResponse.insurance.item.benefit.allowed", "method": "redact"},
{"path": "CoverageEligibilityResponse.insurance.item.benefit.used", "method": "redact"},
{"path": "CoverageEligibilityResponse.preAuthRef", "method": "redact"},
{"path": "EnrollmentResponse.disposition", "method": "redact"},
{"path": "Claim.supportingInfo.value", "method": "redact"},
{"path": "Claim.insurance.businessArrangement", "method": "redact"},
{"path": "Claim.insurance.preAuthRef", "method": "redact"},
{"path": "ClaimResponse.disposition", "method": "redact"},
{"path": "ClaimResponse.preAuthRef", "method": "redact"},
{"path": "ClaimResponse.processNote.text", "method": "redact"},
{"path": "ClaimResponse.insurance.businessArrangement", "method": "redact"},
{"path": "Invoice.cancelledReason", "method": "redact"},
{"path": "PaymentReconciliation.disposition", "method": "redact"},
{"path": "PaymentReconciliation.processNote.text", "method": "redact"},
{"path": "Account.name", "method": "redact"},
{"path": "Account.description", "method": "redact"},
{"path": "ChargeItem.overrideReason", "method": "redact"},
{"path": "ChargeItemDefinition.title", "method": "redact"},
{"path": "ChargeItemDefinition.publisher", "method": "redact"},
{"path": "ChargeItemDefinition.applicability", "method": "redact"},
{"path": "ChargeItemDefinition.propertyGroup.applicability", "method": "redact"},
{"path": "Contract.name", "method": "redact"},
{"path": "Contract.title", "method": "redact"},
{"path": "Contract.subtitle", "method": "redact"},
{"path": "Contract.alias", "method": "redact"},
{"path": "Contract.term.text", "method": "redact"},
{"path": "Contract.term.offer.answer.value", "method": "redact"},
{"path": "Contract.term.offer.text", "method": "redact"},
{"path": "Contract.term.offer.linkId", "method": "redact"},
{"path": "Contract.term.asset.context.text", "method": "redact"},
{"path": "Contract.term.asset.condition", "method": "redact"},
{"path": "Contract.term.asset.text", "method": "redact"},
{"path": "Contract.term.asset.linkId", "method": "redact"},
{"path": "Contract.term.asset.answer", "method": "redact"},
{"path": "Contract.term.asset.valuedItem.payment", "method": "redact"},
{"path": "Contract.term.asset.valuedItem.linkId", "method": "redact"},
{"path": "Contract.term.action.linkId", "method": "redact"},
{"path": "Contract.term.action.contextLinkId", "method": "redact"},
{"path": "Contract.term.action.requesterLinkId", "method": "redact"},
{"path": "Contract.term.action.performerLinkId", "method": "redact"},
{"path": "Contract.term.action.reason", "method": "redact"},
{"path": "Contract.term.action.reasonLinkId", "method": "redact"},
{"path": "Contract.term.group", "method": "redact"},
{"path": "ExplanationOfBenefit.disposition", "method": "redact"},
{"path": "ExplanationOfBenefit.preAuthRef", "method": "redact"},
{"path": "ExplanationOfBenefit.supportingInfo.value", "method": "redact"},
{"path": "ExplanationOfBenefit.insurance.preAuthRef", "method": "redact"},
{"path": "ExplanationOfBenefit.accident.location", "method": "redact"},
{"path": "ExplanationOfBenefit.item.location", "method": "redact"},
{"path": "ExplanationOfBenefit.addItem.location", "method": "redact"},
{"path": "ExplanationOfBenefit.processNote.text", "method": "redact"},
{"path": "ExplanationOfBenefit.benefitBalance.name", "method": "redact"},
{"path": "ExplanationOfBenefit.benefitBalance.description", "method": "redact"},
{"path": "ExplanationOfBenefit.benefitBalance.financial.allowed", "method": "redact"},
{"path": "InsurancePlan.name", "method": "redact"},
{"path": "InsurancePlan.alias", "method": "redact"},
{"path": "InsurancePlan.coverage.benefit.requirement", "method": "redact"},
{"path": "InsurancePlan.plan.generalCost.comment", "method": "redact"},
{"path": "nodesByType('Expression').description", "method": "redact"},
{"path": "nodesByType('Expression').expression", "method": "redact"},
{"path": "nodesByType('Attachment').title", "method": "redact"},
{"path": "nodesByType('Attachment').url", "method": "redact"},
{"path": "nodesByType('CodeableConcept').text", "method": "redact"},
{"path": "nodesByType('Coding').display", "method": "redact"},
{"path": "nodesByType('Coding').code", "method": "redact"},
{"path": "nodesByType('ContactDetail').name", "method": "redact"},
{"path": "nodesByType('Identifier').value", "method": "redact"},
{"path": "nodesByType('Reference').display", "method": "redact"},
{"path": "nodesByType('Reference').reference", "method": "cryptoHash"},
{"path": "nodesByType('Narrative')", "method": "redact"},
{"path": "nodesByType('base64Binary')", "method": "redact"},
{"path": "nodesByType('date')", "method": "dateshift"},
{"path": "nodesByType('dateTime')", "method": "dateshift"},
{"path": "nodesByType('instant')", "method": "dateshift"},
{"path": "nodesByType('Address')", "method": "redact"},
{"path": "nodesByType('Age')", "method": "redact"},
{"path": "nodesByType('Annotation')", "method": "redact"},
{"path": "nodesByType('HumanName')", "method": "redact"},
{"path": "nodesByType('ContactPoint')", "method": "redact"}
],
"parameters": {
"dateShiftKey": "",
"dateShiftScope": "resource",
"cryptoHashKey": "",
"encryptKey": "",
"enablePartialAgesForRedact": true,
"enablePartialDatesForRedact": true,
"enablePartialZipCodesForRedact": true,
"restrictedZipCodeTabulationAreas": [
"036",
"059",
"102",
"203",
"205",
"369",
"556",
"692",
"821",
"823",
"878",
"879",
"884",
"893"
]
}
}