comparison 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
comparison
equal deleted inserted replaced
3348:a1cd981a0f9a 3349:ef18ea68a362
151 return Action_Replace; 151 return Action_Replace;
152 } 152 }
153 else if (parentTags.size() == 2 && 153 else if (parentTags.size() == 2 &&
154 parentTags[0] == DICOM_TAG_CURRENT_REQUESTED_PROCEDURE_EVIDENCE_SEQUENCE && 154 parentTags[0] == DICOM_TAG_CURRENT_REQUESTED_PROCEDURE_EVIDENCE_SEQUENCE &&
155 parentTags[1] == DICOM_TAG_REFERENCED_SERIES_SEQUENCE && 155 parentTags[1] == DICOM_TAG_REFERENCED_SERIES_SEQUENCE &&
156 tag == DICOM_TAG_SERIES_INSTANCE_UID)
157 {
158 newValue = that_.MapDicomIdentifier(Toolbox::StripSpaces(value), ResourceType_Series);
159 return Action_Replace;
160 }
161 else if (parentTags.size() == 1 &&
162 parentTags[0] == DICOM_TAG_REFERENCED_SERIES_SEQUENCE &&
156 tag == DICOM_TAG_SERIES_INSTANCE_UID) 163 tag == DICOM_TAG_SERIES_INSTANCE_UID)
157 { 164 {
158 newValue = that_.MapDicomIdentifier(Toolbox::StripSpaces(value), ResourceType_Series); 165 newValue = that_.MapDicomIdentifier(Toolbox::StripSpaces(value), ResourceType_Series);
159 return Action_Replace; 166 return Action_Replace;
160 } 167 }