-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfiguration-sample.json
41 lines (41 loc) · 1.12 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
{
"dicomTagRules": [
{
"tag": { "value": "(0028,0030)" }, //PixelSpacing, decimal string type.
"method": "perturb",
"span": "1",
"roundTo": 2,
"rangeType": "Proportional"
},
{
"tag": { "value": "(0040,1001)" }, //test for sequence. All tags will be redact within nested data.
"method": "redact"
},
{
"tag": { "value": "(0010,0020)" }, // patient ID
"method": "cryptohash"
},
//Locate tag by tag VR.
{
"tag": { "VR": "PN" }, //Patient Name
"method": "encrypt"
},
{
"tag": { "VR": "DA" }, //Date
"method": "dateshift"
},
{
"tag": { "VR": "DT" }, //Date Time
"method": "dateshift"
}
],
"parameters": {
"dateShiftKey": "123",
"dateShiftScope": "SeriesInstance", // Scope could be SeriesInstance, StudyInstance and SOPInstance
"dateShiftRange": "50",
"cryptoHashKey": "123",
"encryptKey": "", //If empty, will use random key.
"enablePartialAgesForRedact": true,
"enablePartialDatesForRedact": true
}
}