annotate OrthancServer/Resources/Graveyard/SetupAnonymization2011.cpp @ 5405:62bb63346185

All 'expand' GET arguments now accepts expand=true and expand=false values + /studies/../instances now supports expand=false
author Alain Mazy <am@osimis.io>
date Tue, 17 Oct 2023 15:06:11 +0200
parents d25f4c0fa160
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2506
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1 /**
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
2 * This is a manual implementation by Alain Mazy. Only kept for reference.
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
3 * https://bitbucket.org/sjodogne/orthanc/commits/c6defdc4c611fca2ab528ba2c6937a742e0329a8?at=issue-46-anonymization
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
4 **/
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
5
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
6 void DicomModification::SetupAnonymization2011()
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
7 {
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
8 // This is Table E.1-1 from PS 3.15-2011 - DICOM Part 15: Security and System Management Profiles
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
9 // https://raw.githubusercontent.com/jodogne/dicom-specification/master/2011/11_15pu.pdf
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
10
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
11 removals_.insert(DicomTag(0x0000, 0x1000)); // Affected SOP Instance UID
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
12 removals_.insert(DicomTag(0x0000, 0x1001)); // Requested SOP Instance UID
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
13 removals_.insert(DicomTag(0x0002, 0x0003)); // Media Storage SOP Instance UID => TODO: replace with a non-zero length UID that is internally consistent within a set of Instances
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
14 removals_.insert(DicomTag(0x0004, 0x1511)); // Referenced SOP Instance UID in File
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
15 removals_.insert(DicomTag(0x0008, 0x0010)); // Irradiation Event UID
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
16 removals_.insert(DicomTag(0x0008, 0x0014)); // Instance Creator UID
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
17 //removals_.insert(DicomTag(0x0008, 0x0018)); // SOP Instance UID => set in Apply()
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
18 clearings_.insert(DicomTag(0x0008, 0x0020)); // Study Date
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
19 clearings_.insert(DicomTag(0x0008, 0x0021)); // Series Date
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
20 clearings_.insert(DicomTag(0x0008, 0x0030)); // Study Time
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
21 clearings_.insert(DicomTag(0x0008, 0x0031)); // Series Time
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
22 removals_.insert(DicomTag(0x0008, 0x0022)); // Acquisition Date
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
23 removals_.insert(DicomTag(0x0008, 0x0023)); // Content Date
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
24 removals_.insert(DicomTag(0x0008, 0x0024)); // Overlay Date
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
25 removals_.insert(DicomTag(0x0008, 0x0025)); // Curve Date
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
26 removals_.insert(DicomTag(0x0008, 0x002a)); // Acquisition DateTime
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
27 removals_.insert(DicomTag(0x0008, 0x0032)); // Acquisition Time
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
28 removals_.insert(DicomTag(0x0008, 0x0033)); // Content Time
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
29 removals_.insert(DicomTag(0x0008, 0x0034)); // Overlay Time
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
30 removals_.insert(DicomTag(0x0008, 0x0035)); // Curve Time
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
31 removals_.insert(DicomTag(0x0008, 0x0050)); // Accession Number
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
32 removals_.insert(DicomTag(0x0008, 0x0058)); // Failed SOP Instance UID List
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
33 removals_.insert(DicomTag(0x0008, 0x0080)); // Institution Name
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
34 removals_.insert(DicomTag(0x0008, 0x0081)); // Institution Address
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
35 removals_.insert(DicomTag(0x0008, 0x0082)); // Institution Code Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
36 removals_.insert(DicomTag(0x0008, 0x0090)); // Referring Physician's Name
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
37 removals_.insert(DicomTag(0x0008, 0x0092)); // Referring Physician's Address
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
38 removals_.insert(DicomTag(0x0008, 0x0094)); // Referring Physician's Telephone Numbers
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
39 removals_.insert(DicomTag(0x0008, 0x0096)); // Referring Physician's Identification Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
40 removals_.insert(DicomTag(0x0008, 0x010d)); // Context Group Extension Creator UID
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
41 removals_.insert(DicomTag(0x0008, 0x0201)); // Timezone Offset From UTC
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
42 removals_.insert(DicomTag(0x0008, 0x0300)); // Current Patient Location
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
43 removals_.insert(DicomTag(0x0008, 0x1010)); // Station Name
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
44 removals_.insert(DicomTag(0x0008, 0x1030)); // Study Description
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
45 removals_.insert(DicomTag(0x0008, 0x103e)); // Series Description
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
46 removals_.insert(DicomTag(0x0008, 0x1040)); // Institutional Department Name
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
47 removals_.insert(DicomTag(0x0008, 0x1048)); // Physician(s) of Record
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
48 removals_.insert(DicomTag(0x0008, 0x1049)); // Physician(s) of Record Identification Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
49 removals_.insert(DicomTag(0x0008, 0x1050)); // Performing Physicians' Name
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
50 removals_.insert(DicomTag(0x0008, 0x1052)); // Performing Physicians Identification Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
51 removals_.insert(DicomTag(0x0008, 0x1060)); // Name of Physician(s) Reading Study
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
52 removals_.insert(DicomTag(0x0008, 0x1062)); // Physician Reading Study Identification Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
53 removals_.insert(DicomTag(0x0008, 0x1070)); // Operators' Name
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
54 removals_.insert(DicomTag(0x0008, 0x1072)); // Operators' Identification Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
55 removals_.insert(DicomTag(0x0008, 0x1080)); // Admitting Diagnoses Description
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
56 removals_.insert(DicomTag(0x0008, 0x1084)); // Admitting Diagnoses Code Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
57 removals_.insert(DicomTag(0x0008, 0x1110)); // Referenced Study Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
58 removals_.insert(DicomTag(0x0008, 0x1111)); // Referenced Performed Procedure Step Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
59 removals_.insert(DicomTag(0x0008, 0x1120)); // Referenced Patient Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
60 removals_.insert(DicomTag(0x0008, 0x1140)); // Referenced Image Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
61 removals_.insert(DicomTag(0x0008, 0x1155)); // Referenced SOP Instance UID
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
62 removals_.insert(DicomTag(0x0008, 0x1195)); // Transaction UID
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
63 removals_.insert(DicomTag(0x0008, 0x2111)); // Derivation Description
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
64 removals_.insert(DicomTag(0x0008, 0x2112)); // Source Image Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
65 removals_.insert(DicomTag(0x0008, 0x4000)); // Identifying Comments
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
66 removals_.insert(DicomTag(0x0008, 0x9123)); // Creator Version UID
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
67 //removals_.insert(DicomTag(0x0010, 0x0010)); // Patient's Name => cf. below (*)
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
68 //removals_.insert(DicomTag(0x0010, 0x0020)); // Patient ID => cf. below (*)
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
69 removals_.insert(DicomTag(0x0010, 0x0030)); // Patient's Birth Date
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
70 removals_.insert(DicomTag(0x0010, 0x0032)); // Patient's Birth Time
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
71 clearings_.insert(DicomTag(0x0010, 0x0040)); // Patient's Sex
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
72 removals_.insert(DicomTag(0x0010, 0x0050)); // Patient's Insurance Plan Code Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
73 removals_.insert(DicomTag(0x0010, 0x0101)); // Patient's Primary Language Code Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
74 removals_.insert(DicomTag(0x0010, 0x0102)); // Patient's Primary Language Modifier Code Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
75 removals_.insert(DicomTag(0x0010, 0x1000)); // Other Patient Ids
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
76 removals_.insert(DicomTag(0x0010, 0x1001)); // Other Patient Names
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
77 removals_.insert(DicomTag(0x0010, 0x1002)); // Other Patient IDs Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
78 removals_.insert(DicomTag(0x0010, 0x1005)); // Patient's Birth Name
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
79 removals_.insert(DicomTag(0x0010, 0x1010)); // Patient's Age
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
80 removals_.insert(DicomTag(0x0010, 0x1020)); // Patient's Size
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
81 removals_.insert(DicomTag(0x0010, 0x1030)); // Patient's Weight
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
82 removals_.insert(DicomTag(0x0010, 0x1040)); // Patient's Address
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
83 removals_.insert(DicomTag(0x0010, 0x1050)); // Insurance Plan Identification
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
84 removals_.insert(DicomTag(0x0010, 0x1060)); // Patient's Mother's Birth Name
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
85 removals_.insert(DicomTag(0x0010, 0x1080)); // Military Rank
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
86 removals_.insert(DicomTag(0x0010, 0x1081)); // Branch of Service
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
87 removals_.insert(DicomTag(0x0010, 0x1090)); // Medical Record Locator
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
88 removals_.insert(DicomTag(0x0010, 0x2000)); // Medical Alerts
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
89 removals_.insert(DicomTag(0x0010, 0x2110)); // Allergies
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
90 removals_.insert(DicomTag(0x0010, 0x2150)); // Country of Residence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
91 removals_.insert(DicomTag(0x0010, 0x2152)); // Region of Residence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
92 removals_.insert(DicomTag(0x0010, 0x2154)); // PatientTelephoneNumbers
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
93 removals_.insert(DicomTag(0x0010, 0x2160)); // Ethnic Group
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
94 removals_.insert(DicomTag(0x0010, 0x2180)); // Occupation
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
95 removals_.insert(DicomTag(0x0010, 0x21a0)); // Smoking Status
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
96 removals_.insert(DicomTag(0x0010, 0x21b0)); // Additional Patient's History
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
97 removals_.insert(DicomTag(0x0010, 0x21c0)); // Pregnancy Status
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
98 removals_.insert(DicomTag(0x0010, 0x21d0)); // Last Menstrual Date
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
99 removals_.insert(DicomTag(0x0010, 0x21f0)); // Patient's Religious Preference
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
100 removals_.insert(DicomTag(0x0010, 0x2203)); // Patient's Sex Neutered
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
101 removals_.insert(DicomTag(0x0010, 0x2297)); // Responsible Person
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
102 removals_.insert(DicomTag(0x0010, 0x2299)); // Responsible Organization
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
103 removals_.insert(DicomTag(0x0010, 0x4000)); // Patient Comments
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
104 removals_.insert(DicomTag(0x0018, 0x0010)); // Contrast Bolus Agent
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
105 removals_.insert(DicomTag(0x0018, 0x1000)); // Device Serial Number
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
106 removals_.insert(DicomTag(0x0018, 0x1002)); // Device UID
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
107 removals_.insert(DicomTag(0x0018, 0x1004)); // Plate ID
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
108 removals_.insert(DicomTag(0x0018, 0x1005)); // Generator ID
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
109 removals_.insert(DicomTag(0x0018, 0x1007)); // Cassette ID
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
110 removals_.insert(DicomTag(0x0018, 0x1008)); // Gantry ID
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
111 removals_.insert(DicomTag(0x0018, 0x1030)); // Protocol Name
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
112 removals_.insert(DicomTag(0x0018, 0x1400)); // Acquisition Device Processing Description
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
113 removals_.insert(DicomTag(0x0018, 0x4000)); // Acquisition Comments
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
114 removals_.insert(DicomTag(0x0018, 0x700a)); // Detector ID
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
115 removals_.insert(DicomTag(0x0018, 0xa003)); // Contribution Description
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
116 removals_.insert(DicomTag(0x0018, 0x9424)); // Acquisition Protocol Description
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
117 //removals_.insert(DicomTag(0x0020, 0x000d)); // Study Instance UID => set in Apply()
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
118 //removals_.insert(DicomTag(0x0020, 0x000e)); // Series Instance UID => set in Apply()
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
119 removals_.insert(DicomTag(0x0020, 0x0010)); // Study ID
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
120 removals_.insert(DicomTag(0x0020, 0x0052)); // Frame of Reference UID
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
121 removals_.insert(DicomTag(0x0020, 0x0200)); // Synchronization Frame of Reference UID
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
122 removals_.insert(DicomTag(0x0020, 0x3401)); // Modifying Device ID
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
123 removals_.insert(DicomTag(0x0020, 0x3404)); // Modifying Device Manufacturer
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
124 removals_.insert(DicomTag(0x0020, 0x3406)); // Modified Image Description
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
125 removals_.insert(DicomTag(0x0020, 0x4000)); // Image Comments
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
126 removals_.insert(DicomTag(0x0020, 0x9158)); // Frame Comments
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
127 removals_.insert(DicomTag(0x0020, 0x9161)); // Concatenation UID
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
128 removals_.insert(DicomTag(0x0020, 0x9164)); // Dimension Organization UID
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
129 //removals_.insert(DicomTag(0x0028, 0x1199)); // Palette Color Lookup Table UID => TODO: replace with a non-zero length UID that is internally consistent within a set of Instances
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
130 //removals_.insert(DicomTag(0x0028, 0x1214)); // Large Palette Color Lookup Table UID => TODO: replace with a non-zero length UID that is internally consistent within a set of Instances
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
131 removals_.insert(DicomTag(0x0028, 0x4000)); // Image Presentation Comments
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
132 removals_.insert(DicomTag(0x0032, 0x0012)); // Study ID Issuer
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
133 removals_.insert(DicomTag(0x0032, 0x1020)); // Scheduled Study Location
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
134 removals_.insert(DicomTag(0x0032, 0x1021)); // Scheduled Study Location AE Title
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
135 removals_.insert(DicomTag(0x0032, 0x1030)); // Reason for Study
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
136 removals_.insert(DicomTag(0x0032, 0x1032)); // Requesting Physician
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
137 removals_.insert(DicomTag(0x0032, 0x1033)); // Requesting Service
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
138 removals_.insert(DicomTag(0x0032, 0x1060)); // Requesting Procedure Description
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
139 removals_.insert(DicomTag(0x0032, 0x1070)); // Requested Contrast Agent
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
140 removals_.insert(DicomTag(0x0032, 0x4000)); // Study Comments
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
141 removals_.insert(DicomTag(0x0038, 0x0010)); // Admission ID
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
142 removals_.insert(DicomTag(0x0038, 0x0011)); // Issuer of Admission ID
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
143 removals_.insert(DicomTag(0x0038, 0x001e)); // Scheduled Patient Institution Residence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
144 removals_.insert(DicomTag(0x0038, 0x0020)); // Admitting Date
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
145 removals_.insert(DicomTag(0x0038, 0x0021)); // Admitting Time
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
146 removals_.insert(DicomTag(0x0038, 0x0040)); // Discharge Diagnosis Description
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
147 removals_.insert(DicomTag(0x0038, 0x0050)); // Special Needs
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
148 removals_.insert(DicomTag(0x0038, 0x0060)); // Service Episode ID
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
149 removals_.insert(DicomTag(0x0038, 0x0061)); // Issuer of Service Episode ID
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
150 removals_.insert(DicomTag(0x0038, 0x0062)); // Service Episode Description
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
151 removals_.insert(DicomTag(0x0038, 0x0400)); // Patient's Institution Residence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
152 removals_.insert(DicomTag(0x0038, 0x0500)); // Patient State
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
153 removals_.insert(DicomTag(0x0038, 0x4000)); // Visit Comments
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
154 removals_.insert(DicomTag(0x0038, 0x1234)); // Referenced Patient Alias Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
155 removals_.insert(DicomTag(0x0040, 0x0001)); // Scheduled Station AE Title
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
156 removals_.insert(DicomTag(0x0040, 0x0002)); // Scheduled Procedure Step Start Date
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
157 removals_.insert(DicomTag(0x0040, 0x0003)); // Scheduled Procedure Step Start Time
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
158 removals_.insert(DicomTag(0x0040, 0x0004)); // Scheduled Procedure Step End Date
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
159 removals_.insert(DicomTag(0x0040, 0x0005)); // Scheduled Procedure Step End Time
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
160 removals_.insert(DicomTag(0x0040, 0x0006)); // Scheduled Performing Physician Name
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
161 removals_.insert(DicomTag(0x0040, 0x0007)); // Scheduled Procedure Step Description
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
162 removals_.insert(DicomTag(0x0040, 0x000b)); // Scheduled Performing Physician Identification Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
163 removals_.insert(DicomTag(0x0040, 0x0010)); // Scheduled Station Name
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
164 removals_.insert(DicomTag(0x0040, 0x0011)); // Scheduled Procedure Step Location
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
165 removals_.insert(DicomTag(0x0040, 0x0012)); // Pre-Medication
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
166 removals_.insert(DicomTag(0x0040, 0x0241)); // Performed Station AE Title
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
167 removals_.insert(DicomTag(0x0040, 0x0242)); // Performed Station Name
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
168 removals_.insert(DicomTag(0x0040, 0x0243)); // Performed Location
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
169 removals_.insert(DicomTag(0x0040, 0x0244)); // Performed Procedure Step Start Date
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
170 removals_.insert(DicomTag(0x0040, 0x0245)); // Performed Procedure Step Start Time
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
171 removals_.insert(DicomTag(0x0040, 0x0248)); // Performed Station Name Code Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
172 removals_.insert(DicomTag(0x0040, 0x0253)); // Performed Procedure Step ID
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
173 removals_.insert(DicomTag(0x0040, 0x0254)); // Performed Procedure Step Description
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
174 removals_.insert(DicomTag(0x0040, 0x0275)); // Request Attributes Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
175 removals_.insert(DicomTag(0x0040, 0x0280)); // Comments on Performed Procedure Step
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
176 removals_.insert(DicomTag(0x0040, 0x0555)); // Acquisition Context Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
177 removals_.insert(DicomTag(0x0040, 0x1001)); // Requested Procedure ID
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
178 removals_.insert(DicomTag(0x0040, 0x1010)); // Names of Intended Recipient of Results
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
179 removals_.insert(DicomTag(0x0040, 0x1011)); // Intended Recipient of Results Identification Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
180 removals_.insert(DicomTag(0x0040, 0x1004)); // Patient Transport Arrangements
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
181 removals_.insert(DicomTag(0x0040, 0x1005)); // Requested Procedure Location
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
182 removals_.insert(DicomTag(0x0040, 0x1101)); // Person Identification Code Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
183 removals_.insert(DicomTag(0x0040, 0x1102)); // Person Address
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
184 removals_.insert(DicomTag(0x0040, 0x1103)); // Person Telephone Numbers
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
185 removals_.insert(DicomTag(0x0040, 0x1400)); // Requested Procedure Comments
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
186 removals_.insert(DicomTag(0x0040, 0x2001)); // Reason for Imaging Service Request
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
187 removals_.insert(DicomTag(0x0040, 0x2008)); // Order Entered By
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
188 removals_.insert(DicomTag(0x0040, 0x2009)); // Order Enterer Location
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
189 removals_.insert(DicomTag(0x0040, 0x2010)); // Order Callback Phone Number
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
190 removals_.insert(DicomTag(0x0040, 0x2016)); // Placer Order Number of Imaging Service Request
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
191 removals_.insert(DicomTag(0x0040, 0x2017)); // Filler Order Number of Imaging Service Request
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
192 removals_.insert(DicomTag(0x0040, 0x2400)); // Imaging Service Request Comments
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
193 removals_.insert(DicomTag(0x0040, 0x4023)); // Referenced General Purpose Scheduled Procedure Step Transaction UID
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
194 removals_.insert(DicomTag(0x0040, 0x4025)); // Scheduled Station Name Code Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
195 removals_.insert(DicomTag(0x0040, 0x4027)); // Scheduled Station Geographic Location Code Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
196 removals_.insert(DicomTag(0x0040, 0x4030)); // Performed Station Geographic Location Code Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
197 removals_.insert(DicomTag(0x0040, 0x4034)); // Scheduled Human Performers Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
198 removals_.insert(DicomTag(0x0040, 0x4035)); // Actual Human Performers Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
199 removals_.insert(DicomTag(0x0040, 0x4036)); // Human Performers Organization
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
200 removals_.insert(DicomTag(0x0040, 0x4037)); // Human Performers Name
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
201 removals_.insert(DicomTag(0x0040, 0xa027)); // Verifying Organization
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
202 removals_.insert(DicomTag(0x0040, 0xa073)); // Verifying Observer Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
203 removals_.insert(DicomTag(0x0040, 0xa075)); // Verifying Observer Name
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
204 removals_.insert(DicomTag(0x0040, 0xa078)); // Author Observer Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
205 removals_.insert(DicomTag(0x0040, 0xa07a)); // Participant Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
206 removals_.insert(DicomTag(0x0040, 0xa07c)); // Custodial Organization Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
207 removals_.insert(DicomTag(0x0040, 0xa088)); // Verifying Observer Identification Code Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
208 removals_.insert(DicomTag(0x0040, 0xa123)); // Person Name
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
209 removals_.insert(DicomTag(0x0040, 0xa124)); // UID
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
210 removals_.insert(DicomTag(0x0040, 0xa730)); // Content Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
211 removals_.insert(DicomTag(0x0040, 0x3001)); // Confidentiality Constraint on Patient Data Description
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
212 removals_.insert(DicomTag(0x0040, 0xdb0c)); // Template Extension Organization UID
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
213 removals_.insert(DicomTag(0x0040, 0xdb0d)); // Template Extension Creator UID
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
214 removals_.insert(DicomTag(0x0070, 0x0001)); // Graphic Annotation Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
215 removals_.insert(DicomTag(0x0070, 0x0084)); // Content Creator's Name
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
216 removals_.insert(DicomTag(0x0070, 0x0086)); // Content Creator's Identification Code Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
217 removals_.insert(DicomTag(0x0070, 0x031a)); // Fiducial UID
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
218 removals_.insert(DicomTag(0x0088, 0x0140)); // Storage Media File-set UID
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
219 removals_.insert(DicomTag(0x0088, 0x0200)); // Icon Image Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
220 removals_.insert(DicomTag(0x0088, 0x0904)); // Topic Title
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
221 removals_.insert(DicomTag(0x0088, 0x0906)); // Topic Subject
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
222 removals_.insert(DicomTag(0x0088, 0x0910)); // Topic Author
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
223 removals_.insert(DicomTag(0x0088, 0x0912)); // Topic Key Words
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
224 removals_.insert(DicomTag(0x0400, 0x0100)); // Digital Signature UID
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
225 removals_.insert(DicomTag(0x0400, 0x0402)); // Referenced Digital Signature Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
226 removals_.insert(DicomTag(0x0400, 0x0403)); // Referenced SOP Instance MAC Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
227 removals_.insert(DicomTag(0x0400, 0x0404)); // MAC
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
228 removals_.insert(DicomTag(0x0400, 0x0550)); // Modified Attributes Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
229 removals_.insert(DicomTag(0x0400, 0x0561)); // Original Attributes Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
230 removals_.insert(DicomTag(0x2030, 0x0020)); // Text String
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
231 removals_.insert(DicomTag(0x3006, 0x0024)); // Referenced Frame of Reference UID
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
232 removals_.insert(DicomTag(0x3006, 0x00c2)); // Related Frame of Reference UID
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
233 removals_.insert(DicomTag(0x300a, 0x0013)); // Dose Reference UID
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
234 removals_.insert(DicomTag(0x300e, 0x0008)); // Reviewer Name
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
235 removals_.insert(DicomTag(0x4000, 0x0010)); // Arbitrary
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
236 removals_.insert(DicomTag(0x4000, 0x4000)); // Text Comments
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
237 removals_.insert(DicomTag(0x4008, 0x0042)); // Results ID Issuer
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
238 removals_.insert(DicomTag(0x4008, 0x0102)); // Interpretation Recorder
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
239 removals_.insert(DicomTag(0x4008, 0x010a)); // Interpretation Transcriber
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
240 removals_.insert(DicomTag(0x4008, 0x010b)); // Interpretation Text
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
241 removals_.insert(DicomTag(0x4008, 0x010c)); // Interpretation Author
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
242 removals_.insert(DicomTag(0x4008, 0x0111)); // Interpretation Approver Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
243 removals_.insert(DicomTag(0x4008, 0x0114)); // Physician Approving Interpretation
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
244 removals_.insert(DicomTag(0x4008, 0x0115)); // Interpretation Diagnosis Description
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
245 removals_.insert(DicomTag(0x4008, 0x0118)); // Results Distribution List Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
246 removals_.insert(DicomTag(0x4008, 0x0119)); // Distribution Name
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
247 removals_.insert(DicomTag(0x4008, 0x011a)); // Distribution Address
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
248 removals_.insert(DicomTag(0x4008, 0x0202)); // Interpretation ID Issuer
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
249 removals_.insert(DicomTag(0x4008, 0x0300)); // Impressions
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
250 removals_.insert(DicomTag(0x4008, 0x4000)); // Results Comments
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
251 removals_.insert(DicomTag(0xfffa, 0xfffa)); // Digital Signature Sequence
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
252 removals_.insert(DicomTag(0xfffc, 0xfffc)); // Data Set Trailing Padding
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
253 //removals_.insert(DicomTag(0x60xx, 0x4000)); // Overlay Comments => TODO
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
254 //removals_.insert(DicomTag(0x60xx, 0x3000)); // Overlay Data => TODO
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
255
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
256 // Set the DeidentificationMethod tag
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
257 ReplaceInternal(DICOM_TAG_DEIDENTIFICATION_METHOD, ORTHANC_DEIDENTIFICATION_METHOD_2011);
51b91ead6c38 Preservation of UID relationships while anonymizing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
258 }