# HG changeset patch # User Sebastien Jodogne # Date 1356108677 -3600 # Node ID 6253c70b197b2408986ab078762f6f03b7b9ae55 # Parent d526ac73c8867d21605ba434037a33e60b1d29a2 fixes diff -r d526ac73c886 -r 6253c70b197b NEWS --- a/NEWS Fri Dec 21 17:27:16 2012 +0100 +++ b/NEWS Fri Dec 21 17:51:17 2012 +0100 @@ -1,8 +1,15 @@ Pending changes in the mainline =============================== +Major changes +------------- + * Download of modified or anonymized DICOM instances -* Inplace modifications to DICOM series and studies +* Inplace modification and anymization of DICOM series and studies + +Minor changes +------------- + * Support of private tags diff -r d526ac73c886 -r 6253c70b197b OrthancServer/OrthancRestApi.cpp --- a/OrthancServer/OrthancRestApi.cpp Fri Dec 21 17:27:16 2012 +0100 +++ b/OrthancServer/OrthancRestApi.cpp Fri Dec 21 17:51:17 2012 +0100 @@ -1262,21 +1262,21 @@ if (isNewSeries) { context.GetIndex().SetMetadata - (modifiedHasher.HashSeries(), MetadataType_ModifiedFrom, originalHasher.HashSeries()); + (modifiedHasher.HashSeries(), metadataType, originalHasher.HashSeries()); } if (newStudyId.size() == 0) { newStudyId = modifiedHasher.HashStudy(); - context.GetIndex().SetMetadata(newStudyId, MetadataType_ModifiedFrom, originalHasher.HashStudy()); + context.GetIndex().SetMetadata(newStudyId, metadataType, originalHasher.HashStudy()); } assert(*it == originalHasher.HashInstance()); assert(modifiedInstance == modifiedHasher.HashInstance()); - context.GetIndex().SetMetadata(modifiedInstance, MetadataType_ModifiedFrom, *it); + context.GetIndex().SetMetadata(modifiedInstance, metadataType, *it); } - context.GetIndex().LogChange(ChangeType_ModifiedStudy, newStudyId); + context.GetIndex().LogChange(changeType, newStudyId); assert(newStudyId.size() != 0); Json::Value result = Json::objectValue;