diff Core/DicomParsing/DicomModification.cpp @ 3349:ef18ea68a362

merge
author Alain Mazy <alain@mazy.be>
date Thu, 18 Apr 2019 15:52:56 +0200
parents 90b4a5001c24
children 7db879b014ff
line wrap: on
line diff
--- a/Core/DicomParsing/DicomModification.cpp	Thu Apr 18 15:52:25 2019 +0200
+++ b/Core/DicomParsing/DicomModification.cpp	Thu Apr 18 15:52:56 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;