comparison OrthancServer/OrthancRestApi/OrthancRestModalities.cpp @ 2007:655489d9165d

DicomMap::ParseDicomMetaInformation()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 09 Jun 2016 15:46:33 +0200
parents 9b61701c35f2
children a0bd8cd55da7
comparison
equal deleted inserted replaced
2006:6301bbcbcaed 2007:655489d9165d
95 95
96 Json::Value::Members members = query.getMemberNames(); 96 Json::Value::Members members = query.getMemberNames();
97 for (size_t i = 0; i < members.size(); i++) 97 for (size_t i = 0; i < members.size(); i++)
98 { 98 {
99 DicomTag t = FromDcmtkBridge::ParseTag(members[i]); 99 DicomTag t = FromDcmtkBridge::ParseTag(members[i]);
100 result.SetValue(t, query[members[i]].asString()); 100 result.SetValue(t, query[members[i]].asString(), false);
101 } 101 }
102 102
103 return true; 103 return true;
104 } 104 }
105 105
285 const DicomTag& tag) 285 const DicomTag& tag)
286 { 286 {
287 std::string tmp; 287 std::string tmp;
288 if (source.GetTagValue(tmp, tag)) 288 if (source.GetTagValue(tmp, tag))
289 { 289 {
290 target.SetValue(tag, tmp); 290 target.SetValue(tag, tmp, false);
291 } 291 }
292 } 292 }
293 293
294 294
295 static void DicomFind(RestApiPostCall& call) 295 static void DicomFind(RestApiPostCall& call)