Mercurial > hg > orthanc
diff OrthancServer/ServerToolbox.cpp @ 1725:a7c05bbfaf6a db-changes
refactoring
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 20 Oct 2015 11:21:36 +0200 |
parents | 3926e6317a43 |
children | 54d78925cbb6 ec66a16aa398 |
line wrap: on
line diff
--- a/OrthancServer/ServerToolbox.cpp Tue Oct 20 11:02:06 2015 +0200 +++ b/OrthancServer/ServerToolbox.cpp Tue Oct 20 11:21:36 2015 +0200 @@ -184,7 +184,11 @@ { std::string s = value->AsString(); - if (!tag.IsIdentifier()) + if (tag != DICOM_TAG_PATIENT_ID && + tag != DICOM_TAG_STUDY_INSTANCE_UID && + tag != DICOM_TAG_SERIES_INSTANCE_UID && + tag != DICOM_TAG_SOP_INSTANCE_UID && + tag != DICOM_TAG_ACCESSION_NUMBER) { s = NormalizeIdentifierTag(s); }