comparison OrthancServer/DicomProtocol/DicomUserConnection.cpp @ 1846:3dcf5c0734c9

New "AgfaImpax" modality manufacturer for AGFA Impax
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 30 Nov 2015 14:51:43 +0100
parents f08978b1f45b
children b1291df2f780
comparison
equal deleted inserted replaced
1845:8ae1a18b9afb 1846:3dcf5c0734c9
445 static DcmDataset* ConvertQueryFields(const DicomMap& fields, 445 static DcmDataset* ConvertQueryFields(const DicomMap& fields,
446 ModalityManufacturer manufacturer) 446 ModalityManufacturer manufacturer)
447 { 447 {
448 switch (manufacturer) 448 switch (manufacturer)
449 { 449 {
450 case ModalityManufacturer_AgfaImpax:
450 case ModalityManufacturer_SyngoVia: 451 case ModalityManufacturer_SyngoVia:
451 { 452 {
452 std::auto_ptr<DicomMap> fix(fields.Clone()); 453 std::auto_ptr<DicomMap> fix(fields.Clone());
453 454
454 // This issue for Syngo.Via and its solution was reported by 455 // This issue for Syngo.Via and its solution was reported by
455 // Emsy Chan by private mail on June 17th, 2015. 456 // Emsy Chan by private mail on 2015-06-17. According to
457 // Robert van Ommen (2015-11-30), the same fix is required for
458 // Agfa Impax.
456 std::set<DicomTag> tags; 459 std::set<DicomTag> tags;
457 fix->GetTags(tags); 460 fix->GetTags(tags);
458 461
459 for (std::set<DicomTag>::const_iterator it = tags.begin(); it != tags.end(); ++it) 462 for (std::set<DicomTag>::const_iterator it = tags.begin(); it != tags.end(); ++it)
460 { 463 {