Mercurial > hg > orthanc
comparison OrthancServer/DicomModification.cpp @ 2277:c6defdc4c611 issue-46-anonymization
updated list of fields to remove during anonymization following PS 3.15-2011 Table E.1-1
author | amazy |
---|---|
date | Wed, 10 May 2017 22:40:59 +0200 |
parents | a3a65de1840f |
children | 4dc313b9a20a |
comparison
equal
deleted
inserted
replaced
2276:b85f68a98474 | 2277:c6defdc4c611 |
---|---|
274 removePrivateTags_ = true; | 274 removePrivateTags_ = true; |
275 level_ = ResourceType_Patient; | 275 level_ = ResourceType_Patient; |
276 uidMap_.clear(); | 276 uidMap_.clear(); |
277 privateTagsToKeep_.clear(); | 277 privateTagsToKeep_.clear(); |
278 | 278 |
279 // This is Table E.1-1 from PS 3.15-2008 - DICOM Part 15: Security and System Management Profiles | 279 // This is Table E.1-1 from PS 3.15-2011 - DICOM Part 15: Security and System Management Profiles |
280 removals_.insert(DicomTag(0x0000, 0x1000)); // Affected SOP Instance UID | |
281 removals_.insert(DicomTag(0x0000, 0x1001)); // Requested SOP Instance UID | |
282 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 | |
283 removals_.insert(DicomTag(0x0004, 0x1511)); // Referenced SOP Instance UID in File | |
284 removals_.insert(DicomTag(0x0008, 0x0010)); // Irradiation Event UID | |
280 removals_.insert(DicomTag(0x0008, 0x0014)); // Instance Creator UID | 285 removals_.insert(DicomTag(0x0008, 0x0014)); // Instance Creator UID |
281 //removals_.insert(DicomTag(0x0008, 0x0018)); // SOP Instance UID => set in Apply() | 286 //removals_.insert(DicomTag(0x0008, 0x0018)); // SOP Instance UID => set in Apply() |
287 //removals_.insert(DicomTag(0x0008, 0x0020)); // Study Date => TODO: shall be nulled | |
288 //removals_.insert(DicomTag(0x0008, 0x0021)); // Series Date => TODO: shall be nulled | |
289 //removals_.insert(DicomTag(0x0008, 0x0030)); // Study Time => TODO: shall be nulled | |
290 //removals_.insert(DicomTag(0x0008, 0x0031)); // Series Time => TODO: shall be nulled | |
291 removals_.insert(DicomTag(0x0008, 0x0022)); // Acquisition Date | |
292 removals_.insert(DicomTag(0x0008, 0x0023)); // Content Date | |
293 removals_.insert(DicomTag(0x0008, 0x0024)); // Overlay Date | |
294 removals_.insert(DicomTag(0x0008, 0x0025)); // Curve Date | |
295 removals_.insert(DicomTag(0x0008, 0x002a)); // Acquisition DateTime | |
296 removals_.insert(DicomTag(0x0008, 0x0032)); // Acquisition Time | |
297 removals_.insert(DicomTag(0x0008, 0x0033)); // Content Time | |
298 removals_.insert(DicomTag(0x0008, 0x0034)); // Overlay Time | |
299 removals_.insert(DicomTag(0x0008, 0x0035)); // Curve Time | |
282 removals_.insert(DicomTag(0x0008, 0x0050)); // Accession Number | 300 removals_.insert(DicomTag(0x0008, 0x0050)); // Accession Number |
301 removals_.insert(DicomTag(0x0008, 0x0058)); // Failed SOP Instance UID List | |
283 removals_.insert(DicomTag(0x0008, 0x0080)); // Institution Name | 302 removals_.insert(DicomTag(0x0008, 0x0080)); // Institution Name |
284 removals_.insert(DicomTag(0x0008, 0x0081)); // Institution Address | 303 removals_.insert(DicomTag(0x0008, 0x0081)); // Institution Address |
285 removals_.insert(DicomTag(0x0008, 0x0090)); // Referring Physician's Name | 304 removals_.insert(DicomTag(0x0008, 0x0082)); // Institution Code Sequence |
305 removals_.insert(DicomTag(0x0008, 0x0090)); // Referring Physician's Name | |
286 removals_.insert(DicomTag(0x0008, 0x0092)); // Referring Physician's Address | 306 removals_.insert(DicomTag(0x0008, 0x0092)); // Referring Physician's Address |
287 removals_.insert(DicomTag(0x0008, 0x0094)); // Referring Physician's Telephone Numbers | 307 removals_.insert(DicomTag(0x0008, 0x0094)); // Referring Physician's Telephone Numbers |
288 removals_.insert(DicomTag(0x0008, 0x1010)); // Station Name | 308 removals_.insert(DicomTag(0x0008, 0x0096)); // Referring Physician's Identification Sequence |
309 removals_.insert(DicomTag(0x0008, 0x010d)); // Context Group Extension Creator UID | |
310 removals_.insert(DicomTag(0x0008, 0x0201)); // Timezone Offset From UTC | |
311 removals_.insert(DicomTag(0x0008, 0x0300)); // Current Patient Location | |
312 removals_.insert(DicomTag(0x0008, 0x1010)); // Station Name | |
289 removals_.insert(DicomTag(0x0008, 0x1030)); // Study Description | 313 removals_.insert(DicomTag(0x0008, 0x1030)); // Study Description |
290 removals_.insert(DicomTag(0x0008, 0x103e)); // Series Description | 314 removals_.insert(DicomTag(0x0008, 0x103e)); // Series Description |
291 removals_.insert(DicomTag(0x0008, 0x1040)); // Institutional Department Name | 315 removals_.insert(DicomTag(0x0008, 0x1040)); // Institutional Department Name |
292 removals_.insert(DicomTag(0x0008, 0x1048)); // Physician(s) of Record | 316 removals_.insert(DicomTag(0x0008, 0x1048)); // Physician(s) of Record |
293 removals_.insert(DicomTag(0x0008, 0x1050)); // Performing Physicians' Name | 317 removals_.insert(DicomTag(0x0008, 0x1049)); // Physician(s) of Record Identification Sequence |
294 removals_.insert(DicomTag(0x0008, 0x1060)); // Name of Physician(s) Reading Study | 318 removals_.insert(DicomTag(0x0008, 0x1050)); // Performing Physicians' Name |
295 removals_.insert(DicomTag(0x0008, 0x1070)); // Operators' Name | 319 removals_.insert(DicomTag(0x0008, 0x1052)); // Performing Physicians Identification Sequence |
296 removals_.insert(DicomTag(0x0008, 0x1080)); // Admitting Diagnoses Description | 320 removals_.insert(DicomTag(0x0008, 0x1060)); // Name of Physician(s) Reading Study |
297 removals_.insert(DicomTag(0x0008, 0x1155)); // Referenced SOP Instance UID | 321 removals_.insert(DicomTag(0x0008, 0x1062)); // Physician Reading Study Identification Sequence |
298 removals_.insert(DicomTag(0x0008, 0x2111)); // Derivation Description | 322 removals_.insert(DicomTag(0x0008, 0x1070)); // Operators' Name |
323 removals_.insert(DicomTag(0x0008, 0x1072)); // Operators' Identification Sequence | |
324 removals_.insert(DicomTag(0x0008, 0x1080)); // Admitting Diagnoses Description | |
325 removals_.insert(DicomTag(0x0008, 0x1084)); // Admitting Diagnoses Code Sequence | |
326 removals_.insert(DicomTag(0x0008, 0x1110)); // Referenced Study Sequence | |
327 removals_.insert(DicomTag(0x0008, 0x1111)); // Referenced Performed Procedure Step Sequence | |
328 removals_.insert(DicomTag(0x0008, 0x1120)); // Referenced Patient Sequence | |
329 removals_.insert(DicomTag(0x0008, 0x1140)); // Referenced Image Sequence | |
330 removals_.insert(DicomTag(0x0008, 0x1155)); // Referenced SOP Instance UID | |
331 removals_.insert(DicomTag(0x0008, 0x1195)); // Transaction UID | |
332 removals_.insert(DicomTag(0x0008, 0x2111)); // Derivation Description | |
333 removals_.insert(DicomTag(0x0008, 0x2112)); // Source Image Sequence | |
334 removals_.insert(DicomTag(0x0008, 0x4000)); // Identifying Comments | |
335 removals_.insert(DicomTag(0x0008, 0x9123)); // Creator Version UID | |
299 //removals_.insert(DicomTag(0x0010, 0x0010)); // Patient's Name => cf. below (*) | 336 //removals_.insert(DicomTag(0x0010, 0x0010)); // Patient's Name => cf. below (*) |
300 //removals_.insert(DicomTag(0x0010, 0x0020)); // Patient ID => cf. below (*) | 337 //removals_.insert(DicomTag(0x0010, 0x0020)); // Patient ID => cf. below (*) |
301 removals_.insert(DicomTag(0x0010, 0x0030)); // Patient's Birth Date | 338 removals_.insert(DicomTag(0x0010, 0x0030)); // Patient's Birth Date |
302 removals_.insert(DicomTag(0x0010, 0x0032)); // Patient's Birth Time | 339 removals_.insert(DicomTag(0x0010, 0x0032)); // Patient's Birth Time |
303 removals_.insert(DicomTag(0x0010, 0x0040)); // Patient's Sex | 340 //removals_.insert(DicomTag(0x0010, 0x0040)); // Patient's Sex => TODO: shall be nulled |
304 removals_.insert(DicomTag(0x0010, 0x1000)); // Other Patient Ids | 341 removals_.insert(DicomTag(0x0010, 0x0050)); // Patient’s Insurance Plan Code Sequence |
342 removals_.insert(DicomTag(0x0010, 0x0101)); // Patient’s Primary Language Code Sequence | |
343 removals_.insert(DicomTag(0x0010, 0x0102)); // Patient’s Primary Language Modifier Code Sequence | |
344 removals_.insert(DicomTag(0x0010, 0x1000)); // Other Patient Ids | |
305 removals_.insert(DicomTag(0x0010, 0x1001)); // Other Patient Names | 345 removals_.insert(DicomTag(0x0010, 0x1001)); // Other Patient Names |
306 removals_.insert(DicomTag(0x0010, 0x1010)); // Patient's Age | 346 removals_.insert(DicomTag(0x0010, 0x1002)); // Other Patient IDs Sequence |
347 removals_.insert(DicomTag(0x0010, 0x1005)); // Patient's Birth Name | |
348 removals_.insert(DicomTag(0x0010, 0x1010)); // Patient's Age | |
307 removals_.insert(DicomTag(0x0010, 0x1020)); // Patient's Size | 349 removals_.insert(DicomTag(0x0010, 0x1020)); // Patient's Size |
308 removals_.insert(DicomTag(0x0010, 0x1030)); // Patient's Weight | 350 removals_.insert(DicomTag(0x0010, 0x1030)); // Patient's Weight |
309 removals_.insert(DicomTag(0x0010, 0x1090)); // Medical Record Locator | 351 removals_.insert(DicomTag(0x0010, 0x1040)); // Patient's Address |
310 removals_.insert(DicomTag(0x0010, 0x2160)); // Ethnic Group | 352 removals_.insert(DicomTag(0x0010, 0x1050)); // Insurance Plan Identification |
353 removals_.insert(DicomTag(0x0010, 0x1060)); // Patient’s Mother’s Birth Name | |
354 removals_.insert(DicomTag(0x0010, 0x1080)); // Military Rank | |
355 removals_.insert(DicomTag(0x0010, 0x1081)); // Branch of Service | |
356 removals_.insert(DicomTag(0x0010, 0x1090)); // Medical Record Locator | |
357 removals_.insert(DicomTag(0x0010, 0x2000)); // Medical Alerts | |
358 removals_.insert(DicomTag(0x0010, 0x2110)); // Allergies | |
359 removals_.insert(DicomTag(0x0010, 0x2150)); // Country of Residence | |
360 removals_.insert(DicomTag(0x0010, 0x2152)); // Region of Residence | |
361 removals_.insert(DicomTag(0x0010, 0x2154)); // PatientTelephoneNumbers | |
362 removals_.insert(DicomTag(0x0010, 0x2160)); // Ethnic Group | |
311 removals_.insert(DicomTag(0x0010, 0x2180)); // Occupation | 363 removals_.insert(DicomTag(0x0010, 0x2180)); // Occupation |
312 removals_.insert(DicomTag(0x0010, 0x21b0)); // Additional Patient's History | 364 removals_.insert(DicomTag(0x0010, 0x21a0)); // Smoking Status |
313 removals_.insert(DicomTag(0x0010, 0x4000)); // Patient Comments | 365 removals_.insert(DicomTag(0x0010, 0x21b0)); // Additional Patient's History |
314 removals_.insert(DicomTag(0x0018, 0x1000)); // Device Serial Number | 366 removals_.insert(DicomTag(0x0010, 0x21c0)); // Pregnancy Status |
315 removals_.insert(DicomTag(0x0018, 0x1030)); // Protocol Name | 367 removals_.insert(DicomTag(0x0010, 0x21d0)); // Last Menstrual Date |
368 removals_.insert(DicomTag(0x0010, 0x21f0)); // Patient's Religious Preference | |
369 removals_.insert(DicomTag(0x0010, 0x2203)); // Patient's Sex Neutered | |
370 removals_.insert(DicomTag(0x0010, 0x2297)); // Responsible Person | |
371 removals_.insert(DicomTag(0x0010, 0x2299)); // Responsible Organization | |
372 removals_.insert(DicomTag(0x0010, 0x4000)); // Patient Comments | |
373 removals_.insert(DicomTag(0x0018, 0x0010)); // Contrast Bolus Agent | |
374 removals_.insert(DicomTag(0x0018, 0x1000)); // Device Serial Number | |
375 removals_.insert(DicomTag(0x0018, 0x1002)); // Device UID | |
376 removals_.insert(DicomTag(0x0018, 0x1004)); // Plate ID | |
377 removals_.insert(DicomTag(0x0018, 0x1005)); // Generator ID | |
378 removals_.insert(DicomTag(0x0018, 0x1007)); // Cassette ID | |
379 removals_.insert(DicomTag(0x0018, 0x1008)); // Gantry ID | |
380 removals_.insert(DicomTag(0x0018, 0x1030)); // Protocol Name | |
381 removals_.insert(DicomTag(0x0018, 0x1400)); // Acquisition Device Processing Description | |
382 removals_.insert(DicomTag(0x0018, 0x4000)); // Acquisition Comments | |
383 removals_.insert(DicomTag(0x0018, 0x700a)); // Detector ID | |
384 removals_.insert(DicomTag(0x0018, 0xa003)); // Contribution Description | |
385 removals_.insert(DicomTag(0x0018, 0x9424)); // Acquisition Protocol Description | |
316 //removals_.insert(DicomTag(0x0020, 0x000d)); // Study Instance UID => set in Apply() | 386 //removals_.insert(DicomTag(0x0020, 0x000d)); // Study Instance UID => set in Apply() |
317 //removals_.insert(DicomTag(0x0020, 0x000e)); // Series Instance UID => set in Apply() | 387 //removals_.insert(DicomTag(0x0020, 0x000e)); // Series Instance UID => set in Apply() |
318 removals_.insert(DicomTag(0x0020, 0x0010)); // Study ID | 388 removals_.insert(DicomTag(0x0020, 0x0010)); // Study ID |
319 removals_.insert(DicomTag(0x0020, 0x0052)); // Frame of Reference UID | 389 removals_.insert(DicomTag(0x0020, 0x0052)); // Frame of Reference UID |
320 removals_.insert(DicomTag(0x0020, 0x0200)); // Synchronization Frame of Reference UID | 390 removals_.insert(DicomTag(0x0020, 0x0200)); // Synchronization Frame of Reference UID |
321 removals_.insert(DicomTag(0x0020, 0x4000)); // Image Comments | 391 removals_.insert(DicomTag(0x0020, 0x3401)); // Modifying Device ID |
322 removals_.insert(DicomTag(0x0040, 0x0275)); // Request Attributes Sequence | 392 removals_.insert(DicomTag(0x0020, 0x3404)); // Modifying Device Manufacturer |
393 removals_.insert(DicomTag(0x0020, 0x3406)); // Modified Image Description | |
394 removals_.insert(DicomTag(0x0020, 0x4000)); // Image Comments | |
395 removals_.insert(DicomTag(0x0020, 0x9158)); // Frame Comments | |
396 removals_.insert(DicomTag(0x0020, 0x9161)); // Concatenation UID | |
397 removals_.insert(DicomTag(0x0020, 0x9164)); // Dimension Organization UID | |
398 //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 | |
399 //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 | |
400 removals_.insert(DicomTag(0x0028, 0x4000)); // Image Presentation Comments | |
401 removals_.insert(DicomTag(0x0032, 0x0012)); // Study ID Issuer | |
402 removals_.insert(DicomTag(0x0032, 0x1020)); // Scheduled Study Location | |
403 removals_.insert(DicomTag(0x0032, 0x1021)); // Scheduled Study Location AE Title | |
404 removals_.insert(DicomTag(0x0032, 0x1030)); // Reason for Study | |
405 removals_.insert(DicomTag(0x0032, 0x1032)); // Requesting Physician | |
406 removals_.insert(DicomTag(0x0032, 0x1033)); // Requesting Service | |
407 removals_.insert(DicomTag(0x0032, 0x1060)); // Requesting Procedure Description | |
408 removals_.insert(DicomTag(0x0032, 0x1070)); // Requested Contrast Agent | |
409 removals_.insert(DicomTag(0x0032, 0x4000)); // Study Comments | |
410 removals_.insert(DicomTag(0x0038, 0x0010)); // Admission ID | |
411 removals_.insert(DicomTag(0x0038, 0x0011)); // Issuer of Admission ID | |
412 removals_.insert(DicomTag(0x0038, 0x001e)); // Scheduled Patient Institution Residence | |
413 removals_.insert(DicomTag(0x0038, 0x0020)); // Admitting Date | |
414 removals_.insert(DicomTag(0x0038, 0x0021)); // Admitting Time | |
415 removals_.insert(DicomTag(0x0038, 0x0040)); // Discharge Diagnosis Description | |
416 removals_.insert(DicomTag(0x0038, 0x0050)); // Special Needs | |
417 removals_.insert(DicomTag(0x0038, 0x0060)); // Service Episode ID | |
418 removals_.insert(DicomTag(0x0038, 0x0061)); // Issuer of Service Episode ID | |
419 removals_.insert(DicomTag(0x0038, 0x0062)); // Service Episode Description | |
420 removals_.insert(DicomTag(0x0038, 0x0400)); // Patient’s Institution Residence | |
421 removals_.insert(DicomTag(0x0038, 0x0500)); // Patient State | |
422 removals_.insert(DicomTag(0x0038, 0x4000)); // Visit Comments | |
423 removals_.insert(DicomTag(0x0038, 0x1234)); // Referenced Patient Alias Sequence | |
424 removals_.insert(DicomTag(0x0040, 0x0001)); // Scheduled Station AE Title | |
425 removals_.insert(DicomTag(0x0040, 0x0002)); // Scheduled Procedure Step Start Date | |
426 removals_.insert(DicomTag(0x0040, 0x0003)); // Scheduled Procedure Step Start Time | |
427 removals_.insert(DicomTag(0x0040, 0x0004)); // Scheduled Procedure Step End Date | |
428 removals_.insert(DicomTag(0x0040, 0x0005)); // Scheduled Procedure Step End Time | |
429 removals_.insert(DicomTag(0x0040, 0x0006)); // Scheduled Performing Physician Name | |
430 removals_.insert(DicomTag(0x0040, 0x0007)); // Scheduled Procedure Step Description | |
431 removals_.insert(DicomTag(0x0040, 0x000b)); // Scheduled Performing Physician Identification Sequence | |
432 removals_.insert(DicomTag(0x0040, 0x0010)); // Scheduled Station Name | |
433 removals_.insert(DicomTag(0x0040, 0x0011)); // Scheduled Procedure Step Location | |
434 removals_.insert(DicomTag(0x0040, 0x0012)); // Pre-Medication | |
435 removals_.insert(DicomTag(0x0040, 0x0241)); // Performed Station AE Title | |
436 removals_.insert(DicomTag(0x0040, 0x0242)); // Performed Station Name | |
437 removals_.insert(DicomTag(0x0040, 0x0243)); // Performed Location | |
438 removals_.insert(DicomTag(0x0040, 0x0244)); // Performed Procedure Step Start Date | |
439 removals_.insert(DicomTag(0x0040, 0x0245)); // Performed Procedure Step Start Time | |
440 removals_.insert(DicomTag(0x0040, 0x0248)); // Performed Station Name Code Sequence | |
441 removals_.insert(DicomTag(0x0040, 0x0253)); // Performed Procedure Step ID | |
442 removals_.insert(DicomTag(0x0040, 0x0254)); // Performed Procedure Step Description | |
443 removals_.insert(DicomTag(0x0040, 0x0275)); // Request Attributes Sequence | |
444 removals_.insert(DicomTag(0x0040, 0x0280)); // Comments on Performed Procedure Step | |
445 removals_.insert(DicomTag(0x0040, 0x0555)); // Acquisition Context Sequence | |
446 removals_.insert(DicomTag(0x0040, 0x1001)); // Requested Procedure ID | |
447 removals_.insert(DicomTag(0x0040, 0x1010)); // Names of Intended Recipient of Results | |
448 removals_.insert(DicomTag(0x0040, 0x1011)); // Intended Recipient of Results Identification Sequence | |
449 removals_.insert(DicomTag(0x0040, 0x1004)); // Patient Transport Arrangements | |
450 removals_.insert(DicomTag(0x0040, 0x1005)); // Requested Procedure Location | |
451 removals_.insert(DicomTag(0x0040, 0x1101)); // Person Identification Code Sequence | |
452 removals_.insert(DicomTag(0x0040, 0x1102)); // Person Address | |
453 removals_.insert(DicomTag(0x0040, 0x1103)); // Person Telephone Numbers | |
454 removals_.insert(DicomTag(0x0040, 0x1400)); // Requested Procedure Comments | |
455 removals_.insert(DicomTag(0x0040, 0x2001)); // Reason for Imaging Service Request | |
456 removals_.insert(DicomTag(0x0040, 0x2008)); // Order Entered By | |
457 removals_.insert(DicomTag(0x0040, 0x2009)); // Order Enterer Location | |
458 removals_.insert(DicomTag(0x0040, 0x2010)); // Order Callback Phone Number | |
459 removals_.insert(DicomTag(0x0040, 0x2016)); // Placer Order Number of Imaging Service Request | |
460 removals_.insert(DicomTag(0x0040, 0x2017)); // Filler Order Number of Imaging Service Request | |
461 removals_.insert(DicomTag(0x0040, 0x2400)); // Imaging Service Request Comments | |
462 removals_.insert(DicomTag(0x0040, 0x4023)); // Referenced General Purpose Scheduled Procedure Step Transaction UID | |
463 removals_.insert(DicomTag(0x0040, 0x4025)); // Scheduled Station Name Code Sequence | |
464 removals_.insert(DicomTag(0x0040, 0x4027)); // Scheduled Station Geographic Location Code Sequence | |
465 removals_.insert(DicomTag(0x0040, 0x4030)); // Performed Station Geographic Location Code Sequence | |
466 removals_.insert(DicomTag(0x0040, 0x4034)); // Scheduled Human Performers Sequence | |
467 removals_.insert(DicomTag(0x0040, 0x4035)); // Actual Human Performers Sequence | |
468 removals_.insert(DicomTag(0x0040, 0x4036)); // Human Performers Organization | |
469 removals_.insert(DicomTag(0x0040, 0x4037)); // Human Performers Name | |
470 removals_.insert(DicomTag(0x0040, 0xa027)); // Verifying Organization | |
471 removals_.insert(DicomTag(0x0040, 0xa073)); // Verifying Observer Sequence | |
472 removals_.insert(DicomTag(0x0040, 0xa075)); // Verifying Observer Name | |
473 removals_.insert(DicomTag(0x0040, 0xa078)); // Author Observer Sequence | |
474 removals_.insert(DicomTag(0x0040, 0xa07a)); // Participant Sequence | |
475 removals_.insert(DicomTag(0x0040, 0xa07c)); // Custodial Organization Sequence | |
476 removals_.insert(DicomTag(0x0040, 0xa088)); // Verifying Observer Identification Code Sequence | |
477 removals_.insert(DicomTag(0x0040, 0xa123)); // Person Name | |
323 removals_.insert(DicomTag(0x0040, 0xa124)); // UID | 478 removals_.insert(DicomTag(0x0040, 0xa124)); // UID |
324 removals_.insert(DicomTag(0x0040, 0xa730)); // Content Sequence | 479 removals_.insert(DicomTag(0x0040, 0xa730)); // Content Sequence |
325 removals_.insert(DicomTag(0x0088, 0x0140)); // Storage Media File-set UID | 480 removals_.insert(DicomTag(0x0040, 0x3001)); // Confidentiality Constraint on Patient Data Description |
326 removals_.insert(DicomTag(0x3006, 0x0024)); // Referenced Frame of Reference UID | 481 removals_.insert(DicomTag(0x0040, 0xdb0c)); // Template Extension Organization UID |
482 removals_.insert(DicomTag(0x0040, 0xdb0d)); // Template Extension Creator UID | |
483 removals_.insert(DicomTag(0x0070, 0x0001)); // Graphic Annotation Sequence | |
484 removals_.insert(DicomTag(0x0070, 0x0084)); // Content Creator's Name | |
485 removals_.insert(DicomTag(0x0070, 0x0086)); // Content Creator's Identification Code Sequence | |
486 removals_.insert(DicomTag(0x0070, 0x031a)); // Fiducial UID | |
487 removals_.insert(DicomTag(0x0088, 0x0140)); // Storage Media File-set UID | |
488 removals_.insert(DicomTag(0x0088, 0x0200)); // Icon Image Sequence | |
489 removals_.insert(DicomTag(0x0088, 0x0904)); // Topic Title | |
490 removals_.insert(DicomTag(0x0088, 0x0906)); // Topic Subject | |
491 removals_.insert(DicomTag(0x0088, 0x0910)); // Topic Author | |
492 removals_.insert(DicomTag(0x0088, 0x0912)); // Topic Key Words | |
493 removals_.insert(DicomTag(0x0400, 0x0100)); // Digital Signature UID | |
494 removals_.insert(DicomTag(0x0400, 0x0402)); // Referenced Digital Signature Sequence | |
495 removals_.insert(DicomTag(0x0400, 0x0403)); // Referenced SOP Instance MAC Sequence | |
496 removals_.insert(DicomTag(0x0400, 0x0404)); // MAC | |
497 removals_.insert(DicomTag(0x0400, 0x0550)); // Modified Attributes Sequence | |
498 removals_.insert(DicomTag(0x0400, 0x0561)); // Original Attributes Sequence | |
499 removals_.insert(DicomTag(0x2030, 0x0020)); // Text String | |
500 removals_.insert(DicomTag(0x3006, 0x0024)); // Referenced Frame of Reference UID | |
327 removals_.insert(DicomTag(0x3006, 0x00c2)); // Related Frame of Reference UID | 501 removals_.insert(DicomTag(0x3006, 0x00c2)); // Related Frame of Reference UID |
328 | 502 removals_.insert(DicomTag(0x300a, 0x0013)); // Dose Reference UID |
329 // Some more removals (from the experience of DICOM files at the CHU of Liege) | 503 removals_.insert(DicomTag(0x300e, 0x0008)); // Reviewer Name |
330 removals_.insert(DicomTag(0x0010, 0x1040)); // Patient's Address | 504 removals_.insert(DicomTag(0x4000, 0x0010)); // Arbitrary |
331 removals_.insert(DicomTag(0x0032, 0x1032)); // Requesting Physician | 505 removals_.insert(DicomTag(0x4000, 0x4000)); // Text Comments |
332 removals_.insert(DicomTag(0x0010, 0x2154)); // PatientTelephoneNumbers | 506 removals_.insert(DicomTag(0x4008, 0x0042)); // Results ID Issuer |
333 removals_.insert(DicomTag(0x0010, 0x2000)); // Medical Alerts | 507 removals_.insert(DicomTag(0x4008, 0x0102)); // Interpretation Recorder |
508 removals_.insert(DicomTag(0x4008, 0x010a)); // Interpretation Transcriber | |
509 removals_.insert(DicomTag(0x4008, 0x010b)); // Interpretation Text | |
510 removals_.insert(DicomTag(0x4008, 0x010c)); // Interpretation Author | |
511 removals_.insert(DicomTag(0x4008, 0x0111)); // Interpretation Approver Sequence | |
512 removals_.insert(DicomTag(0x4008, 0x0114)); // Physician Approving Interpretation | |
513 removals_.insert(DicomTag(0x4008, 0x0115)); // Interpretation Diagnosis Description | |
514 removals_.insert(DicomTag(0x4008, 0x0118)); // Results Distribution List Sequence | |
515 removals_.insert(DicomTag(0x4008, 0x0119)); // Distribution Name | |
516 removals_.insert(DicomTag(0x4008, 0x011a)); // Distribution Address | |
517 removals_.insert(DicomTag(0x4008, 0x0202)); // Interpretation ID Issuer | |
518 removals_.insert(DicomTag(0x4008, 0x0300)); // Impressions | |
519 removals_.insert(DicomTag(0x4008, 0x4000)); // Results Comments | |
520 removals_.insert(DicomTag(0xfffa, 0xfffa)); // Digital Signature Sequence | |
521 removals_.insert(DicomTag(0xfffc, 0xfffc)); // Data Set Trailing Padding | |
522 //removals_.insert(DicomTag(0x60xx, 0x4000)); // Overlay Comments => TODO | |
523 //removals_.insert(DicomTag(0x60xx, 0x3000)); // Overlay Data => TODO | |
334 | 524 |
335 // Set the DeidentificationMethod tag | 525 // Set the DeidentificationMethod tag |
336 ReplaceInternal(DICOM_TAG_DEIDENTIFICATION_METHOD, ORTHANC_DEIDENTIFICATION_METHOD); | 526 ReplaceInternal(DICOM_TAG_DEIDENTIFICATION_METHOD, ORTHANC_DEIDENTIFICATION_METHOD); |
337 | 527 |
338 // Set the PatientIdentityRemoved tag | 528 // Set the PatientIdentityRemoved tag |