File size: 2,839 Bytes
e7ccca2
d404c42
e7ccca2
 
 
 
 
 
0c4821f
 
 
 
 
 
e7ccca2
0c4821f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e7ccca2
0c4821f
e7ccca2
0c4821f
 
 
 
 
 
 
 
 
 
 
 
e7ccca2
0c4821f
e7ccca2
0c4821f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e7ccca2
 
0c4821f
 
 
 
 
 
 
 
 
 
18b6d04
e7ccca2
0c4821f
 
 
 
 
 
 
 
 
e7ccca2
 
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
{
  "customer_id": 123456,
  "policy_version": "2026-02-14.1",
  "min_agent_version": "0.1.0",
  "updated_at": "2026-02-14T00:00:00Z",
  "targets": {
    "inference_upload_url": "https://05prey-cloud-end.hf.space/upload"
  },
  "limits": {
    "max_total_instances": 5000,
    "max_instances_per_series": 1500,
    "max_zip_mb": 6000
  },
  "modalities": {
    "mg": {
      "series_labels": [
        {
          "series_label": "RCC",
          "match_any": [
            "R CC",
            "RCC",
            "RIGHT CC"
          ],
          "save_rule": "{patient_id} {series_label} {modality}",
          "save_format": "dcm"
        },
        {
          "series_label": "LCC",
          "match_any": [
            "L CC",
            "LCC",
            "LEFT CC"
          ],
          "save_rule": "{patient_id} {series_label} {modality}",
          "save_format": "dcm"
        },
        {
          "series_label": "RMLO",
          "match_any": [
            "R MLO",
            "RMLO",
            "RIGHT MLO"
          ],
          "save_rule": "{patient_id} {series_label} {modality}",
          "save_format": "dcm"
        },
        {
          "series_label": "LMLO",
          "match_any": [
            "L MLO",
            "LMLO",
            "LEFT MLO"
          ],
          "save_rule": "{patient_id} {series_label} {modality}",
          "save_format": "dcm"
        }
      ],
      "fallback_label": "MG"
    },
    "us": {
      "series_labels": [
        {
          "series_label": "meme",
          "match_any": [
            "MEME",
            "BREAST",
            "MAMMARY"
          ],
          "save_rule": "{patient_id} {series_label} {modality}",
          "save_format": "dcm"
        }
      ],
      "fallback_label": "US"
    },
    "mr": {
      "series_labels": [
        {
          "series_label": "T1W_TSE",
          "match_any": [
            "T1W_TSE",
            "T1W TSE",
            "T1W-TSE"
          ],
          "save_rule": "{patient_id} {series_label} {modality}",
          "save_format": "zip"
        },
        {
          "series_label": "SUB",
          "match_any": [
            "SUB",
            "SUBTR",
            "SUBTRACT"
          ],
          "save_rule": "{patient_id} {series_label} {modality}",
          "save_format": "zip"
        }
      ],
      "fallback_label": "MR"
    }
  },
  "naming": {
    "placeholders": [
      "patient_id",
      "series_label",
      "modality"
    ],
    "separator": " ",
    "extensions": {
      "dcm": ".dcm",
      "zip": ".zip"
    }
  },
  "zip_rules": {
    "mr_instance_name": "MR{index:06d}.dcm",
    "sort_order": [
      "InstanceNumber",
      "SliceLocation",
      "AcquisitionTime"
    ],
    "include_folder_inside_zip": true,
    "zip_folder_rule": "{patient_id} {series_label} {modality}"
  }
}