comparison OrthancServer/ServerToolbox.cpp @ 1729:54d78925cbb6 db-changes

notes
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 20 Oct 2015 17:39:58 +0200
parents a7c05bbfaf6a
children b3de74dec2d5
comparison
equal deleted inserted replaced
1728:4941494b5dd8 1729:54d78925cbb6
188 tag != DICOM_TAG_STUDY_INSTANCE_UID && 188 tag != DICOM_TAG_STUDY_INSTANCE_UID &&
189 tag != DICOM_TAG_SERIES_INSTANCE_UID && 189 tag != DICOM_TAG_SERIES_INSTANCE_UID &&
190 tag != DICOM_TAG_SOP_INSTANCE_UID && 190 tag != DICOM_TAG_SOP_INSTANCE_UID &&
191 tag != DICOM_TAG_ACCESSION_NUMBER) 191 tag != DICOM_TAG_ACCESSION_NUMBER)
192 { 192 {
193 s = NormalizeIdentifierTag(s); 193 s = NormalizeTagForWildcard(s);
194 } 194 }
195 195
196 database.SetIdentifierTag(resource, tag, s); 196 database.SetIdentifierTag(resource, tag, s);
197 } 197 }
198 } 198 }
353 Toolbox::SetMainDicomTags(database, resource, level, dicomSummary); 353 Toolbox::SetMainDicomTags(database, resource, level, dicomSummary);
354 } 354 }
355 } 355 }
356 356
357 357
358 std::string NormalizeIdentifierTag(const std::string& value) 358 std::string NormalizeTagForWildcard(const std::string& value)
359 { 359 {
360 std::string s = Toolbox::ConvertToAscii(Toolbox::StripSpaces(value)); 360 std::string s = Toolbox::ConvertToAscii(Toolbox::StripSpaces(value));
361 Toolbox::ToUpperCase(s); 361 Toolbox::ToUpperCase(s);
362 return s; 362 return s;
363 } 363 }