diff OrthancServer/Sources/ServerJobs/Operations/ModifyInstanceOperation.cpp @ 5122:8638522eeda1

revert changeset df4a90a65af9 that removes features used elsewhere, and protect by Force the change of UIDs
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 19 Dec 2022 15:46:33 +0100
parents df4a90a65af9
children 0ea402b4d901
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerJobs/Operations/ModifyInstanceOperation.cpp	Mon Dec 19 15:09:38 2022 +0100
+++ b/OrthancServer/Sources/ServerJobs/Operations/ModifyInstanceOperation.cpp	Mon Dec 19 15:46:33 2022 +0100
@@ -43,6 +43,8 @@
       throw OrthancException(ErrorCode_NullPointer);
     }
     
+    modification_->SetAllowManualIdentifiers(true);
+
     if (modification_->IsReplaced(DICOM_TAG_PATIENT_ID))
     {
       modification_->SetLevel(ResourceType_Patient);