Mercurial > hg > orthanc
comparison Core/DicomParsing/FromDcmtkBridge.cpp @ 4016:c675d77b82ab
fix creation of sequence in private tag
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 08 Jun 2020 17:20:32 +0200 |
parents | 884b55ce01f6 |
children | 100fbe970762 |
comparison
equal
deleted
inserted
replaced
4015:f6cb16413325 | 4016:c675d77b82ab |
---|---|
1716 break; | 1716 break; |
1717 | 1717 |
1718 case Json::arrayValue: | 1718 case Json::arrayValue: |
1719 { | 1719 { |
1720 const char* p = NULL; | 1720 const char* p = NULL; |
1721 if (!privateCreator.empty()) | 1721 if (tag.IsPrivate() && |
1722 !privateCreator.empty()) | |
1722 { | 1723 { |
1723 p = privateCreator.c_str(); | 1724 p = privateCreator.c_str(); |
1724 } | 1725 } |
1725 | 1726 |
1726 DcmTag key(tag.GetGroup(), tag.GetElement(), p); | 1727 DcmTag key(tag.GetGroup(), tag.GetElement(), p); |