Mercurial > hg > orthanc
comparison OrthancServer/Sources/QueryRetrieveHandler.cpp @ 4139:a4f28efdfccf
"maxTagLength" must be explicitly given to ParsedDicomFile::ExtractDicomSummary()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 06 Aug 2020 18:25:47 +0200 |
parents | c02a2d9efbc2 |
children | d9473bd5ed43 |
comparison
equal
deleted
inserted
replaced
4138:1a26daefc3fe | 4139:a4f28efdfccf |
---|---|
35 #include "QueryRetrieveHandler.h" | 35 #include "QueryRetrieveHandler.h" |
36 | 36 |
37 #include "OrthancConfiguration.h" | 37 #include "OrthancConfiguration.h" |
38 | 38 |
39 #include "../../OrthancFramework/Sources/DicomNetworking/DicomControlUserConnection.h" | 39 #include "../../OrthancFramework/Sources/DicomNetworking/DicomControlUserConnection.h" |
40 #include "../../OrthancFramework/Sources/DicomParsing/FromDcmtkBridge.h" | |
41 #include "../../OrthancFramework/Sources/Logging.h" | 40 #include "../../OrthancFramework/Sources/Logging.h" |
42 #include "../../OrthancFramework/Sources/Lua/LuaFunctionCall.h" | 41 #include "../../OrthancFramework/Sources/Lua/LuaFunctionCall.h" |
43 #include "LuaScripting.h" | 42 #include "LuaScripting.h" |
44 #include "ServerContext.h" | 43 #include "ServerContext.h" |
45 | 44 |
158 | 157 |
159 void QueryRetrieveHandler::GetAnswer(DicomMap& target, | 158 void QueryRetrieveHandler::GetAnswer(DicomMap& target, |
160 size_t i) | 159 size_t i) |
161 { | 160 { |
162 Run(); | 161 Run(); |
163 answers_.GetAnswer(i).ExtractDicomSummary(target); | 162 answers_.GetAnswer(i).ExtractDicomSummary(target, 0 /* don't truncate tags */); |
164 } | 163 } |
165 | 164 |
166 | 165 |
167 void QueryRetrieveHandler::SetFindNormalized(bool normalized) | 166 void QueryRetrieveHandler::SetFindNormalized(bool normalized) |
168 { | 167 { |