Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
4526:59b667dd58a8 | 4527:31f940334496 |
---|---|
2268 if (type == "String") | 2268 if (type == "String") |
2269 { | 2269 { |
2270 target[name] = v["Value"].asString(); | 2270 target[name] = v["Value"].asString(); |
2271 } | 2271 } |
2272 else if (type == "TooLong" || | 2272 else if (type == "TooLong" || |
2273 type == "Null") | 2273 type == "Null" || |
2274 type == "Binary") | |
2274 { | 2275 { |
2275 target[name] = Json::nullValue; | 2276 target[name] = Json::nullValue; |
2276 } | 2277 } |
2277 else if (type == "Sequence") | 2278 else if (type == "Sequence") |
2278 { | 2279 { |