Mercurial > hg > orthanc
diff OrthancFramework/Sources/Toolbox.cpp @ 4527:31f940334496
Handle public tags with "UN" value representation and containing a string (cf. DICOM CP 246)
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 24 Feb 2021 12:39:35 +0100 |
parents | d9473bd5ed43 |
children | 9086aeb9d9d2 |
line wrap: on
line diff
--- a/OrthancFramework/Sources/Toolbox.cpp Tue Feb 23 20:05:26 2021 +0100 +++ b/OrthancFramework/Sources/Toolbox.cpp Wed Feb 24 12:39:35 2021 +0100 @@ -2270,7 +2270,8 @@ target[name] = v["Value"].asString(); } else if (type == "TooLong" || - type == "Null") + type == "Null" || + type == "Binary") { target[name] = Json::nullValue; }