# HG changeset patch # User Sebastien Jodogne # Date 1554476668 -7200 # Node ID 90b4a5001c24e542ddf87c992685ca3e766fad13 # Parent 6e42d676401c45e49ad0f288df10a93d9c21be5c Anonymization: Preserve hierarchical relationships in (0008,1115) [] (0020,000e) diff -r 6e42d676401c -r 90b4a5001c24 Core/DicomParsing/DicomModification.cpp --- a/Core/DicomParsing/DicomModification.cpp Fri Apr 05 16:01:42 2019 +0200 +++ b/Core/DicomParsing/DicomModification.cpp Fri Apr 05 17:04:28 2019 +0200 @@ -158,6 +158,13 @@ newValue = that_.MapDicomIdentifier(Toolbox::StripSpaces(value), ResourceType_Series); return Action_Replace; } + else if (parentTags.size() == 1 && + parentTags[0] == DICOM_TAG_REFERENCED_SERIES_SEQUENCE && + tag == DICOM_TAG_SERIES_INSTANCE_UID) + { + newValue = that_.MapDicomIdentifier(Toolbox::StripSpaces(value), ResourceType_Series); + return Action_Replace; + } else { return Action_None; diff -r 6e42d676401c -r 90b4a5001c24 NEWS --- a/NEWS Fri Apr 05 16:01:42 2019 +0200 +++ b/NEWS Fri Apr 05 17:04:28 2019 +0200 @@ -1,7 +1,12 @@ Pending changes in the mainline =============================== + +Maintenance +----------- + * Size of the Orthanc static binaries are reduced by compressing ICU data +* Anonymization: Preserve hierarchical relationships in (0008,1115) [] (0020,000e) * Fix issue #136 (C-FIND request fails when found DICOM file does not have certain tags) * Fix issue #137 (C-STORE fails for unknown SOP Class although server is configured to accept any) * Fix issue #138 (POST to modalities/{name} accepts invalid characters)