Mercurial > hg > orthanc
diff OrthancServer/Sources/LuaScripting.cpp @ 4697:569d9ef165b1
Added "short", "simplify" and/or "full" options to control the format of DICOM tags wherever possible
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 18 Jun 2021 16:08:35 +0200 |
parents | d01702fb29a9 |
children | f0038043fb97 94616af363ec |
line wrap: on
line diff
--- a/OrthancServer/Sources/LuaScripting.cpp Thu Jun 17 15:47:21 2021 +0200 +++ b/OrthancServer/Sources/LuaScripting.cpp Fri Jun 18 16:08:35 2021 +0200 @@ -182,11 +182,11 @@ { DicomMap t; tags_.ExtractStudyInformation(t); // Discard patient-related tags - FromDcmtkBridge::ToJson(json, t, true); + FromDcmtkBridge::ToJson(json, t, DicomToJsonFormat_Human); } else { - FromDcmtkBridge::ToJson(json, tags_, true); + FromDcmtkBridge::ToJson(json, tags_, DicomToJsonFormat_Human); } LuaFunctionCall call(lock.GetLua(), name);