Mercurial > hg > orthanc
comparison OrthancServer/Sources/ServerJobs/Operations/ModifyInstanceOperation.cpp @ 5087:df4a90a65af9
DicomModification::SetAllowManualIdentifiers() has been removed since it was always true -> code cleanup
author | Alain Mazy <am@osimis.io> |
---|---|
date | Mon, 26 Sep 2022 18:56:40 +0200 |
parents | 6eff25f70121 |
children | 8638522eeda1 |
comparison
equal
deleted
inserted
replaced
5086:0b27bbd19b1f | 5087:df4a90a65af9 |
---|---|
41 if (modification == NULL) | 41 if (modification == NULL) |
42 { | 42 { |
43 throw OrthancException(ErrorCode_NullPointer); | 43 throw OrthancException(ErrorCode_NullPointer); |
44 } | 44 } |
45 | 45 |
46 modification_->SetAllowManualIdentifiers(true); | |
47 | |
48 if (modification_->IsReplaced(DICOM_TAG_PATIENT_ID)) | 46 if (modification_->IsReplaced(DICOM_TAG_PATIENT_ID)) |
49 { | 47 { |
50 modification_->SetLevel(ResourceType_Patient); | 48 modification_->SetLevel(ResourceType_Patient); |
51 } | 49 } |
52 else if (modification_->IsReplaced(DICOM_TAG_STUDY_INSTANCE_UID)) | 50 else if (modification_->IsReplaced(DICOM_TAG_STUDY_INSTANCE_UID)) |