comparison OrthancServer/ServerIndex.cpp @ 1368:b22ba8c5edbe query-retrieve

query retrieve
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 26 May 2015 17:54:34 +0200
parents 111e23bb4904
children 0ac74fa21db8
comparison
equal deleted inserted replaced
1367:fe6e5a9f1ea2 1368:b22ba8c5edbe
881 int64_t resourceId) 881 int64_t resourceId)
882 { 882 {
883 DicomMap tags; 883 DicomMap tags;
884 db_.GetMainDicomTags(tags, resourceId); 884 db_.GetMainDicomTags(tags, resourceId);
885 target["MainDicomTags"] = Json::objectValue; 885 target["MainDicomTags"] = Json::objectValue;
886 FromDcmtkBridge::ToJson(target["MainDicomTags"], tags); 886 FromDcmtkBridge::ToJson(target["MainDicomTags"], tags, true);
887 } 887 }
888 888
889 bool ServerIndex::LookupResource(Json::Value& result, 889 bool ServerIndex::LookupResource(Json::Value& result,
890 const std::string& publicId, 890 const std::string& publicId,
891 ResourceType expectedType) 891 ResourceType expectedType)