comparison 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
comparison
equal deleted inserted replaced
5121:77e20ce39d6f 5122:8638522eeda1
131 Replacements replacements_; 131 Replacements replacements_;
132 bool removePrivateTags_; 132 bool removePrivateTags_;
133 ResourceType level_; 133 ResourceType level_;
134 UidMap uidMap_; 134 UidMap uidMap_;
135 SetOfTags privateTagsToKeep_; 135 SetOfTags privateTagsToKeep_;
136 bool allowManualIdentifiers_;
136 bool keepStudyInstanceUid_; 137 bool keepStudyInstanceUid_;
137 bool keepSeriesInstanceUid_; 138 bool keepSeriesInstanceUid_;
138 bool keepSopInstanceUid_; 139 bool keepSopInstanceUid_;
139 bool updateReferencedRelationships_; 140 bool updateReferencedRelationships_;
140 bool isAnonymization_; 141 bool isAnonymization_;
221 222
222 void SetupAnonymization(DicomVersion version); 223 void SetupAnonymization(DicomVersion version);
223 224
224 void Apply(ParsedDicomFile& toModify); 225 void Apply(ParsedDicomFile& toModify);
225 226
227 void SetAllowManualIdentifiers(bool check);
228
229 bool AreAllowManualIdentifiers() const;
230
226 void ParseModifyRequest(const Json::Value& request); 231 void ParseModifyRequest(const Json::Value& request);
227 232
228 // "patientNameOverridden" is set to "true" iff. the PatientName 233 // "patientNameOverridden" is set to "true" iff. the PatientName
229 // (0010,0010) tag is manually replaced, removed, cleared or kept 234 // (0010,0010) tag is manually replaced, removed, cleared or kept
230 void ParseAnonymizationRequest(bool& patientNameOverridden /* out */, 235 void ParseAnonymizationRequest(bool& patientNameOverridden /* out */,