Mercurial > hg > orthanc
comparison OrthancServer/OrthancFindRequestHandler.cpp @ 2434:63194107e61b
fix issue #31 for good: removing group length correctly
author | amazy |
---|---|
date | Sat, 25 Nov 2017 11:22:53 +0100 |
parents | 7284093111b0 |
children | 878b59270859 |
comparison
equal
deleted
inserted
replaced
2433:b382879072a5 | 2434:63194107e61b |
---|---|
452 ModalityManufacturer manufacturer) | 452 ModalityManufacturer manufacturer) |
453 { | 453 { |
454 // Whatever the manufacturer, remove the GenericGroupLength tags | 454 // Whatever the manufacturer, remove the GenericGroupLength tags |
455 // http://dicom.nema.org/medical/dicom/current/output/chtml/part05/sect_7.2.html | 455 // http://dicom.nema.org/medical/dicom/current/output/chtml/part05/sect_7.2.html |
456 // https://bitbucket.org/sjodogne/orthanc/issues/31/ | 456 // https://bitbucket.org/sjodogne/orthanc/issues/31/ |
457 if (tag.GetGroup() == 0x0000) | 457 if (tag.GetElement() == 0x0000) |
458 { | 458 { |
459 return false; | 459 return false; |
460 } | 460 } |
461 | 461 |
462 switch (manufacturer) | 462 switch (manufacturer) |