Mercurial > hg > orthanc
changeset 2074:4a151d26c98a
fix extraction of the symbolic name of the private tags
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 16 Aug 2016 11:28:31 +0200 |
parents | 1d7a640c1dda |
children | bec08e9236f5 |
files | NEWS OrthancServer/FromDcmtkBridge.cpp |
diffstat | 2 files changed, 14 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/NEWS Fri Jul 15 11:58:11 2016 +0200 +++ b/NEWS Tue Aug 16 11:28:31 2016 +0200 @@ -1,11 +1,23 @@ Pending changes in the mainline =============================== +General +------- + * New configuration options: "DicomScuTimeout" and "DicomScpTimeout" + +REST API +-------- + * "Permissive" flag for URI "/modalities/{...}/store" to ignore C-Store transfer errors * "Asynchronous" flag for URIs "/modalities/{...}/store" and "/peers/{...}/store" to avoid waiting for the completion of image transfers +Maintenance +----------- + +* Fix extraction of the symbolic name of the private tags + Version 1.1.0 (2016/06/27) ==========================
--- a/OrthancServer/FromDcmtkBridge.cpp Fri Jul 15 11:58:11 2016 +0200 +++ b/OrthancServer/FromDcmtkBridge.cpp Tue Aug 16 11:28:31 2016 +0200 @@ -571,8 +571,7 @@ } // This code gives access to the name of the private tags - DcmTag tagbis(element.getTag()); - const std::string tagName(tagbis.getTagName()); + const std::string tagName = FromDcmtkBridge::GetName(tag); switch (format) { @@ -589,6 +588,7 @@ { node["Name"] = tagName; + DcmTag tagbis(tag.GetGroup(), tag.GetElement()); if (tagbis.getPrivateCreator() != NULL) { node["PrivateCreator"] = tagbis.getPrivateCreator();