Mercurial > hg > orthanc
comparison OrthancServer/OrthancFindRequestHandler.cpp @ 2317:5b7556568fa4
Incoming C-Find request: removing group-length for all manufacturer -> removed EFilm2 manufacturer that is now useless
author | amazy |
---|---|
date | Thu, 13 Jul 2017 11:35:57 +0200 |
parents | de1ba22fd28a |
children | 174c3616ab6d |
comparison
equal
deleted
inserted
replaced
2316:8bca2c8eaead | 2317:5b7556568fa4 |
---|---|
449 bool OrthancFindRequestHandler::FilterQueryTag(std::string& value /* can be modified */, | 449 bool OrthancFindRequestHandler::FilterQueryTag(std::string& value /* can be modified */, |
450 ResourceType level, | 450 ResourceType level, |
451 const DicomTag& tag, | 451 const DicomTag& tag, |
452 ModalityManufacturer manufacturer) | 452 ModalityManufacturer manufacturer) |
453 { | 453 { |
454 // wathever the manufacturer, remote the GenericGroupLength tags (http://dicom.nema.org/medical/dicom/current/output/chtml/part05/sect_7.2.html) | |
455 if (tag.GetGroup() == 0x0000) | |
456 { | |
457 return false; | |
458 } | |
459 | |
454 switch (manufacturer) | 460 switch (manufacturer) |
455 { | 461 { |
456 case ModalityManufacturer_EFilm2: | |
457 // Following Denis Nesterov's mail on 2015-11-30 | |
458 if (tag == DicomTag(0x0008, 0x0000) || // "GenericGroupLength" | |
459 tag == DicomTag(0x0010, 0x0000) || // "GenericGroupLength" | |
460 tag == DicomTag(0x0020, 0x0000)) // "GenericGroupLength" | |
461 { | |
462 return false; | |
463 } | |
464 | |
465 break; | |
466 | |
467 case ModalityManufacturer_Vitrea: | 462 case ModalityManufacturer_Vitrea: |
468 // Following Denis Nesterov's mail on 2015-11-30 | 463 // Following Denis Nesterov's mail on 2015-11-30 |
469 if (tag == DicomTag(0x5653, 0x0010)) // "PrivateCreator = Vital Images SW 3.4" | 464 if (tag == DicomTag(0x5653, 0x0010)) // "PrivateCreator = Vital Images SW 3.4" |
470 { | 465 { |
471 return false; | 466 return false; |