Mercurial > hg > orthanc
comparison OrthancServer/OrthancFindRequestHandler.cpp @ 1982:b5d4f9c156ad
Modification of instances can now replace PixelData
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 22 Apr 2016 10:28:55 +0200 |
parents | b1291df2f780 |
children | 6301bbcbcaed |
comparison
equal
deleted
inserted
replaced
1981:4b545a8b1f95 | 1982:b5d4f9c156ad |
---|---|
391 Json::Value item; | 391 Json::Value item; |
392 Toolbox::SimplifyTags(item, source["Value"][i], DicomToJsonFormat_Short); | 392 Toolbox::SimplifyTags(item, source["Value"][i], DicomToJsonFormat_Short); |
393 content.append(item); | 393 content.append(item); |
394 } | 394 } |
395 | 395 |
396 dicom.Replace(*tag, content, false); | 396 dicom.Replace(*tag, content, false, DicomReplaceMode_InsertIfAbsent); |
397 } | 397 } |
398 } | 398 } |
399 | 399 |
400 answers.Add(dicom); | 400 answers.Add(dicom); |
401 } | 401 } |