comparison OrthancServer/OrthancRestApi/OrthancRestAnonymizeModify.cpp @ 2310:b7fba68747f6 issue-46-anonymization

DicomModification::Clear()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 12 Jul 2017 14:00:00 +0200
parents 4dc313b9a20a
children 78dcb3ddea9f
comparison
equal deleted inserted replaced
2309:4dc313b9a20a 2310:b7fba68747f6
99 { 99 {
100 const std::string& name = members[i]; 100 const std::string& name = members[i];
101 const Json::Value& value = replacements[name]; 101 const Json::Value& value = replacements[name];
102 102
103 DicomTag tag = FromDcmtkBridge::ParseTag(name); 103 DicomTag tag = FromDcmtkBridge::ParseTag(name);
104 target.Replace(tag, value); 104 target.Replace(tag, value, false);
105 105
106 VLOG(1) << "Replace: " << name << " " << tag 106 VLOG(1) << "Replace: " << name << " " << tag
107 << " == " << value.toStyledString() << std::endl; 107 << " == " << value.toStyledString() << std::endl;
108 } 108 }
109 } 109 }