diff OrthancFramework/Sources/DicomParsing/DicomModification.h @ 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 f2dcdbe05884
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomParsing/DicomModification.h	Mon Dec 19 15:09:38 2022 +0100
+++ b/OrthancFramework/Sources/DicomParsing/DicomModification.h	Mon Dec 19 15:46:33 2022 +0100
@@ -133,6 +133,7 @@
     ResourceType level_;
     UidMap uidMap_;
     SetOfTags privateTagsToKeep_;
+    bool allowManualIdentifiers_;
     bool keepStudyInstanceUid_;
     bool keepSeriesInstanceUid_;
     bool keepSopInstanceUid_;
@@ -223,6 +224,10 @@
 
     void Apply(ParsedDicomFile& toModify);
 
+    void SetAllowManualIdentifiers(bool check);
+
+    bool AreAllowManualIdentifiers() const;
+
     void ParseModifyRequest(const Json::Value& request);
 
     // "patientNameOverridden" is set to "true" iff. the PatientName